Lines Matching defs:bank
93 /* Mid pin number of a bank */
142 * @bank_min: this array represents bank's min pin
143 * @bank_max: this array represents bank's max pin
180 * zynq_gpio_get_bank_pin - Get the bank number and pin number within that bank
183 * @bank_num: an output parameter used to return the bank number of the gpio
185 * @bank_pin_num: an output parameter used to return pin number within a bank
189 * Returns the bank number and pin offset within the bank.
196 int bank;
198 for (bank = 0; bank < gpio->p_data->max_bank; bank++) {
199 if ((pin_num >= gpio->p_data->bank_min[bank]) &&
200 (pin_num <= gpio->p_data->bank_max[bank])) {
201 *bank_num = bank;
203 gpio->p_data->bank_min[bank];
207 bank = bank + VERSAL_UNUSED_BANKS;
315 * On zynq bank 0 pins 7 and 8 are special and cannot be used
401 * bit in the Interrupt Disable register of the corresponding bank to disable
425 * bit in the Interrupt Enable register of the corresponding bank to enable
449 * in the Interrupt Status Register of the corresponding bank, to ACK the irq.
491 * This function gets the gpio pin number and its bank from the gpio pin number
645 * This function reads the Interrupt Status Register of each bank to get the