/linux-2.6.39/arch/arm/mach-ux500/ |
D | board-mop500-sdi.c | 36 unsigned char power_mode) in mop500_sdi0_vdd_handler() argument 38 if (power_mode == MMC_POWER_UP) in mop500_sdi0_vdd_handler() 40 else if (power_mode == MMC_POWER_OFF) in mop500_sdi0_vdd_handler()
|
/linux-2.6.39/drivers/mmc/host/ |
D | pxamci.c | 62 unsigned int power_mode; member 103 unsigned char power_mode, in pxamci_set_power() argument 111 if (power_mode == MMC_POWER_UP) { in pxamci_set_power() 115 } else if (power_mode == MMC_POWER_OFF) { in pxamci_set_power() 505 if (host->power_mode != ios->power_mode) { in pxamci_set_ios() 508 host->power_mode = ios->power_mode; in pxamci_set_ios() 510 ret = pxamci_set_power(host, ios->power_mode, ios->vdd); in pxamci_set_ios() 522 if (ios->power_mode == MMC_POWER_ON) in pxamci_set_ios()
|
D | mmc_spi.c | 127 unsigned char power_mode; member 1175 static char *mmc_powerstring(u8 power_mode) in mmc_powerstring() argument 1177 switch (power_mode) { in mmc_powerstring() 1189 if (host->power_mode != ios->power_mode) { in mmc_spi_set_ios() 1195 mmc_powerstring(ios->power_mode), in mmc_spi_set_ios() 1203 switch (ios->power_mode) { in mmc_spi_set_ios() 1208 if (ios->power_mode == MMC_POWER_UP) in mmc_spi_set_ios() 1214 if (ios->power_mode == MMC_POWER_ON) in mmc_spi_set_ios() 1226 if (canpower && ios->power_mode == MMC_POWER_OFF) { in mmc_spi_set_ios() 1260 host->power_mode = ios->power_mode; in mmc_spi_set_ios()
|
D | mxcmmc.c | 124 unsigned int power_mode; member 177 unsigned char power_mode, in mxcmci_set_power() argument 181 if (power_mode == MMC_POWER_UP) in mxcmci_set_power() 183 else if (power_mode == MMC_POWER_OFF) in mxcmci_set_power() 742 if (host->power_mode != ios->power_mode) { in mxcmci_set_ios() 743 mxcmci_set_power(host, ios->power_mode, ios->vdd); in mxcmci_set_ios() 744 host->power_mode = ios->power_mode; in mxcmci_set_ios() 746 if (ios->power_mode == MMC_POWER_ON) in mxcmci_set_ios()
|
D | bfin_sdh.c | 73 unsigned int power_mode; member 391 host->power_mode = ios->power_mode; in sdh_set_ios() 392 if (ios->power_mode == MMC_POWER_ON) in sdh_set_ios()
|
D | omap_hsmmc.c | 170 unsigned char power_mode; member 628 if (host->power_mode != MMC_POWER_OFF && in omap_hsmmc_context_restore() 656 if (host->power_mode == MMC_POWER_OFF) in omap_hsmmc_context_restore() 1536 if (ios->power_mode != host->power_mode) { in omap_hsmmc_set_ios() 1537 switch (ios->power_mode) { in omap_hsmmc_set_ios() 1552 host->power_mode = ios->power_mode; in omap_hsmmc_set_ios() 1629 if (host->power_mode == MMC_POWER_OFF) in omap_hsmmc_set_ios() 1715 if (host->power_mode == MMC_POWER_OFF) in omap_hsmmc_enabled_to_disabled() 1785 host->power_mode = MMC_POWER_OFF; in omap_hsmmc_sleep_to_off() 2076 host->power_mode = MMC_POWER_OFF; in omap_hsmmc_probe()
|
D | imxmmc.c | 50 unsigned int power_mode; member 822 if (host->power_mode != ios->power_mode) { in imxmci_set_ios() 823 switch (ios->power_mode) { in imxmci_set_ios() 832 host->power_mode = ios->power_mode; in imxmci_set_ios()
|
D | ushc.c | 325 static int ushc_set_power(struct ushc_data *ushc, unsigned char power_mode) in ushc_set_power() argument 329 switch (power_mode) { in ushc_set_power() 379 ushc_set_power(ushc, ios->power_mode); in ushc_set_ios()
|
D | sdricoh_cs.c | 359 if (ios->power_mode == MMC_POWER_ON) { in sdricoh_set_ios() 369 } else if (ios->power_mode == MMC_POWER_UP) { in sdricoh_set_ios()
|
D | s3cmci.c | 1237 switch (ios->power_mode) { in s3cmci_set_ios() 1248 host->pdata->set_power(ios->power_mode, ios->vdd); in s3cmci_set_ios() 1263 host->pdata->set_power(ios->power_mode, ios->vdd); in s3cmci_set_ios() 1278 if ((ios->power_mode == MMC_POWER_ON) || in s3cmci_set_ios() 1279 (ios->power_mode == MMC_POWER_UP)) { in s3cmci_set_ios() 1387 if (mmc->ios.power_mode != MMC_POWER_OFF && in s3cmci_cpufreq_transition()
|
D | sh_mmcif.c | 847 if (ios->power_mode == MMC_POWER_UP) { in sh_mmcif_set_ios() 849 p->set_pwr(host->pd, ios->power_mode); in sh_mmcif_set_ios() 850 } else if (ios->power_mode == MMC_POWER_OFF || !ios->clock) { in sh_mmcif_set_ios() 853 if (ios->power_mode == MMC_POWER_OFF && p->down_pwr) in sh_mmcif_set_ios()
|
D | tmio_mmc_pio.c | 731 if (ios->power_mode == MMC_POWER_UP) { in tmio_mmc_set_ios() 735 } else if (ios->power_mode == MMC_POWER_OFF || !ios->clock) { in tmio_mmc_set_ios() 737 if (ios->power_mode == MMC_POWER_OFF && host->set_pwr) in tmio_mmc_set_ios()
|
/linux-2.6.39/arch/arm/plat-s3c24xx/include/plat/ |
D | mci.h | 39 void (*set_power)(unsigned char power_mode,
|
/linux-2.6.39/include/linux/amba/ |
D | mmci.h | 49 unsigned char power_mode);
|
/linux-2.6.39/drivers/input/misc/ |
D | adxl34x.c | 233 .power_mode = ADXL_AUTO_SLEEP | ADXL_LINK, 412 AC_WRITE(ac, POWER_CTL, ac->pdata.power_mode | PCTL_MEASURE); in __adxl34x_enable() 570 ac->pdata.power_mode & (PCTL_AUTO_SLEEP | PCTL_LINK) ? 1 : 0); in adxl34x_autosleep_show() 588 ac->pdata.power_mode |= (PCTL_AUTO_SLEEP | PCTL_LINK); in adxl34x_autosleep_store() 590 ac->pdata.power_mode &= ~(PCTL_AUTO_SLEEP | PCTL_LINK); in adxl34x_autosleep_store() 593 AC_WRITE(ac, POWER_CTL, ac->pdata.power_mode | PCTL_MEASURE); in adxl34x_autosleep_store() 884 ac->pdata.power_mode &= (PCTL_AUTO_SLEEP | PCTL_LINK); in adxl34x_probe()
|
/linux-2.6.39/include/linux/input/ |
D | adxl34x.h | 241 u8 power_mode; member
|
/linux-2.6.39/drivers/mmc/core/ |
D | debugfs.c | 88 switch (ios->power_mode) { in mmc_ios_show() 102 seq_printf(s, "power mode:\t%u (%s)\n", ios->power_mode, str); in mmc_ios_show()
|
D | core.c | 626 ios->power_mode, ios->chip_select, ios->vdd, in mmc_set_ios() 985 host->ios.power_mode = MMC_POWER_UP; in mmc_power_up() 998 host->ios.power_mode = MMC_POWER_ON; in mmc_power_up() 1023 host->ios.power_mode = MMC_POWER_OFF; in mmc_power_off()
|
/linux-2.6.39/arch/arm/mach-s3c2410/ |
D | mach-n30.c | 339 static void n30_sdi_set_power(unsigned char power_mode, unsigned short vdd) in n30_sdi_set_power() argument 341 switch (power_mode) { in n30_sdi_set_power()
|
D | mach-h1940.c | 453 static void h1940_set_mmc_power(unsigned char power_mode, unsigned short vdd) in h1940_set_mmc_power() argument 455 switch (power_mode) { in h1940_set_mmc_power()
|
/linux-2.6.39/drivers/pci/hotplug/ |
D | cpqphp_core.c | 60 static int power_mode; variable 72 module_param(power_mode, bool, 0644); 73 MODULE_PARM_DESC(power_mode, "Power mode enabled or not"); 744 power_mode = 0; in one_time_init() 1265 if (!power_mode) in cpqhpc_probe() 1275 if (!power_mode) { in cpqhpc_probe()
|
/linux-2.6.39/include/linux/mmc/ |
D | host.h | 36 unsigned char power_mode; /* power supply mode */ member
|
/linux-2.6.39/drivers/net/wireless/ath/ath9k/ |
D | main.c | 88 enum ath9k_power_mode power_mode; in ath9k_ps_wakeup() local 94 power_mode = sc->sc_ah->power_mode; in ath9k_ps_wakeup() 102 if (power_mode != ATH9K_PM_AWAKE) { in ath9k_ps_wakeup() 190 if (ah->power_mode == ATH9K_PM_AWAKE) in ath_update_survey_stats() 481 if (sc->sc_ah->power_mode != ATH9K_PM_AWAKE) in ath_ani_calibrate() 1174 if (unlikely(sc->sc_ah->power_mode != ATH9K_PM_AWAKE)) { in ath9k_tx()
|
/linux-2.6.39/arch/arm/mach-s3c2440/ |
D | mach-rx1950.c | 554 static void rx1950_set_mmc_power(unsigned char power_mode, unsigned short vdd) in rx1950_set_mmc_power() argument 556 switch (power_mode) { in rx1950_set_mmc_power()
|
/linux-2.6.39/drivers/staging/ath6kl/os/linux/ |
D | wireless_ext.c | 1854 WMI_POWER_MODE power_mode; in ar6000_ioctl_siwpower() local 1865 power_mode = MAX_PERF_POWER; in ar6000_ioctl_siwpower() 1867 power_mode = REC_POWER; in ar6000_ioctl_siwpower() 1869 if (wmi_powermode_cmd(ar->arWmi, power_mode) < 0) in ar6000_ioctl_siwpower() 1880 WMI_POWER_MODE power_mode; in ar6000_ioctl_giwpower() local 1890 power_mode = wmi_get_power_mode_cmd(ar->arWmi); in ar6000_ioctl_giwpower() 1892 if (power_mode == MAX_PERF_POWER) in ar6000_ioctl_giwpower()
|