/openbmc/linux/arch/arm/mach-mvebu/ |
H A D | pm-board.c | 22 static void __iomem *gpio_ctrl; variable 32 reg = readl(gpio_ctrl); in mvebu_armada_pm_enter() 36 writel(reg, gpio_ctrl); in mvebu_armada_pm_enter() 39 ackcmd = readl(gpio_ctrl); in mvebu_armada_pm_enter() 73 [ackcmd] "r" (ackcmd), [gpio_ctrl] "r" (gpio_ctrl) : "r1"); in mvebu_armada_pm_enter() 122 gpio_ctrl = of_iomap(gpio_ctrl_np, 0); in mvebu_armada_pm_init() 123 if (!gpio_ctrl) { in mvebu_armada_pm_init()
|
/openbmc/linux/drivers/staging/media/atomisp/i2c/ |
H A D | atomisp-gc2235.c | 399 static int gpio_ctrl(struct v4l2_subdev *sd, bool flag) in gpio_ctrl() function 439 ret = gpio_ctrl(sd, 1); in power_up() 441 ret = gpio_ctrl(sd, 1); in power_up() 450 gpio_ctrl(sd, 0); in power_up() 470 ret = gpio_ctrl(sd, 0); in power_down() 472 ret = gpio_ctrl(sd, 0); in power_down()
|
H A D | atomisp-ov2722.c | 503 static int gpio_ctrl(struct v4l2_subdev *sd, bool flag) in gpio_ctrl() function 543 ret = gpio_ctrl(sd, 1); in power_up() 545 ret = gpio_ctrl(sd, 0); in power_up() 562 gpio_ctrl(sd, 0); in power_up() 590 ret = gpio_ctrl(sd, 0); in power_down() 592 ret = gpio_ctrl(sd, 0); in power_down()
|
H A D | atomisp-mt9m114.c | 470 static int gpio_ctrl(struct v4l2_subdev *sd, bool flag) in gpio_ctrl() function 520 ret = gpio_ctrl(sd, 1); in power_up() 556 ret = gpio_ctrl(sd, 0); in power_down()
|
/openbmc/linux/drivers/hwmon/ |
H A D | ltc2992.c | 262 unsigned long gpio_ctrl; in ltc2992_gpio_set() local 272 gpio_ctrl = reg; in ltc2992_gpio_set() 273 assign_bit(ltc2992_gpio_addr_map[offset].ctrl_bit, &gpio_ctrl, value); in ltc2992_gpio_set() 275 ltc2992_write_reg(st, ltc2992_gpio_addr_map[offset].ctrl, 1, gpio_ctrl); in ltc2992_gpio_set() 284 unsigned long gpio_ctrl = 0; in ltc2992_gpio_set_multiple() local 292 assign_bit(ltc2992_gpio_addr_map[gpio_nr].ctrl_bit, &gpio_ctrl, true); in ltc2992_gpio_set_multiple() 297 ltc2992_write_reg(st, LTC2992_GPIO_CTRL, 1, gpio_ctrl); in ltc2992_gpio_set_multiple()
|
/openbmc/linux/drivers/net/ethernet/wangxun/ngbe/ |
H A D | ngbe_main.c | 74 wx->gpio_ctrl = 1; in ngbe_init_type_code() 77 wx->gpio_ctrl = 0; in ngbe_init_type_code() 170 wr32(wx, WX_GPIO_POLARITY, wx->gpio_ctrl ? 0 : 0x3); in ngbe_irq_enable() 324 if (wx->gpio_ctrl) in ngbe_disable_device() 357 if (wx->gpio_ctrl) in ngbe_up()
|
H A D | ngbe_hw.c | 42 if (wx->gpio_ctrl) { in ngbe_reset_misc()
|
/openbmc/linux/drivers/hte/ |
H A D | hte-tegra194.c | 694 struct device_node *gpio_ctrl; in tegra_hte_probe() local 766 gpio_ctrl = of_parse_phandle(dev->of_node, in tegra_hte_probe() 769 if (!gpio_ctrl) { in tegra_hte_probe() 775 hte_dev->c = gpiochip_find(gpio_ctrl, in tegra_hte_probe() 777 of_node_put(gpio_ctrl); in tegra_hte_probe()
|
/openbmc/linux/drivers/staging/media/atomisp/i2c/ov5693/ |
H A D | atomisp-ov5693.c | 1116 static int gpio_ctrl(struct v4l2_subdev *sd, bool flag) in gpio_ctrl() function 1148 ret = gpio_ctrl(sd, 1); in __power_up() 1150 ret = gpio_ctrl(sd, 1); in __power_up() 1165 gpio_ctrl(sd, 0); in __power_up() 1191 ret = gpio_ctrl(sd, 0); in power_down() 1193 ret = gpio_ctrl(sd, 0); in power_down()
|
/openbmc/linux/drivers/usb/serial/ |
H A D | cp210x.c | 1830 u8 gpio_ctrl; in cp2102n_gpioconf_init() local 1857 gpio_ctrl = config_buf[CP210X_2NCONFIG_GPIO_CONTROL_IDX]; in cp2102n_gpioconf_init() 1880 if (gpio_ctrl & CP2102N_QFN20_GPIO0_CLK_MODE) /* GPIO 0 */ in cp2102n_gpioconf_init() 1882 if (gpio_ctrl & CP2102N_QFN20_GPIO1_RS485_MODE) /* GPIO 1 */ in cp2102n_gpioconf_init() 1884 if (gpio_ctrl & CP2102N_QFN20_GPIO2_TXLED_MODE) /* GPIO 2 */ in cp2102n_gpioconf_init() 1886 if (gpio_ctrl & CP2102N_QFN20_GPIO3_RXLED_MODE) /* GPIO 3 */ in cp2102n_gpioconf_init() 1889 priv->gpio_altfunc = (gpio_ctrl >> 2) & 0x0f; in cp2102n_gpioconf_init()
|
/openbmc/u-boot/arch/m68k/include/asm/ |
H A D | immap_520x.h | 94 typedef struct gpio_ctrl { struct
|
H A D | immap_5235.h | 104 typedef struct gpio_ctrl { struct
|
H A D | immap_5301x.h | 160 typedef struct gpio_ctrl { struct
|
H A D | immap_5272.h | 78 typedef struct gpio_ctrl { struct
|
H A D | immap_5275.h | 115 typedef struct gpio_ctrl { struct
|
H A D | immap_5329.h | 145 typedef struct gpio_ctrl { struct
|
/openbmc/u-boot/arch/arm/include/asm/arch-tegra/ |
H A D | dc.h | 118 uint gpio_ctrl; /* _COM_GPIO_CTRL_0 */ member
|
/openbmc/linux/drivers/net/ethernet/wangxun/libwx/ |
H A D | wx_type.h | 882 bool gpio_ctrl; member
|