power_mode 310 arch/arm/mach-meson/platsmp.c int ret, power_mode; power_mode 315 arch/arm/mach-meson/platsmp.c power_mode = scu_get_cpu_power_mode(scu_base, cpu); power_mode 317 arch/arm/mach-meson/platsmp.c if (power_mode == SCU_PM_POWEROFF) power_mode 323 arch/arm/mach-meson/platsmp.c if (power_mode != SCU_PM_POWEROFF) { power_mode 354 arch/arm/mach-meson/platsmp.c int ret, power_mode, count = 5000; power_mode 357 arch/arm/mach-meson/platsmp.c power_mode = scu_get_cpu_power_mode(scu_base, cpu); power_mode 359 arch/arm/mach-meson/platsmp.c if (power_mode == SCU_PM_POWEROFF) power_mode 365 arch/arm/mach-meson/platsmp.c if (power_mode != SCU_PM_POWEROFF) { power_mode 447 arch/arm/mach-s3c24xx/mach-h1940.c static void h1940_set_mmc_power(unsigned char power_mode, unsigned short vdd) power_mode 449 arch/arm/mach-s3c24xx/mach-h1940.c switch (power_mode) { power_mode 339 arch/arm/mach-s3c24xx/mach-n30.c static void n30_sdi_set_power(unsigned char power_mode, unsigned short vdd) power_mode 341 arch/arm/mach-s3c24xx/mach-n30.c switch (power_mode) { power_mode 546 arch/arm/mach-s3c24xx/mach-rx1950.c static void rx1950_set_mmc_power(unsigned char power_mode, unsigned short vdd) power_mode 548 arch/arm/mach-s3c24xx/mach-rx1950.c switch (power_mode) { power_mode 131 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c unsigned int power_mode) power_mode 137 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c if (power_mode > HIBMC_PW_MODE_CTL_MODE_SLEEP) power_mode 140 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c if (power_mode == HIBMC_PW_MODE_CTL_MODE_SLEEP) power_mode 146 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c control_value |= HIBMC_FIELD(HIBMC_PW_MODE_CTL_MODE, power_mode); power_mode 53 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.h unsigned int power_mode); power_mode 88 drivers/hid/hid-cp2112.c u8 power_mode; /* 0x00 = bus powered power_mode 924 drivers/hid/hid-cp2112.c CP2112_CONFIG_ATTR(power_mode, ({ power_mode 925 drivers/hid/hid-cp2112.c if (sscanf(buf, "%hhi", &cfg.power_mode) != 1) power_mode 929 drivers/hid/hid-cp2112.c }), "%u\n", cfg.power_mode); power_mode 823 drivers/iio/accel/mma8452.c int ret, us, power_mode; power_mode 845 drivers/iio/accel/mma8452.c power_mode = mma8452_get_power_mode(data); power_mode 846 drivers/iio/accel/mma8452.c if (power_mode < 0) power_mode 847 drivers/iio/accel/mma8452.c return power_mode; power_mode 849 drivers/iio/accel/mma8452.c us = ret * mma8452_time_step_us[power_mode][ power_mode 513 drivers/iio/adc/ad7124.c unsigned int val, fclk, power_mode; power_mode 521 drivers/iio/adc/ad7124.c power_mode = ad7124_find_closest_match(ad7124_master_clk_freq_hz, power_mode 524 drivers/iio/adc/ad7124.c if (fclk != ad7124_master_clk_freq_hz[power_mode]) { power_mode 532 drivers/iio/adc/ad7124.c st->adc_control |= AD7124_ADC_CTRL_PWR(power_mode); power_mode 136 drivers/iio/light/us5182d.c u8 power_mode; power_mode 255 drivers/iio/light/us5182d.c if (data->power_mode == US5182D_ONESHOT) { power_mode 281 drivers/iio/light/us5182d.c if (data->power_mode == US5182D_ONESHOT) { power_mode 339 drivers/iio/light/us5182d.c if (data->power_mode == US5182D_ONESHOT) power_mode 366 drivers/iio/light/us5182d.c if (data->power_mode == US5182D_ONESHOT) power_mode 388 drivers/iio/light/us5182d.c if (data->power_mode == US5182D_ONESHOT) { power_mode 648 drivers/iio/light/us5182d.c data->power_mode = US5182D_CONTINUOUS; power_mode 669 drivers/iio/light/us5182d.c data->power_mode = US5182D_CONTINUOUS; power_mode 695 drivers/iio/light/us5182d.c data->power_mode = US5182D_ONESHOT; power_mode 736 drivers/iio/light/us5182d.c data->power_mode = US5182D_CONTINUOUS; power_mode 755 drivers/iio/light/us5182d.c data->power_mode = US5182D_ONESHOT; power_mode 928 drivers/iio/light/us5182d.c if (data->power_mode == US5182D_CONTINUOUS) power_mode 939 drivers/iio/light/us5182d.c if (data->power_mode == US5182D_CONTINUOUS) power_mode 233 drivers/input/misc/adxl34x.c .power_mode = ADXL_AUTO_SLEEP | ADXL_LINK, power_mode 412 drivers/input/misc/adxl34x.c AC_WRITE(ac, POWER_CTL, ac->pdata.power_mode | PCTL_MEASURE); power_mode 570 drivers/input/misc/adxl34x.c ac->pdata.power_mode & (PCTL_AUTO_SLEEP | PCTL_LINK) ? 1 : 0); power_mode 588 drivers/input/misc/adxl34x.c ac->pdata.power_mode |= (PCTL_AUTO_SLEEP | PCTL_LINK); power_mode 590 drivers/input/misc/adxl34x.c ac->pdata.power_mode &= ~(PCTL_AUTO_SLEEP | PCTL_LINK); power_mode 593 drivers/input/misc/adxl34x.c AC_WRITE(ac, POWER_CTL, ac->pdata.power_mode | PCTL_MEASURE); power_mode 883 drivers/input/misc/adxl34x.c ac->pdata.power_mode &= (PCTL_AUTO_SLEEP | PCTL_LINK); power_mode 1359 drivers/input/mouse/cyapa.c u8 power_mode; power_mode 1380 drivers/input/mouse/cyapa.c power_mode = device_may_wakeup(dev) ? cyapa->suspend_power_mode power_mode 1382 drivers/input/mouse/cyapa.c error = cyapa->ops->set_power_mode(cyapa, power_mode, power_mode 907 drivers/input/mouse/cyapa_gen3.c static int cyapa_gen3_set_power_mode(struct cyapa *cyapa, u8 power_mode, power_mode 934 drivers/input/mouse/cyapa_gen3.c if ((ret & PWR_MODE_MASK) == power_mode) power_mode 940 drivers/input/mouse/cyapa_gen3.c power |= power_mode & PWR_MODE_MASK; power_mode 1615 drivers/input/mouse/cyapa_gen5.c u8 power_mode, u16 sleep_time, enum cyapa_pm_stage pm_stage) power_mode 1642 drivers/input/mouse/cyapa_gen5.c if (PIP_DEV_GET_PWR_STATE(cyapa) == power_mode) { power_mode 1643 drivers/input/mouse/cyapa_gen5.c if (power_mode == PWR_MODE_OFF || power_mode 1644 drivers/input/mouse/cyapa_gen5.c power_mode == PWR_MODE_FULL_ACTIVE || power_mode 1645 drivers/input/mouse/cyapa_gen5.c power_mode == PWR_MODE_BTN_ONLY || power_mode 1652 drivers/input/mouse/cyapa_gen5.c if (power_mode == PWR_MODE_OFF) { power_mode 1676 drivers/input/mouse/cyapa_gen5.c if (power_mode == PWR_MODE_FULL_ACTIVE) { power_mode 1685 drivers/input/mouse/cyapa_gen5.c } else if (power_mode == PWR_MODE_BTN_ONLY) { power_mode 320 drivers/input/mouse/cyapa_gen6.c static int cyapa_gen6_change_power_state(struct cyapa *cyapa, u8 power_mode) power_mode 322 drivers/input/mouse/cyapa_gen6.c u8 cmd[] = { 0x04, 0x00, 0x06, 0x00, 0x2f, 0x00, 0x46, power_mode }; power_mode 335 drivers/input/mouse/cyapa_gen6.c if (resp_data[5] != power_mode) power_mode 428 drivers/input/mouse/cyapa_gen6.c u8 power_mode, u16 sleep_time, enum cyapa_pm_stage pm_stage) power_mode 452 drivers/input/mouse/cyapa_gen6.c if (PIP_DEV_GET_PWR_STATE(cyapa) == power_mode) { power_mode 453 drivers/input/mouse/cyapa_gen6.c if (power_mode == PWR_MODE_OFF || power_mode 454 drivers/input/mouse/cyapa_gen6.c power_mode == PWR_MODE_FULL_ACTIVE || power_mode 455 drivers/input/mouse/cyapa_gen6.c power_mode == PWR_MODE_BTN_ONLY || power_mode 462 drivers/input/mouse/cyapa_gen6.c if (power_mode == PWR_MODE_OFF) { power_mode 494 drivers/input/mouse/cyapa_gen6.c if (power_mode == PWR_MODE_FULL_ACTIVE) { power_mode 507 drivers/input/mouse/cyapa_gen6.c } else if (power_mode == PWR_MODE_BTN_ONLY) { power_mode 11350 drivers/media/dvb-frontends/drx39xyj/drxj.c enum drx_power_mode power_mode = DRX_POWER_UP; power_mode 11368 drivers/media/dvb-frontends/drx39xyj/drxj.c rc = ctrl_power_mode(demod, &power_mode); power_mode 11373 drivers/media/dvb-frontends/drx39xyj/drxj.c if (power_mode != DRX_POWER_UP) { power_mode 11559 drivers/media/dvb-frontends/drx39xyj/drxj.c enum drx_power_mode power_mode = DRX_POWER_UP; power_mode 11569 drivers/media/dvb-frontends/drx39xyj/drxj.c rc = ctrl_power_mode(demod, &power_mode); power_mode 11580 drivers/media/dvb-frontends/drx39xyj/drxj.c power_mode = DRX_POWER_DOWN; power_mode 11581 drivers/media/dvb-frontends/drx39xyj/drxj.c rc = ctrl_power_mode(demod, &power_mode); power_mode 11943 drivers/media/dvb-frontends/drx39xyj/drxj.c enum drx_power_mode power_mode; power_mode 11946 drivers/media/dvb-frontends/drx39xyj/drxj.c power_mode = DRX_POWER_UP; power_mode 11948 drivers/media/dvb-frontends/drx39xyj/drxj.c power_mode = DRX_POWER_DOWN; power_mode 11950 drivers/media/dvb-frontends/drx39xyj/drxj.c result = ctrl_power_mode(demod, &power_mode); power_mode 1680 drivers/media/dvb-frontends/drxk_hard.c enum drx_power_mode power_mode = DRXK_POWER_DOWN_OFDM; power_mode 1725 drivers/media/dvb-frontends/drxk_hard.c status = ctrl_power_mode(state, &power_mode); power_mode 3330 drivers/media/dvb-frontends/drxk_hard.c enum drx_power_mode power_mode = DRX_POWER_UP; power_mode 3334 drivers/media/dvb-frontends/drxk_hard.c status = ctrl_power_mode(state, &power_mode); power_mode 4123 drivers/media/dvb-frontends/drxk_hard.c enum drx_power_mode power_mode = DRXK_POWER_DOWN_OFDM; power_mode 4127 drivers/media/dvb-frontends/drxk_hard.c status = ctrl_power_mode(state, &power_mode); power_mode 6045 drivers/media/dvb-frontends/drxk_hard.c enum drx_power_mode power_mode = DRXK_POWER_DOWN_OFDM; power_mode 6160 drivers/media/dvb-frontends/drxk_hard.c power_mode = DRXK_POWER_DOWN_OFDM; power_mode 6161 drivers/media/dvb-frontends/drxk_hard.c status = ctrl_power_mode(state, &power_mode); power_mode 673 drivers/media/dvb-frontends/mxl5xx_defs.h u8 power_mode; /* enumeration values are defined in MXL_HYDRA_PWR_MODE_E (device API.h) */ power_mode 329 drivers/media/usb/cpia2/cpia2.h u8 power_mode; power_mode 869 drivers/media/usb/cpia2/cpia2_core.c cam->params.camera_state.power_mode = LO_POWER_MODE; power_mode 876 drivers/media/usb/cpia2/cpia2_core.c cam->params.camera_state.power_mode = HI_POWER_MODE; power_mode 887 drivers/media/usb/cpia2/cpia2_core.c cam->params.camera_state.power_mode = LO_POWER_MODE; power_mode 561 drivers/media/usb/cx231xx/cx231xx-avcore.c (dev->power_mode != POLARIS_AVMODE_ENXTERNAL_AV)) { power_mode 579 drivers/media/usb/cx231xx/cx231xx-avcore.c (dev->power_mode != POLARIS_AVMODE_ANALOGT_TV)) { power_mode 2230 drivers/media/usb/cx231xx/cx231xx-avcore.c if (dev->power_mode != mode) power_mode 2231 drivers/media/usb/cx231xx/cx231xx-avcore.c dev->power_mode = mode; power_mode 1747 drivers/media/usb/cx231xx/cx231xx-cards.c dev->power_mode = -1; power_mode 702 drivers/media/usb/cx231xx/cx231xx.h int power_mode; power_mode 36 drivers/memstick/host/rtsx_usb_ms.c int power_mode; power_mode 572 drivers/memstick/host/rtsx_usb_ms.c if (value == host->power_mode) power_mode 587 drivers/memstick/host/rtsx_usb_ms.c host->power_mode = value; power_mode 690 drivers/memstick/host/rtsx_usb_ms.c if (host->msh->card || host->power_mode != MEMSTICK_POWER_OFF) power_mode 724 drivers/memstick/host/rtsx_usb_ms.c if (host->eject || host->power_mode != MEMSTICK_POWER_ON) power_mode 752 drivers/memstick/host/rtsx_usb_ms.c if (!host->eject && host->power_mode == MEMSTICK_POWER_ON) power_mode 778 drivers/memstick/host/rtsx_usb_ms.c host->power_mode = MEMSTICK_POWER_OFF; power_mode 907 drivers/mmc/core/core.c ios->power_mode, ios->chip_select, ios->vdd, power_mode 1332 drivers/mmc/core/core.c if (host->ios.power_mode == MMC_POWER_ON) power_mode 1338 drivers/mmc/core/core.c host->ios.power_mode = MMC_POWER_UP; power_mode 1354 drivers/mmc/core/core.c host->ios.power_mode = MMC_POWER_ON; power_mode 1366 drivers/mmc/core/core.c if (host->ios.power_mode == MMC_POWER_OFF) power_mode 1374 drivers/mmc/core/core.c host->ios.power_mode = MMC_POWER_OFF; power_mode 2352 drivers/mmc/core/core.c host->ios.power_mode = MMC_POWER_UNDEFINED; power_mode 100 drivers/mmc/core/debugfs.c switch (ios->power_mode) { power_mode 114 drivers/mmc/core/debugfs.c seq_printf(s, "power mode:\t%u (%s)\n", ios->power_mode, str); power_mode 850 drivers/mmc/host/alcor.c switch (ios->power_mode) { power_mode 913 drivers/mmc/host/alcor.c ios->bus_width, ios->power_mode); power_mode 915 drivers/mmc/host/alcor.c if (ios->power_mode != host->cur_power_mode) { power_mode 917 drivers/mmc/host/alcor.c host->cur_power_mode = ios->power_mode; power_mode 1487 drivers/mmc/host/atmel-mci.c switch (ios->power_mode) { power_mode 96 drivers/mmc/host/au1xmmc.c u32 power_mode; power_mode 761 drivers/mmc/host/au1xmmc.c if (ios->power_mode == MMC_POWER_OFF) power_mode 763 drivers/mmc/host/au1xmmc.c else if (ios->power_mode == MMC_POWER_ON) { power_mode 835 drivers/mmc/host/cavium.c switch (ios->power_mode) { power_mode 566 drivers/mmc/host/cb710-mmc.c if (ios->power_mode != reader->last_power_mode) { power_mode 567 drivers/mmc/host/cb710-mmc.c switch (ios->power_mode) { power_mode 694 drivers/mmc/host/davinci_mmc.c ios->clock, ios->bus_mode, ios->power_mode, power_mode 697 drivers/mmc/host/davinci_mmc.c switch (ios->power_mode) { power_mode 742 drivers/mmc/host/davinci_mmc.c if (ios->power_mode == MMC_POWER_UP) { power_mode 1444 drivers/mmc/host/dw_mmc.c switch (ios->power_mode) { power_mode 879 drivers/mmc/host/jz4740_mmc.c switch (ios->power_mode) { power_mode 589 drivers/mmc/host/meson-gx-mmc.c switch (ios->power_mode) { power_mode 291 drivers/mmc/host/meson-mx-sdio.c switch (ios->power_mode) { power_mode 115 drivers/mmc/host/mmc_spi.c unsigned char power_mode; power_mode 1161 drivers/mmc/host/mmc_spi.c static char *mmc_powerstring(u8 power_mode) power_mode 1163 drivers/mmc/host/mmc_spi.c switch (power_mode) { power_mode 1175 drivers/mmc/host/mmc_spi.c if (host->power_mode != ios->power_mode) { power_mode 1181 drivers/mmc/host/mmc_spi.c mmc_powerstring(ios->power_mode), power_mode 1189 drivers/mmc/host/mmc_spi.c switch (ios->power_mode) { power_mode 1194 drivers/mmc/host/mmc_spi.c if (ios->power_mode == MMC_POWER_UP) power_mode 1200 drivers/mmc/host/mmc_spi.c if (ios->power_mode == MMC_POWER_ON) power_mode 1212 drivers/mmc/host/mmc_spi.c if (canpower && ios->power_mode == MMC_POWER_OFF) { power_mode 1245 drivers/mmc/host/mmc_spi.c host->power_mode = ios->power_mode; power_mode 1598 drivers/mmc/host/mmci.c switch (ios->power_mode) { power_mode 1635 drivers/mmc/host/mmci.c if (variant->signal_direction && ios->power_mode != MMC_POWER_OFF) { power_mode 203 drivers/mmc/host/mmci_stm32_sdmmc.c if (host->mmc->ios.power_mode == MMC_POWER_ON) power_mode 238 drivers/mmc/host/mmci_stm32_sdmmc.c if (ios.power_mode == MMC_POWER_OFF) { power_mode 251 drivers/mmc/host/mmci_stm32_sdmmc.c } else if (ios.power_mode == MMC_POWER_ON) { power_mode 513 drivers/mmc/host/moxart-mmc.c if (ios->power_mode == MMC_POWER_OFF) { power_mode 1663 drivers/mmc/host/mtk-sd.c switch (ios->power_mode) { power_mode 604 drivers/mmc/host/mvsdio.c if (ios->power_mode == MMC_POWER_UP) power_mode 660 drivers/mmc/host/mvsdio.c if (ios->power_mode == MMC_POWER_OFF) power_mode 130 drivers/mmc/host/mxcmmc.c unsigned int power_mode; power_mode 239 drivers/mmc/host/mxcmmc.c if (host->power_mode == MMC_POWER_UP) power_mode 242 drivers/mmc/host/mxcmmc.c else if (host->power_mode == MMC_POWER_OFF) power_mode 870 drivers/mmc/host/mxcmmc.c if (host->power_mode != ios->power_mode) { power_mode 871 drivers/mmc/host/mxcmmc.c host->power_mode = ios->power_mode; power_mode 874 drivers/mmc/host/mxcmmc.c if (ios->power_mode == MMC_POWER_ON) power_mode 104 drivers/mmc/host/omap.c u16 power_mode; power_mode 1169 drivers/mmc/host/omap.c switch (ios->power_mode) { power_mode 1176 drivers/mmc/host/omap.c slot->power_mode = ios->power_mode; power_mode 1182 drivers/mmc/host/omap.c if (slot->power_mode != MMC_POWER_ON) power_mode 1186 drivers/mmc/host/omap.c slot->power_mode = ios->power_mode; power_mode 1240 drivers/mmc/host/omap.c slot->power_mode = MMC_POWER_UNDEFINED; power_mode 186 drivers/mmc/host/omap_hsmmc.c unsigned char power_mode; power_mode 644 drivers/mmc/host/omap_hsmmc.c if (host->power_mode != MMC_POWER_OFF && power_mode 677 drivers/mmc/host/omap_hsmmc.c if (host->power_mode == MMC_POWER_OFF) power_mode 1464 drivers/mmc/host/omap_hsmmc.c if (ios->power_mode != host->power_mode) { power_mode 1465 drivers/mmc/host/omap_hsmmc.c switch (ios->power_mode) { power_mode 1476 drivers/mmc/host/omap_hsmmc.c host->power_mode = ios->power_mode; power_mode 1873 drivers/mmc/host/omap_hsmmc.c host->power_mode = MMC_POWER_OFF; power_mode 60 drivers/mmc/host/pxamci.c unsigned int power_mode; power_mode 97 drivers/mmc/host/pxamci.c unsigned char power_mode, power_mode 481 drivers/mmc/host/pxamci.c if (host->power_mode != ios->power_mode) { power_mode 484 drivers/mmc/host/pxamci.c host->power_mode = ios->power_mode; power_mode 486 drivers/mmc/host/pxamci.c ret = pxamci_set_power(host, ios->power_mode, ios->vdd); power_mode 498 drivers/mmc/host/pxamci.c if (ios->power_mode == MMC_POWER_ON) power_mode 953 drivers/mmc/host/rtsx_pci_sdmmc.c unsigned char power_mode) power_mode 957 drivers/mmc/host/rtsx_pci_sdmmc.c if (power_mode == MMC_POWER_OFF) power_mode 1053 drivers/mmc/host/rtsx_pci_sdmmc.c sd_set_power_mode(host, ios->power_mode); power_mode 50 drivers/mmc/host/rtsx_usb_sdmmc.c unsigned char power_mode; power_mode 1023 drivers/mmc/host/rtsx_usb_sdmmc.c unsigned char power_mode) power_mode 1027 drivers/mmc/host/rtsx_usb_sdmmc.c if (power_mode != MMC_POWER_OFF) power_mode 1028 drivers/mmc/host/rtsx_usb_sdmmc.c power_mode = MMC_POWER_ON; power_mode 1030 drivers/mmc/host/rtsx_usb_sdmmc.c if (power_mode == host->power_mode) power_mode 1033 drivers/mmc/host/rtsx_usb_sdmmc.c if (power_mode == MMC_POWER_OFF) { power_mode 1042 drivers/mmc/host/rtsx_usb_sdmmc.c host->power_mode = power_mode; power_mode 1119 drivers/mmc/host/rtsx_usb_sdmmc.c sd_set_power_mode(host, ios->power_mode); power_mode 1293 drivers/mmc/host/rtsx_usb_sdmmc.c if (host->power_mode == MMC_POWER_OFF) power_mode 1330 drivers/mmc/host/rtsx_usb_sdmmc.c host->power_mode = MMC_POWER_OFF; power_mode 1213 drivers/mmc/host/s3cmci.c switch (ios->power_mode) { power_mode 1222 drivers/mmc/host/s3cmci.c host->pdata->set_power(ios->power_mode, ios->vdd); power_mode 1238 drivers/mmc/host/s3cmci.c host->pdata->set_power(ios->power_mode, ios->vdd); power_mode 1253 drivers/mmc/host/s3cmci.c if ((ios->power_mode == MMC_POWER_ON) || power_mode 1254 drivers/mmc/host/s3cmci.c (ios->power_mode == MMC_POWER_UP)) { power_mode 1347 drivers/mmc/host/s3cmci.c if (mmc->ios.power_mode != MMC_POWER_OFF && power_mode 176 drivers/mmc/host/sdhci-bcm-kona.c u8 power_mode) power_mode 183 drivers/mmc/host/sdhci-bcm-kona.c if (power_mode != MMC_POWER_OFF) power_mode 102 drivers/mmc/host/sdhci-omap.c u8 power_mode; power_mode 585 drivers/mmc/host/sdhci-omap.c u8 power_mode) power_mode 589 drivers/mmc/host/sdhci-omap.c omap_host->power_mode = power_mode; power_mode 622 drivers/mmc/host/sdhci-omap.c sdhci_omap_set_power_mode(omap_host, ios->power_mode); power_mode 717 drivers/mmc/host/sdhci-omap.c static void sdhci_omap_init_74_clocks(struct sdhci_host *host, u8 power_mode) power_mode 724 drivers/mmc/host/sdhci-omap.c if (omap_host->power_mode == power_mode) power_mode 727 drivers/mmc/host/sdhci-omap.c if (power_mode != MMC_POWER_ON) power_mode 1064 drivers/mmc/host/sdhci-omap.c omap_host->power_mode = MMC_POWER_UNDEFINED; power_mode 52 drivers/mmc/host/sdhci-pxav3.c u8 power_mode; power_mode 191 drivers/mmc/host/sdhci-pxav3.c static void pxav3_gen_init_74_clocks(struct sdhci_host *host, u8 power_mode) power_mode 198 drivers/mmc/host/sdhci-pxav3.c if (pxa->power_mode == MMC_POWER_UP power_mode 199 drivers/mmc/host/sdhci-pxav3.c && power_mode == MMC_POWER_ON) { power_mode 205 drivers/mmc/host/sdhci-pxav3.c pxa->power_mode, power_mode 206 drivers/mmc/host/sdhci-pxav3.c power_mode); power_mode 237 drivers/mmc/host/sdhci-pxav3.c pxa->power_mode = power_mode; power_mode 1895 drivers/mmc/host/sdhci.c if (ios->power_mode == MMC_POWER_UNDEFINED) power_mode 1900 drivers/mmc/host/sdhci.c ios->power_mode == MMC_POWER_OFF) power_mode 1909 drivers/mmc/host/sdhci.c if (ios->power_mode == MMC_POWER_OFF) { power_mode 1915 drivers/mmc/host/sdhci.c (ios->power_mode == MMC_POWER_UP) && power_mode 1937 drivers/mmc/host/sdhci.c host->ops->set_power(host, ios->power_mode, ios->vdd); power_mode 1939 drivers/mmc/host/sdhci.c sdhci_set_power(host, ios->power_mode, ios->vdd); power_mode 1942 drivers/mmc/host/sdhci.c host->ops->platform_send_init_74_clocks(host, ios->power_mode); power_mode 3361 drivers/mmc/host/sdhci.c if (mmc->ios.power_mode != MMC_POWER_UNDEFINED && power_mode 3362 drivers/mmc/host/sdhci.c mmc->ios.power_mode != MMC_POWER_OFF) { power_mode 638 drivers/mmc/host/sdhci.h u8 power_mode); power_mode 343 drivers/mmc/host/sdricoh_cs.c if (ios->power_mode == MMC_POWER_ON) { power_mode 353 drivers/mmc/host/sdricoh_cs.c } else if (ios->power_mode == MMC_POWER_UP) { power_mode 1038 drivers/mmc/host/sh_mmcif.c switch (ios->power_mode) { power_mode 902 drivers/mmc/host/sunxi-mmc.c switch (ios->power_mode) { power_mode 806 drivers/mmc/host/tifm_sd.c ios->power_mode, ios->bus_width); power_mode 948 drivers/mmc/host/tmio_mmc_core.c ios->clock, ios->power_mode); power_mode 967 drivers/mmc/host/tmio_mmc_core.c switch (ios->power_mode) { power_mode 989 drivers/mmc/host/tmio_mmc_core.c ios->clock, ios->power_mode); power_mode 105 drivers/mmc/host/toshsd.c switch (ios->power_mode) { power_mode 796 drivers/mmc/host/usdhi6rol0.c ios->power_mode ? ios->vdd : 0); power_mode 820 drivers/mmc/host/usdhi6rol0.c ios->clock, ios->vdd, ios->power_mode, ios->bus_width, ios->timing); power_mode 822 drivers/mmc/host/usdhi6rol0.c switch (ios->power_mode) { power_mode 321 drivers/mmc/host/ushc.c static int ushc_set_power(struct ushc_data *ushc, unsigned char power_mode) power_mode 325 drivers/mmc/host/ushc.c switch (power_mode) { power_mode 375 drivers/mmc/host/ushc.c ushc_set_power(ushc, ios->power_mode); power_mode 735 drivers/mmc/host/via-sdmmc.c if (ios->power_mode == MMC_POWER_OFF) power_mode 769 drivers/mmc/host/via-sdmmc.c if (ios->power_mode != MMC_POWER_OFF) power_mode 2011 drivers/mmc/host/vub300.c if ((ios->power_mode == MMC_POWER_OFF) && vub300->card_powered) { power_mode 2019 drivers/mmc/host/vub300.c } else if ((ios->power_mode == MMC_POWER_UP) && !vub300->card_powered) { power_mode 2026 drivers/mmc/host/vub300.c } else if (ios->power_mode == MMC_POWER_ON) { power_mode 846 drivers/mmc/host/wbsd.c if (ios->power_mode == MMC_POWER_OFF) power_mode 870 drivers/mmc/host/wbsd.c if (ios->power_mode != MMC_POWER_OFF) { power_mode 677 drivers/mmc/host/wmt-sdmmc.c if (ios->power_mode == MMC_POWER_UP) { power_mode 682 drivers/mmc/host/wmt-sdmmc.c if (ios->power_mode == MMC_POWER_OFF) power_mode 1183 drivers/net/wireless/ath/ath9k/ar9003_mci.c header, (ah->power_mode == ATH9K_PM_FULL_SLEEP) ? 1 : 0); power_mode 204 drivers/net/wireless/ath/ath9k/gpio.c if (sc->sc_ah->power_mode == ATH9K_PM_NETWORK_SLEEP) { power_mode 784 drivers/net/wireless/ath/ath9k/htc_drv_main.c if (ah->power_mode != ATH9K_PM_AWAKE) power_mode 472 drivers/net/wireless/ath/ath9k/hw.c ah->power_mode = ATH9K_PM_UNDEFINED; power_mode 2243 drivers/net/wireless/ath/ath9k/hw.c if (ah->power_mode == mode) power_mode 2247 drivers/net/wireless/ath/ath9k/hw.c modes[ah->power_mode], modes[mode]); power_mode 2267 drivers/net/wireless/ath/ath9k/hw.c ah->power_mode = mode; power_mode 815 drivers/net/wireless/ath/ath9k/hw.h enum ath9k_power_mode power_mode; power_mode 325 drivers/net/wireless/ath/ath9k/link.c if (sc->sc_ah->power_mode != ATH9K_PM_AWAKE) { power_mode 519 drivers/net/wireless/ath/ath9k/link.c if (ah->power_mode == ATH9K_PM_AWAKE) power_mode 117 drivers/net/wireless/ath/ath9k/main.c enum ath9k_power_mode power_mode; power_mode 124 drivers/net/wireless/ath/ath9k/main.c power_mode = sc->sc_ah->power_mode; power_mode 132 drivers/net/wireless/ath/ath9k/main.c if (power_mode != ATH9K_PM_AWAKE) { power_mode 768 drivers/net/wireless/ath/ath9k/main.c if (unlikely(sc->sc_ah->power_mode == ATH9K_PM_NETWORK_SLEEP)) { power_mode 799 drivers/net/wireless/ath/ath9k/main.c if (unlikely(sc->sc_ah->power_mode == ATH9K_PM_FULL_SLEEP)) { power_mode 515 drivers/net/wireless/atmel/atmel.c int operating_mode, power_mode; power_mode 1550 drivers/net/wireless/atmel/atmel.c priv->power_mode = 0; power_mode 2117 drivers/net/wireless/atmel/atmel.c priv->power_mode = vwrq->disabled ? 0 : 1; power_mode 2127 drivers/net/wireless/atmel/atmel.c vwrq->disabled = priv->power_mode ? 0 : 1; power_mode 3140 drivers/net/wireless/atmel/atmel.c if (priv->power_mode == 0) { power_mode 3215 drivers/net/wireless/atmel/atmel.c priv->power_mode) { power_mode 3216 drivers/net/wireless/atmel/atmel.c priv->power_mode = 0; power_mode 6741 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c s32 power_mode; power_mode 6756 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c power_mode = cfg->pwr_save ? PM_FAST : PM_OFF; power_mode 6757 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c err = brcmf_fil_cmd_int_set(ifp, BRCMF_C_SET_PM, power_mode); power_mode 6761 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c (power_mode ? "enabled" : "disabled")); power_mode 4937 drivers/net/wireless/intel/ipw2x00/ipw2100.c priv->power_mode = IPW_POWER_LEVEL(priv->power_mode); power_mode 4939 drivers/net/wireless/intel/ipw2x00/ipw2100.c priv->power_mode = IPW_POWER_ENABLED | power_level; power_mode 6065 drivers/net/wireless/intel/ipw2x00/ipw2100.c priv->power_mode = IPW_POWER_AUTO; power_mode 7490 drivers/net/wireless/intel/ipw2x00/ipw2100.c priv->power_mode = IPW_POWER_LEVEL(priv->power_mode); power_mode 7510 drivers/net/wireless/intel/ipw2x00/ipw2100.c priv->power_mode = IPW_POWER_ENABLED | priv->power_mode; power_mode 7511 drivers/net/wireless/intel/ipw2x00/ipw2100.c err = ipw2100_set_power_mode(priv, IPW_POWER_LEVEL(priv->power_mode)); power_mode 7513 drivers/net/wireless/intel/ipw2x00/ipw2100.c IPW_DEBUG_WX("SET Power Management Mode -> 0x%02X\n", priv->power_mode); power_mode 7531 drivers/net/wireless/intel/ipw2x00/ipw2100.c if (!(priv->power_mode & IPW_POWER_ENABLED)) power_mode 7538 drivers/net/wireless/intel/ipw2x00/ipw2100.c IPW_DEBUG_WX("GET Power Management Mode -> %02X\n", priv->power_mode); power_mode 7864 drivers/net/wireless/intel/ipw2x00/ipw2100.c if (IPW_POWER_LEVEL(priv->power_mode) != mode) power_mode 7881 drivers/net/wireless/intel/ipw2x00/ipw2100.c int level = IPW_POWER_LEVEL(priv->power_mode); power_mode 7884 drivers/net/wireless/intel/ipw2x00/ipw2100.c if (!(priv->power_mode & IPW_POWER_ENABLED)) { power_mode 507 drivers/net/wireless/intel/ipw2x00/ipw2100.h int power_mode; power_mode 8577 drivers/net/wireless/intel/ipw2x00/ipw2200.c priv->power_mode = IPW_POWER_AC; power_mode 9520 drivers/net/wireless/intel/ipw2x00/ipw2200.c priv->power_mode = IPW_POWER_LEVEL(priv->power_mode); power_mode 9546 drivers/net/wireless/intel/ipw2x00/ipw2200.c if (IPW_POWER_LEVEL(priv->power_mode) == IPW_POWER_AC) power_mode 9547 drivers/net/wireless/intel/ipw2x00/ipw2200.c priv->power_mode = IPW_POWER_ENABLED | IPW_POWER_BATTERY; power_mode 9549 drivers/net/wireless/intel/ipw2x00/ipw2200.c priv->power_mode = IPW_POWER_ENABLED | priv->power_mode; power_mode 9551 drivers/net/wireless/intel/ipw2x00/ipw2200.c err = ipw_send_power_mode(priv, IPW_POWER_LEVEL(priv->power_mode)); power_mode 9558 drivers/net/wireless/intel/ipw2x00/ipw2200.c IPW_DEBUG_WX("SET Power Management Mode -> 0x%02X\n", priv->power_mode); power_mode 9569 drivers/net/wireless/intel/ipw2x00/ipw2200.c if (!(priv->power_mode & IPW_POWER_ENABLED)) power_mode 9575 drivers/net/wireless/intel/ipw2x00/ipw2200.c IPW_DEBUG_WX("GET Power Management Mode -> %02X\n", priv->power_mode); power_mode 9592 drivers/net/wireless/intel/ipw2x00/ipw2200.c if (IPW_POWER_LEVEL(priv->power_mode) != mode) { power_mode 9599 drivers/net/wireless/intel/ipw2x00/ipw2200.c priv->power_mode = IPW_POWER_ENABLED | mode; power_mode 9611 drivers/net/wireless/intel/ipw2x00/ipw2200.c int level = IPW_POWER_LEVEL(priv->power_mode); power_mode 9630 drivers/net/wireless/intel/ipw2x00/ipw2200.c if (!(priv->power_mode & IPW_POWER_ENABLED)) power_mode 1240 drivers/net/wireless/intel/ipw2x00/ipw2200.h u32 power_mode; power_mode 451 drivers/net/wireless/rndis_wlan.c int power_mode; power_mode 2589 drivers/net/wireless/rndis_wlan.c int power_mode; power_mode 2601 drivers/net/wireless/rndis_wlan.c power_mode = NDIS_80211_POWER_MODE_FAST_PSP; power_mode 2603 drivers/net/wireless/rndis_wlan.c power_mode = NDIS_80211_POWER_MODE_CAM; power_mode 2605 drivers/net/wireless/rndis_wlan.c if (power_mode == priv->power_mode) power_mode 2608 drivers/net/wireless/rndis_wlan.c priv->power_mode = power_mode; power_mode 2610 drivers/net/wireless/rndis_wlan.c mode = cpu_to_le32(power_mode); power_mode 3498 drivers/net/wireless/rndis_wlan.c priv->power_mode = -1; power_mode 194 drivers/net/wireless/rsi/rsi_91x_sdio.c host->ios.power_mode = MMC_POWER_UP; power_mode 206 drivers/net/wireless/rsi/rsi_91x_sdio.c host->ios.power_mode = MMC_POWER_ON; power_mode 524 drivers/net/wireless/st/cw1200/main.c .power_mode = cw1200_power_mode, power_mode 406 drivers/net/wireless/st/cw1200/sta.c .power_mode = cw1200_power_mode, power_mode 2327 drivers/net/wireless/st/cw1200/sta.c .power_mode = cw1200_power_mode, power_mode 1442 drivers/net/wireless/st/cw1200/wsm.h enum wsm_power_mode power_mode; power_mode 1450 drivers/net/wireless/st/cw1200/wsm.h u8 val = arg->power_mode; power_mode 46 drivers/pci/hotplug/cpqphp_core.c static bool power_mode; power_mode 58 drivers/pci/hotplug/cpqphp_core.c module_param(power_mode, bool, 0644); power_mode 59 drivers/pci/hotplug/cpqphp_core.c MODULE_PARM_DESC(power_mode, "Power mode enabled or not"); power_mode 688 drivers/pci/hotplug/cpqphp_core.c power_mode = 0; power_mode 1200 drivers/pci/hotplug/cpqphp_core.c if (!power_mode) power_mode 1210 drivers/pci/hotplug/cpqphp_core.c if (!power_mode) { power_mode 208 drivers/regulator/max77620-regulator.c int power_mode, int id) power_mode 225 drivers/regulator/max77620-regulator.c ret = regmap_update_bits(pmic->rmap, addr, mask, power_mode << shift); power_mode 231 drivers/regulator/max77620-regulator.c pmic->current_power_mode[id] = power_mode; power_mode 493 drivers/regulator/max77620-regulator.c int power_mode; power_mode 500 drivers/regulator/max77620-regulator.c power_mode = MAX77620_POWER_MODE_NORMAL; power_mode 504 drivers/regulator/max77620-regulator.c power_mode = MAX77620_POWER_MODE_NORMAL; power_mode 508 drivers/regulator/max77620-regulator.c power_mode = MAX77620_POWER_MODE_LPM; power_mode 531 drivers/regulator/max77620-regulator.c ret = max77620_regulator_set_power_mode(pmic, power_mode, id); power_mode 535 drivers/regulator/max77620-regulator.c pmic->enable_power_mode[id] = power_mode; power_mode 591 drivers/staging/greybus/sdio.c u8 power_mode; power_mode 609 drivers/staging/greybus/sdio.c switch (ios->power_mode) { power_mode 612 drivers/staging/greybus/sdio.c power_mode = GB_SDIO_POWER_OFF; power_mode 615 drivers/staging/greybus/sdio.c power_mode = GB_SDIO_POWER_UP; power_mode 618 drivers/staging/greybus/sdio.c power_mode = GB_SDIO_POWER_ON; power_mode 621 drivers/staging/greybus/sdio.c power_mode = GB_SDIO_POWER_UNDEFINED; power_mode 624 drivers/staging/greybus/sdio.c request.power_mode = power_mode; power_mode 1183 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c unsigned int power_mode, bool wait_ack) power_mode 1226 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c if (power_mode) power_mode 1256 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c unsigned int power_mode, int try_cnt, int wait_ms) power_mode 1270 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c ret = _issue_nulldata(padapter, da, power_mode, wait_ms > 0); power_mode 546 drivers/staging/rtl8188eu/include/rtw_mlme_ext.h unsigned int power_mode, int try_cnt, int wait_ms); power_mode 3414 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c unsigned int power_mode, bool wait_ack) power_mode 3457 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (power_mode) power_mode 3490 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c int issue_nulldata(struct adapter *padapter, unsigned char *da, unsigned int power_mode, int try_cnt, int wait_ms) power_mode 3505 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (power_mode) power_mode 3511 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c FUNC_ADPT_ARG(padapter), MAC_ARG(da), power_mode?"sleep":"wakeup"); power_mode 3516 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c ret = _issue_nulldata(padapter, da, power_mode, wait_ms > 0?true:false); power_mode 670 drivers/staging/rtl8723bs/include/rtw_mlme_ext.h int issue_nulldata(struct adapter *padapter, unsigned char *da, unsigned int power_mode, int try_cnt, int wait_ms); power_mode 1979 drivers/staging/wilc1000/wilc_hif.c s8 power_mode; power_mode 1982 drivers/staging/wilc1000/wilc_hif.c power_mode = WILC_FW_MIN_FAST_PS; power_mode 1984 drivers/staging/wilc1000/wilc_hif.c power_mode = WILC_FW_NO_POWERSAVE; power_mode 1987 drivers/staging/wilc1000/wilc_hif.c wid.val = &power_mode; power_mode 383 drivers/usb/typec/tcpm/fusb302.c static int fusb302_set_power_mode(struct fusb302_chip *chip, u8 power_mode) power_mode 387 drivers/usb/typec/tcpm/fusb302.c ret = fusb302_i2c_write(chip, FUSB_REG_POWER, power_mode); power_mode 1462 include/linux/greybus/greybus_protocols.h __u8 power_mode; power_mode 243 include/linux/input/adxl34x.h u8 power_mode; power_mode 37 include/linux/mmc/host.h unsigned char power_mode; /* power supply mode */ power_mode 36 include/linux/platform_data/mmc-s3cmci.h void (*set_power)(unsigned char power_mode, power_mode 1771 include/net/cfg80211.h enum nl80211_mesh_power_mode power_mode; power_mode 1282 net/mac80211/cfg.c sdata->u.mesh.mshcfg.power_mode); power_mode 2092 net/mac80211/cfg.c conf->power_mode = nconf->power_mode; power_mode 643 net/mac80211/debugfs_netdev.c IEEE80211_IF_FILE(power_mode, u.mesh.mshcfg.power_mode, DEC); power_mode 769 net/mac80211/debugfs_netdev.c MESHPARAMS_ADD(power_mode); power_mode 828 net/mac80211/mesh_plink.c changed |= ieee80211_mps_set_sta_local_pm(sta, mshcfg->power_mode); power_mode 125 net/mac80211/mesh_ps.c nonpeer_pm = ifmsh->mshcfg.power_mode; power_mode 78 net/wireless/mesh.c .power_mode = NL80211_MESH_POWER_ACTIVE, power_mode 6626 net/wireless/nl80211.c cur_params.power_mode) || power_mode 6835 net/wireless/nl80211.c FILL_IN_MESH_PARAM_IF_SET(tb, cfg, power_mode, mask,