Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/sound/soc/codecs/
Dak5558.c38 struct gpio_desc *reset_gpiod; /* Reset & Power down GPIO */ member
272 if (!ak5558->reset_gpiod) in ak5558_power_off()
275 gpiod_set_value_cansleep(ak5558->reset_gpiod, 1); in ak5558_power_off()
281 if (!ak5558->reset_gpiod) in ak5558_power_on()
284 gpiod_set_value_cansleep(ak5558->reset_gpiod, 0); in ak5558_power_on()
384 ak5558->reset_gpiod = devm_gpiod_get_optional(&i2c->dev, "reset", in ak5558_i2c_probe()
386 if (IS_ERR(ak5558->reset_gpiod)) in ak5558_i2c_probe()
387 return PTR_ERR(ak5558->reset_gpiod); in ak5558_i2c_probe()
Dak4104.c268 struct gpio_desc *reset_gpiod; in ak4104_spi_probe() local
296 reset_gpiod = devm_gpiod_get_optional(&spi->dev, "reset", in ak4104_spi_probe()
298 if (PTR_ERR(reset_gpiod) == -EPROBE_DEFER) in ak4104_spi_probe()
Dak4458.c48 struct gpio_desc *reset_gpiod; member
600 if (ak4458->reset_gpiod) { in ak4458_reset()
601 gpiod_set_value_cansleep(ak4458->reset_gpiod, active); in ak4458_reset()
766 ak4458->reset_gpiod = devm_gpiod_get_optional(ak4458->dev, "reset", in ak4458_i2c_probe()
768 if (IS_ERR(ak4458->reset_gpiod)) in ak4458_i2c_probe()
769 return PTR_ERR(ak4458->reset_gpiod); in ak4458_i2c_probe()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/iio/magnetometer/
Dak8975.c361 struct gpio_desc *reset_gpiod; member
396 gpiod_set_value_cansleep(data->reset_gpiod, 0); in ak8975_power_on()
410 gpiod_set_value_cansleep(data->reset_gpiod, 1); in ak8975_power_off()
853 struct gpio_desc *reset_gpiod; in ak8975_probe() local
876 reset_gpiod = devm_gpiod_get_optional(&client->dev, in ak8975_probe()
878 if (IS_ERR(reset_gpiod)) in ak8975_probe()
879 return PTR_ERR(reset_gpiod); in ak8975_probe()
891 data->reset_gpiod = reset_gpiod; in ak8975_probe()
/kernel/linux/linux-5.10/drivers/net/phy/
Dmdio_bus.c561 bus->reset_gpiod = gpiod; in __mdiobus_register()
605 if (bus->reset_gpiod) in __mdiobus_register()
606 gpiod_set_value_cansleep(bus->reset_gpiod, 1); in __mdiobus_register()
635 if (bus->reset_gpiod) in mdiobus_unregister()
636 gpiod_set_value_cansleep(bus->reset_gpiod, 1); in mdiobus_unregister()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/include/linux/
Dphy.h355 struct gpio_desc *reset_gpiod; member