Home
last modified time | relevance | path

Searched refs:gpio_rst (Results 1 - 13 of 13) sorted by relevance

/kernel/linux/linux-6.6/drivers/pci/controller/
H A Dpcie-mt7621.c74 * @gpio_rst: gpio reset
85 struct gpio_desc *gpio_rst; member
163 if (port->gpio_rst) in mt7621_rst_gpio_pcie_assert()
164 gpiod_set_value(port->gpio_rst, 1); in mt7621_rst_gpio_pcie_assert()
169 if (port->gpio_rst) in mt7621_rst_gpio_pcie_deassert()
170 gpiod_set_value(port->gpio_rst, 0); in mt7621_rst_gpio_pcie_deassert()
236 port->gpio_rst = devm_gpiod_get_index_optional(dev, "reset", slot, in mt7621_pcie_parse_port()
238 if (IS_ERR(port->gpio_rst)) { in mt7621_pcie_parse_port()
240 err = PTR_ERR(port->gpio_rst); in mt7621_pcie_parse_port()
/kernel/linux/linux-5.10/drivers/gpu/drm/bridge/
H A Dparade-ps8622.c52 struct gpio_desc *gpio_rst; member
353 gpiod_set_value(ps8622->gpio_rst, 0); in ps8622_pre_enable()
376 gpiod_set_value(ps8622->gpio_rst, 1); in ps8622_pre_enable()
421 gpiod_set_value(ps8622->gpio_rst, 0); in ps8622_post_disable()
490 ps8622->gpio_rst = devm_gpiod_get(dev, "reset", GPIOD_OUT_HIGH); in ps8622_probe()
491 if (IS_ERR(ps8622->gpio_rst)) { in ps8622_probe()
492 ret = PTR_ERR(ps8622->gpio_rst); in ps8622_probe()
493 dev_err(dev, "cannot get gpio_rst %d\n", ret); in ps8622_probe()
/kernel/linux/linux-6.6/drivers/gpu/drm/bridge/
H A Dparade-ps8622.c51 struct gpio_desc *gpio_rst; member
348 gpiod_set_value(ps8622->gpio_rst, 0); in ps8622_pre_enable()
371 gpiod_set_value(ps8622->gpio_rst, 1); in ps8622_pre_enable()
416 gpiod_set_value(ps8622->gpio_rst, 0); in ps8622_post_disable()
480 ps8622->gpio_rst = devm_gpiod_get(dev, "reset", GPIOD_OUT_HIGH); in ps8622_probe()
481 if (IS_ERR(ps8622->gpio_rst)) { in ps8622_probe()
482 ret = PTR_ERR(ps8622->gpio_rst); in ps8622_probe()
483 dev_err(dev, "cannot get gpio_rst %d\n", ret); in ps8622_probe()
/kernel/linux/linux-5.10/drivers/staging/mt7621-pci/
H A Dpci-mt7621.c98 * @gpio_rst: gpio reset
109 struct gpio_desc *gpio_rst; member
219 if (port->gpio_rst) in mt7621_rst_gpio_pcie_assert()
220 gpiod_set_value(port->gpio_rst, 1); in mt7621_rst_gpio_pcie_assert()
225 if (port->gpio_rst) in mt7621_rst_gpio_pcie_deassert()
226 gpiod_set_value(port->gpio_rst, 0); in mt7621_rst_gpio_pcie_deassert()
379 port->gpio_rst = devm_gpiod_get_index_optional(dev, "reset", slot, in mt7621_pcie_parse_port()
381 if (IS_ERR(port->gpio_rst)) { in mt7621_pcie_parse_port()
383 return PTR_ERR(port->gpio_rst); in mt7621_pcie_parse_port()
/kernel/linux/linux-5.10/drivers/input/touchscreen/
H A Dzforce_ts.c115 struct gpio_desc *gpio_rst; member
160 gpiod_set_value_cansleep(ts->gpio_rst, 1); in zforce_reset_assert()
165 gpiod_set_value_cansleep(ts->gpio_rst, 0); in zforce_reset_deassert()
753 ts->gpio_rst = devm_gpiod_get_optional(&client->dev, "reset", in zforce_probe()
755 if (IS_ERR(ts->gpio_rst)) { in zforce_probe()
756 ret = PTR_ERR(ts->gpio_rst); in zforce_probe()
762 if (ts->gpio_rst) { in zforce_probe()
788 ts->gpio_rst = devm_gpiod_get_index(&client->dev, NULL, 1, in zforce_probe()
790 if (IS_ERR(ts->gpio_rst)) { in zforce_probe()
791 ret = PTR_ERR(ts->gpio_rst); in zforce_probe()
[all...]
H A Dauo-pixcir-ts.c487 pdata->gpio_rst = of_get_gpio(np, 1); in auo_pixcir_parse_dt()
488 if (!gpio_is_valid(pdata->gpio_rst)) { in auo_pixcir_parse_dt()
519 gpio_set_value(ts->pdata->gpio_rst, 0); in auo_pixcir_reset()
596 error = devm_gpio_request_one(&client->dev, pdata->gpio_rst, in auo_pixcir_probe()
601 pdata->gpio_rst, error); in auo_pixcir_probe()
/kernel/linux/linux-6.6/drivers/input/touchscreen/
H A Dzforce_ts.c115 struct gpio_desc *gpio_rst; member
160 gpiod_set_value_cansleep(ts->gpio_rst, 1); in zforce_reset_assert()
165 gpiod_set_value_cansleep(ts->gpio_rst, 0); in zforce_reset_deassert()
752 ts->gpio_rst = devm_gpiod_get_optional(&client->dev, "reset", in zforce_probe()
754 if (IS_ERR(ts->gpio_rst)) { in zforce_probe()
755 ret = PTR_ERR(ts->gpio_rst); in zforce_probe()
761 if (ts->gpio_rst) { in zforce_probe()
787 ts->gpio_rst = devm_gpiod_get_index(&client->dev, NULL, 1, in zforce_probe()
789 if (IS_ERR(ts->gpio_rst)) { in zforce_probe()
790 ret = PTR_ERR(ts->gpio_rst); in zforce_probe()
[all...]
H A Dauo-pixcir-ts.c117 struct gpio_desc *gpio_rst; member
482 gpiod_set_value_cansleep(ts->gpio_rst, 1); in auo_pixcir_reset()
559 ts->gpio_rst = devm_gpiod_get_index(&client->dev, NULL, 1, in auo_pixcir_probe()
561 error = PTR_ERR_OR_ZERO(ts->gpio_rst); in auo_pixcir_probe()
568 gpiod_set_consumer_name(ts->gpio_rst, "auo_pixcir_ts_rst"); in auo_pixcir_probe()
/kernel/linux/linux-5.10/sound/soc/codecs/
H A Dpcm3168a.c64 struct gpio_desc *gpio_rst; member
725 pcm3168a->gpio_rst = devm_gpiod_get_optional(dev, "reset", in pcm3168a_probe()
728 if (IS_ERR(pcm3168a->gpio_rst)) { in pcm3168a_probe()
729 ret = PTR_ERR(pcm3168a->gpio_rst); in pcm3168a_probe()
777 if (pcm3168a->gpio_rst) { in pcm3168a_probe()
835 gpiod_set_value_cansleep(pcm3168a->gpio_rst, 1); in pcm3168a_remove()
/kernel/linux/linux-6.6/sound/soc/codecs/
H A Dpcm3168a.c62 struct gpio_desc *gpio_rst; member
740 pcm3168a->gpio_rst = devm_gpiod_get_optional(dev, "reset", in pcm3168a_probe()
743 if (IS_ERR(pcm3168a->gpio_rst)) in pcm3168a_probe()
744 return dev_err_probe(dev, PTR_ERR(pcm3168a->gpio_rst), in pcm3168a_probe()
784 if (pcm3168a->gpio_rst) { in pcm3168a_probe()
842 gpiod_set_value_cansleep(pcm3168a->gpio_rst, 1); in pcm3168a_remove()
/kernel/linux/linux-5.10/include/linux/platform_data/
H A Drtc-ds2404.h16 unsigned int gpio_rst; member
/kernel/linux/linux-5.10/include/linux/input/
H A Dauo-pixcir-ts.h36 int gpio_rst; member
/kernel/linux/linux-5.10/drivers/rtc/
H A Drtc-ds2404.c51 ds2404_gpio[DS2404_RST].gpio = pdata->gpio_rst; in ds2404_gpio_map()

Completed in 11 milliseconds