Home
last modified time | relevance | path

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

/external/u-boot/drivers/gpio/
Dkona_gpio.c16 #define GPIO_BANK(gpio) ((gpio) >> 5) macro
50 off = GPIO_PWD_STATUS(GPIO_BANK(gpio)); in gpio_request()
62 off = GPIO_PWD_STATUS(GPIO_BANK(gpio)); in gpio_free()
83 int bank_id = GPIO_BANK(gpio); in gpio_direction_output()
102 int bank_id = GPIO_BANK(gpio); in gpio_get_value()
121 int bank_id = GPIO_BANK(gpio); in gpio_set_value()
Dtegra_gpio.c46 struct gpio_ctlr_bank *bank = &ctlr->gpio_bank[GPIO_BANK(gpio)]; in get_config()
63 struct gpio_ctlr_bank *bank = &ctlr->gpio_bank[GPIO_BANK(gpio)]; in set_config()
81 struct gpio_ctlr_bank *bank = &ctlr->gpio_bank[GPIO_BANK(gpio)]; in get_direction()
98 struct gpio_ctlr_bank *bank = &ctlr->gpio_bank[GPIO_BANK(gpio)]; in set_direction()
116 struct gpio_ctlr_bank *bank = &ctlr->gpio_bank[GPIO_BANK(gpio)]; in set_level()
Dda8xx_gpio.c384 bank = GPIO_BANK(gpio); in gpio_info()
399 bank = GPIO_BANK(gpio); in gpio_direction_input()
407 bank = GPIO_BANK(gpio); in gpio_direction_output()
415 bank = GPIO_BANK(gpio); in gpio_get_value()
423 bank = GPIO_BANK(gpio); in gpio_set_value()
Dsunxi_gpio.c35 u32 bank = GPIO_BANK(pin); in sunxi_gpio_output()
53 u32 bank = GPIO_BANK(pin); in sunxi_gpio_input()
/external/u-boot/arch/arm/mach-sunxi/
Dpinmux.c22 u32 bank = GPIO_BANK(pin); in sunxi_gpio_set_cfgpin()
42 u32 bank = GPIO_BANK(pin); in sunxi_gpio_get_cfgpin()
50 u32 bank = GPIO_BANK(pin); in sunxi_gpio_set_drv()
62 u32 bank = GPIO_BANK(pin); in sunxi_gpio_set_pull()
/external/u-boot/arch/arm/include/asm/arch-tegra/
Dgpio.h16 #define GPIO_BANK(x) ((x) >> 5) macro
/external/u-boot/arch/arm/mach-davinci/include/mach/
Dgpio.h63 #define GPIO_BANK(gp) (davinci_gpio_bank01 + ((gp) >> 5)) macro
/external/u-boot/arch/arm/include/asm/arch-sunxi/
Dgpio.h80 #define GPIO_BANK(pin) ((pin) >> 5) macro