Searched refs:MAX_NB_GPIO_PER_BANK (Results 1 – 2 of 2) sorted by relevance
20 #define MAX_NB_GPIO_PER_BANK 32 macro99 return 2 * ((pin >= MAX_NB_GPIO_PER_BANK/2) in two_bit_pin_value_shift_amount()100 ? pin - MAX_NB_GPIO_PER_BANK/2 : pin); in two_bit_pin_value_shift_amount()215 if (pin >= MAX_NB_GPIO_PER_BANK / 2) in at91_mux_sama5d3_set_drivestrength()232 if (pin >= MAX_NB_GPIO_PER_BANK / 2) in at91_mux_sam9x5_set_drivestrength()355 if (pin >= MAX_NB_GPIO_PER_BANK) { in at91_pin_check_config()356 debug("pin conf pin %d >= %d\n", pin, MAX_NB_GPIO_PER_BANK); in at91_pin_check_config()
33 #define MAX_NB_GPIO_PER_BANK 32 macro371 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 …]