Lines Matching refs:bank
84 uint8_t bank = ADP5585_BANK(pin); in gpio_adp5585_config() local
109 ret = i2c_reg_update_byte_dt(&parent_cfg->i2c_bus, ADP5585_GPO_OUT_MODE_A + bank, in gpio_adp5585_config()
115 uint8_t regaddr = ADP5585_RPULL_CONFIG_A + (bank << 1); in gpio_adp5585_config()
145 if (bank == 0) { in gpio_adp5585_config()
153 ADP5585_GPO_OUT_MODE_A + bank, in gpio_adp5585_config()
166 ADP5585_GPIO_DIRECTION_A + bank, in gpio_adp5585_config()
305 uint8_t bank = ADP5585_BANK(pin); in gpio_adp5585_pin_interrupt_configure() local
312 ADP5585_GPI_INTERRUPT_EN_A + bank, BIT(bank_pin), in gpio_adp5585_pin_interrupt_configure()
317 &parent_cfg->i2c_bus, ADP5585_GPI_INT_LEVEL_A + bank, in gpio_adp5585_pin_interrupt_configure()
321 &parent_cfg->i2c_bus, ADP5585_GPI_INT_LEVEL_A + bank, in gpio_adp5585_pin_interrupt_configure()
327 ADP5585_GPI_EVENT_EN_A + bank, BIT(bank_pin), 0U); in gpio_adp5585_pin_interrupt_configure()
329 ADP5585_GPI_INTERRUPT_EN_A + bank, in gpio_adp5585_pin_interrupt_configure()