/linux-6.12.1/drivers/pci/controller/dwc/ |
D | pcie-dw-rockchip.c | 64 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/ |
D | xilinx-csi2rxss.c | 229 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/ |
D | ov02a10.c | 109 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()
|
D | hi846.c | 1154 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()
|
D | ov5645.c | 111 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()
|
D | adv7180.c | 214 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()
|
D | imx290.c | 242 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/ |
D | gb-beagleplay.c | 87 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/ |
D | isp1760-core.c | 36 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()
|
D | isp1760-core.h | 47 struct gpio_desc *rst_gpio; member
|
/linux-6.12.1/drivers/media/platform/st/sti/c8sectpfe/ |
D | c8sectpfe-core.h | 30 struct gpio_desc *rst_gpio; member
|
D | c8sectpfe-core.c | 809 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()
|