Home
last modified time | relevance | path

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

/linux/sound/soc/codecs/
H A 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()
243 data->power_gpio = pdata->power_gpio; in tpa6130a2_probe()
245 data->power_gpio = of_get_named_gpio(np, "power-gpio", 0); in tpa6130a2_probe()
257 if (data->power_gpio >= 0) { in tpa6130a2_probe()
[all …]
H A 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()
1493 dac33->power_gpio = pdata->power_gpio; in dac33_i2c_probe()
1504 if (dac33->power_gpio >= 0) { in dac33_i2c_probe()
1505 ret = gpio_request(dac33->power_gpio, "tlv320dac33 reset"); in dac33_i2c_probe()
1509 dac33->power_gpio); in dac33_i2c_probe()
1512 gpio_direction_output(dac33->power_gpio, 0); in dac33_i2c_probe()
[all …]
/linux/drivers/net/wireless/ti/wl1251/
H A Dspi.c26 struct gpio_desc *power_gpio; member
217 if (wl_spi->power_gpio) in wl1251_spi_set_power()
218 gpiod_set_value_cansleep(wl_spi->power_gpio, enable); in wl1251_spi_set_power()
273 wl_spi->power_gpio = devm_gpiod_get_optional(&spi->dev, "ti,power", in wl1251_spi_probe()
275 ret = PTR_ERR_OR_ZERO(wl_spi->power_gpio); in wl1251_spi_probe()
282 gpiod_set_consumer_name(wl_spi->power_gpio, "wl1251 power"); in wl1251_spi_probe()
/linux/drivers/nfc/fdp/
H A 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()
321 phy->power_gpio = devm_gpiod_get(dev, "power", GPIOD_OUT_LOW); in fdp_nci_i2c_probe()
322 if (IS_ERR(phy->power_gpio)) { in fdp_nci_i2c_probe()
324 return PTR_ERR(phy->power_gpio); in fdp_nci_i2c_probe()
H A Dfdp.h16 struct gpio_desc *power_gpio; member
/linux/include/sound/
H A Dtpa6130a2-plat.h14 int power_gpio; member
H A Dtlv320dac33-plat.h14 int power_gpio; member
/linux/drivers/mmc/host/
H A Dsdhci-tegra.c163 struct gpio_desc *power_gpio; member
1715 tegra_host->power_gpio = devm_gpiod_get_optional(&pdev->dev, "power", in sdhci_tegra_probe()
1717 if (IS_ERR(tegra_host->power_gpio)) { in sdhci_tegra_probe()
1718 rc = PTR_ERR(tegra_host->power_gpio); in sdhci_tegra_probe()
/linux/drivers/net/ethernet/smsc/
H A Dsmc91x.h206 struct gpio_desc *power_gpio; member
H A Dsmc91x.c2279 ret = try_toggle_control_gpio(&pdev->dev, &lp->power_gpio, in smc_drv_probe()