Searched refs:power_gpio (Results 1 – 15 of 15) sorted by relevance
/linux/sound/soc/codecs/ |
A D | tpa6130a2.c | 36 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() 249 if (data->power_gpio >= 0) { in tpa6130a2_probe() 254 data->power_gpio); in tpa6130a2_probe() [all …]
|
A D | tlv320dac33.c | 83 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() 1497 dac33->power_gpio = pdata->power_gpio; in dac33_i2c_probe() 1508 if (dac33->power_gpio >= 0) { in dac33_i2c_probe() 1513 dac33->power_gpio); in dac33_i2c_probe() 1537 if (dac33->power_gpio >= 0) in dac33_i2c_probe() 1538 gpio_free(dac33->power_gpio); in dac33_i2c_probe() 1550 if (dac33->power_gpio >= 0) in dac33_i2c_remove() [all …]
|
/linux/drivers/net/wireless/ti/wl1251/ |
A D | spi.c | 212 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()
|
A D | wl1251.h | 265 int power_gpio; member
|
/linux/drivers/nfc/fdp/ |
A D | i2c.c | 42 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()
|
A D | fdp.h | 16 struct gpio_desc *power_gpio; member
|
/linux/drivers/media/platform/ |
A D | via-camera.c | 74 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/drivers/phy/motorola/ |
A D | phy-mapphone-mdm6600.c | 377 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()
|
/linux/include/sound/ |
A D | tpa6130a2-plat.h | 14 int power_gpio; member
|
A D | tlv320dac33-plat.h | 14 int power_gpio; member
|
/linux/include/linux/ |
A D | wl12xx.h | 16 int power_gpio; member
|
/linux/include/linux/mfd/ |
A D | htc-pasic3.h | 45 unsigned int power_gpio; member
|
/linux/drivers/mmc/host/ |
A D | sdhci-tegra.c | 154 struct gpio_desc *power_gpio; member 1667 tegra_host->power_gpio = devm_gpiod_get_optional(&pdev->dev, "power", in sdhci_tegra_probe() 1669 if (IS_ERR(tegra_host->power_gpio)) { in sdhci_tegra_probe() 1670 rc = PTR_ERR(tegra_host->power_gpio); in sdhci_tegra_probe()
|
/linux/drivers/net/ethernet/smsc/ |
A D | smc91x.h | 236 struct gpio_desc *power_gpio; member
|
A D | smc91x.c | 2282 ret = try_toggle_control_gpio(&pdev->dev, &lp->power_gpio, in smc_drv_probe()
|
Completed in 42 milliseconds