Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/pci/controller/dwc/
Dpcie-dw-rockchip.c64 struct gpio_desc *rst_gpio; member
192 gpiod_set_value_cansleep(rockchip->rst_gpio, 0); in rockchip_pcie_start_link()
206 gpiod_set_value_cansleep(rockchip->rst_gpio, 1); in rockchip_pcie_start_link()
345 rockchip->rst_gpio = devm_gpiod_get_optional(&pdev->dev, "reset", in rockchip_pcie_resource_get()
347 if (IS_ERR(rockchip->rst_gpio)) in rockchip_pcie_resource_get()
348 return dev_err_probe(&pdev->dev, PTR_ERR(rockchip->rst_gpio), in rockchip_pcie_resource_get()
/linux-6.12.1/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()
920 xcsi2rxss->rst_gpio = devm_gpiod_get_optional(dev, "video-reset", in xcsi2rxss_probe()
922 if (IS_ERR(xcsi2rxss->rst_gpio)) in xcsi2rxss_probe()
923 return dev_err_probe(dev, PTR_ERR(xcsi2rxss->rst_gpio), in xcsi2rxss_probe()
/linux-6.12.1/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()
912 ov02a10->rst_gpio = devm_gpiod_get(dev, "reset", GPIOD_OUT_HIGH); in ov02a10_probe()
913 if (IS_ERR(ov02a10->rst_gpio)) in ov02a10_probe()
914 return dev_err_probe(dev, PTR_ERR(ov02a10->rst_gpio), in ov02a10_probe()
Dhi846.c1154 struct gpio_desc *rst_gpio; member
1648 if (hi846->rst_gpio) in hi846_power_on()
1649 gpiod_set_value_cansleep(hi846->rst_gpio, 0); in hi846_power_on()
1662 if (hi846->rst_gpio) in hi846_power_off()
1663 gpiod_set_value_cansleep(hi846->rst_gpio, 1); in hi846_power_off()
2015 hi846->rst_gpio = devm_gpiod_get_optional(dev, "reset", GPIOD_OUT_LOW); in hi846_parse_dt()
2016 if (IS_ERR(hi846->rst_gpio)) { in hi846_parse_dt()
2018 hi846->rst_gpio); in hi846_parse_dt()
2019 return PTR_ERR(hi846->rst_gpio); in hi846_parse_dt()
Dov5645.c111 struct gpio_desc *rst_gpio; member
644 gpiod_set_value_cansleep(ov5645->rst_gpio, 1); in __ov5645_set_power_off()
681 gpiod_set_value_cansleep(ov5645->rst_gpio, 0); in ov5645_set_power_on()
1132 ov5645->rst_gpio = devm_gpiod_get(dev, "reset", GPIOD_OUT_HIGH); in ov5645_probe()
1133 if (IS_ERR(ov5645->rst_gpio)) { in ov5645_probe()
1135 return PTR_ERR(ov5645->rst_gpio); in ov5645_probe()
Dadv7180.c214 struct gpio_desc *rst_gpio; member
505 if (!state->rst_gpio) in adv7180_set_reset_pin()
509 gpiod_set_value_cansleep(state->rst_gpio, 1); in adv7180_set_reset_pin()
511 gpiod_set_value_cansleep(state->rst_gpio, 0); in adv7180_set_reset_pin()
1435 state->rst_gpio = devm_gpiod_get_optional(&client->dev, "reset", in adv7180_probe()
1437 if (IS_ERR(state->rst_gpio)) { in adv7180_probe()
1438 ret = PTR_ERR(state->rst_gpio); in adv7180_probe()
Dimx290.c242 struct gpio_desc *rst_gpio; member
1325 gpiod_set_value_cansleep(imx290->rst_gpio, 0); in imx290_power_on()
1334 gpiod_set_value_cansleep(imx290->rst_gpio, 1); in imx290_power_off()
1550 imx290->rst_gpio = devm_gpiod_get_optional(dev, "reset", in imx290_probe()
1552 if (IS_ERR(imx290->rst_gpio)) in imx290_probe()
1553 return dev_err_probe(dev, PTR_ERR(imx290->rst_gpio), in imx290_probe()
/linux-6.12.1/drivers/greybus/
Dgb-beagleplay.c87 struct gpio_desc *rst_gpio; member
885 gpiod_direction_output(bg->rst_gpio, 0); in cc1352_prepare()
888 gpiod_set_value(bg->rst_gpio, 1); in cc1352_prepare()
895 gpiod_direction_input(bg->rst_gpio); in cc1352_prepare()
1048 bg->rst_gpio = NULL; in gb_fw_init()
1065 bg->rst_gpio = desc; in gb_fw_init()
1078 devm_gpiod_put(&bg->sd->dev, bg->rst_gpio); in gb_fw_init()
1079 bg->rst_gpio = NULL; in gb_fw_init()
/linux-6.12.1/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
/linux-6.12.1/drivers/media/platform/st/sti/c8sectpfe/
Dc8sectpfe-core.h30 struct gpio_desc *rst_gpio; member
Dc8sectpfe-core.c809 tsin->rst_gpio = devm_fwnode_gpiod_get(dev, in c8sectpfe_probe()
813 ret = PTR_ERR_OR_ZERO(tsin->rst_gpio); in c8sectpfe_probe()
824 gpiod_set_value_cansleep(tsin->rst_gpio, 0); in c8sectpfe_probe()