Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/usb/isp1760/
Disp1760-core.c32 if (isp->rst_gpio) { in isp1760_init_core()
33 gpiod_set_value_cansleep(isp->rst_gpio, 1); in isp1760_init_core()
35 gpiod_set_value_cansleep(isp->rst_gpio, 0); in isp1760_init_core()
130 isp->rst_gpio = devm_gpiod_get_optional(dev, NULL, GPIOD_OUT_HIGH); in isp1760_register()
131 if (IS_ERR(isp->rst_gpio)) in isp1760_register()
132 return PTR_ERR(isp->rst_gpio); in isp1760_register()
Disp1760-core.h43 struct gpio_desc *rst_gpio; member
/Linux-v5.10/drivers/media/platform/xilinx/
Dxilinx-csi2rxss.c244 struct gpio_desc *rst_gpio; member
357 if (!state->rst_gpio) in xcsi2rxss_hard_reset()
361 gpiod_set_value_cansleep(state->rst_gpio, 1); in xcsi2rxss_hard_reset()
363 gpiod_set_value_cansleep(state->rst_gpio, 0); in xcsi2rxss_hard_reset()
990 xcsi2rxss->rst_gpio = devm_gpiod_get_optional(dev, "video-reset", in xcsi2rxss_probe()
992 if (IS_ERR(xcsi2rxss->rst_gpio)) { in xcsi2rxss_probe()
993 if (PTR_ERR(xcsi2rxss->rst_gpio) != -EPROBE_DEFER) in xcsi2rxss_probe()
995 return PTR_ERR(xcsi2rxss->rst_gpio); in xcsi2rxss_probe()
/Linux-v5.10/drivers/media/i2c/
Dimx290.c78 struct gpio_desc *rst_gpio; member
864 gpiod_set_value_cansleep(imx290->rst_gpio, 0); in imx290_power_on()
880 gpiod_set_value_cansleep(imx290->rst_gpio, 1); in imx290_power_off()
1032 imx290->rst_gpio = devm_gpiod_get_optional(dev, "reset", in imx290_probe()
1034 if (IS_ERR(imx290->rst_gpio)) { in imx290_probe()
1036 ret = PTR_ERR(imx290->rst_gpio); in imx290_probe()
Dov5645.c114 struct gpio_desc *rst_gpio; member
657 gpiod_set_value_cansleep(ov5645->rst_gpio, 0); in ov5645_set_power_on()
666 gpiod_set_value_cansleep(ov5645->rst_gpio, 1); in ov5645_set_power_off()
1130 ov5645->rst_gpio = devm_gpiod_get(dev, "reset", GPIOD_OUT_HIGH); in ov5645_probe()
1131 if (IS_ERR(ov5645->rst_gpio)) { in ov5645_probe()
1133 return PTR_ERR(ov5645->rst_gpio); in ov5645_probe()
/Linux-v5.10/include/linux/platform_data/
Dcyttsp4.h44 int rst_gpio; member
/Linux-v5.10/drivers/media/platform/sti/c8sectpfe/
Dc8sectpfe-core.c822 tsin->rst_gpio = of_get_named_gpio(child, "reset-gpios", 0); in c8sectpfe_probe()
824 ret = gpio_is_valid(tsin->rst_gpio); in c8sectpfe_probe()
828 tsin->tsin_id, tsin->rst_gpio); in c8sectpfe_probe()
832 ret = devm_gpio_request_one(dev, tsin->rst_gpio, in c8sectpfe_probe()
842 gpio_direction_output(tsin->rst_gpio, 0); in c8sectpfe_probe()
844 gpio_direction_output(tsin->rst_gpio, 1); in c8sectpfe_probe()
Dc8sectpfe-core.h28 int rst_gpio; member