Lines Matching refs:bank_pin
85 uint8_t bank_pin = ADP5585_BIT(pin); in gpio_adp5585_config() local
105 reg_value = adp5585_pin_drive_od << bank_pin; in gpio_adp5585_config()
107 reg_value = adp5585_pin_drive_pp << bank_pin; in gpio_adp5585_config()
110 BIT(bank_pin), reg_value); in gpio_adp5585_config()
116 uint8_t shift = bank_pin << 1; in gpio_adp5585_config()
118 if (bank_pin > 3U) { in gpio_adp5585_config()
120 shift = (bank_pin - 3U) << 1; in gpio_adp5585_config()
159 reg_value = adp5585_pin_output << bank_pin; in gpio_adp5585_config()
162 reg_value = adp5585_pin_output << bank_pin; in gpio_adp5585_config()
167 BIT(bank_pin), reg_value); in gpio_adp5585_config()
306 uint8_t bank_pin = ADP5585_BIT(pin); in gpio_adp5585_pin_interrupt_configure() local
312 ADP5585_GPI_INTERRUPT_EN_A + bank, BIT(bank_pin), in gpio_adp5585_pin_interrupt_configure()
313 (adp5585_int_disable << bank_pin)); in gpio_adp5585_pin_interrupt_configure()
318 BIT(bank_pin), (adp5585_int_active_low << bank_pin)); in gpio_adp5585_pin_interrupt_configure()
322 BIT(bank_pin), (adp5585_int_active_high << bank_pin)); in gpio_adp5585_pin_interrupt_configure()
327 ADP5585_GPI_EVENT_EN_A + bank, BIT(bank_pin), 0U); in gpio_adp5585_pin_interrupt_configure()
330 BIT(bank_pin), (adp5585_int_enable << bank_pin)); in gpio_adp5585_pin_interrupt_configure()