Searched refs:GPIO_PER_BANK (Results 1 – 13 of 13) sorted by relevance
21 #define GPIO_PER_BANK 32 macro63 if (at91_port && (pin < GPIO_PER_BANK)) in at91_set_pio_pullup()77 if (at91_port && (pin < GPIO_PER_BANK)) { in at91_set_pio_periph()95 if (at91_port && (pin < GPIO_PER_BANK)) { in at91_set_a_periph()114 if (at91_port && (pin < GPIO_PER_BANK)) { in at91_set_b_periph()133 if (at91_port && (pin < GPIO_PER_BANK)) { in at91_pio3_set_a_periph()156 if (at91_port && (pin < GPIO_PER_BANK)) { in at91_pio3_set_b_periph()178 if (at91_port && (pin < GPIO_PER_BANK)) { in at91_pio3_set_c_periph()200 if (at91_port && (pin < GPIO_PER_BANK)) { in at91_pio3_set_d_periph()245 if (at91_port && (pin < GPIO_PER_BANK)) in at91_set_pio_input()[all …]
14 #define GPIO_PER_BANK 32 macro19 (1UL << ((gpio) & (GPIO_PER_BANK - 1)))
19 #define S5P_GPIO_GET_PIN(x) (x % GPIO_PER_BANK)62 bank += (gpio - upto) / GPIO_PER_BANK; in s5p_gpio_get_bank()298 uc_priv->gpio_count = GPIO_PER_BANK; in gpio_exynos_probe()
24 #define GPIO_PER_BANK 32 macro149 uc_priv->gpio_count = GPIO_PER_BANK; in imx_rgpio2p_probe()
36 #define GPIO_PER_BANK 32 macro294 uc_priv->gpio_count = GPIO_PER_BANK; in omap_gpio_probe()
42 #define GPIO_PER_BANK 32 macro126 uc_priv->gpio_count = GPIO_PER_BANK; in ich6_gpio_probe()
23 #define GPIO_PER_BANK 32 macro285 uc_priv->gpio_count = GPIO_PER_BANK; in mxc_gpio_probe()
129 uc_priv->gpio_count = GPIO_PER_BANK; in broadwell_gpio_probe()
12 #define GPIO_PER_BANK 32 macro63 } config[GPIO_BANKS * GPIO_PER_BANK];
27 #define GPIO_PER_BANK 32 macro31 #define GPIO_BIT(gpio) ((gpio) & (GPIO_PER_BANK - 1))468 int hwirq = GPIO_PER_BANK * bank_id + bit; in bcm_kona_gpio_irq_handler()612 chip->ngpio = kona_gpio->num_bank * GPIO_PER_BANK; in bcm_kona_gpio_probe()
181 set = gpio / GPIO_PER_BANK; in broadwell_pinctrl_commit()182 bit = gpio % GPIO_PER_BANK; in broadwell_pinctrl_commit()
781 #define GPIO_PER_BANK 8 macro821 #define GPIO_PER_BANK 8 macro
23 #define GPIO_PER_BANK 8 macro