Home
last modified time | relevance | path

Searched refs:gpio_regs (Results 1 – 21 of 21) sorted by relevance

/external/u-boot/drivers/gpio/
Dmxc_gpio.c26 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 …]
Dimx_rgpio2p.c24 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 …]
Dspear_gpio.c19 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()
Dlpc32xx_gpio.c41 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()
Dxilinx_gpio.c21 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/
Dwdr4300.c18 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/
Dled.c17 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/
Ddgnd3700v2.c18 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/
Ddevkit3250_spl.c16 static struct gpio_regs *gpio = (struct gpio_regs *)GPIO_BASE;
/external/u-boot/arch/arm/include/asm/arch-mx27/
Dgpio.h12 struct gpio_regs { struct
35 struct gpio_regs port[6]; argument
/external/u-boot/board/st/stv0991/
Dstv0991.c20 struct gpio_regs *const gpioa_regs =
21 (struct gpio_regs *) GPIOA_BASE_ADDR;
/external/u-boot/board/renesas/sh7752evb/
Dsh7752evb.c24 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/
Dcpu_sh7753.h100 struct gpio_regs { struct
193 #define GPIO_BASE ((struct gpio_regs *)0xffec0000) argument
Dcpu_sh7752.h100 struct gpio_regs { struct
193 #define GPIO_BASE ((struct gpio_regs *)0xffec0000) argument
/external/u-boot/board/renesas/sh7753evb/
Dsh7753evb.c24 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/
Dgpio.h15 struct gpio_regs { struct
/external/u-boot/arch/arm/include/asm/arch-spear/
Dgpio.h15 struct gpio_regs { struct
/external/u-boot/arch/arm/include/asm/mach-imx/
Dgpio.h13 struct gpio_regs { struct
/external/u-boot/arch/arm/include/asm/arch-mx7ulp/
Dgpio.h9 struct gpio_regs { struct
/external/u-boot/arch/arm/include/asm/arch-lpc32xx/
Dgpio.h13 struct gpio_regs { struct
/external/u-boot/arch/arm/include/asm/arch-ep93xx/
Dep93xx.h478 struct gpio_regs { struct