/external/u-boot/drivers/gpio/ |
D | tca642x.c | 95 int tca642x_set_val(uchar chip, uint8_t gpio_bank, in tca642x_set_val() argument 98 uint8_t out_reg = tca642x_regs[gpio_bank].output_reg; in tca642x_set_val() 107 int tca642x_set_pol(uchar chip, uint8_t gpio_bank, in tca642x_set_pol() argument 110 uint8_t pol_reg = tca642x_regs[gpio_bank].polarity_reg; in tca642x_set_pol() 119 int tca642x_set_dir(uchar chip, uint8_t gpio_bank, in tca642x_set_dir() argument 122 uint8_t config_reg = tca642x_regs[gpio_bank].configuration_reg; in tca642x_set_dir() 130 int tca642x_get_val(uchar chip, uint8_t gpio_bank) in tca642x_get_val() argument 133 uint8_t in_reg = tca642x_regs[gpio_bank].input_reg; in tca642x_get_val() 227 uint8_t gpio_bank = 0; in do_tca642x() local 251 gpio_bank = 0; in do_tca642x() [all …]
|
D | omap_gpio.c | 37 struct gpio_bank { struct 54 static void _set_gpio_direction(const struct gpio_bank *bank, int gpio, in _set_gpio_direction() argument 74 static int _get_gpio_direction(const struct gpio_bank *bank, int gpio) in _get_gpio_direction() 89 static void _set_gpio_dataout(const struct gpio_bank *bank, int gpio, in _set_gpio_dataout() 104 static int _get_gpio_value(const struct gpio_bank *bank, int gpio) in _get_gpio_value() 126 static inline const struct gpio_bank *get_gpio_bank(int gpio) in get_gpio_bank() 145 const struct gpio_bank *bank; in gpio_set_value() 160 const struct gpio_bank *bank; in gpio_get_value() 174 const struct gpio_bank *bank; in gpio_direction_input() 190 const struct gpio_bank *bank; in gpio_direction_output() [all …]
|
D | adi_gpio2.c | 50 #define map_entry(m, i) reserved_##m##_map[gpio_bank(i)] 57 static DECLARE_RESERVED_MAP(peri, gpio_bank(MAX_RESOURCES)); 76 gpio_array[gpio_bank(gpio)]->port_fer &= ~gpio_bit(gpio); in port_setup() 78 gpio_array[gpio_bank(gpio)]->port_fer |= gpio_bit(gpio); in port_setup() 81 gpio_array[gpio_bank(gpio)]->port_fer_clear = gpio_bit(gpio); in port_setup() 83 gpio_array[gpio_bank(gpio)]->port_fer_set = gpio_bit(gpio); in port_setup() 93 pmux = gpio_array[gpio_bank(ident)]->port_mux; in portmux_setup() 98 gpio_array[gpio_bank(ident)]->port_mux = pmux; in portmux_setup() 106 pmux = gpio_array[gpio_bank(ident)]->port_mux; in get_portmux() 114 (gpio_array[gpio_bank(gpio)]->dir_clear >> gpio_sub_n(gpio)); in get_gpio_dir() [all …]
|
D | hi6220_gpio.c | 15 struct gpio_bank *bank = dev_get_priv(dev); in hi6220_gpio_direction_input() 28 struct gpio_bank *bank = dev_get_priv(dev); in hi6220_gpio_set_value() 37 struct gpio_bank *bank = dev_get_priv(dev); in hi6220_gpio_direction_output() 51 struct gpio_bank *bank = dev_get_priv(dev); in hi6220_gpio_get_value() 67 struct gpio_bank *bank = dev_get_priv(dev); in hi6220_gpio_probe() 91 .priv_auto_alloc_size = sizeof(struct gpio_bank),
|
D | tegra_gpio.c | 46 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() 357 plat->bank = &ctlr->gpio_bank[bank]; in gpio_tegra_bind()
|
D | sunxi_gpio.c | 304 plat->regs = &ctlr->gpio_bank[bank]; in gpio_sunxi_bind()
|
/external/u-boot/include/ |
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);
|
/external/u-boot/arch/arm/include/asm/ |
D | omap_gpio.h | 36 struct gpio_bank { struct 40 extern const struct gpio_bank *const omap_gpio_bank; argument
|
/external/u-boot/arch/arm/include/asm/arch-sunxi/ |
D | gpio.h | 71 struct sunxi_gpio gpio_bank[SUNXI_GPIO_BANKS]; member 77 &((struct sunxi_gpio_reg *)SUNXI_PIO_BASE)->gpio_bank[bank] : \ 78 &((struct sunxi_gpio_reg *)SUNXI_R_PIO_BASE)->gpio_bank[(bank) - SUNXI_GPIO_L])
|
/external/u-boot/arch/arm/mach-omap2/omap4/ |
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;
|
/external/u-boot/arch/arm/include/asm/arch-hi6220/ |
D | gpio.h | 16 struct gpio_bank { struct
|
/external/u-boot/arch/arm/include/asm/arch-tegra20/ |
D | gpio.h | 32 struct gpio_ctlr_bank gpio_bank[TEGRA_GPIO_BANKS]; member
|
/external/u-boot/arch/arm/mach-omap2/omap3/ |
D | board.c | 57 static const struct gpio_bank gpio_bank_34xx[6] = { 66 const struct gpio_bank *const omap_gpio_bank = gpio_bank_34xx;
|
/external/u-boot/arch/arm/include/asm/arch-tegra30/ |
D | gpio.h | 39 struct gpio_ctlr_bank gpio_bank[TEGRA_GPIO_BANKS]; member
|
/external/u-boot/arch/arm/include/asm/arch-tegra124/ |
D | gpio.h | 40 struct gpio_ctlr_bank gpio_bank[TEGRA_GPIO_BANKS]; member
|
/external/u-boot/arch/arm/include/asm/arch-tegra210/ |
D | gpio.h | 40 struct gpio_ctlr_bank gpio_bank[TEGRA_GPIO_BANKS]; member
|
/external/u-boot/arch/arm/mach-omap2/am33xx/ |
D | board.c | 122 static const struct gpio_bank gpio_bank_am33xx[] = { 133 const struct gpio_bank *const omap_gpio_bank = gpio_bank_am33xx;
|
/external/u-boot/arch/arm/mach-omap2/omap5/ |
D | hwinit.c | 29 static struct gpio_bank gpio_bank_54xx[8] = { 40 const struct gpio_bank *const omap_gpio_bank = gpio_bank_54xx;
|