Searched refs:PIN_BASE (Results 1 – 2 of 2) sorted by relevance
19 #define PIN_BASE NR_AIC_IRQS macro25 #define AT91_PIN_PA0 (PIN_BASE + 0x00 + 0)26 #define AT91_PIN_PA1 (PIN_BASE + 0x00 + 1)27 #define AT91_PIN_PA2 (PIN_BASE + 0x00 + 2)28 #define AT91_PIN_PA3 (PIN_BASE + 0x00 + 3)29 #define AT91_PIN_PA4 (PIN_BASE + 0x00 + 4)30 #define AT91_PIN_PA5 (PIN_BASE + 0x00 + 5)31 #define AT91_PIN_PA6 (PIN_BASE + 0x00 + 6)32 #define AT91_PIN_PA7 (PIN_BASE + 0x00 + 7)33 #define AT91_PIN_PA8 (PIN_BASE + 0x00 + 8)[all …]
36 pin -= PIN_BASE; in pin_to_controller()46 pin -= PIN_BASE; in pin_to_mask()275 unsigned bank = (pin - PIN_BASE) / 32; in gpio_irq_set_wake()451 unsigned pin = PIN_BASE + (32 * bank) + j; in at91_gpio_show()507 for (pioc = 0, pin = PIN_BASE, this = gpio, prev = NULL; in at91_gpio_irq_setup()537 pr_info("AT91: %d gpio irqs in %d banks\n", pin - PIN_BASE, gpio_banks); in at91_gpio_irq_setup()554 data->chipbase = PIN_BASE + i * 32; in at91_gpio_init()