Home
last modified time | relevance | path

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

/drivers/pci/controller/dwc/
Dpcie-dw-rockchip.c58 struct gpio_desc *rst_gpio; member
170 gpiod_set_value_cansleep(rockchip->rst_gpio, 0); in rockchip_pcie_start_link()
184 gpiod_set_value_cansleep(rockchip->rst_gpio, 1); in rockchip_pcie_start_link()
242 rockchip->rst_gpio = devm_gpiod_get_optional(&pdev->dev, "reset", in rockchip_pcie_resource_get()
244 if (IS_ERR(rockchip->rst_gpio)) in rockchip_pcie_resource_get()
245 return PTR_ERR(rockchip->rst_gpio); in rockchip_pcie_resource_get()
/drivers/media/i2c/
Dov02a10.c109 struct gpio_desc *rst_gpio; member
409 gpiod_set_value_cansleep(ov02a10->rst_gpio, 1); in ov02a10_power_on()
429 gpiod_set_value_cansleep(ov02a10->rst_gpio, 0); in ov02a10_power_on()
453 gpiod_set_value_cansleep(ov02a10->rst_gpio, 1); in ov02a10_power_off()
910 ov02a10->rst_gpio = devm_gpiod_get(dev, "reset", GPIOD_OUT_HIGH); in ov02a10_probe()
911 if (IS_ERR(ov02a10->rst_gpio)) in ov02a10_probe()
912 return dev_err_probe(dev, PTR_ERR(ov02a10->rst_gpio), in ov02a10_probe()
Dov5645.c111 struct gpio_desc *rst_gpio; member
641 gpiod_set_value_cansleep(ov5645->rst_gpio, 1); in ov5645_set_power_off()
670 gpiod_set_value_cansleep(ov5645->rst_gpio, 0); in ov5645_set_power_on()
1117 ov5645->rst_gpio = devm_gpiod_get(dev, "reset", GPIOD_OUT_HIGH); in ov5645_probe()
1118 if (IS_ERR(ov5645->rst_gpio)) { in ov5645_probe()
1120 return PTR_ERR(ov5645->rst_gpio); in ov5645_probe()
Dhi846.c1154 struct gpio_desc *rst_gpio; member
1653 if (hi846->rst_gpio) in hi846_power_on()
1654 gpiod_set_value_cansleep(hi846->rst_gpio, 0); in hi846_power_on()
1667 if (hi846->rst_gpio) in hi846_power_off()
1668 gpiod_set_value_cansleep(hi846->rst_gpio, 1); in hi846_power_off()
2039 hi846->rst_gpio = devm_gpiod_get_optional(dev, "reset", GPIOD_OUT_LOW); in hi846_parse_dt()
2040 if (IS_ERR(hi846->rst_gpio)) { in hi846_parse_dt()
2042 hi846->rst_gpio); in hi846_parse_dt()
2043 return PTR_ERR(hi846->rst_gpio); in hi846_parse_dt()
Dadv7180.c213 struct gpio_desc *rst_gpio; member
496 if (!state->rst_gpio) in adv7180_set_reset_pin()
500 gpiod_set_value_cansleep(state->rst_gpio, 1); in adv7180_set_reset_pin()
502 gpiod_set_value_cansleep(state->rst_gpio, 0); in adv7180_set_reset_pin()
1424 state->rst_gpio = devm_gpiod_get_optional(&client->dev, "reset", in adv7180_probe()
1426 if (IS_ERR(state->rst_gpio)) { in adv7180_probe()
1427 ret = PTR_ERR(state->rst_gpio); in adv7180_probe()
Dimx290.c242 struct gpio_desc *rst_gpio; member
1321 gpiod_set_value_cansleep(imx290->rst_gpio, 0); in imx290_power_on()
1330 gpiod_set_value_cansleep(imx290->rst_gpio, 1); in imx290_power_off()
1546 imx290->rst_gpio = devm_gpiod_get_optional(dev, "reset", in imx290_probe()
1548 if (IS_ERR(imx290->rst_gpio)) in imx290_probe()
1549 return dev_err_probe(dev, PTR_ERR(imx290->rst_gpio), in imx290_probe()
/drivers/media/platform/xilinx/
Dxilinx-csi2rxss.c229 struct gpio_desc *rst_gpio; member
342 if (!state->rst_gpio) in xcsi2rxss_hard_reset()
346 gpiod_set_value_cansleep(state->rst_gpio, 1); in xcsi2rxss_hard_reset()
348 gpiod_set_value_cansleep(state->rst_gpio, 0); in xcsi2rxss_hard_reset()
977 xcsi2rxss->rst_gpio = devm_gpiod_get_optional(dev, "video-reset", in xcsi2rxss_probe()
979 if (IS_ERR(xcsi2rxss->rst_gpio)) in xcsi2rxss_probe()
980 return dev_err_probe(dev, PTR_ERR(xcsi2rxss->rst_gpio), in xcsi2rxss_probe()
/drivers/usb/isp1760/
Disp1760-core.c36 if (isp->rst_gpio) { in isp1760_init_core()
37 gpiod_set_value_cansleep(isp->rst_gpio, 1); in isp1760_init_core()
39 gpiod_set_value_cansleep(isp->rst_gpio, 0); in isp1760_init_core()
536 isp->rst_gpio = devm_gpiod_get_optional(dev, NULL, GPIOD_OUT_HIGH); in isp1760_register()
537 if (IS_ERR(isp->rst_gpio)) in isp1760_register()
538 return PTR_ERR(isp->rst_gpio); in isp1760_register()
Disp1760-core.h47 struct gpio_desc *rst_gpio; member
/drivers/media/platform/st/sti/c8sectpfe/
Dc8sectpfe-core.c818 tsin->rst_gpio = devm_fwnode_gpiod_get(dev, in c8sectpfe_probe()
822 ret = PTR_ERR_OR_ZERO(tsin->rst_gpio); in c8sectpfe_probe()
833 gpiod_set_value_cansleep(tsin->rst_gpio, 0); in c8sectpfe_probe()
Dc8sectpfe-core.h30 struct gpio_desc *rst_gpio; member