Searched refs:gpio_rst (Results 1 – 5 of 5) sorted by relevance
/openbmc/linux/drivers/gpu/drm/bridge/ |
H A D | parade-ps8622.c | 51 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()
|
/openbmc/linux/drivers/pci/controller/ |
H A D | pcie-mt7621.c | 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()
|
/openbmc/linux/drivers/input/touchscreen/ |
H A D | zforce_ts.c | 115 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()
|
H A D | auo-pixcir-ts.c | 117 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()
|
/openbmc/linux/sound/soc/codecs/ |
H A D | pcm3168a.c | 62 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()
|