Home
last modified time | relevance | path

Searched refs:bank_pin (Results 1 – 1 of 1) sorted by relevance

/Zephyr-latest/drivers/gpio/
Dgpio_adp5585.c85 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()
[all …]