Lines Matching refs:bank
111 static unsigned int get_gpio_nbpin(unsigned int bank) in get_gpio_nbpin() argument
113 if (bank != GPIO_BANK_Z) { in get_gpio_nbpin()
114 int count = fdt_get_gpio_bank_pin_count(bank); in get_gpio_nbpin()
313 void stm32mp_register_secure_gpio(unsigned int bank, unsigned int pin) in stm32mp_register_secure_gpio() argument
315 switch (bank) { in stm32mp_register_secure_gpio()
320 ERROR("GPIO bank %u cannot be secured\n", bank); in stm32mp_register_secure_gpio()
325 void stm32mp_register_non_secure_gpio(unsigned int bank, unsigned int pin) in stm32mp_register_non_secure_gpio() argument
327 switch (bank) { in stm32mp_register_non_secure_gpio()
336 static bool stm32mp_gpio_bank_is_non_secure(unsigned int bank) in stm32mp_gpio_bank_is_non_secure() argument
343 if (bank != GPIO_BANK_Z) { in stm32mp_gpio_bank_is_non_secure()
356 static bool stm32mp_gpio_bank_is_secure(unsigned int bank) in stm32mp_gpio_bank_is_secure() argument
363 if (bank != GPIO_BANK_Z) { in stm32mp_gpio_bank_is_secure()