Home
last modified time | relevance | path

Searched refs:reset_gpiod (Results 1 – 9 of 9) sorted by relevance

/linux-6.1.9/drivers/input/touchscreen/
Dmsg2638.c55 struct gpio_desc *reset_gpiod; member
130 gpiod_set_value_cansleep(msg2638->reset_gpiod, 1); in msg2638_reset()
132 gpiod_set_value_cansleep(msg2638->reset_gpiod, 0); in msg2638_reset()
261 msg2638->reset_gpiod = devm_gpiod_get(dev, "reset", GPIOD_OUT_LOW); in msg2638_ts_probe()
262 if (IS_ERR(msg2638->reset_gpiod)) { in msg2638_ts_probe()
263 error = PTR_ERR(msg2638->reset_gpiod); in msg2638_ts_probe()
/linux-6.1.9/drivers/staging/fieldbus/anybuss/
Darcx-anybus.c42 struct gpio_desc *reset_gpiod; member
239 cd->reset_gpiod = devm_gpiod_get(dev, "reset", GPIOD_OUT_LOW); in controller_probe()
240 if (IS_ERR(cd->reset_gpiod)) in controller_probe()
241 return PTR_ERR(cd->reset_gpiod); in controller_probe()
320 gpiod_set_value_cansleep(cd->reset_gpiod, 1); in controller_probe()
331 gpiod_set_value_cansleep(cd->reset_gpiod, 1); in controller_remove()
/linux-6.1.9/sound/soc/codecs/
Dak5558.c44 struct gpio_desc *reset_gpiod; /* Reset & Power down GPIO */ member
323 if (!ak5558->reset_gpiod) in ak5558_reset()
326 gpiod_set_value_cansleep(ak5558->reset_gpiod, active); in ak5558_reset()
440 ak5558->reset_gpiod = devm_gpiod_get_optional(&i2c->dev, "reset", in ak5558_i2c_probe()
442 if (IS_ERR(ak5558->reset_gpiod)) in ak5558_i2c_probe()
443 return PTR_ERR(ak5558->reset_gpiod); in ak5558_i2c_probe()
Dak4458.c48 struct gpio_desc *reset_gpiod; member
633 if (ak4458->reset_gpiod) { in ak4458_reset()
634 gpiod_set_value_cansleep(ak4458->reset_gpiod, active); in ak4458_reset()
751 ak4458->reset_gpiod = devm_gpiod_get_optional(ak4458->dev, "reset", in ak4458_i2c_probe()
753 if (IS_ERR(ak4458->reset_gpiod)) in ak4458_i2c_probe()
754 return PTR_ERR(ak4458->reset_gpiod); in ak4458_i2c_probe()
Dak4104.c267 struct gpio_desc *reset_gpiod; in ak4104_spi_probe() local
295 reset_gpiod = devm_gpiod_get_optional(&spi->dev, "reset", in ak4104_spi_probe()
297 if (PTR_ERR(reset_gpiod) == -EPROBE_DEFER) in ak4104_spi_probe()
/linux-6.1.9/drivers/iio/magnetometer/
Dak8975.c388 struct gpio_desc *reset_gpiod; member
423 gpiod_set_value_cansleep(data->reset_gpiod, 0); in ak8975_power_on()
437 gpiod_set_value_cansleep(data->reset_gpiod, 1); in ak8975_power_off()
885 struct gpio_desc *reset_gpiod; in ak8975_probe() local
908 reset_gpiod = devm_gpiod_get_optional(&client->dev, in ak8975_probe()
910 if (IS_ERR(reset_gpiod)) in ak8975_probe()
911 return PTR_ERR(reset_gpiod); in ak8975_probe()
923 data->reset_gpiod = reset_gpiod; in ak8975_probe()
/linux-6.1.9/drivers/net/phy/
Dmdio_bus.c577 bus->reset_gpiod = gpiod; in __mdiobus_register()
619 if (bus->reset_gpiod) in __mdiobus_register()
620 gpiod_set_value_cansleep(bus->reset_gpiod, 1); in __mdiobus_register()
649 if (bus->reset_gpiod) in mdiobus_unregister()
650 gpiod_set_value_cansleep(bus->reset_gpiod, 1); in mdiobus_unregister()
/linux-6.1.9/drivers/net/ethernet/smsc/
Dsmsc911x.c139 struct gpio_desc *reset_gpiod; member
440 pdata->reset_gpiod = devm_gpiod_get_optional(&pdev->dev, in smsc911x_request_resources()
/linux-6.1.9/include/linux/
Dphy.h412 struct gpio_desc *reset_gpiod; member