Home
last modified time | relevance | path

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

/linux-2.6.39/sound/soc/codecs/
Dtpa6130a2.c43 int power_gpio; member
140 if (data->power_gpio >= 0) in tpa6130a2_power()
141 gpio_set_value(data->power_gpio, 1); in tpa6130a2_power()
148 if (data->power_gpio >= 0) in tpa6130a2_power()
149 gpio_set_value(data->power_gpio, 0); in tpa6130a2_power()
161 if (data->power_gpio >= 0) in tpa6130a2_power()
162 gpio_set_value(data->power_gpio, 0); in tpa6130a2_power()
385 data->power_gpio = pdata->power_gpio; in tpa6130a2_probe()
395 if (data->power_gpio >= 0) { in tpa6130a2_probe()
396 ret = gpio_request(data->power_gpio, "tpa6130a2 enable"); in tpa6130a2_probe()
[all …]
Dtlv320dac33.c97 int power_gpio; member
398 if (dac33->power_gpio >= 0) in dac33_hard_power()
399 gpio_set_value(dac33->power_gpio, 1); in dac33_hard_power()
404 if (dac33->power_gpio >= 0) in dac33_hard_power()
405 gpio_set_value(dac33->power_gpio, 0); in dac33_hard_power()
1552 dac33->power_gpio = pdata->power_gpio; in dac33_i2c_probe()
1563 if (dac33->power_gpio >= 0) { in dac33_i2c_probe()
1564 ret = gpio_request(dac33->power_gpio, "tlv320dac33 reset"); in dac33_i2c_probe()
1568 dac33->power_gpio); in dac33_i2c_probe()
1571 gpio_direction_output(dac33->power_gpio, 0); in dac33_i2c_probe()
[all …]
/linux-2.6.39/drivers/mmc/host/
Dsdhci-tegra.c135 if (gpio_is_valid(plat->power_gpio)) { in tegra_sdhci_pltfm_init()
136 rc = gpio_request(plat->power_gpio, "sdhci_power"); in tegra_sdhci_pltfm_init()
142 tegra_gpio_enable(plat->power_gpio); in tegra_sdhci_pltfm_init()
143 gpio_direction_output(plat->power_gpio, 1); in tegra_sdhci_pltfm_init()
208 if (gpio_is_valid(plat->power_gpio)) { in tegra_sdhci_pltfm_init()
209 tegra_gpio_disable(plat->power_gpio); in tegra_sdhci_pltfm_init()
210 gpio_free(plat->power_gpio); in tegra_sdhci_pltfm_init()
236 if (gpio_is_valid(plat->power_gpio)) { in tegra_sdhci_pltfm_exit()
237 tegra_gpio_disable(plat->power_gpio); in tegra_sdhci_pltfm_exit()
238 gpio_free(plat->power_gpio); in tegra_sdhci_pltfm_exit()
/linux-2.6.39/arch/arm/mach-tegra/
Dboard-paz00.c91 .power_gpio = TEGRA_GPIO_SD1_POWER,
97 .power_gpio = -1,
103 .power_gpio = TEGRA_GPIO_SD4_POWER,
Dboard-harmony.c171 .power_gpio = -1,
177 .power_gpio = TEGRA_GPIO_SD2_POWER,
183 .power_gpio = TEGRA_GPIO_SD4_POWER,
Dboard-seaboard.c121 .power_gpio = -1,
127 .power_gpio = TEGRA_GPIO_SD2_POWER,
133 .power_gpio = -1,
Dboard-trimslice.c65 .power_gpio = -1,
71 .power_gpio = -1,
/linux-2.6.39/arch/arm/mach-tegra/include/mach/
Dsdhci.h25 int power_gpio; member
/linux-2.6.39/include/sound/
Dtlv320dac33-plat.h17 int power_gpio; member
Dtpa6130a2-plat.h33 int power_gpio; member
/linux-2.6.39/include/linux/mfd/
Dhtc-pasic3.h45 unsigned int power_gpio; member
/linux-2.6.39/drivers/media/video/
Dvia-camera.c75 int power_gpio; member
190 cam->power_gpio = viafb_gpio_lookup("VGPIO3"); in via_sensor_power_setup()
192 if (cam->power_gpio < 0 || cam->reset_gpio < 0) { in via_sensor_power_setup()
196 ret = gpio_request(cam->power_gpio, "viafb-camera"); in via_sensor_power_setup()
204 gpio_free(cam->power_gpio); in via_sensor_power_setup()
207 gpio_direction_output(cam->power_gpio, 0); in via_sensor_power_setup()
217 gpio_set_value(cam->power_gpio, 1); in via_sensor_power_up()
226 gpio_set_value(cam->power_gpio, 0); in via_sensor_power_down()
234 gpio_free(cam->power_gpio); in via_sensor_power_release()
/linux-2.6.39/arch/arm/mach-pxa/
Dmagician.c464 .power_gpio = EGPIO_MAGICIAN_LED_POWER,
/linux-2.6.39/arch/arm/mach-omap2/
Dboard-rx51-peripherals.c777 .power_gpio = 98,