Searched refs:gpio_power (Results 1 - 44 of 44) sorted by relevance

/linux-4.4.14/arch/mips/include/asm/mach-jz4740/
H A Djz4740_mmc.h5 int gpio_power; member in struct:jz4740_mmc_platform_data
/linux-4.4.14/include/sound/
H A Dak4641.h16 * @gpio_power: GPIO to control external power to AK4641
22 int gpio_power; member in struct:ak4641_platform_data
H A Duda1380.h15 int gpio_power; member in struct:uda1380_platform_data
/linux-4.4.14/include/linux/platform_data/
H A Dmmc-pxamci.h20 int gpio_power; /* gpio powering up MMC bus */ member in struct:pxamci_platform_data
/linux-4.4.14/sound/soc/codecs/
H A Dak4641.c416 if (pdata && gpio_is_valid(pdata->gpio_power)) ak4641_set_bias_level()
417 gpio_set_value(pdata->gpio_power, 1); ak4641_set_bias_level()
437 if (pdata && gpio_is_valid(pdata->gpio_power)) ak4641_set_bias_level()
438 gpio_set_value(pdata->gpio_power, 0); ak4641_set_bias_level()
545 if (gpio_is_valid(pdata->gpio_power)) { ak4641_i2c_probe()
546 ret = gpio_request_one(pdata->gpio_power, ak4641_i2c_probe()
573 if (gpio_is_valid(pdata->gpio_power)) ak4641_i2c_probe()
574 gpio_set_value(pdata->gpio_power, 0); ak4641_i2c_probe()
579 if (pdata && gpio_is_valid(pdata->gpio_power)) ak4641_i2c_probe()
580 gpio_free(pdata->gpio_power); ak4641_i2c_probe()
592 if (gpio_is_valid(pdata->gpio_power)) { ak4641_i2c_remove()
593 gpio_set_value(pdata->gpio_power, 0); ak4641_i2c_remove()
594 gpio_free(pdata->gpio_power); ak4641_i2c_remove()
H A Duda1380.c599 if (gpio_is_valid(pdata->gpio_power)) { uda1380_set_bias_level()
600 gpio_set_value(pdata->gpio_power, 1); uda1380_set_bias_level()
610 if (!gpio_is_valid(pdata->gpio_power)) uda1380_set_bias_level()
613 gpio_set_value(pdata->gpio_power, 0); uda1380_set_bias_level()
711 if (gpio_is_valid(pdata->gpio_power)) { uda1380_probe()
712 ret = gpio_request_one(pdata->gpio_power, GPIOF_OUT_INIT_LOW, uda1380_probe()
750 gpio_free(pdata->gpio_power); uda1380_remove()
/linux-4.4.14/drivers/mmc/host/
H A Dpxamci.c128 gpio_is_valid(host->pdata->gpio_power)) { pxamci_set_power()
130 gpio_set_value(host->pdata->gpio_power, pxamci_set_power()
625 pdata->gpio_power = pxamci_of_init()
648 int ret, irq, gpio_cd = -1, gpio_ro = -1, gpio_power = -1; pxamci_probe() local
788 gpio_power = host->pdata->gpio_power; pxamci_probe()
790 if (gpio_is_valid(gpio_power)) { pxamci_probe()
791 ret = devm_gpio_request(&pdev->dev, gpio_power, pxamci_probe()
794 dev_err(&pdev->dev, "Failed requesting gpio_power %d\n", pxamci_probe()
795 gpio_power); pxamci_probe()
798 gpio_direction_output(gpio_power, pxamci_probe()
821 if (gpio_is_valid(gpio_power) && host->pdata->setpower) pxamci_probe()
822 dev_warn(&pdev->dev, "gpio_power and setpower() both defined\n"); pxamci_probe()
850 int gpio_cd = -1, gpio_ro = -1, gpio_power = -1; pxamci_remove() local
860 gpio_power = host->pdata->gpio_power; pxamci_remove()
H A Djz4740_mmc.c868 if (gpio_is_valid(host->pdata->gpio_power)) jz4740_mmc_set_ios()
869 gpio_set_value(host->pdata->gpio_power, jz4740_mmc_set_ios()
877 if (gpio_is_valid(host->pdata->gpio_power)) jz4740_mmc_set_ios()
878 gpio_set_value(host->pdata->gpio_power, jz4740_mmc_set_ios()
969 return jz4740_mmc_request_gpio(&pdev->dev, pdata->gpio_power, jz4740_mmc_request_gpios()
980 if (gpio_is_valid(pdata->gpio_power)) jz4740_mmc_free_gpios()
981 gpio_free(pdata->gpio_power); jz4740_mmc_free_gpios()
/linux-4.4.14/arch/arm/mach-pxa/
H A Dcolibri-evalboard.c40 .gpio_power = -1,
H A Dzylonite.c241 .gpio_power = -1, zylonite_init_lcd()
249 .gpio_power = -1,
257 .gpio_power = -1,
H A Dcolibri-pxa270-income.c53 .gpio_power = -1,
H A Dcsb726.c134 .gpio_power = -1,
H A Dgumstix.c95 .gpio_power = -1,
H A Didp.c162 .gpio_power = -1,
H A Dcm-x300.c453 .gpio_power = -1, cm_x300_init_nand()
476 .gpio_power = -1,
H A Dcm-x270.c293 .gpio_power = GPIO105_MMC_POWER, cmx270_init_ohci()
H A Dlittleton.c282 .gpio_power = -1, littleton_init_keypad()
H A Dmxm8x10.c331 .gpio_power = -1
H A Dpalm27x.c57 palm27x_mci_platform_data.gpio_power = power; palm27x_mmc_init()
H A Dpalmtc.c123 .gpio_power = GPIO_NR_PALMTC_SD_POWER,
H A Dpalmte2.c106 .gpio_power = GPIO_NR_PALMTE2_SD_POWER,
H A Dpoodle.c293 .gpio_power = -1,
H A Dlubbock.c437 .gpio_power = -1,
H A Dpcm990-baseboard.c375 .gpio_power = -1,
H A Dtrizeps4.c359 .gpio_power = -1,
H A Dvpac270.c242 .gpio_power = -1, vpac270_onenand_init()
H A Dz2.c294 .gpio_power = -1, z2_lcd_init()
H A Dballoon3.c295 .gpio_power = -1,
H A Dcorgi.c497 .gpio_power = CORGI_GPIO_SD_PWR,
H A Dhx4700.c808 .gpio_power = GPIO27_HX4700_CODEC_ON,
H A Dmagician.c750 .gpio_power = EGPIO_MAGICIAN_SD_POWER,
H A Dmainstone.c365 .gpio_power = -1,
H A Dmioa701.c403 .gpio_power = GPIO91_SDIO_EN,
H A Dtosa.c296 .gpio_power = TOSA_GPIO_PWR_ON,
H A Dzeus.c650 .gpio_power = -1
H A Dem-x270.c644 .gpio_power = -1,
H A Draumfeld.c732 .gpio_power = -1,
H A Dspitz.c620 .gpio_power = -1,
H A Dstargate2.c440 .gpio_power = -1,
/linux-4.4.14/arch/mips/jz4740/
H A Dboard-qi_lb60.c366 .gpio_power = QI_LB60_GPIO_SD_VCC_EN_N,
/linux-4.4.14/sound/soc/pxa/
H A Dmagician.c438 .gpio_power = EGPIO_MAGICIAN_CODEC_POWER,
/linux-4.4.14/arch/arm/mach-s3c24xx/
H A Dmach-h1940.c583 .gpio_power = H1940_LATCH_UDA_POWER,
H A Dmach-rx1950.c703 .gpio_power = S3C2410_GPJ(0),
/linux-4.4.14/drivers/net/wireless/ti/wlcore/
H A Ddebugfs.c217 wl1271_warning("illegal value in gpio_power"); gpio_power_write()
1247 DEBUGFS_ADD(gpio_power, rootdir); wl1271_debugfs_add_files()

Completed in 1151 milliseconds