Searched refs:rst_gpio (Results 1 – 10 of 10) sorted by relevance
/drivers/pci/controller/dwc/ |
D | pcie-dw-rockchip.c | 52 struct gpio_desc *rst_gpio; member 91 gpiod_set_value_cansleep(rockchip->rst_gpio, 0); in rockchip_pcie_start_link() 105 gpiod_set_value_cansleep(rockchip->rst_gpio, 1); in rockchip_pcie_start_link() 150 rockchip->rst_gpio = devm_gpiod_get_optional(&pdev->dev, "reset", in rockchip_pcie_resource_get() 152 if (IS_ERR(rockchip->rst_gpio)) in rockchip_pcie_resource_get() 153 return PTR_ERR(rockchip->rst_gpio); in rockchip_pcie_resource_get()
|
/drivers/media/platform/xilinx/ |
D | xilinx-csi2rxss.c | 244 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() 992 xcsi2rxss->rst_gpio = devm_gpiod_get_optional(dev, "video-reset", in xcsi2rxss_probe() 994 if (IS_ERR(xcsi2rxss->rst_gpio)) { in xcsi2rxss_probe() 995 if (PTR_ERR(xcsi2rxss->rst_gpio) != -EPROBE_DEFER) in xcsi2rxss_probe() 997 return PTR_ERR(xcsi2rxss->rst_gpio); in xcsi2rxss_probe()
|
/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() 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()
|
D | imx290.c | 78 struct gpio_desc *rst_gpio; member 861 gpiod_set_value_cansleep(imx290->rst_gpio, 0); in imx290_power_on() 876 gpiod_set_value_cansleep(imx290->rst_gpio, 1); in imx290_power_off() 1028 imx290->rst_gpio = devm_gpiod_get_optional(dev, "reset", in imx290_probe() 1030 if (IS_ERR(imx290->rst_gpio)) { in imx290_probe() 1032 ret = PTR_ERR(imx290->rst_gpio); in imx290_probe()
|
D | ov5645.c | 114 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() 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 | 209 struct gpio_desc *rst_gpio; member 492 if (!state->rst_gpio) in adv7180_set_reset_pin() 496 gpiod_set_value_cansleep(state->rst_gpio, 1); in adv7180_set_reset_pin() 498 gpiod_set_value_cansleep(state->rst_gpio, 0); in adv7180_set_reset_pin() 1375 state->rst_gpio = devm_gpiod_get_optional(&client->dev, "reset", in adv7180_probe() 1377 if (IS_ERR(state->rst_gpio)) { in adv7180_probe() 1378 ret = PTR_ERR(state->rst_gpio); in adv7180_probe()
|
/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
|
/drivers/media/platform/sti/c8sectpfe/ |
D | c8sectpfe-core.c | 822 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() 833 ret = devm_gpio_request_one(dev, tsin->rst_gpio, in c8sectpfe_probe() 843 gpio_direction_output(tsin->rst_gpio, 0); in c8sectpfe_probe() 845 gpio_direction_output(tsin->rst_gpio, 1); in c8sectpfe_probe()
|
D | c8sectpfe-core.h | 28 int rst_gpio; member
|