offset_to_bank
*bank = offset_to_bank(*offset);
const struct npcm_sgpio_bank *bank = offset_to_bank(offset);
bank = offset_to_bank(offset);