Home
last modified time | relevance | path

Searched refs:power_gpio (Results 1 – 18 of 18) sorted by relevance

/kernel/linux/linux-5.10/sound/soc/codecs/
Dtpa6130a2.c36 int power_gpio; member
52 if (data->power_gpio >= 0) in tpa6130a2_power()
53 gpio_set_value(data->power_gpio, 1); in tpa6130a2_power()
62 if (data->power_gpio >= 0) in tpa6130a2_power()
63 gpio_set_value(data->power_gpio, 0); in tpa6130a2_power()
79 if (data->power_gpio >= 0) in tpa6130a2_power()
80 gpio_set_value(data->power_gpio, 0); in tpa6130a2_power()
236 data->power_gpio = pdata->power_gpio; in tpa6130a2_probe()
238 data->power_gpio = of_get_named_gpio(np, "power-gpio", 0); in tpa6130a2_probe()
249 if (data->power_gpio >= 0) { in tpa6130a2_probe()
[all …]
Dtlv320dac33.c83 int power_gpio; member
386 if (dac33->power_gpio >= 0) in dac33_hard_power()
387 gpio_set_value(dac33->power_gpio, 1); in dac33_hard_power()
392 if (dac33->power_gpio >= 0) in dac33_hard_power()
393 gpio_set_value(dac33->power_gpio, 0); in dac33_hard_power()
1497 dac33->power_gpio = pdata->power_gpio; in dac33_i2c_probe()
1508 if (dac33->power_gpio >= 0) { in dac33_i2c_probe()
1509 ret = gpio_request(dac33->power_gpio, "tlv320dac33 reset"); in dac33_i2c_probe()
1513 dac33->power_gpio); in dac33_i2c_probe()
1516 gpio_direction_output(dac33->power_gpio, 0); in dac33_i2c_probe()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/ti/wl1251/
Dspi.c212 if (gpio_is_valid(wl->power_gpio)) in wl1251_spi_set_power()
213 gpio_set_value(wl->power_gpio, enable); in wl1251_spi_set_power()
264 wl->power_gpio = of_get_named_gpio(np, "ti,power-gpio", 0); in wl1251_spi_probe()
266 wl->power_gpio = pdata->power_gpio; in wl1251_spi_probe()
270 if (wl->power_gpio == -EPROBE_DEFER) { in wl1251_spi_probe()
275 if (gpio_is_valid(wl->power_gpio)) { in wl1251_spi_probe()
276 ret = devm_gpio_request_one(&spi->dev, wl->power_gpio, in wl1251_spi_probe()
Dwl1251.h265 int power_gpio; member
/kernel/linux/linux-5.10/drivers/nfc/fdp/
Di2c.c42 gpiod_set_value_cansleep(phy->power_gpio, FDP_POWER_OFF); in fdp_nci_i2c_reset()
44 gpiod_set_value_cansleep(phy->power_gpio, FDP_POWER_ON); in fdp_nci_i2c_reset()
319 phy->power_gpio = devm_gpiod_get(dev, "power", GPIOD_OUT_LOW); in fdp_nci_i2c_probe()
320 if (IS_ERR(phy->power_gpio)) { in fdp_nci_i2c_probe()
322 return PTR_ERR(phy->power_gpio); in fdp_nci_i2c_probe()
Dfdp.h16 struct gpio_desc *power_gpio; member
/kernel/linux/linux-5.10/include/sound/
Dtpa6130a2-plat.h14 int power_gpio; member
Dtlv320dac33-plat.h14 int power_gpio; member
/kernel/linux/linux-5.10/drivers/media/platform/
Dvia-camera.c74 int power_gpio; member
185 cam->power_gpio = viafb_gpio_lookup("VGPIO3"); in via_sensor_power_setup()
187 if (!gpio_is_valid(cam->power_gpio) || !gpio_is_valid(cam->reset_gpio)) { in via_sensor_power_setup()
191 ret = gpio_request(cam->power_gpio, "viafb-camera"); in via_sensor_power_setup()
199 gpio_free(cam->power_gpio); in via_sensor_power_setup()
202 gpio_direction_output(cam->power_gpio, 0); in via_sensor_power_setup()
212 gpio_set_value(cam->power_gpio, 1); in via_sensor_power_up()
221 gpio_set_value(cam->power_gpio, 0); in via_sensor_power_down()
229 gpio_free(cam->power_gpio); in via_sensor_power_release()
/kernel/linux/linux-5.10/include/linux/
Dwl12xx.h16 int power_gpio; member
/kernel/linux/linux-5.10/include/linux/mfd/
Dhtc-pasic3.h45 unsigned int power_gpio; member
/kernel/linux/linux-5.10/drivers/phy/motorola/
Dphy-mapphone-mdm6600.c377 struct gpio_desc *mode_gpio0, *mode_gpio1, *reset_gpio, *power_gpio; in phy_mdm6600_device_power_on() local
383 power_gpio = ddata->ctrl_gpios[PHY_MDM6600_POWER]; in phy_mdm6600_device_power_on()
402 gpiod_set_value_cansleep(power_gpio, 1); in phy_mdm6600_device_power_on()
404 gpiod_set_value_cansleep(power_gpio, 0); in phy_mdm6600_device_power_on()
/kernel/linux/linux-5.10/drivers/mmc/host/
Dsdhci-tegra.c153 struct gpio_desc *power_gpio; member
1659 tegra_host->power_gpio = devm_gpiod_get_optional(&pdev->dev, "power", in sdhci_tegra_probe()
1661 if (IS_ERR(tegra_host->power_gpio)) { in sdhci_tegra_probe()
1662 rc = PTR_ERR(tegra_host->power_gpio); in sdhci_tegra_probe()
/kernel/linux/linux-5.10/drivers/net/ethernet/smsc/
Dsmc91x.h236 struct gpio_desc *power_gpio; member
Dsmc91x.c2273 ret = try_toggle_control_gpio(&pdev->dev, &lp->power_gpio, in smc_drv_probe()
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0024_linux_drivers_input.patch2132 + * @power_gpio: power switch gpio
2151 + int power_gpio;
D0020_linux_drivers_gpu.patch27706 + struct gpio_desc *power_gpio;
28019 + if (tc358775->reset != NULL && tc358775->stby !=NULL && tc358775->power_gpio !=NULL) {
28025 + gpiod_set_value(tc358775->power_gpio, 0);
28040 + if (tc358775->reset != NULL && tc358775->stby !=NULL && tc358775->power_gpio !=NULL) {
28042 + gpiod_set_value(tc358775->power_gpio, 0);
28047 + gpiod_set_value(tc358775->power_gpio, 1);
28323 + panel->power_gpio= devm_gpiod_get(dev, "powergpio", GPIOD_OUT_LOW);
28324 + if (IS_ERR(panel->power_gpio))
D0030_linux_drivers_pci_misc_nvmem_of_mtd_mmc.patch13366 struct gpio_desc *power_gpio;
13611 tegra_host->power_gpio = devm_gpiod_get_optional(&pdev->dev, "power",