Searched refs:gpio_ctrl (Results 1 – 8 of 8) sorted by relevance
/drivers/hwmon/ |
D | ltc2992.c | 263 unsigned long gpio_ctrl; in ltc2992_gpio_set() local 273 gpio_ctrl = reg; in ltc2992_gpio_set() 274 assign_bit(ltc2992_gpio_addr_map[offset].ctrl_bit, &gpio_ctrl, value); in ltc2992_gpio_set() 276 ltc2992_write_reg(st, ltc2992_gpio_addr_map[offset].ctrl, 1, gpio_ctrl); in ltc2992_gpio_set() 285 unsigned long gpio_ctrl = 0; in ltc2992_gpio_set_multiple() local 293 assign_bit(ltc2992_gpio_addr_map[gpio_nr].ctrl_bit, &gpio_ctrl, true); in ltc2992_gpio_set_multiple() 298 ltc2992_write_reg(st, LTC2992_GPIO_CTRL, 1, gpio_ctrl); in ltc2992_gpio_set_multiple()
|
/drivers/staging/media/atomisp/i2c/ |
D | atomisp-gc2235.c | 570 static int gpio_ctrl(struct v4l2_subdev *sd, bool flag) in gpio_ctrl() function 608 ret = gpio_ctrl(sd, 1); in power_up() 610 ret = gpio_ctrl(sd, 1); in power_up() 619 gpio_ctrl(sd, 0); in power_up() 639 ret = gpio_ctrl(sd, 0); in power_down() 641 ret = gpio_ctrl(sd, 0); in power_down()
|
D | atomisp-ov2722.c | 673 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()
|
D | atomisp-ov2680.c | 723 static int gpio_ctrl(struct v4l2_subdev *sd, bool flag) in gpio_ctrl() function 772 ret = gpio_ctrl(sd, 1); in power_up() 774 ret = gpio_ctrl(sd, 1); in power_up() 790 gpio_ctrl(sd, 0); in power_up() 817 ret = gpio_ctrl(sd, 0); in power_down() 819 ret = gpio_ctrl(sd, 0); in power_down()
|
D | atomisp-gc0310.c | 765 static int gpio_ctrl(struct v4l2_subdev *sd, bool flag) in gpio_ctrl() function 814 ret = gpio_ctrl(sd, 1); in power_up() 816 ret = gpio_ctrl(sd, 1); in power_up() 848 ret = gpio_ctrl(sd, 0); in power_down() 850 ret = gpio_ctrl(sd, 0); in power_down()
|
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()
|
/drivers/usb/serial/ |
D | cp210x.c | 1851 u8 gpio_ctrl; in cp2102n_gpioconf_init() local 1878 gpio_ctrl = config_buf[CP210X_2NCONFIG_GPIO_CONTROL_IDX]; in cp2102n_gpioconf_init() 1901 if (gpio_ctrl & CP2102N_QFN20_GPIO0_CLK_MODE) /* GPIO 0 */ in cp2102n_gpioconf_init() 1903 if (gpio_ctrl & CP2102N_QFN20_GPIO1_RS485_MODE) /* GPIO 1 */ in cp2102n_gpioconf_init() 1905 if (gpio_ctrl & CP2102N_QFN20_GPIO2_TXLED_MODE) /* GPIO 2 */ in cp2102n_gpioconf_init() 1907 if (gpio_ctrl & CP2102N_QFN20_GPIO3_RXLED_MODE) /* GPIO 3 */ in cp2102n_gpioconf_init() 1910 priv->gpio_altfunc = (gpio_ctrl >> 2) & 0x0f; in cp2102n_gpioconf_init()
|
/drivers/staging/media/atomisp/i2c/ov5693/ |
D | atomisp-ov5693.c | 1343 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()
|