Home
last modified time | relevance | path

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

/linux/drivers/pinctrl/
H A Dpinctrl-at91-pio4.c67 #define ATMEL_PIO_NPINS_PER_BANK 32 macro
68 #define ATMEL_PIO_BANK(pin_id) (pin_id / ATMEL_PIO_NPINS_PER_BANK)
69 #define ATMEL_PIO_LINE(pin_id) (pin_id % ATMEL_PIO_NPINS_PER_BANK)
145 u32 cfgr[ATMEL_PIO_NPINS_PER_BANK];
312 bank * ATMEL_PIO_NPINS_PER_BANK + n)); in atmel_gpio_irq_handler()
358 #if ATMEL_PIO_NPINS_PER_BANK != BITS_PER_LONG in atmel_gpio_get_multiple()
359 word = BIT_WORD(bank * ATMEL_PIO_NPINS_PER_BANK); in atmel_gpio_get_multiple()
360 offset = bank * ATMEL_PIO_NPINS_PER_BANK % BITS_PER_LONG; in atmel_gpio_get_multiple()
417 #if ATMEL_PIO_NPINS_PER_BANK != BITS_PER_LONG in atmel_gpio_set_multiple()
418 word = BIT_WORD(bank * ATMEL_PIO_NPINS_PER_BANK); in atmel_gpio_set_multiple()
[all …]