Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/pinctrl/
Dpinctrl-at91.c31 #define MAX_NB_GPIO_PER_BANK 32 macro
371 return pin /= MAX_NB_GPIO_PER_BANK; in pin_to_bank()
383 return 2*((pin >= MAX_NB_GPIO_PER_BANK/2) in two_bit_pin_value_shift_amount()
384 ? pin - MAX_NB_GPIO_PER_BANK/2 : pin); in two_bit_pin_value_shift_amount()
391 return (pin >= MAX_NB_GPIO_PER_BANK/2) in sama5d3_get_drive_register()
399 return (pin >= MAX_NB_GPIO_PER_BANK/2) in at91sam9x5_get_drive_register()
805 if (pin->pin >= MAX_NB_GPIO_PER_BANK) { in pin_check_config()
807 name, index, pin->pin, MAX_NB_GPIO_PER_BANK); in pin_check_config()
997 pin = pin_id % MAX_NB_GPIO_PER_BANK; in at91_pinconf_get()
1046 pin = pin_id % MAX_NB_GPIO_PER_BANK; in at91_pinconf_set()
[all …]