Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/gpio/
H A Dzynq_gpio.c113 u32 bank_min[ZYNQMP_GPIO_MAX_BANK]; member
121 .bank_min[0] = ZYNQ_GPIO_BANK0_PIN_MIN(MP),
123 .bank_min[1] = ZYNQ_GPIO_BANK1_PIN_MIN(MP),
125 .bank_min[2] = ZYNQ_GPIO_BANK2_PIN_MIN(MP),
127 .bank_min[3] = ZYNQ_GPIO_BANK3_PIN_MIN(MP),
129 .bank_min[4] = ZYNQ_GPIO_BANK4_PIN_MIN(MP),
131 .bank_min[5] = ZYNQ_GPIO_BANK5_PIN_MIN(MP),
139 .bank_min[0] = ZYNQ_GPIO_BANK0_PIN_MIN(),
141 .bank_min[1] = ZYNQ_GPIO_BANK1_PIN_MIN(),
143 .bank_min[2] = ZYNQ_GPIO_BANK2_PIN_MIN(),
[all …]
/openbmc/linux/drivers/gpio/
H A Dgpio-zynq.c150 int bank_min[ZYNQMP_GPIO_MAX_BANK]; member
199 if ((pin_num >= gpio->p_data->bank_min[bank]) && in zynq_gpio_get_bank_pin()
203 gpio->p_data->bank_min[bank]; in zynq_gpio_get_bank_pin()
630 unsigned int bank_offset = gpio->p_data->bank_min[bank_num]; in zynq_gpio_handle_bank_irq()
825 .bank_min[0] = 0,
827 .bank_min[3] = 26,
835 .bank_min[0] = 0,
837 .bank_min[1] = 26,
839 .bank_min[3] = 52,
841 .bank_min[4] = 84,
[all …]