Home
last modified time | relevance | path

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

/OK3568_Linux_fs/u-boot/drivers/gpio/
H A Dat91_gpio.c21 #define GPIO_PER_BANK 32 macro
63 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 …]
H A Dkona_gpio.c14 #define GPIO_PER_BANK 32 macro
19 (1UL << ((gpio) & (GPIO_PER_BANK - 1)))
H A Ds5p_gpio.c19 #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()
H A Dimx_rgpio2p.c24 #define GPIO_PER_BANK 32 macro
149 uc_priv->gpio_count = GPIO_PER_BANK; in imx_rgpio2p_probe()
H A Domap_gpio.c36 #define GPIO_PER_BANK 32 macro
294 uc_priv->gpio_count = GPIO_PER_BANK; in omap_gpio_probe()
H A Dintel_ich6_gpio.c42 #define GPIO_PER_BANK 32 macro
126 uc_priv->gpio_count = GPIO_PER_BANK; in ich6_gpio_probe()
H A Dmxc_gpio.c23 #define GPIO_PER_BANK 32 macro
285 uc_priv->gpio_count = GPIO_PER_BANK; in mxc_gpio_probe()
H A Dintel_broadwell_gpio.c129 uc_priv->gpio_count = GPIO_PER_BANK; in broadwell_gpio_probe()
/OK3568_Linux_fs/u-boot/arch/x86/include/asm/arch-broadwell/
H A Dgpio.h12 #define GPIO_PER_BANK 32 macro
63 } config[GPIO_BANKS * GPIO_PER_BANK];
/OK3568_Linux_fs/kernel/drivers/gpio/
H A Dgpio-bcm-kona.c27 #define GPIO_PER_BANK 32 macro
31 #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()
/OK3568_Linux_fs/u-boot/arch/x86/cpu/broadwell/
H A Dpinctrl_broadwell.c181 set = gpio / GPIO_PER_BANK; in broadwell_pinctrl_commit()
182 bit = gpio % GPIO_PER_BANK; in broadwell_pinctrl_commit()
/OK3568_Linux_fs/u-boot/arch/arm/mach-s5pc1xx/include/mach/
H A Dgpio.h781 #define GPIO_PER_BANK 8 macro
821 #define GPIO_PER_BANK 8 macro
/OK3568_Linux_fs/u-boot/arch/arm/mach-exynos/include/mach/
H A Dgpio.h23 #define GPIO_PER_BANK 8 macro