Home
last modified time | relevance | path

Searched refs:gpio_ctrl (Results 1 – 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/arch/arm/mach-mvebu/
Dpm-board.c25 static void __iomem *gpio_ctrl; variable
35 reg = readl(gpio_ctrl); in mvebu_armada_pm_enter()
39 writel(reg, gpio_ctrl); in mvebu_armada_pm_enter()
42 ackcmd = readl(gpio_ctrl); in mvebu_armada_pm_enter()
76 [ackcmd] "r" (ackcmd), [gpio_ctrl] "r" (gpio_ctrl) : "r1"); in mvebu_armada_pm_enter()
135 gpio_ctrl = of_iomap(gpio_ctrl_np, 0); in mvebu_armada_pm_init()
136 if (!gpio_ctrl) { in mvebu_armada_pm_init()
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/i2c/
Datomisp-gc2235.c569 static int gpio_ctrl(struct v4l2_subdev *sd, bool flag) in gpio_ctrl() function
607 ret = gpio_ctrl(sd, 1); in power_up()
609 ret = gpio_ctrl(sd, 1); in power_up()
618 gpio_ctrl(sd, 0); in power_up()
638 ret = gpio_ctrl(sd, 0); in power_down()
640 ret = gpio_ctrl(sd, 0); in power_down()
Datomisp-ov2722.c673 static int gpio_ctrl(struct v4l2_subdev *sd, bool flag) in gpio_ctrl() function
713 ret = gpio_ctrl(sd, 1); in power_up()
715 ret = gpio_ctrl(sd, 0); in power_up()
731 gpio_ctrl(sd, 0); in power_up()
756 ret = gpio_ctrl(sd, 0); in power_down()
758 ret = gpio_ctrl(sd, 0); in power_down()
Datomisp-ov2680.c722 static int gpio_ctrl(struct v4l2_subdev *sd, bool flag) in gpio_ctrl() function
769 ret = gpio_ctrl(sd, 1); in power_up()
771 ret = gpio_ctrl(sd, 1); in power_up()
787 gpio_ctrl(sd, 0); in power_up()
814 ret = gpio_ctrl(sd, 0); in power_down()
816 ret = gpio_ctrl(sd, 0); in power_down()
Datomisp-gc0310.c767 static int gpio_ctrl(struct v4l2_subdev *sd, bool flag) in gpio_ctrl() function
817 ret = gpio_ctrl(sd, 1); in power_up()
819 ret = gpio_ctrl(sd, 1); in power_up()
852 ret = gpio_ctrl(sd, 0); in power_down()
854 ret = gpio_ctrl(sd, 0); in power_down()
Datomisp-mt9m114.c470 static int gpio_ctrl(struct v4l2_subdev *sd, bool flag) in gpio_ctrl() function
518 ret = gpio_ctrl(sd, 1); in power_up()
554 ret = gpio_ctrl(sd, 0); in power_down()
/kernel/linux/linux-5.10/drivers/usb/serial/
Dcp210x.c1862 u8 gpio_ctrl; in cp2102n_gpioconf_init() local
1889 gpio_ctrl = config_buf[CP210X_2NCONFIG_GPIO_CONTROL_IDX]; in cp2102n_gpioconf_init()
1912 if (gpio_ctrl & CP2102N_QFN20_GPIO0_CLK_MODE) /* GPIO 0 */ in cp2102n_gpioconf_init()
1914 if (gpio_ctrl & CP2102N_QFN20_GPIO1_RS485_MODE) /* GPIO 1 */ in cp2102n_gpioconf_init()
1916 if (gpio_ctrl & CP2102N_QFN20_GPIO2_TXLED_MODE) /* GPIO 2 */ in cp2102n_gpioconf_init()
1918 if (gpio_ctrl & CP2102N_QFN20_GPIO3_RXLED_MODE) /* GPIO 3 */ in cp2102n_gpioconf_init()
1921 priv->gpio_altfunc = (gpio_ctrl >> 2) & 0x0f; in cp2102n_gpioconf_init()
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/i2c/ov5693/
Datomisp-ov5693.c1343 static int gpio_ctrl(struct v4l2_subdev *sd, bool flag) in gpio_ctrl() function
1375 ret = gpio_ctrl(sd, 1); in __power_up()
1377 ret = gpio_ctrl(sd, 1); in __power_up()
1392 gpio_ctrl(sd, 0); in __power_up()
1418 ret = gpio_ctrl(sd, 0); in power_down()
1420 ret = gpio_ctrl(sd, 0); in power_down()