Home
last modified time | relevance | path

Searched refs:power_mode (Results 1 – 25 of 63) sorted by relevance

123

/linux-2.6.39/arch/arm/mach-ux500/
Dboard-mop500-sdi.c36 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/
Dpxamci.c62 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()
Dmmc_spi.c127 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()
Dmxcmmc.c124 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()
Dbfin_sdh.c73 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()
Domap_hsmmc.c170 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()
Dimxmmc.c50 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()
Dushc.c325 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()
Dsdricoh_cs.c359 if (ios->power_mode == MMC_POWER_ON) { in sdricoh_set_ios()
369 } else if (ios->power_mode == MMC_POWER_UP) { in sdricoh_set_ios()
Ds3cmci.c1237 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()
Dsh_mmcif.c847 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()
Dtmio_mmc_pio.c731 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/
Dmci.h39 void (*set_power)(unsigned char power_mode,
/linux-2.6.39/include/linux/amba/
Dmmci.h49 unsigned char power_mode);
/linux-2.6.39/drivers/input/misc/
Dadxl34x.c233 .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/
Dadxl34x.h241 u8 power_mode; member
/linux-2.6.39/drivers/mmc/core/
Ddebugfs.c88 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()
Dcore.c626 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/
Dmach-n30.c339 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()
Dmach-h1940.c453 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/
Dcpqphp_core.c60 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/
Dhost.h36 unsigned char power_mode; /* power supply mode */ member
/linux-2.6.39/drivers/net/wireless/ath/ath9k/
Dmain.c88 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/
Dmach-rx1950.c554 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/
Dwireless_ext.c1854 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()

123