/external/u-boot/drivers/gpio/ |
D | mxc_gpio.c | 26 struct gpio_regs *regs; 30 struct gpio_regs *regs; 64 struct gpio_regs *regs; in mxc_gpio_direction() 72 regs = (struct gpio_regs *)gpio_ports[port]; in mxc_gpio_direction() 91 struct gpio_regs *regs; in gpio_set_value() 99 regs = (struct gpio_regs *)gpio_ports[port]; in gpio_set_value() 114 struct gpio_regs *regs; in gpio_get_value() 122 regs = (struct gpio_regs *)gpio_ports[port]; in gpio_get_value() 160 static int mxc_gpio_is_output(struct gpio_regs *regs, int offset) in mxc_gpio_is_output() 169 static void mxc_gpio_bank_direction(struct gpio_regs *regs, int offset, in mxc_gpio_bank_direction() [all …]
|
D | imx_rgpio2p.c | 24 struct gpio_regs *regs; 29 struct gpio_regs *regs; 32 static int imx_rgpio2p_is_output(struct gpio_regs *regs, int offset) in imx_rgpio2p_is_output() 41 static void imx_rgpio2p_bank_direction(struct gpio_regs *regs, int offset, in imx_rgpio2p_bank_direction() 58 static void imx_rgpio2p_bank_set_value(struct gpio_regs *regs, int offset, in imx_rgpio2p_bank_set_value() 67 static int imx_rgpio2p_bank_get_value(struct gpio_regs *regs, int offset) in imx_rgpio2p_bank_get_value() 185 plat->regs = (struct gpio_regs *)addr; in imx_rgpio2p_bind() 210 { 0, (struct gpio_regs *)RGPIO2P_GPIO1_BASE_ADDR }, 211 { 1, (struct gpio_regs *)RGPIO2P_GPIO2_BASE_ADDR }, 212 { 2, (struct gpio_regs *)RGPIO2P_GPIO3_BASE_ADDR }, [all …]
|
D | spear_gpio.c | 19 struct gpio_regs *regs = (struct gpio_regs *)CONFIG_GPIO_BASE; in gpio_direction() 36 struct gpio_regs *regs = (struct gpio_regs *)CONFIG_GPIO_BASE; in gpio_set_value() 48 struct gpio_regs *regs = (struct gpio_regs *)CONFIG_GPIO_BASE; in gpio_get_value()
|
D | lpc32xx_gpio.c | 41 struct gpio_regs *regs; 71 struct gpio_regs *regs = gpio_priv->regs; in lpc32xx_gpio_direction_input() 113 struct gpio_regs *regs = gpio_priv->regs; in lpc32xx_gpio_get_value() 153 struct gpio_regs *regs = gpio_priv->regs; in gpio_set() 187 struct gpio_regs *regs = gpio_priv->regs; in gpio_clr() 235 struct gpio_regs *regs = gpio_priv->regs; in lpc32xx_gpio_direction_output() 306 gpio_priv->regs = (struct gpio_regs *)GPIO_BASE; in lpc32xx_gpio_probe()
|
D | xilinx_gpio.c | 21 struct gpio_regs { struct 34 struct gpio_regs *regs; argument 103 struct gpio_regs *regs; in gpio_get_input_value() 123 struct gpio_regs *regs; in gpio_set_direction() 150 struct gpio_regs *regs; in gpio_get_direction() 188 struct gpio_regs *regs; in gpio_set_output_value() 319 priv->regs = (struct gpio_regs *)baseaddr; in gpio_alloc()
|
/external/u-boot/board/tplink/wdr4300/ |
D | wdr4300.c | 18 void __iomem *gpio_regs = map_physmem(AR71XX_GPIO_BASE, in wdr4300_usb_start() local 20 if (!gpio_regs) in wdr4300_usb_start() 24 clrbits_be32(gpio_regs + AR71XX_GPIO_REG_OE, BIT(21) | BIT(22)); in wdr4300_usb_start() 25 writel(BIT(21) | BIT(22), gpio_regs + AR71XX_GPIO_REG_SET); in wdr4300_usb_start()
|
/external/u-boot/arch/arm/cpu/arm920t/ep93xx/ |
D | led.c | 17 register struct gpio_regs *gpio = (struct gpio_regs *)GPIO_BASE; in switch_LED_on() 25 register struct gpio_regs *gpio = (struct gpio_regs *)GPIO_BASE; in switch_LED_off()
|
/external/u-boot/board/netgear/dgnd3700v2/ |
D | dgnd3700v2.c | 18 void __iomem *gpio_regs = map_physmem(GPIO_BASE_6362, 0, MAP_NOCACHE); in board_early_init_f() local 21 setbits_be32(gpio_regs + GPIO_MODE_6362_REG, in board_early_init_f()
|
/external/u-boot/board/timll/devkit3250/ |
D | devkit3250_spl.c | 16 static struct gpio_regs *gpio = (struct gpio_regs *)GPIO_BASE;
|
/external/u-boot/arch/arm/include/asm/arch-mx27/ |
D | gpio.h | 12 struct gpio_regs { struct 35 struct gpio_regs port[6]; argument
|
/external/u-boot/board/st/stv0991/ |
D | stv0991.c | 20 struct gpio_regs *const gpioa_regs = 21 (struct gpio_regs *) GPIOA_BASE_ADDR;
|
/external/u-boot/board/renesas/sh7752evb/ |
D | sh7752evb.c | 24 struct gpio_regs *gpio = GPIO_BASE; in init_gpio() 84 struct gpio_regs *gpio = GPIO_BASE; in init_gether_mdio() 164 struct gpio_regs *gpio = GPIO_BASE; in board_mmc_init()
|
/external/u-boot/arch/sh/include/asm/ |
D | cpu_sh7753.h | 100 struct gpio_regs { struct 193 #define GPIO_BASE ((struct gpio_regs *)0xffec0000) argument
|
D | cpu_sh7752.h | 100 struct gpio_regs { struct 193 #define GPIO_BASE ((struct gpio_regs *)0xffec0000) argument
|
/external/u-boot/board/renesas/sh7753evb/ |
D | sh7753evb.c | 24 struct gpio_regs *gpio = GPIO_BASE; in init_gpio() 91 struct gpio_regs *gpio = GPIO_BASE; in init_gether_mdio() 180 struct gpio_regs *gpio = GPIO_BASE; in board_mmc_init()
|
/external/u-boot/arch/arm/include/asm/arch-stv0991/ |
D | gpio.h | 15 struct gpio_regs { struct
|
/external/u-boot/arch/arm/include/asm/arch-spear/ |
D | gpio.h | 15 struct gpio_regs { struct
|
/external/u-boot/arch/arm/include/asm/mach-imx/ |
D | gpio.h | 13 struct gpio_regs { struct
|
/external/u-boot/arch/arm/include/asm/arch-mx7ulp/ |
D | gpio.h | 9 struct gpio_regs { struct
|
/external/u-boot/arch/arm/include/asm/arch-lpc32xx/ |
D | gpio.h | 13 struct gpio_regs { struct
|
/external/u-boot/arch/arm/include/asm/arch-ep93xx/ |
D | ep93xx.h | 478 struct gpio_regs { struct
|