Home
last modified time | relevance | path

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

/drivers/pinctrl/
Dpinctrl-at91.c30 #define MAX_NB_GPIO_PER_BANK 32 macro
348 return pin /= MAX_NB_GPIO_PER_BANK; in pin_to_bank()
360 return 2*((pin >= MAX_NB_GPIO_PER_BANK/2) in two_bit_pin_value_shift_amount()
361 ? pin - MAX_NB_GPIO_PER_BANK/2 : pin); in two_bit_pin_value_shift_amount()
368 return (pin >= MAX_NB_GPIO_PER_BANK/2) in sama5d3_get_drive_register()
376 return (pin >= MAX_NB_GPIO_PER_BANK/2) in at91sam9x5_get_drive_register()
783 if (pin->pin >= MAX_NB_GPIO_PER_BANK) { in pin_check_config()
785 name, index, pin->pin, MAX_NB_GPIO_PER_BANK); in pin_check_config()
975 pin = pin_id % MAX_NB_GPIO_PER_BANK; in at91_pinconf_get()
1024 pin = pin_id % MAX_NB_GPIO_PER_BANK; in at91_pinconf_set()
[all …]