Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/pinctrl/
Dpinctrl-at91.c34 #define MAX_NB_GPIO_PER_BANK 32 macro
372 return pin /= MAX_NB_GPIO_PER_BANK; in pin_to_bank()
384 return 2*((pin >= MAX_NB_GPIO_PER_BANK/2) in two_bit_pin_value_shift_amount()
385 ? pin - MAX_NB_GPIO_PER_BANK/2 : pin); in two_bit_pin_value_shift_amount()
392 return (pin >= MAX_NB_GPIO_PER_BANK/2) in sama5d3_get_drive_register()
400 return (pin >= MAX_NB_GPIO_PER_BANK/2) in at91sam9x5_get_drive_register()
806 if (pin->pin >= MAX_NB_GPIO_PER_BANK) { in pin_check_config()
808 name, index, pin->pin, MAX_NB_GPIO_PER_BANK); in pin_check_config()
998 pin = pin_id % MAX_NB_GPIO_PER_BANK; in at91_pinconf_get()
1047 pin = pin_id % MAX_NB_GPIO_PER_BANK; in at91_pinconf_set()
[all …]