PCAL_GPIO_MASK
int addr = (reg & PCAL_GPIO_MASK) << bank_shift;
addr = (reg & PCAL_GPIO_MASK) * NBANK(chip);