Searched refs:rst_gpio (Results 1 - 12 of 12) sorted by relevance

/linux-master/include/linux/platform_data/
H A Dcyttsp4.h44 int rst_gpio; member in struct:cyttsp4_core_platform_data
/linux-master/drivers/pci/controller/dwc/
H A Dpcie-dw-rockchip.c58 struct gpio_desc *rst_gpio; member in struct:rockchip_pcie
170 gpiod_set_value_cansleep(rockchip->rst_gpio, 0);
184 gpiod_set_value_cansleep(rockchip->rst_gpio, 1);
242 rockchip->rst_gpio = devm_gpiod_get_optional(&pdev->dev, "reset",
244 if (IS_ERR(rockchip->rst_gpio))
245 return PTR_ERR(rockchip->rst_gpio);
/linux-master/drivers/usb/isp1760/
H A Disp1760-core.h47 struct gpio_desc *rst_gpio; member in struct:isp1760_device
H A Disp1760-core.c36 if (isp->rst_gpio) {
37 gpiod_set_value_cansleep(isp->rst_gpio, 1);
39 gpiod_set_value_cansleep(isp->rst_gpio, 0);
536 isp->rst_gpio = devm_gpiod_get_optional(dev, NULL, GPIOD_OUT_HIGH);
537 if (IS_ERR(isp->rst_gpio))
538 return PTR_ERR(isp->rst_gpio);
/linux-master/drivers/media/platform/xilinx/
H A Dxilinx-csi2rxss.c208 * @rst_gpio: reset to video_aresetn
229 struct gpio_desc *rst_gpio; member in struct:xcsi2rxss_state
342 if (!state->rst_gpio)
346 gpiod_set_value_cansleep(state->rst_gpio, 1);
348 gpiod_set_value_cansleep(state->rst_gpio, 0);
920 xcsi2rxss->rst_gpio = devm_gpiod_get_optional(dev, "video-reset",
922 if (IS_ERR(xcsi2rxss->rst_gpio))
923 return dev_err_probe(dev, PTR_ERR(xcsi2rxss->rst_gpio),
/linux-master/drivers/media/i2c/
H A Dov02a10.c109 struct gpio_desc *rst_gpio; member in struct:ov02a10
409 gpiod_set_value_cansleep(ov02a10->rst_gpio, 1);
429 gpiod_set_value_cansleep(ov02a10->rst_gpio, 0);
453 gpiod_set_value_cansleep(ov02a10->rst_gpio, 1);
912 ov02a10->rst_gpio = devm_gpiod_get(dev, "reset", GPIOD_OUT_HIGH);
913 if (IS_ERR(ov02a10->rst_gpio))
914 return dev_err_probe(dev, PTR_ERR(ov02a10->rst_gpio),
H A Dadv7180.c214 struct gpio_desc *rst_gpio; member in struct:adv7180_state
505 if (!state->rst_gpio)
509 gpiod_set_value_cansleep(state->rst_gpio, 1);
511 gpiod_set_value_cansleep(state->rst_gpio, 0);
1435 state->rst_gpio = devm_gpiod_get_optional(&client->dev, "reset",
1437 if (IS_ERR(state->rst_gpio)) {
1438 ret = PTR_ERR(state->rst_gpio);
H A Dov5645.c111 struct gpio_desc *rst_gpio; member in struct:ov5645
644 gpiod_set_value_cansleep(ov5645->rst_gpio, 1);
673 gpiod_set_value_cansleep(ov5645->rst_gpio, 0);
1123 ov5645->rst_gpio = devm_gpiod_get(dev, "reset", GPIOD_OUT_HIGH);
1124 if (IS_ERR(ov5645->rst_gpio)) {
1126 return PTR_ERR(ov5645->rst_gpio);
H A Dimx290.c242 struct gpio_desc *rst_gpio; member in struct:imx290
1325 gpiod_set_value_cansleep(imx290->rst_gpio, 0);
1334 gpiod_set_value_cansleep(imx290->rst_gpio, 1);
1550 imx290->rst_gpio = devm_gpiod_get_optional(dev, "reset",
1552 if (IS_ERR(imx290->rst_gpio))
1553 return dev_err_probe(dev, PTR_ERR(imx290->rst_gpio),
H A Dhi846.c1154 struct gpio_desc *rst_gpio; member in struct:hi846
1648 if (hi846->rst_gpio)
1649 gpiod_set_value_cansleep(hi846->rst_gpio, 0);
1662 if (hi846->rst_gpio)
1663 gpiod_set_value_cansleep(hi846->rst_gpio, 1);
2015 hi846->rst_gpio = devm_gpiod_get_optional(dev, "reset", GPIOD_OUT_LOW);
2016 if (IS_ERR(hi846->rst_gpio)) {
2018 hi846->rst_gpio);
2019 return PTR_ERR(hi846->rst_gpio);
/linux-master/drivers/media/platform/st/sti/c8sectpfe/
H A Dc8sectpfe-core.h30 struct gpio_desc *rst_gpio; member in struct:channel_info
H A Dc8sectpfe-core.c810 tsin->rst_gpio = devm_fwnode_gpiod_get(dev,
814 ret = PTR_ERR_OR_ZERO(tsin->rst_gpio);
825 gpiod_set_value_cansleep(tsin->rst_gpio, 0);

Completed in 151 milliseconds