Home
last modified time | relevance | path

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

/Linux-v5.4/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 …]
/Linux-v5.4/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()
Dsdio.c173 if (gpio_is_valid(wl->power_gpio)) in wl1251_sdio_set_power()
174 gpio_set_value(wl->power_gpio, true); in wl1251_sdio_set_power()
195 if (gpio_is_valid(wl->power_gpio)) in wl1251_sdio_set_power()
196 gpio_set_value(wl->power_gpio, false); in wl1251_sdio_set_power()
248 wl->power_gpio = wl1251_board_data->power_gpio; in wl1251_sdio_probe()
253 if (gpio_is_valid(wl->power_gpio)) { in wl1251_sdio_probe()
254 ret = devm_gpio_request(&func->dev, wl->power_gpio, in wl1251_sdio_probe()
Dwl1251.h265 int power_gpio; member
/Linux-v5.4/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()
327 phy->power_gpio = devm_gpiod_get(dev, "power", GPIOD_OUT_LOW); in fdp_nci_i2c_probe()
328 if (IS_ERR(phy->power_gpio)) { in fdp_nci_i2c_probe()
330 return PTR_ERR(phy->power_gpio); in fdp_nci_i2c_probe()
Dfdp.h16 struct gpio_desc *power_gpio; member
/Linux-v5.4/include/sound/
Dtpa6130a2-plat.h14 int power_gpio; member
Dtlv320dac33-plat.h14 int power_gpio; member
/Linux-v5.4/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()
/Linux-v5.4/include/linux/
Dwl12xx.h16 int power_gpio; member
/Linux-v5.4/include/linux/mfd/
Dhtc-pasic3.h45 unsigned int power_gpio; member
/Linux-v5.4/drivers/phy/motorola/
Dphy-mapphone-mdm6600.c366 struct gpio_desc *mode_gpio0, *mode_gpio1, *reset_gpio, *power_gpio; in phy_mdm6600_device_power_on() local
372 power_gpio = ddata->ctrl_gpios[PHY_MDM6600_POWER]; in phy_mdm6600_device_power_on()
391 gpiod_set_value_cansleep(power_gpio, 1); in phy_mdm6600_device_power_on()
393 gpiod_set_value_cansleep(power_gpio, 0); in phy_mdm6600_device_power_on()
/Linux-v5.4/drivers/mmc/host/
Dsdhci-tegra.c132 struct gpio_desc *power_gpio; member
1557 tegra_host->power_gpio = devm_gpiod_get_optional(&pdev->dev, "power", in sdhci_tegra_probe()
1559 if (IS_ERR(tegra_host->power_gpio)) { in sdhci_tegra_probe()
1560 rc = PTR_ERR(tegra_host->power_gpio); in sdhci_tegra_probe()
/Linux-v5.4/arch/arm/mach-omap2/
Dpdata-quirks.c395 pandora_wl1251_pdata.power_gpio = -1; in pandora_wl1251_init()
/Linux-v5.4/drivers/net/ethernet/smsc/
Dsmc91x.h236 struct gpio_desc *power_gpio; member
Dsmc91x.c2274 ret = try_toggle_control_gpio(&pdev->dev, &lp->power_gpio, in smc_drv_probe()