| /u-boot/drivers/gpio/ |
| A D | tca642x.c | 218 int gpio_bank; in tca642x_get_bank() local 221 gpio_bank = 0; in tca642x_get_bank() 223 gpio_bank = 1; in tca642x_get_bank() 225 gpio_bank = 2; in tca642x_get_bank() 228 gpio_bank = -1; in tca642x_get_bank() 231 return gpio_bank; in tca642x_get_bank() 247 int gpio_bank = 0; in do_tca642x() local 286 gpio_bank = tca642x_get_bank(ul_arg2); in do_tca642x() 287 if (gpio_bank < 0) { in do_tca642x() 306 if (gpio_bank < 0) { in do_tca642x() [all …]
|
| A D | omap_gpio.c | 39 struct gpio_bank { struct 146 const struct gpio_bank *bank; in gpio_set_value() 161 const struct gpio_bank *bank; in gpio_get_value() 175 const struct gpio_bank *bank; in gpio_direction_input() 191 const struct gpio_bank *bank; in gpio_direction_output() 229 struct gpio_bank *bank = dev_get_priv(dev); in omap_gpio_direction_input() 241 struct gpio_bank *bank = dev_get_priv(dev); in omap_gpio_direction_output() 252 struct gpio_bank *bank = dev_get_priv(dev); in omap_gpio_get_value() 261 struct gpio_bank *bank = dev_get_priv(dev); in omap_gpio_set_value() 270 struct gpio_bank *bank = dev_get_priv(dev); in omap_gpio_get_function() [all …]
|
| A D | hi6220_gpio.c | 16 struct gpio_bank *bank = dev_get_priv(dev); in hi6220_gpio_direction_input() 29 struct gpio_bank *bank = dev_get_priv(dev); in hi6220_gpio_set_value() 38 struct gpio_bank *bank = dev_get_priv(dev); in hi6220_gpio_direction_output() 52 struct gpio_bank *bank = dev_get_priv(dev); in hi6220_gpio_get_value() 66 struct gpio_bank *bank = dev_get_priv(dev); in hi6220_gpio_probe() 90 .priv_auto = sizeof(struct gpio_bank),
|
| A D | sandbox.c | 400 struct sb_gpio_bank *gpio_bank; in sb_populate_gpio_dev_list() local 415 gpio_bank = malloc(sizeof(*gpio_bank)); in sb_populate_gpio_dev_list() 416 if (!gpio_bank) { in sb_populate_gpio_dev_list() 421 gpio_bank->gpio_dev = gpio_dev; in sb_populate_gpio_dev_list() 422 list_add_tail(&gpio_bank->list, &priv->gpio_dev); in sb_populate_gpio_dev_list() 432 struct sb_gpio_bank *gpio_bank; in sb_pinctrl_get_pins_count() local 447 list_for_each_entry(gpio_bank, &priv->gpio_dev, list) { in sb_pinctrl_get_pins_count() 448 uc_priv = dev_get_uclass_priv(gpio_bank->gpio_dev); in sb_pinctrl_get_pins_count() 461 struct sb_gpio_bank *gpio_bank; in sb_pinctrl_get_gpio_dev() local 470 uc_priv = dev_get_uclass_priv(gpio_bank->gpio_dev); in sb_pinctrl_get_gpio_dev() [all …]
|
| A D | tegra_gpio.c | 47 struct gpio_ctlr_bank *bank = &ctlr->gpio_bank[GPIO_BANK(gpio)]; in get_config() 64 struct gpio_ctlr_bank *bank = &ctlr->gpio_bank[GPIO_BANK(gpio)]; in set_config() 82 struct gpio_ctlr_bank *bank = &ctlr->gpio_bank[GPIO_BANK(gpio)]; in get_direction() 99 struct gpio_ctlr_bank *bank = &ctlr->gpio_bank[GPIO_BANK(gpio)]; in set_direction() 117 struct gpio_ctlr_bank *bank = &ctlr->gpio_bank[GPIO_BANK(gpio)]; in set_level() 358 plat->bank = &ctlr->gpio_bank[bank]; in gpio_tegra_bind()
|
| /u-boot/include/ |
| A D | tca642x.h | 60 int tca642x_set_val(uchar chip, uint8_t gpio_bank, 62 int tca642x_set_pol(uchar chip, uint8_t gpio_bank, 64 int tca642x_set_dir(uchar chip, uint8_t gpio_bank, 66 int tca642x_get_val(uchar chip, uint8_t gpio_bank);
|
| /u-boot/arch/arm/include/asm/ |
| A D | omap_gpio.h | 36 struct gpio_bank { struct 40 extern const struct gpio_bank *const omap_gpio_bank; argument
|
| /u-boot/drivers/pinctrl/ |
| A D | pinctrl_stm32.c | 90 struct stm32_gpio_bank *gpio_bank; in stm32_populate_gpio_dev_list() local 105 gpio_bank = malloc(sizeof(*gpio_bank)); in stm32_populate_gpio_dev_list() 106 if (!gpio_bank) { in stm32_populate_gpio_dev_list() 111 gpio_bank->gpio_dev = gpio_dev; in stm32_populate_gpio_dev_list() 112 list_add_tail(&gpio_bank->list, &priv->gpio_dev); in stm32_populate_gpio_dev_list() 122 struct stm32_gpio_bank *gpio_bank; in stm32_pinctrl_get_pins_count() local 137 list_for_each_entry(gpio_bank, &priv->gpio_dev, list) { in stm32_pinctrl_get_pins_count() 138 uc_priv = dev_get_uclass_priv(gpio_bank->gpio_dev); in stm32_pinctrl_get_pins_count() 151 struct stm32_gpio_bank *gpio_bank; in stm32_pinctrl_get_gpio_dev() local 160 uc_priv = dev_get_uclass_priv(gpio_bank->gpio_dev); in stm32_pinctrl_get_gpio_dev() [all …]
|
| /u-boot/arch/arm/include/asm/arch-hi6220/ |
| A D | gpio.h | 16 struct gpio_bank { struct
|
| /u-boot/arch/arm/include/asm/arch-sunxi/ |
| A D | gpio.h | 71 struct sunxi_gpio gpio_bank[SUNXI_GPIO_BANKS]; member 80 &((struct sunxi_gpio_reg *)SUNXI_PIO_BASE)->gpio_bank[bank] : \ 81 &((struct sunxi_gpio_reg *)SUNXI_R_PIO_BASE)->gpio_bank[(bank) - SUNXI_GPIO_L])
|
| /u-boot/arch/arm/include/asm/arch-tegra20/ |
| A D | gpio.h | 32 struct gpio_ctlr_bank gpio_bank[TEGRA_GPIO_BANKS]; member
|
| /u-boot/arch/arm/mach-omap2/omap4/ |
| A D | hwinit.c | 25 static const struct gpio_bank gpio_bank_44xx[6] = { 34 const struct gpio_bank *const omap_gpio_bank = gpio_bank_44xx;
|
| /u-boot/arch/arm/include/asm/arch-tegra210/ |
| A D | gpio.h | 40 struct gpio_ctlr_bank gpio_bank[TEGRA_GPIO_BANKS]; member
|
| /u-boot/arch/arm/include/asm/arch-tegra30/ |
| A D | gpio.h | 39 struct gpio_ctlr_bank gpio_bank[TEGRA_GPIO_BANKS]; member
|
| /u-boot/arch/arm/include/asm/arch-tegra124/ |
| A D | gpio.h | 40 struct gpio_ctlr_bank gpio_bank[TEGRA_GPIO_BANKS]; member
|
| /u-boot/arch/arm/mach-omap2/omap3/ |
| A D | board.c | 61 static const struct gpio_bank gpio_bank_34xx[6] = { 70 const struct gpio_bank *const omap_gpio_bank = gpio_bank_34xx;
|
| /u-boot/arch/arm/mach-omap2/am33xx/ |
| A D | board.c | 172 static const struct gpio_bank gpio_bank_am33xx[] = { 183 const struct gpio_bank *const omap_gpio_bank = gpio_bank_am33xx;
|
| /u-boot/arch/arm/mach-omap2/omap5/ |
| A D | hwinit.c | 31 static struct gpio_bank gpio_bank_54xx[8] = { 42 const struct gpio_bank *const omap_gpio_bank = gpio_bank_54xx;
|