Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/gpio/
H A Dat91_gpio.c20 #define GPIO_PER_BANK 32 macro
62 if (at91_port && (pin < GPIO_PER_BANK)) in at91_set_pio_pullup()
76 if (at91_port && (pin < GPIO_PER_BANK)) { in at91_set_pio_periph()
94 if (at91_port && (pin < GPIO_PER_BANK)) { in at91_set_a_periph()
113 if (at91_port && (pin < GPIO_PER_BANK)) { in at91_set_b_periph()
132 if (at91_port && (pin < GPIO_PER_BANK)) { in at91_pio3_set_a_periph()
155 if (at91_port && (pin < GPIO_PER_BANK)) { in at91_pio3_set_b_periph()
244 if (at91_port && (pin < GPIO_PER_BANK)) in at91_set_pio_input()
274 if (at91_port && (pin < GPIO_PER_BANK)) in at91_set_pio_output()
370 if (at91_port && (pin < GPIO_PER_BANK)) in at91_pio3_set_pio_pullup()
[all …]
H A Dkona_gpio.c13 #define GPIO_PER_BANK 32 macro
18 (1UL << ((gpio) & (GPIO_PER_BANK - 1)))
H A Dimx_rgpio2p.c21 #define GPIO_PER_BANK 32 macro
146 uc_priv->gpio_count = GPIO_PER_BANK; in imx_rgpio2p_probe()
H A Ds5p_gpio.c18 #define S5P_GPIO_GET_PIN(x) (x % GPIO_PER_BANK)
61 bank += (gpio - upto) / GPIO_PER_BANK; in s5p_gpio_get_bank()
297 uc_priv->gpio_count = GPIO_PER_BANK; in gpio_exynos_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 Domap_gpio.c35 #define GPIO_PER_BANK 32 macro
298 uc_priv->gpio_count = GPIO_PER_BANK; in omap_gpio_probe()
H A Dmxc_gpio.c22 #define GPIO_PER_BANK 32 macro
288 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()
/openbmc/u-boot/arch/x86/include/asm/arch-broadwell/
H A Dgpio.h11 #define GPIO_PER_BANK 32 macro
62 } config[GPIO_BANKS * GPIO_PER_BANK];
/openbmc/linux/drivers/gpio/
H A Dgpio-bcm-kona.c21 #define GPIO_PER_BANK 32 macro
25 #define GPIO_BIT(gpio) ((gpio) & (GPIO_PER_BANK - 1))
461 int hwirq = GPIO_PER_BANK * bank_id + bit; in bcm_kona_gpio_irq_handler()
594 chip->ngpio = kona_gpio->num_bank * GPIO_PER_BANK; in bcm_kona_gpio_probe()
/openbmc/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()
/openbmc/u-boot/arch/arm/mach-s5pc1xx/include/mach/
H A Dgpio.h780 #define GPIO_PER_BANK 8 macro
820 #define GPIO_PER_BANK 8 macro
/openbmc/u-boot/arch/arm/mach-exynos/include/mach/
H A Dgpio.h22 #define GPIO_PER_BANK 8 macro