power 96 arch/arm/mach-davinci/usb-da8xx.c usb_data.power = mA > 510 ? 255 : mA / 2; power 68 arch/arm/mach-davinci/usb.c usb_data.power = mA > 510 ? 255 : mA / 2; power 218 arch/arm/mach-imx/mach-imx27_visstrim_m10.c .power = visstrim_camera_power, power 91 arch/arm/mach-imx/mach-mx35_3ds.c struct plat_lcd_data *pd, unsigned int power) power 111 arch/arm/mach-imx/mach-mx35_3ds.c gpio_set_value_cansleep(lcd_power_gpio, power); power 140 arch/arm/mach-mmp/jasper.c .power = &jasper_power_data, power 432 arch/arm/mach-omap1/board-ams-delta.c static int ams_delta_camera_power(struct device *dev, int power) power 437 arch/arm/mach-omap1/board-ams-delta.c if (power) power 452 arch/arm/mach-omap1/board-ams-delta.c .power = ams_delta_camera_power, power 108 arch/arm/mach-omap2/board-n8x0.c .power = 100, /* Max 100 mA VBUS for host mode */ power 61 arch/arm/mach-omap2/control.c u32 power; power 359 arch/arm/mach-omap2/control.c sdrc_block_contents.power = (sdrc_read_reg(SDRC_POWER) & power 365 arch/arm/mach-omap2/control.c sdrc_block_contents.power = sdrc_read_reg(SDRC_POWER); power 532 arch/arm/mach-pxa/hx4700.c static void hx4700_lcd_set_power(struct plat_lcd_data *pd, unsigned int power) power 534 arch/arm/mach-pxa/hx4700.c if (power) power 136 arch/arm/mach-pxa/palm27x.c void __init palm27x_lcd_init(int power, struct pxafb_mode_info *mode) power 140 arch/arm/mach-pxa/palm27x.c if (gpio_is_valid(power)) { power 141 arch/arm/mach-pxa/palm27x.c if (!gpio_request(power, "LCD power")) { power 145 arch/arm/mach-pxa/palm27x.c if (!gpio_direction_output(power, 1)) { power 149 arch/arm/mach-pxa/palm27x.c palm27x_lcd_power = power; power 30 arch/arm/mach-pxa/palm27x.h extern void __init palm27x_lcd_init(int power, power 33 arch/arm/mach-pxa/palm27x.h #define palm27x_lcd_init(power, mode) do {} while (0) power 294 arch/arm/mach-pxa/palmz72.c static int palmz72_camera_power(struct device *dev, int power) power 296 arch/arm/mach-pxa/palmz72.c gpio_set_value(GPIO_NR_PALMZ72_CAM_PWDN, !power); power 315 arch/arm/mach-pxa/palmz72.c .power = &palmz72_camera_power, power 279 arch/arm/mach-pxa/trizeps4.c void board_pcmcia_power(int power) power 281 arch/arm/mach-pxa/trizeps4.c if (power) { power 283 arch/arm/mach-pxa/trizeps4.c trizeps_conxs_bcr |= power; power 302 arch/arm/mach-pxa/trizeps4.c pr_debug("%s: o%s 0x%x\n", __func__, power ? "n" : "ff", power 535 arch/arm/mach-s3c24xx/mach-h1940.c unsigned int power) power 539 arch/arm/mach-s3c24xx/mach-h1940.c if (!power) { power 104 arch/arm/mach-s3c64xx/mach-anw6410.c unsigned int power) power 106 arch/arm/mach-s3c64xx/mach-anw6410.c if (power) { power 129 arch/arm/mach-s3c64xx/mach-crag6410.c static void crag6410_lcd_power_set(struct plat_lcd_data *pd, unsigned int power) power 131 arch/arm/mach-s3c64xx/mach-crag6410.c pr_debug("%s: setting power %d\n", __func__, power); power 133 arch/arm/mach-s3c64xx/mach-crag6410.c if (power) { power 198 arch/arm/mach-s3c64xx/mach-mini6410.c unsigned int power) power 200 arch/arm/mach-s3c64xx/mach-mini6410.c if (power) power 233 arch/arm/mach-s3c64xx/mach-smartq.c static void smartq_lcd_power_set(struct plat_lcd_data *pd, unsigned int power) power 235 arch/arm/mach-s3c64xx/mach-smartq.c gpio_direction_output(S3C64XX_GPM(3), power); power 119 arch/arm/mach-s3c64xx/mach-smdk6410.c unsigned int power) power 121 arch/arm/mach-s3c64xx/mach-smdk6410.c if (power) { power 1134 arch/arm/mm/cache-l2x0.c u32 power; power 1272 arch/arm/mm/cache-l2x0.c power = l2x0_saved_regs.pwr_ctrl | power 1278 arch/arm/mm/cache-l2x0.c power &= ~L310_DYNAMIC_CLK_GATING_EN; power 1285 arch/arm/mm/cache-l2x0.c power &= ~L310_STNDBY_MODE_EN; power 1290 arch/arm/mm/cache-l2x0.c l2x0_saved_regs.pwr_ctrl = power; power 66 arch/arm64/kernel/cpuidle.c count = pr->power.count - 1; power 73 arch/arm64/kernel/cpuidle.c lpi = &pr->power.lpi_states[i + 1]; power 123 arch/powerpc/kernel/traps.c props->power = FB_BLANK_UNBLANK; power 181 arch/sh/boards/mach-ecovec24/setup.c static void usb0_port_power(int port, int power) power 183 arch/sh/boards/mach-ecovec24/setup.c gpio_set_value(GPIO_PTB4, power); power 217 arch/sh/boards/mach-ecovec24/setup.c static void usb1_port_power(int port, int power) power 219 arch/sh/boards/mach-ecovec24/setup.c gpio_set_value(GPIO_PTB5, power); power 471 arch/sh/kernel/cpu/sh2a/setup-sh7264.c static void usb_port_power(int port, int power) power 171 arch/x86/events/amd/power.c EVENT_ATTR_STR(power-pkg, power_pkg, "event=0x01"); power 173 arch/x86/events/amd/power.c EVENT_ATTR_STR(power-pkg.unit, power_pkg_unit, "mWatts"); power 176 arch/x86/events/amd/power.c EVENT_ATTR_STR(power-pkg.scale, power_pkg_scale, "1.000000e-3"); power 1270 arch/x86/pci/irq.c if (dev->power.is_prepared) power 1273 arch/x86/pci/irq.c if (dev->power.runtime_status == RPM_SUSPENDING) power 156 arch/x86/platform/intel-mid/pwr.c u32 power; power 160 arch/x86/platform/intel-mid/pwr.c power = mid_pwr_get_state(pwr, reg); power 161 arch/x86/platform/intel-mid/pwr.c curstate = (power >> bit) & 3; power 166 arch/x86/platform/intel-mid/pwr.c mid_pwr_set_state(pwr, reg, (power & ~(3 << bit)) | (new << bit)); power 174 arch/x86/platform/intel-mid/pwr.c power = mid_pwr_get_state(pwr, reg); power 175 arch/x86/platform/intel-mid/pwr.c curstate = (power >> bit) & 3; power 275 arch/x86/platform/intel-mid/pwr.c u32 power; power 286 arch/x86/platform/intel-mid/pwr.c power = mid_pwr_get_state(pwr, reg); power 287 arch/x86/platform/intel-mid/pwr.c return (__force pci_power_t)((power >> bit) & 3); power 737 drivers/acpi/acpi_lpss.c spin_lock_irqsave(&dev->power.lock, flags); power 750 drivers/acpi/acpi_lpss.c spin_unlock_irqrestore(&dev->power.lock, flags); power 1327 drivers/acpi/acpi_lpss.c dev->power.set_latency_tolerance = acpi_lpss_set_ltr; power 1334 drivers/acpi/acpi_lpss.c dev->power.set_latency_tolerance = NULL; power 86 drivers/acpi/device_pm.c device->parent->power.state : ACPI_STATE_D0; power 94 drivers/acpi/device_pm.c if (device->power.flags.power_resources) { power 99 drivers/acpi/device_pm.c if (device->power.flags.explicit_get) { power 125 drivers/acpi/device_pm.c if (!device->power.flags.ignore_parent && device->parent power 126 drivers/acpi/device_pm.c && device->parent->power.state == ACPI_STATE_UNKNOWN power 128 drivers/acpi/device_pm.c device->parent->power.state = ACPI_STATE_D0; power 141 drivers/acpi/device_pm.c if (adev->power.states[state].flags.explicit_set) { power 170 drivers/acpi/device_pm.c acpi_power_state_string(device->power.state), power 176 drivers/acpi/device_pm.c if (state > ACPI_STATE_D0 && state == device->power.state) { power 190 drivers/acpi/device_pm.c if (!device->power.states[ACPI_STATE_D3_COLD].flags.valid) power 192 drivers/acpi/device_pm.c } else if (!device->power.states[state].flags.valid) { power 198 drivers/acpi/device_pm.c if (!device->power.flags.ignore_parent && power 199 drivers/acpi/device_pm.c device->parent && (state < device->parent->power.state)) { power 203 drivers/acpi/device_pm.c acpi_power_state_string(device->parent->power.state)); power 219 drivers/acpi/device_pm.c if (state < device->power.state) { power 221 drivers/acpi/device_pm.c acpi_power_state_string(device->power.state), power 230 drivers/acpi/device_pm.c if (device->power.state < ACPI_STATE_D3_HOT) { power 236 drivers/acpi/device_pm.c if (device->power.flags.power_resources) power 239 drivers/acpi/device_pm.c int cur_state = device->power.state; power 241 drivers/acpi/device_pm.c if (device->power.flags.power_resources) { power 251 drivers/acpi/device_pm.c if (!device->power.flags.explicit_get) power 278 drivers/acpi/device_pm.c device->power.state = target_state; power 310 drivers/acpi/device_pm.c device->power.state = ACPI_STATE_UNKNOWN; power 320 drivers/acpi/device_pm.c if (state < ACPI_STATE_D3_COLD && device->power.flags.power_resources) { power 348 drivers/acpi/device_pm.c device->power.state = state; power 364 drivers/acpi/device_pm.c if (!device->power.flags.power_resources power 365 drivers/acpi/device_pm.c && !device->power.flags.explicit_get power 366 drivers/acpi/device_pm.c && device->power.state == ACPI_STATE_D0) power 378 drivers/acpi/device_pm.c if (device->power.state == ACPI_STATE_UNKNOWN) { power 381 drivers/acpi/device_pm.c *state_p = device->power.state; power 396 drivers/acpi/device_pm.c if (device->power.flags.power_resources) { power 405 drivers/acpi/device_pm.c device->power.state = state; power 626 drivers/acpi/device_pm.c if (!adev->power.states[ret].flags.valid) { power 662 drivers/acpi/device_pm.c if (!adev->power.states[ret].flags.valid) power 723 drivers/acpi/device_pm.c if (adev->power.states[d_max].flags.valid) power 1008 drivers/acpi/device_pm.c if (adev->power.flags.dsw_present) power 1015 drivers/acpi/device_pm.c return state != adev->power.state; power 1104 drivers/acpi/device_pm.c dev->power.may_skip_resume = true; power 1119 drivers/acpi/device_pm.c dev->power.may_skip_resume = device_may_wakeup(dev) || power 363 drivers/acpi/device_sysfs.c return sprintf(buf, "%s\n", acpi_power_state_string(adev->power.state)); power 590 drivers/acpi/device_sysfs.c if (dev->power.flags.power_resources) power 611 drivers/acpi/device_sysfs.c if (dev->power.flags.power_resources) power 52 drivers/acpi/fan.c u64 power; power 500 drivers/acpi/pci_irq.c if (dev->dev.power.is_prepared) power 503 drivers/acpi/pci_irq.c if (dev->dev.power.runtime_status == RPM_SUSPENDING) power 314 drivers/acpi/power.c resources = &adev->power.states[ACPI_STATE_D0].resources; power 348 drivers/acpi/power.c resources = &adev->power.states[ACPI_STATE_D0].resources; power 588 drivers/acpi/power.c if (!adev->power.flags.power_resources) power 593 drivers/acpi/power.c &adev->power.states[state].resources, power 815 drivers/acpi/power.c struct list_head *list = &device->power.states[i].resources; power 830 drivers/acpi/power.c *state = device->power.states[ACPI_STATE_D3_COLD].flags.valid ? power 840 drivers/acpi/power.c return acpi_power_on_list(&device->power.states[state].resources); power 850 drivers/acpi/power.c if (device->power.state == state || !device->flags.power_manageable) power 853 drivers/acpi/power.c if ((device->power.state < ACPI_STATE_D0) power 854 drivers/acpi/power.c || (device->power.state > ACPI_STATE_D3_COLD)) power 864 drivers/acpi/power.c &device->power.states[state].resources); power 866 drivers/acpi/power.c if (!result && device->power.state < ACPI_STATE_D3_COLD) power 868 drivers/acpi/power.c &device->power.states[device->power.state].resources); power 871 drivers/acpi/power.c device->power.state = result ? ACPI_STATE_UNKNOWN : state; power 951 drivers/acpi/power.c device->power.state = ACPI_STATE_UNKNOWN; power 127 drivers/acpi/processor_idle.c struct acpi_processor_power *pwr = &pr->power; power 144 drivers/acpi/processor_idle.c pr->power.timer_broadcast_on_state = state; power 151 drivers/acpi/processor_idle.c if (pr->power.timer_broadcast_on_state < INT_MAX) power 168 drivers/acpi/processor_idle.c int state = cx - pr->power.states; power 170 drivers/acpi/processor_idle.c if (state >= pr->power.timer_broadcast_on_state) { power 225 drivers/acpi/processor_idle.c pr->power.states[ACPI_STATE_C2].type = ACPI_STATE_C2; power 226 drivers/acpi/processor_idle.c pr->power.states[ACPI_STATE_C3].type = ACPI_STATE_C3; power 239 drivers/acpi/processor_idle.c pr->power.states[ACPI_STATE_C2].address = pr->pblk + 4; power 240 drivers/acpi/processor_idle.c pr->power.states[ACPI_STATE_C3].address = pr->pblk + 5; power 243 drivers/acpi/processor_idle.c pr->power.states[ACPI_STATE_C2].latency = acpi_gbl_FADT.c2_latency; power 244 drivers/acpi/processor_idle.c pr->power.states[ACPI_STATE_C3].latency = acpi_gbl_FADT.c3_latency; power 254 drivers/acpi/processor_idle.c pr->power.states[ACPI_STATE_C2].address = 0; power 265 drivers/acpi/processor_idle.c pr->power.states[ACPI_STATE_C3].address = 0; power 270 drivers/acpi/processor_idle.c pr->power.states[ACPI_STATE_C2].address, power 271 drivers/acpi/processor_idle.c pr->power.states[ACPI_STATE_C3].address)); power 273 drivers/acpi/processor_idle.c snprintf(pr->power.states[ACPI_STATE_C2].desc, power 275 drivers/acpi/processor_idle.c pr->power.states[ACPI_STATE_C2].address); power 276 drivers/acpi/processor_idle.c snprintf(pr->power.states[ACPI_STATE_C3].desc, power 278 drivers/acpi/processor_idle.c pr->power.states[ACPI_STATE_C3].address); power 285 drivers/acpi/processor_idle.c if (!pr->power.states[ACPI_STATE_C1].valid) { power 288 drivers/acpi/processor_idle.c pr->power.states[ACPI_STATE_C1].type = ACPI_STATE_C1; power 289 drivers/acpi/processor_idle.c pr->power.states[ACPI_STATE_C1].valid = 1; power 290 drivers/acpi/processor_idle.c pr->power.states[ACPI_STATE_C1].entry_method = ACPI_CSTATE_HALT; power 292 drivers/acpi/processor_idle.c snprintf(pr->power.states[ACPI_STATE_C1].desc, power 296 drivers/acpi/processor_idle.c pr->power.states[ACPI_STATE_C0].valid = 1; power 435 drivers/acpi/processor_idle.c memcpy(&(pr->power.states[current_count]), &cx, sizeof(cx)); power 548 drivers/acpi/processor_idle.c pr->power.timer_broadcast_on_state = INT_MAX; power 551 drivers/acpi/processor_idle.c struct acpi_processor_cx *cx = &pr->power.states[i]; power 591 drivers/acpi/processor_idle.c memset(pr->power.states, 0, sizeof(pr->power.states)); power 602 drivers/acpi/processor_idle.c pr->power.count = acpi_processor_power_verify(pr); power 609 drivers/acpi/processor_idle.c if (pr->power.states[i].valid) { power 610 drivers/acpi/processor_idle.c pr->power.count = i; power 611 drivers/acpi/processor_idle.c if (pr->power.states[i].type >= ACPI_STATE_C2) power 612 drivers/acpi/processor_idle.c pr->flags.power = 1; power 825 drivers/acpi/processor_idle.c cx = &pr->power.states[i]; power 861 drivers/acpi/processor_idle.c cx = &pr->power.states[i]; power 1140 drivers/acpi/processor_idle.c flpi = &pr->power.lpi_states[flat_state_cnt]; power 1211 drivers/acpi/processor_idle.c pr->power.count = flat_state_cnt; power 1213 drivers/acpi/processor_idle.c for (i = 0; i < pr->power.count; i++) power 1214 drivers/acpi/processor_idle.c pr->power.lpi_states[i].index = i; power 1218 drivers/acpi/processor_idle.c pr->flags.power = 1; power 1252 drivers/acpi/processor_idle.c lpi = &pr->power.lpi_states[index]; power 1269 drivers/acpi/processor_idle.c for (i = 0; i < pr->power.count && i < CPUIDLE_STATE_MAX; i++) { power 1270 drivers/acpi/processor_idle.c lpi = &pr->power.lpi_states[i]; power 1299 drivers/acpi/processor_idle.c if (!pr->flags.power_setup_done || !pr->flags.power) power 1324 drivers/acpi/processor_idle.c if (!pr->flags.power_setup_done || !pr->flags.power || !dev) power 1360 drivers/acpi/processor_idle.c if (!ret && pr->flags.power) { power 1412 drivers/acpi/processor_idle.c if (_pr->flags.power) { power 1445 drivers/acpi/processor_idle.c if (pr->flags.power) { power 1484 drivers/acpi/processor_idle.c if (pr->flags.power) { power 351 drivers/acpi/processor_perflib.c (u32) px->power, power 949 drivers/acpi/processor_throttling.c pr->throttling.states[i].power = 1000 - step * i; power 456 drivers/acpi/scan.c if (!device->power.flags.power_resources) power 460 drivers/acpi/scan.c struct acpi_device_power_state *ps = &device->power.states[i]; power 908 drivers/acpi/scan.c struct acpi_device_power_state *ps = &device->power.states[state]; power 937 drivers/acpi/scan.c ps->power = -1; /* Unknown - driver assigned */ power 956 drivers/acpi/scan.c device->power.flags.explicit_get = 1; power 959 drivers/acpi/scan.c device->power.flags.inrush_current = 1; power 962 drivers/acpi/scan.c device->power.flags.dsw_present = 1; power 970 drivers/acpi/scan.c INIT_LIST_HEAD(&device->power.states[ACPI_STATE_D3_COLD].resources); power 973 drivers/acpi/scan.c device->power.states[ACPI_STATE_D0].flags.valid = 1; power 974 drivers/acpi/scan.c device->power.states[ACPI_STATE_D0].power = 100; power 975 drivers/acpi/scan.c device->power.states[ACPI_STATE_D3_HOT].flags.valid = 1; power 982 drivers/acpi/scan.c if (!list_empty(&device->power.states[ACPI_STATE_D0].resources)) { power 983 drivers/acpi/scan.c device->power.flags.power_resources = 1; power 988 drivers/acpi/scan.c if (!list_empty(&device->power.states[ACPI_STATE_D3_HOT].resources)) power 989 drivers/acpi/scan.c device->power.states[ACPI_STATE_D3_COLD].flags.valid = 1; power 1986 drivers/acpi/scan.c device->power.states[ACPI_STATE_D0].flags.valid; power 860 drivers/acpi/sleep.c acpi_power_state_string(adev->power.state)); power 868 drivers/acpi/sleep.c if (adev->power.state < lpi_constraints_table[i].min_dstate) power 872 drivers/acpi/sleep.c acpi_power_state_string(adev->power.state)); power 149 drivers/ata/acard-ahci.c if (pdev->dev.power.power_state.event == PM_EVENT_SUSPEND) { power 877 drivers/ata/ahci.c if (pdev->dev.power.power_state.event == PM_EVENT_SUSPEND) { power 766 drivers/ata/libahci_platform.c if (dev->power.power_state.event == PM_EVENT_SUSPEND) { power 5870 drivers/ata/libata-core.c host->dev->power.power_state = mesg; power 5882 drivers/ata/libata-core.c host->dev->power.power_state = PMSG_ON; power 34 drivers/ata/pata_palmld.c struct gpio_desc *power; power 71 drivers/ata/pata_palmld.c lda->power = devm_gpiod_get(dev, "power", GPIOD_OUT_HIGH); power 72 drivers/ata/pata_palmld.c if (IS_ERR(lda->power)) power 73 drivers/ata/pata_palmld.c return PTR_ERR(lda->power); power 76 drivers/ata/pata_palmld.c gpiod_set_value(lda->power, 0); power 105 drivers/ata/pata_palmld.c gpiod_set_value(lda->power, 0); power 120 drivers/ata/pata_palmld.c gpiod_set_value(lda->power, 0); power 603 drivers/ata/sata_highbank.c if (dev->power.power_state.event == PM_EVENT_SUSPEND) { power 805 drivers/ata/sata_inic162x.c if (pdev->dev.power.power_state.event == PM_EVENT_SUSPEND) { power 2406 drivers/ata/sata_nv.c if (pdev->dev.power.power_state.event == PM_EVENT_SUSPEND) { power 1338 drivers/ata/sata_sil24.c if (pdev->dev.power.power_state.event == PM_EVENT_SUSPEND) power 200 drivers/auxdisplay/ht16k33.c if (bl->props.power != FB_BLANK_UNBLANK || power 33 drivers/base/power/common.c spin_lock_irq(&dev->power.lock); power 35 drivers/base/power/common.c if (dev->power.subsys_data) { power 36 drivers/base/power/common.c dev->power.subsys_data->refcount++; power 40 drivers/base/power/common.c dev->power.subsys_data = psd; power 45 drivers/base/power/common.c spin_unlock_irq(&dev->power.lock); power 65 drivers/base/power/common.c spin_lock_irq(&dev->power.lock); power 72 drivers/base/power/common.c dev->power.subsys_data = NULL; power 77 drivers/base/power/common.c spin_unlock_irq(&dev->power.lock); power 390 drivers/base/power/domain.c if (WARN_ON(!dev->power.subsys_data || power 391 drivers/base/power/domain.c !dev->power.subsys_data->domain_data)) power 396 drivers/base/power/domain.c gpd_data = to_gpd_data(dev->power.subsys_data->domain_data); power 650 drivers/base/power/domain.c spin_lock_irq(&dev->power.lock); power 652 drivers/base/power/domain.c pdd = dev->power.subsys_data ? power 653 drivers/base/power/domain.c dev->power.subsys_data->domain_data : NULL; power 661 drivers/base/power/domain.c spin_unlock_irq(&dev->power.lock); power 670 drivers/base/power/domain.c if (!dev || dev->power.ignore_children) power 1126 drivers/base/power/domain.c if (dev->power.wakeup_path && genpd_is_active_wakeup(genpd)) power 1180 drivers/base/power/domain.c if (dev->power.wakeup_path && genpd_is_active_wakeup(genpd)) power 1415 drivers/base/power/domain.c spin_lock_irq(&dev->power.lock); power 1417 drivers/base/power/domain.c if (dev->power.subsys_data->domain_data) { power 1422 drivers/base/power/domain.c dev->power.subsys_data->domain_data = &gpd_data->base; power 1424 drivers/base/power/domain.c spin_unlock_irq(&dev->power.lock); power 1429 drivers/base/power/domain.c spin_unlock_irq(&dev->power.lock); power 1439 drivers/base/power/domain.c spin_lock_irq(&dev->power.lock); power 1441 drivers/base/power/domain.c dev->power.subsys_data->domain_data = NULL; power 1443 drivers/base/power/domain.c spin_unlock_irq(&dev->power.lock); power 1566 drivers/base/power/domain.c pdd = dev->power.subsys_data->domain_data; power 2751 drivers/base/power/domain.c if (dev->power.runtime_error) power 2753 drivers/base/power/domain.c else if (dev->power.disable_depth) power 2755 drivers/base/power/domain.c else if (dev->power.runtime_status < ARRAY_SIZE(status_lookup)) power 2756 drivers/base/power/domain.c p = status_lookup[dev->power.runtime_status]; power 20 drivers/base/power/domain_governor.c if (dev->power.subsys_data && dev->power.subsys_data->domain_data) { power 58 drivers/base/power/domain_governor.c spin_lock_irqsave(&dev->power.lock, flags); power 63 drivers/base/power/domain_governor.c spin_unlock_irqrestore(&dev->power.lock, flags); power 71 drivers/base/power/domain_governor.c spin_unlock_irqrestore(&dev->power.lock, flags); power 82 drivers/base/power/domain_governor.c if (!dev->power.ignore_children) power 95 drivers/base/power/main.c dev->power.is_prepared = false; power 96 drivers/base/power/main.c dev->power.is_suspended = false; power 97 drivers/base/power/main.c dev->power.is_noirq_suspended = false; power 98 drivers/base/power/main.c dev->power.is_late_suspended = false; power 99 drivers/base/power/main.c init_completion(&dev->power.completion); power 100 drivers/base/power/main.c complete_all(&dev->power.completion); power 101 drivers/base/power/main.c dev->power.wakeup = NULL; power 102 drivers/base/power/main.c INIT_LIST_HEAD(&dev->power.entry); power 135 drivers/base/power/main.c if (dev->parent && dev->parent->power.is_prepared) power 138 drivers/base/power/main.c list_add_tail(&dev->power.entry, &dpm_list); power 139 drivers/base/power/main.c dev->power.in_dpm_list = true; power 154 drivers/base/power/main.c complete_all(&dev->power.completion); power 156 drivers/base/power/main.c list_del_init(&dev->power.entry); power 157 drivers/base/power/main.c dev->power.in_dpm_list = false; power 175 drivers/base/power/main.c list_move_tail(&deva->power.entry, &devb->power.entry); power 189 drivers/base/power/main.c list_move(&deva->power.entry, &devb->power.entry); power 200 drivers/base/power/main.c list_move_tail(&dev->power.entry, &dpm_list); power 240 drivers/base/power/main.c if (async || (pm_async_enabled && dev->power.async_suspend)) power 241 drivers/base/power/main.c wait_for_completion(&dev->power.completion); power 587 drivers/base/power/main.c return !dev->power.must_resume && pm_transition.event != PM_EVENT_RESTORE; power 646 drivers/base/power/main.c if (dev->power.syscore || dev->power.direct_complete) power 649 drivers/base/power/main.c if (!dev->power.is_noirq_suspended) power 695 drivers/base/power/main.c dev->power.is_noirq_suspended = false; power 699 drivers/base/power/main.c dev->power.is_late_suspended = false; power 700 drivers/base/power/main.c dev->power.is_suspended = false; power 712 drivers/base/power/main.c complete_all(&dev->power.completion); power 719 drivers/base/power/main.c return dev->power.async_suspend && pm_async_enabled power 725 drivers/base/power/main.c reinit_completion(&dev->power.completion); power 762 drivers/base/power/main.c list_for_each_entry(dev, &dpm_noirq_list, power.entry) power 768 drivers/base/power/main.c list_move_tail(&dev->power.entry, &dpm_late_early_list); power 855 drivers/base/power/main.c if (dev->power.syscore || dev->power.direct_complete) power 858 drivers/base/power/main.c if (!dev->power.is_late_suspended) power 872 drivers/base/power/main.c dev->power.is_late_suspended = false; power 878 drivers/base/power/main.c complete_all(&dev->power.completion); power 912 drivers/base/power/main.c list_for_each_entry(dev, &dpm_late_early_list, power.entry) power 918 drivers/base/power/main.c list_move_tail(&dev->power.entry, &dpm_suspended_list); power 968 drivers/base/power/main.c if (dev->power.syscore) power 971 drivers/base/power/main.c if (dev->power.direct_complete) { power 987 drivers/base/power/main.c dev->power.is_prepared = false; power 989 drivers/base/power/main.c if (!dev->power.is_suspended) power 1029 drivers/base/power/main.c dev->power.is_suspended = false; power 1036 drivers/base/power/main.c complete_all(&dev->power.completion); power 1073 drivers/base/power/main.c list_for_each_entry(dev, &dpm_suspended_list, power.entry) power 1094 drivers/base/power/main.c if (!list_empty(&dev->power.entry)) power 1095 drivers/base/power/main.c list_move_tail(&dev->power.entry, &dpm_prepared_list); power 1117 drivers/base/power/main.c if (dev->power.syscore) power 1171 drivers/base/power/main.c dev->power.is_prepared = false; power 1172 drivers/base/power/main.c list_move(&dev->power.entry, &list); power 1234 drivers/base/power/main.c dev->parent->power.must_resume = true; power 1239 drivers/base/power/main.c link->supplier->power.must_resume = true; power 1296 drivers/base/power/main.c return !dev->power.may_skip_resume; power 1323 drivers/base/power/main.c if (dev->power.syscore || dev->power.direct_complete) power 1348 drivers/base/power/main.c dev->power.is_noirq_suspended = true; power 1351 drivers/base/power/main.c dev->power.must_resume = dev->power.must_resume || power 1352 drivers/base/power/main.c atomic_read(&dev->power.usage_count) > 1 || power 1355 drivers/base/power/main.c dev->power.must_resume = true; power 1358 drivers/base/power/main.c if (dev->power.must_resume) power 1362 drivers/base/power/main.c complete_all(&dev->power.completion); power 1414 drivers/base/power/main.c if (!list_empty(&dev->power.entry)) power 1415 drivers/base/power/main.c list_move(&dev->power.entry, &dpm_noirq_list); power 1465 drivers/base/power/main.c spin_lock_irq(&parent->power.lock); power 1467 drivers/base/power/main.c if (dev->power.wakeup_path && !parent->power.ignore_children) power 1468 drivers/base/power/main.c parent->power.wakeup_path = true; power 1470 drivers/base/power/main.c spin_unlock_irq(&parent->power.lock); power 1531 drivers/base/power/main.c if (dev->power.syscore || dev->power.direct_complete) power 1556 drivers/base/power/main.c dev->power.is_late_suspended = true; power 1560 drivers/base/power/main.c complete_all(&dev->power.completion); power 1608 drivers/base/power/main.c if (!list_empty(&dev->power.entry)) power 1609 drivers/base/power/main.c list_move(&dev->power.entry, &dpm_late_early_list); power 1691 drivers/base/power/main.c spin_lock_irq(&dev->parent->power.lock); power 1692 drivers/base/power/main.c dev->parent->power.direct_complete = false; power 1693 drivers/base/power/main.c spin_unlock_irq(&dev->parent->power.lock); power 1699 drivers/base/power/main.c spin_lock_irq(&link->supplier->power.lock); power 1700 drivers/base/power/main.c link->supplier->power.direct_complete = false; power 1701 drivers/base/power/main.c spin_unlock_irq(&link->supplier->power.lock); power 1726 drivers/base/power/main.c dev->power.direct_complete = false; power 1740 drivers/base/power/main.c dev->power.direct_complete = false; power 1745 drivers/base/power/main.c if (dev->power.syscore) power 1749 drivers/base/power/main.c if (device_may_wakeup(dev) || dev->power.wakeup_path) power 1750 drivers/base/power/main.c dev->power.direct_complete = false; power 1752 drivers/base/power/main.c if (dev->power.direct_complete) { power 1762 drivers/base/power/main.c dev->power.direct_complete = false; power 1765 drivers/base/power/main.c dev->power.may_skip_resume = false; power 1766 drivers/base/power/main.c dev->power.must_resume = false; power 1811 drivers/base/power/main.c dev->power.is_suspended = true; power 1813 drivers/base/power/main.c dev->power.wakeup_path = true; power 1826 drivers/base/power/main.c complete_all(&dev->power.completion); power 1886 drivers/base/power/main.c if (!list_empty(&dev->power.entry)) power 1887 drivers/base/power/main.c list_move(&dev->power.entry, &dpm_suspended_list); power 1918 drivers/base/power/main.c if (dev->power.syscore) power 1935 drivers/base/power/main.c dev->power.wakeup_path = false; power 1937 drivers/base/power/main.c if (dev->power.no_pm_callbacks) power 1970 drivers/base/power/main.c spin_lock_irq(&dev->power.lock); power 1971 drivers/base/power/main.c dev->power.direct_complete = state.event == PM_EVENT_SUSPEND && power 1973 drivers/base/power/main.c dev->power.no_pm_callbacks) && power 1975 drivers/base/power/main.c spin_unlock_irq(&dev->power.lock); power 2029 drivers/base/power/main.c dev->power.is_prepared = true; power 2030 drivers/base/power/main.c if (!list_empty(&dev->power.entry)) power 2031 drivers/base/power/main.c list_move_tail(&dev->power.entry, &dpm_prepared_list); power 2076 drivers/base/power/main.c dpm_wait(dev, subordinate->power.async_suspend); power 2097 drivers/base/power/main.c list_for_each_entry(dev, &dpm_list, power.entry) power 2120 drivers/base/power/main.c spin_lock_irq(&dev->power.lock); power 2121 drivers/base/power/main.c dev->power.no_pm_callbacks = power 2129 drivers/base/power/main.c spin_unlock_irq(&dev->power.lock); power 6 drivers/base/power/power.h if (!dev->power.early_init) { power 7 drivers/base/power/power.h spin_lock_init(&dev->power.lock); power 8 drivers/base/power/power.h dev->power.qos = NULL; power 9 drivers/base/power/power.h dev->power.early_init = true; power 17 drivers/base/power/power.h dev->power.disable_depth = 1; power 104 drivers/base/power/power.h return container_of(entry, struct device, power.entry); power 117 drivers/base/power/power.h return dev->power.in_dpm_list; power 54 drivers/base/power/qos.c struct dev_pm_qos *qos = dev->power.qos; power 58 drivers/base/power/qos.c lockdep_assert_held(&dev->power.lock); power 84 drivers/base/power/qos.c spin_lock_irqsave(&dev->power.lock, irqflags); power 86 drivers/base/power/qos.c spin_unlock_irqrestore(&dev->power.lock, irqflags); power 100 drivers/base/power/qos.c lockdep_assert_held(&dev->power.lock); power 112 drivers/base/power/qos.c struct dev_pm_qos *qos = dev->power.qos; power 116 drivers/base/power/qos.c spin_lock_irqsave(&dev->power.lock, flags); power 126 drivers/base/power/qos.c spin_unlock_irqrestore(&dev->power.lock, flags); power 143 drivers/base/power/qos.c struct dev_pm_qos *qos = req->dev->power.qos; power 159 drivers/base/power/qos.c req->dev->power.set_latency_tolerance(req->dev, value); power 214 drivers/base/power/qos.c spin_lock_irq(&dev->power.lock); power 215 drivers/base/power/qos.c dev->power.qos = qos; power 216 drivers/base/power/qos.c spin_unlock_irq(&dev->power.lock); power 251 drivers/base/power/qos.c qos = dev->power.qos; power 278 drivers/base/power/qos.c spin_lock_irq(&dev->power.lock); power 279 drivers/base/power/qos.c dev->power.qos = ERR_PTR(-ENODEV); power 280 drivers/base/power/qos.c spin_unlock_irq(&dev->power.lock); power 295 drivers/base/power/qos.c !dev->power.set_latency_tolerance; power 311 drivers/base/power/qos.c if (IS_ERR(dev->power.qos)) power 313 drivers/base/power/qos.c else if (!dev->power.qos) power 377 drivers/base/power/qos.c if (IS_ERR_OR_NULL(req->dev->power.qos)) power 440 drivers/base/power/qos.c if (IS_ERR_OR_NULL(req->dev->power.qos)) power 497 drivers/base/power/qos.c if (IS_ERR(dev->power.qos)) power 499 drivers/base/power/qos.c else if (!dev->power.qos) power 507 drivers/base/power/qos.c ret = blocking_notifier_chain_register(dev->power.qos->resume_latency.notifiers, power 541 drivers/base/power/qos.c if (IS_ERR_OR_NULL(dev->power.qos)) power 546 drivers/base/power/qos.c ret = blocking_notifier_chain_unregister(dev->power.qos->resume_latency.notifiers, power 576 drivers/base/power/qos.c while (ancestor && !ancestor->power.ignore_children) power 581 drivers/base/power/qos.c while (ancestor && !ancestor->power.set_latency_tolerance) power 605 drivers/base/power/qos.c req = dev->power.qos->resume_latency_req; power 606 drivers/base/power/qos.c dev->power.qos->resume_latency_req = NULL; power 609 drivers/base/power/qos.c req = dev->power.qos->latency_tolerance_req; power 610 drivers/base/power/qos.c dev->power.qos->latency_tolerance_req = NULL; power 613 drivers/base/power/qos.c req = dev->power.qos->flags_req; power 614 drivers/base/power/qos.c dev->power.qos->flags_req = NULL; power 659 drivers/base/power/qos.c if (IS_ERR_OR_NULL(dev->power.qos)) power 661 drivers/base/power/qos.c else if (dev->power.qos->resume_latency_req) power 670 drivers/base/power/qos.c dev->power.qos->resume_latency_req = req; power 686 drivers/base/power/qos.c if (!IS_ERR_OR_NULL(dev->power.qos) && dev->power.qos->resume_latency_req) power 736 drivers/base/power/qos.c if (IS_ERR_OR_NULL(dev->power.qos)) power 738 drivers/base/power/qos.c else if (dev->power.qos->flags_req) power 747 drivers/base/power/qos.c dev->power.qos->flags_req = req; power 764 drivers/base/power/qos.c if (!IS_ERR_OR_NULL(dev->power.qos) && dev->power.qos->flags_req) power 802 drivers/base/power/qos.c if (IS_ERR_OR_NULL(dev->power.qos) || !dev->power.qos->flags_req) { power 813 drivers/base/power/qos.c ret = __dev_pm_qos_update_request(dev->power.qos->flags_req, value); power 830 drivers/base/power/qos.c ret = IS_ERR_OR_NULL(dev->power.qos) power 831 drivers/base/power/qos.c || !dev->power.qos->latency_tolerance_req ? power 833 drivers/base/power/qos.c dev->power.qos->latency_tolerance_req->data.pnode.prio; power 849 drivers/base/power/qos.c if (IS_ERR_OR_NULL(dev->power.qos) power 850 drivers/base/power/qos.c || !dev->power.qos->latency_tolerance_req) { power 870 drivers/base/power/qos.c dev->power.qos->latency_tolerance_req = req; power 876 drivers/base/power/qos.c ret = __dev_pm_qos_update_request(dev->power.qos->latency_tolerance_req, val); power 894 drivers/base/power/qos.c if (!dev->power.set_latency_tolerance) power 69 drivers/base/power/runtime.c if (dev->power.disable_depth > 0) power 72 drivers/base/power/runtime.c last = dev->power.accounting_timestamp; power 75 drivers/base/power/runtime.c dev->power.accounting_timestamp = now; power 87 drivers/base/power/runtime.c if (dev->power.runtime_status == RPM_SUSPENDED) power 88 drivers/base/power/runtime.c dev->power.suspended_time += delta; power 90 drivers/base/power/runtime.c dev->power.active_time += delta; power 96 drivers/base/power/runtime.c dev->power.runtime_status = status; power 104 drivers/base/power/runtime.c spin_lock_irqsave(&dev->power.lock, flags); power 107 drivers/base/power/runtime.c time = suspended ? dev->power.suspended_time : dev->power.active_time; power 109 drivers/base/power/runtime.c spin_unlock_irqrestore(&dev->power.lock, flags); power 131 drivers/base/power/runtime.c if (dev->power.timer_expires > 0) { power 132 drivers/base/power/runtime.c hrtimer_try_to_cancel(&dev->power.suspend_timer); power 133 drivers/base/power/runtime.c dev->power.timer_expires = 0; power 148 drivers/base/power/runtime.c dev->power.request = RPM_REQ_NONE; power 168 drivers/base/power/runtime.c if (!dev->power.use_autosuspend) power 171 drivers/base/power/runtime.c autosuspend_delay = READ_ONCE(dev->power.autosuspend_delay); power 175 drivers/base/power/runtime.c expires = READ_ONCE(dev->power.last_busy); power 186 drivers/base/power/runtime.c return dev->power.memalloc_noio; power 226 drivers/base/power/runtime.c spin_lock_irq(&dev->power.lock); power 227 drivers/base/power/runtime.c enabled = dev->power.memalloc_noio; power 228 drivers/base/power/runtime.c dev->power.memalloc_noio = enable; power 229 drivers/base/power/runtime.c spin_unlock_irq(&dev->power.lock); power 262 drivers/base/power/runtime.c if (dev->power.runtime_error) power 264 drivers/base/power/runtime.c else if (dev->power.disable_depth > 0) power 266 drivers/base/power/runtime.c else if (atomic_read(&dev->power.usage_count) > 0) power 268 drivers/base/power/runtime.c else if (!dev->power.ignore_children && power 269 drivers/base/power/runtime.c atomic_read(&dev->power.child_count)) power 273 drivers/base/power/runtime.c else if ((dev->power.deferred_resume power 274 drivers/base/power/runtime.c && dev->power.runtime_status == RPM_SUSPENDING) power 275 drivers/base/power/runtime.c || (dev->power.request_pending power 276 drivers/base/power/runtime.c && dev->power.request == RPM_REQ_RESUME)) power 280 drivers/base/power/runtime.c else if (dev->power.runtime_status == RPM_SUSPENDED) power 329 drivers/base/power/runtime.c __releases(&dev->power.lock) __acquires(&dev->power.lock) power 332 drivers/base/power/runtime.c bool use_links = dev->power.links_count > 0; power 334 drivers/base/power/runtime.c if (dev->power.irq_safe) { power 335 drivers/base/power/runtime.c spin_unlock(&dev->power.lock); power 337 drivers/base/power/runtime.c spin_unlock_irq(&dev->power.lock); power 346 drivers/base/power/runtime.c if (use_links && dev->power.runtime_status == RPM_RESUMING) { power 359 drivers/base/power/runtime.c if (dev->power.irq_safe) { power 360 drivers/base/power/runtime.c spin_lock(&dev->power.lock); power 370 drivers/base/power/runtime.c && ((dev->power.runtime_status == RPM_SUSPENDING && !retval) power 371 drivers/base/power/runtime.c || (dev->power.runtime_status == RPM_RESUMING && retval))) { power 380 drivers/base/power/runtime.c spin_lock_irq(&dev->power.lock); power 410 drivers/base/power/runtime.c else if (dev->power.runtime_status != RPM_ACTIVE) power 417 drivers/base/power/runtime.c else if (dev->power.request_pending && power 418 drivers/base/power/runtime.c dev->power.request > RPM_REQ_IDLE) power 422 drivers/base/power/runtime.c else if (dev->power.idle_notification) power 428 drivers/base/power/runtime.c dev->power.request = RPM_REQ_NONE; power 430 drivers/base/power/runtime.c if (dev->power.no_callbacks) power 435 drivers/base/power/runtime.c dev->power.request = RPM_REQ_IDLE; power 436 drivers/base/power/runtime.c if (!dev->power.request_pending) { power 437 drivers/base/power/runtime.c dev->power.request_pending = true; power 438 drivers/base/power/runtime.c queue_work(pm_wq, &dev->power.work); power 444 drivers/base/power/runtime.c dev->power.idle_notification = true; power 451 drivers/base/power/runtime.c dev->power.idle_notification = false; power 452 drivers/base/power/runtime.c wake_up_all(&dev->power.wait_queue); power 471 drivers/base/power/runtime.c if (dev->power.memalloc_noio) { power 490 drivers/base/power/runtime.c dev->power.runtime_error = retval; power 516 drivers/base/power/runtime.c __releases(&dev->power.lock) __acquires(&dev->power.lock) power 531 drivers/base/power/runtime.c else if (dev->power.runtime_status == RPM_RESUMING && power 539 drivers/base/power/runtime.c && dev->power.runtime_status != RPM_SUSPENDING) { power 544 drivers/base/power/runtime.c dev->power.request = RPM_REQ_NONE; power 553 drivers/base/power/runtime.c if (!(dev->power.timer_expires && power 554 drivers/base/power/runtime.c dev->power.timer_expires <= expires)) { power 559 drivers/base/power/runtime.c u64 slack = (u64)READ_ONCE(dev->power.autosuspend_delay) * power 562 drivers/base/power/runtime.c dev->power.timer_expires = expires; power 563 drivers/base/power/runtime.c hrtimer_start_range_ns(&dev->power.suspend_timer, power 568 drivers/base/power/runtime.c dev->power.timer_autosuspends = 1; power 576 drivers/base/power/runtime.c if (dev->power.runtime_status == RPM_SUSPENDING) { power 584 drivers/base/power/runtime.c if (dev->power.irq_safe) { power 585 drivers/base/power/runtime.c spin_unlock(&dev->power.lock); power 589 drivers/base/power/runtime.c spin_lock(&dev->power.lock); power 595 drivers/base/power/runtime.c prepare_to_wait(&dev->power.wait_queue, &wait, power 597 drivers/base/power/runtime.c if (dev->power.runtime_status != RPM_SUSPENDING) power 600 drivers/base/power/runtime.c spin_unlock_irq(&dev->power.lock); power 604 drivers/base/power/runtime.c spin_lock_irq(&dev->power.lock); power 606 drivers/base/power/runtime.c finish_wait(&dev->power.wait_queue, &wait); power 610 drivers/base/power/runtime.c if (dev->power.no_callbacks) power 615 drivers/base/power/runtime.c dev->power.request = (rpmflags & RPM_AUTO) ? power 617 drivers/base/power/runtime.c if (!dev->power.request_pending) { power 618 drivers/base/power/runtime.c dev->power.request_pending = true; power 619 drivers/base/power/runtime.c queue_work(pm_wq, &dev->power.work); power 639 drivers/base/power/runtime.c atomic_add_unless(&parent->power.child_count, -1, 0); power 641 drivers/base/power/runtime.c wake_up_all(&dev->power.wait_queue); power 643 drivers/base/power/runtime.c if (dev->power.deferred_resume) { power 644 drivers/base/power/runtime.c dev->power.deferred_resume = false; power 651 drivers/base/power/runtime.c if (parent && !parent->power.ignore_children && !dev->power.irq_safe) { power 652 drivers/base/power/runtime.c spin_unlock(&dev->power.lock); power 654 drivers/base/power/runtime.c spin_lock(&parent->power.lock); power 656 drivers/base/power/runtime.c spin_unlock(&parent->power.lock); power 658 drivers/base/power/runtime.c spin_lock(&dev->power.lock); power 669 drivers/base/power/runtime.c dev->power.deferred_resume = false; power 670 drivers/base/power/runtime.c wake_up_all(&dev->power.wait_queue); power 673 drivers/base/power/runtime.c dev->power.runtime_error = 0; power 708 drivers/base/power/runtime.c __releases(&dev->power.lock) __acquires(&dev->power.lock) power 717 drivers/base/power/runtime.c if (dev->power.runtime_error) power 719 drivers/base/power/runtime.c else if (dev->power.disable_depth == 1 && dev->power.is_suspended power 720 drivers/base/power/runtime.c && dev->power.runtime_status == RPM_ACTIVE) power 722 drivers/base/power/runtime.c else if (dev->power.disable_depth > 0) power 733 drivers/base/power/runtime.c dev->power.request = RPM_REQ_NONE; power 734 drivers/base/power/runtime.c if (!dev->power.timer_autosuspends) power 737 drivers/base/power/runtime.c if (dev->power.runtime_status == RPM_ACTIVE) { power 742 drivers/base/power/runtime.c if (dev->power.runtime_status == RPM_RESUMING power 743 drivers/base/power/runtime.c || dev->power.runtime_status == RPM_SUSPENDING) { power 747 drivers/base/power/runtime.c if (dev->power.runtime_status == RPM_SUSPENDING) power 748 drivers/base/power/runtime.c dev->power.deferred_resume = true; power 754 drivers/base/power/runtime.c if (dev->power.irq_safe) { power 755 drivers/base/power/runtime.c spin_unlock(&dev->power.lock); power 759 drivers/base/power/runtime.c spin_lock(&dev->power.lock); power 765 drivers/base/power/runtime.c prepare_to_wait(&dev->power.wait_queue, &wait, power 767 drivers/base/power/runtime.c if (dev->power.runtime_status != RPM_RESUMING power 768 drivers/base/power/runtime.c && dev->power.runtime_status != RPM_SUSPENDING) power 771 drivers/base/power/runtime.c spin_unlock_irq(&dev->power.lock); power 775 drivers/base/power/runtime.c spin_lock_irq(&dev->power.lock); power 777 drivers/base/power/runtime.c finish_wait(&dev->power.wait_queue, &wait); power 786 drivers/base/power/runtime.c if (dev->power.no_callbacks && !parent && dev->parent) { power 787 drivers/base/power/runtime.c spin_lock_nested(&dev->parent->power.lock, SINGLE_DEPTH_NESTING); power 788 drivers/base/power/runtime.c if (dev->parent->power.disable_depth > 0 power 789 drivers/base/power/runtime.c || dev->parent->power.ignore_children power 790 drivers/base/power/runtime.c || dev->parent->power.runtime_status == RPM_ACTIVE) { power 791 drivers/base/power/runtime.c atomic_inc(&dev->parent->power.child_count); power 792 drivers/base/power/runtime.c spin_unlock(&dev->parent->power.lock); power 796 drivers/base/power/runtime.c spin_unlock(&dev->parent->power.lock); power 801 drivers/base/power/runtime.c dev->power.request = RPM_REQ_RESUME; power 802 drivers/base/power/runtime.c if (!dev->power.request_pending) { power 803 drivers/base/power/runtime.c dev->power.request_pending = true; power 804 drivers/base/power/runtime.c queue_work(pm_wq, &dev->power.work); power 817 drivers/base/power/runtime.c if (dev->power.irq_safe) power 819 drivers/base/power/runtime.c spin_unlock(&dev->power.lock); power 823 drivers/base/power/runtime.c spin_lock(&parent->power.lock); power 828 drivers/base/power/runtime.c if (!parent->power.disable_depth power 829 drivers/base/power/runtime.c && !parent->power.ignore_children) { power 831 drivers/base/power/runtime.c if (parent->power.runtime_status != RPM_ACTIVE) power 834 drivers/base/power/runtime.c spin_unlock(&parent->power.lock); power 836 drivers/base/power/runtime.c spin_lock(&dev->power.lock); power 843 drivers/base/power/runtime.c if (dev->power.no_callbacks) power 861 drivers/base/power/runtime.c atomic_inc(&parent->power.child_count); power 863 drivers/base/power/runtime.c wake_up_all(&dev->power.wait_queue); power 869 drivers/base/power/runtime.c if (parent && !dev->power.irq_safe) { power 870 drivers/base/power/runtime.c spin_unlock_irq(&dev->power.lock); power 874 drivers/base/power/runtime.c spin_lock_irq(&dev->power.lock); power 891 drivers/base/power/runtime.c struct device *dev = container_of(work, struct device, power.work); power 894 drivers/base/power/runtime.c spin_lock_irq(&dev->power.lock); power 896 drivers/base/power/runtime.c if (!dev->power.request_pending) power 899 drivers/base/power/runtime.c req = dev->power.request; power 900 drivers/base/power/runtime.c dev->power.request = RPM_REQ_NONE; power 901 drivers/base/power/runtime.c dev->power.request_pending = false; power 921 drivers/base/power/runtime.c spin_unlock_irq(&dev->power.lock); power 932 drivers/base/power/runtime.c struct device *dev = container_of(timer, struct device, power.suspend_timer); power 936 drivers/base/power/runtime.c spin_lock_irqsave(&dev->power.lock, flags); power 938 drivers/base/power/runtime.c expires = dev->power.timer_expires; power 944 drivers/base/power/runtime.c dev->power.timer_expires = 0; power 945 drivers/base/power/runtime.c rpm_suspend(dev, dev->power.timer_autosuspends ? power 949 drivers/base/power/runtime.c spin_unlock_irqrestore(&dev->power.lock, flags); power 965 drivers/base/power/runtime.c spin_lock_irqsave(&dev->power.lock, flags); power 980 drivers/base/power/runtime.c dev->power.timer_expires = expires; power 981 drivers/base/power/runtime.c dev->power.timer_autosuspends = 0; power 982 drivers/base/power/runtime.c hrtimer_start(&dev->power.suspend_timer, expires, HRTIMER_MODE_ABS); power 985 drivers/base/power/runtime.c spin_unlock_irqrestore(&dev->power.lock, flags); power 1009 drivers/base/power/runtime.c if (!atomic_dec_and_test(&dev->power.usage_count)) power 1013 drivers/base/power/runtime.c might_sleep_if(!(rpmflags & RPM_ASYNC) && !dev->power.irq_safe); power 1015 drivers/base/power/runtime.c spin_lock_irqsave(&dev->power.lock, flags); power 1017 drivers/base/power/runtime.c spin_unlock_irqrestore(&dev->power.lock, flags); power 1041 drivers/base/power/runtime.c if (!atomic_dec_and_test(&dev->power.usage_count)) power 1045 drivers/base/power/runtime.c might_sleep_if(!(rpmflags & RPM_ASYNC) && !dev->power.irq_safe); power 1047 drivers/base/power/runtime.c spin_lock_irqsave(&dev->power.lock, flags); power 1049 drivers/base/power/runtime.c spin_unlock_irqrestore(&dev->power.lock, flags); power 1071 drivers/base/power/runtime.c might_sleep_if(!(rpmflags & RPM_ASYNC) && !dev->power.irq_safe && power 1072 drivers/base/power/runtime.c dev->power.runtime_status != RPM_ACTIVE); power 1075 drivers/base/power/runtime.c atomic_inc(&dev->power.usage_count); power 1077 drivers/base/power/runtime.c spin_lock_irqsave(&dev->power.lock, flags); power 1079 drivers/base/power/runtime.c spin_unlock_irqrestore(&dev->power.lock, flags); power 1100 drivers/base/power/runtime.c spin_lock_irqsave(&dev->power.lock, flags); power 1101 drivers/base/power/runtime.c retval = dev->power.disable_depth > 0 ? -EINVAL : power 1102 drivers/base/power/runtime.c dev->power.runtime_status == RPM_ACTIVE power 1103 drivers/base/power/runtime.c && atomic_inc_not_zero(&dev->power.usage_count); power 1104 drivers/base/power/runtime.c spin_unlock_irqrestore(&dev->power.lock, flags); power 1142 drivers/base/power/runtime.c spin_lock_irq(&dev->power.lock); power 1148 drivers/base/power/runtime.c if (dev->power.runtime_error || dev->power.disable_depth) power 1149 drivers/base/power/runtime.c dev->power.disable_depth++; power 1153 drivers/base/power/runtime.c spin_unlock_irq(&dev->power.lock); power 1174 drivers/base/power/runtime.c spin_lock_irq(&dev->power.lock); power 1176 drivers/base/power/runtime.c if (dev->power.runtime_status == status || !parent) power 1180 drivers/base/power/runtime.c atomic_add_unless(&parent->power.child_count, -1, 0); power 1181 drivers/base/power/runtime.c notify_parent = !parent->power.ignore_children; power 1183 drivers/base/power/runtime.c spin_lock_nested(&parent->power.lock, SINGLE_DEPTH_NESTING); power 1190 drivers/base/power/runtime.c if (!parent->power.disable_depth power 1191 drivers/base/power/runtime.c && !parent->power.ignore_children power 1192 drivers/base/power/runtime.c && parent->power.runtime_status != RPM_ACTIVE) { power 1197 drivers/base/power/runtime.c } else if (dev->power.runtime_status == RPM_SUSPENDED) { power 1198 drivers/base/power/runtime.c atomic_inc(&parent->power.child_count); power 1201 drivers/base/power/runtime.c spin_unlock(&parent->power.lock); power 1212 drivers/base/power/runtime.c dev->power.runtime_error = 0; power 1215 drivers/base/power/runtime.c spin_unlock_irq(&dev->power.lock); power 1247 drivers/base/power/runtime.c if (dev->power.request_pending) { power 1248 drivers/base/power/runtime.c dev->power.request = RPM_REQ_NONE; power 1249 drivers/base/power/runtime.c spin_unlock_irq(&dev->power.lock); power 1251 drivers/base/power/runtime.c cancel_work_sync(&dev->power.work); power 1253 drivers/base/power/runtime.c spin_lock_irq(&dev->power.lock); power 1254 drivers/base/power/runtime.c dev->power.request_pending = false; power 1257 drivers/base/power/runtime.c if (dev->power.runtime_status == RPM_SUSPENDING power 1258 drivers/base/power/runtime.c || dev->power.runtime_status == RPM_RESUMING power 1259 drivers/base/power/runtime.c || dev->power.idle_notification) { power 1264 drivers/base/power/runtime.c prepare_to_wait(&dev->power.wait_queue, &wait, power 1266 drivers/base/power/runtime.c if (dev->power.runtime_status != RPM_SUSPENDING power 1267 drivers/base/power/runtime.c && dev->power.runtime_status != RPM_RESUMING power 1268 drivers/base/power/runtime.c && !dev->power.idle_notification) power 1270 drivers/base/power/runtime.c spin_unlock_irq(&dev->power.lock); power 1274 drivers/base/power/runtime.c spin_lock_irq(&dev->power.lock); power 1276 drivers/base/power/runtime.c finish_wait(&dev->power.wait_queue, &wait); power 1299 drivers/base/power/runtime.c spin_lock_irq(&dev->power.lock); power 1301 drivers/base/power/runtime.c if (dev->power.request_pending power 1302 drivers/base/power/runtime.c && dev->power.request == RPM_REQ_RESUME) { power 1309 drivers/base/power/runtime.c spin_unlock_irq(&dev->power.lock); power 1332 drivers/base/power/runtime.c spin_lock_irq(&dev->power.lock); power 1334 drivers/base/power/runtime.c if (dev->power.disable_depth > 0) { power 1335 drivers/base/power/runtime.c dev->power.disable_depth++; power 1344 drivers/base/power/runtime.c if (check_resume && dev->power.request_pending power 1345 drivers/base/power/runtime.c && dev->power.request == RPM_REQ_RESUME) { power 1360 drivers/base/power/runtime.c if (!dev->power.disable_depth++) power 1364 drivers/base/power/runtime.c spin_unlock_irq(&dev->power.lock); power 1376 drivers/base/power/runtime.c spin_lock_irqsave(&dev->power.lock, flags); power 1378 drivers/base/power/runtime.c if (dev->power.disable_depth > 0) { power 1379 drivers/base/power/runtime.c dev->power.disable_depth--; power 1382 drivers/base/power/runtime.c if (!dev->power.disable_depth) power 1383 drivers/base/power/runtime.c dev->power.accounting_timestamp = ktime_get_mono_fast_ns(); power 1388 drivers/base/power/runtime.c WARN(!dev->power.disable_depth && power 1389 drivers/base/power/runtime.c dev->power.runtime_status == RPM_SUSPENDED && power 1390 drivers/base/power/runtime.c !dev->power.ignore_children && power 1391 drivers/base/power/runtime.c atomic_read(&dev->power.child_count) > 0, power 1395 drivers/base/power/runtime.c spin_unlock_irqrestore(&dev->power.lock, flags); power 1409 drivers/base/power/runtime.c spin_lock_irq(&dev->power.lock); power 1410 drivers/base/power/runtime.c if (!dev->power.runtime_auto) power 1413 drivers/base/power/runtime.c dev->power.runtime_auto = false; power 1414 drivers/base/power/runtime.c atomic_inc(&dev->power.usage_count); power 1418 drivers/base/power/runtime.c spin_unlock_irq(&dev->power.lock); power 1430 drivers/base/power/runtime.c spin_lock_irq(&dev->power.lock); power 1431 drivers/base/power/runtime.c if (dev->power.runtime_auto) power 1434 drivers/base/power/runtime.c dev->power.runtime_auto = true; power 1435 drivers/base/power/runtime.c if (atomic_dec_and_test(&dev->power.usage_count)) power 1439 drivers/base/power/runtime.c spin_unlock_irq(&dev->power.lock); power 1453 drivers/base/power/runtime.c spin_lock_irq(&dev->power.lock); power 1454 drivers/base/power/runtime.c dev->power.no_callbacks = 1; power 1455 drivers/base/power/runtime.c spin_unlock_irq(&dev->power.lock); power 1476 drivers/base/power/runtime.c spin_lock_irq(&dev->power.lock); power 1477 drivers/base/power/runtime.c dev->power.irq_safe = 1; power 1478 drivers/base/power/runtime.c spin_unlock_irq(&dev->power.lock); power 1495 drivers/base/power/runtime.c int delay = dev->power.autosuspend_delay; power 1498 drivers/base/power/runtime.c if (dev->power.use_autosuspend && delay < 0) { power 1502 drivers/base/power/runtime.c atomic_inc(&dev->power.usage_count); power 1512 drivers/base/power/runtime.c atomic_dec(&dev->power.usage_count); power 1532 drivers/base/power/runtime.c spin_lock_irq(&dev->power.lock); power 1533 drivers/base/power/runtime.c old_delay = dev->power.autosuspend_delay; power 1534 drivers/base/power/runtime.c old_use = dev->power.use_autosuspend; power 1535 drivers/base/power/runtime.c dev->power.autosuspend_delay = delay; power 1537 drivers/base/power/runtime.c spin_unlock_irq(&dev->power.lock); power 1553 drivers/base/power/runtime.c spin_lock_irq(&dev->power.lock); power 1554 drivers/base/power/runtime.c old_delay = dev->power.autosuspend_delay; power 1555 drivers/base/power/runtime.c old_use = dev->power.use_autosuspend; power 1556 drivers/base/power/runtime.c dev->power.use_autosuspend = use; power 1558 drivers/base/power/runtime.c spin_unlock_irq(&dev->power.lock); power 1568 drivers/base/power/runtime.c dev->power.runtime_status = RPM_SUSPENDED; power 1569 drivers/base/power/runtime.c dev->power.idle_notification = false; power 1571 drivers/base/power/runtime.c dev->power.disable_depth = 1; power 1572 drivers/base/power/runtime.c atomic_set(&dev->power.usage_count, 0); power 1574 drivers/base/power/runtime.c dev->power.runtime_error = 0; power 1576 drivers/base/power/runtime.c atomic_set(&dev->power.child_count, 0); power 1578 drivers/base/power/runtime.c dev->power.runtime_auto = true; power 1580 drivers/base/power/runtime.c dev->power.request_pending = false; power 1581 drivers/base/power/runtime.c dev->power.request = RPM_REQ_NONE; power 1582 drivers/base/power/runtime.c dev->power.deferred_resume = false; power 1583 drivers/base/power/runtime.c INIT_WORK(&dev->power.work, pm_runtime_work); power 1585 drivers/base/power/runtime.c dev->power.timer_expires = 0; power 1586 drivers/base/power/runtime.c hrtimer_init(&dev->power.suspend_timer, CLOCK_MONOTONIC, HRTIMER_MODE_ABS); power 1587 drivers/base/power/runtime.c dev->power.suspend_timer.function = pm_suspend_timer_fn; power 1589 drivers/base/power/runtime.c init_waitqueue_head(&dev->power.wait_queue); power 1599 drivers/base/power/runtime.c if (dev->power.runtime_status == RPM_ACTIVE) power 1601 drivers/base/power/runtime.c if (dev->power.irq_safe) { power 1602 drivers/base/power/runtime.c spin_lock_irq(&dev->power.lock); power 1603 drivers/base/power/runtime.c dev->power.irq_safe = 0; power 1604 drivers/base/power/runtime.c spin_unlock_irq(&dev->power.lock); power 1703 drivers/base/power/runtime.c spin_lock_irq(&dev->power.lock); power 1704 drivers/base/power/runtime.c dev->power.links_count++; power 1705 drivers/base/power/runtime.c spin_unlock_irq(&dev->power.lock); power 1710 drivers/base/power/runtime.c spin_lock_irq(&dev->power.lock); power 1711 drivers/base/power/runtime.c WARN_ON(dev->power.links_count == 0); power 1712 drivers/base/power/runtime.c dev->power.links_count--; power 1713 drivers/base/power/runtime.c spin_unlock_irq(&dev->power.lock); power 1718 drivers/base/power/runtime.c return atomic_read(&dev->power.usage_count) <= 1 && power 1719 drivers/base/power/runtime.c (atomic_read(&dev->power.child_count) == 0 || power 1720 drivers/base/power/runtime.c dev->power.ignore_children); power 104 drivers/base/power/sysfs.c dev->power.runtime_auto ? ctrl_auto : ctrl_on); power 152 drivers/base/power/sysfs.c if (dev->power.runtime_error) { power 154 drivers/base/power/sysfs.c } else if (dev->power.disable_depth) { power 157 drivers/base/power/sysfs.c switch (dev->power.runtime_status) { power 182 drivers/base/power/sysfs.c if (!dev->power.use_autosuspend) power 184 drivers/base/power/sysfs.c return sprintf(buf, "%d\n", dev->power.autosuspend_delay); power 192 drivers/base/power/sysfs.c if (!dev->power.use_autosuspend) power 243 drivers/base/power/sysfs.c ret = dev_pm_qos_update_request(dev->power.qos->resume_latency_req, power 350 drivers/base/power/sysfs.c spin_lock_irq(&dev->power.lock); power 351 drivers/base/power/sysfs.c if (dev->power.wakeup) { power 352 drivers/base/power/sysfs.c count = dev->power.wakeup->wakeup_count; power 355 drivers/base/power/sysfs.c spin_unlock_irq(&dev->power.lock); power 368 drivers/base/power/sysfs.c spin_lock_irq(&dev->power.lock); power 369 drivers/base/power/sysfs.c if (dev->power.wakeup) { power 370 drivers/base/power/sysfs.c count = dev->power.wakeup->active_count; power 373 drivers/base/power/sysfs.c spin_unlock_irq(&dev->power.lock); power 386 drivers/base/power/sysfs.c spin_lock_irq(&dev->power.lock); power 387 drivers/base/power/sysfs.c if (dev->power.wakeup) { power 388 drivers/base/power/sysfs.c count = dev->power.wakeup->wakeup_count; power 391 drivers/base/power/sysfs.c spin_unlock_irq(&dev->power.lock); power 404 drivers/base/power/sysfs.c spin_lock_irq(&dev->power.lock); power 405 drivers/base/power/sysfs.c if (dev->power.wakeup) { power 406 drivers/base/power/sysfs.c count = dev->power.wakeup->expire_count; power 409 drivers/base/power/sysfs.c spin_unlock_irq(&dev->power.lock); power 421 drivers/base/power/sysfs.c spin_lock_irq(&dev->power.lock); power 422 drivers/base/power/sysfs.c if (dev->power.wakeup) { power 423 drivers/base/power/sysfs.c active = dev->power.wakeup->active; power 426 drivers/base/power/sysfs.c spin_unlock_irq(&dev->power.lock); power 439 drivers/base/power/sysfs.c spin_lock_irq(&dev->power.lock); power 440 drivers/base/power/sysfs.c if (dev->power.wakeup) { power 441 drivers/base/power/sysfs.c msec = ktime_to_ms(dev->power.wakeup->total_time); power 444 drivers/base/power/sysfs.c spin_unlock_irq(&dev->power.lock); power 456 drivers/base/power/sysfs.c spin_lock_irq(&dev->power.lock); power 457 drivers/base/power/sysfs.c if (dev->power.wakeup) { power 458 drivers/base/power/sysfs.c msec = ktime_to_ms(dev->power.wakeup->max_time); power 461 drivers/base/power/sysfs.c spin_unlock_irq(&dev->power.lock); power 474 drivers/base/power/sysfs.c spin_lock_irq(&dev->power.lock); power 475 drivers/base/power/sysfs.c if (dev->power.wakeup) { power 476 drivers/base/power/sysfs.c msec = ktime_to_ms(dev->power.wakeup->last_time); power 479 drivers/base/power/sysfs.c spin_unlock_irq(&dev->power.lock); power 493 drivers/base/power/sysfs.c spin_lock_irq(&dev->power.lock); power 494 drivers/base/power/sysfs.c if (dev->power.wakeup) { power 495 drivers/base/power/sysfs.c msec = ktime_to_ms(dev->power.wakeup->prevent_sleep_time); power 498 drivers/base/power/sysfs.c spin_unlock_irq(&dev->power.lock); power 510 drivers/base/power/sysfs.c return sprintf(buf, "%d\n", atomic_read(&dev->power.usage_count)); power 518 drivers/base/power/sysfs.c return sprintf(buf, "%d\n", dev->power.ignore_children ? power 519 drivers/base/power/sysfs.c 0 : atomic_read(&dev->power.child_count)); power 526 drivers/base/power/sysfs.c if (dev->power.disable_depth && (dev->power.runtime_auto == false)) power 528 drivers/base/power/sysfs.c if (dev->power.disable_depth) power 530 drivers/base/power/sysfs.c if (dev->power.runtime_auto == false) power 665 drivers/base/power/sysfs.c if (dev->power.set_latency_tolerance) { power 29 drivers/base/power/wakeirq.c spin_lock_irqsave(&dev->power.lock, flags); power 30 drivers/base/power/wakeirq.c if (dev_WARN_ONCE(dev, dev->power.wakeirq, power 32 drivers/base/power/wakeirq.c spin_unlock_irqrestore(&dev->power.lock, flags); power 36 drivers/base/power/wakeirq.c dev->power.wakeirq = wirq; power 39 drivers/base/power/wakeirq.c spin_unlock_irqrestore(&dev->power.lock, flags); power 89 drivers/base/power/wakeirq.c struct wake_irq *wirq = dev->power.wakeirq; power 95 drivers/base/power/wakeirq.c spin_lock_irqsave(&dev->power.lock, flags); power 97 drivers/base/power/wakeirq.c dev->power.wakeirq = NULL; power 98 drivers/base/power/wakeirq.c spin_unlock_irqrestore(&dev->power.lock, flags); power 232 drivers/base/power/wakeirq.c struct wake_irq *wirq = dev->power.wakeirq; power 249 drivers/base/power/wakeirq.c struct wake_irq *wirq = dev->power.wakeirq; power 273 drivers/base/power/wakeirq.c struct wake_irq *wirq = dev->power.wakeirq; power 300 drivers/base/power/wakeirq.c struct wake_irq *wirq = dev->power.wakeirq; power 261 drivers/base/power/wakeup.c spin_lock_irq(&dev->power.lock); power 262 drivers/base/power/wakeup.c if (dev->power.wakeup) { power 263 drivers/base/power/wakeup.c spin_unlock_irq(&dev->power.lock); power 266 drivers/base/power/wakeup.c dev->power.wakeup = ws; power 267 drivers/base/power/wakeup.c if (dev->power.wakeirq) power 268 drivers/base/power/wakeup.c device_wakeup_attach_irq(dev, dev->power.wakeirq); power 269 drivers/base/power/wakeup.c spin_unlock_irq(&dev->power.lock); power 284 drivers/base/power/wakeup.c if (!dev || !dev->power.can_wakeup) power 318 drivers/base/power/wakeup.c ws = dev->power.wakeup; power 340 drivers/base/power/wakeup.c ws = dev->power.wakeup; power 387 drivers/base/power/wakeup.c spin_lock_irq(&dev->power.lock); power 388 drivers/base/power/wakeup.c ws = dev->power.wakeup; power 389 drivers/base/power/wakeup.c dev->power.wakeup = NULL; power 390 drivers/base/power/wakeup.c spin_unlock_irq(&dev->power.lock); power 405 drivers/base/power/wakeup.c if (!dev || !dev->power.can_wakeup) power 428 drivers/base/power/wakeup.c if (!!dev->power.can_wakeup == !!capable) power 431 drivers/base/power/wakeup.c dev->power.can_wakeup = capable; power 432 drivers/base/power/wakeup.c if (device_is_registered(dev) && !list_empty(&dev->power.entry)) { power 614 drivers/base/power/wakeup.c spin_lock_irqsave(&dev->power.lock, flags); power 615 drivers/base/power/wakeup.c __pm_stay_awake(dev->power.wakeup); power 616 drivers/base/power/wakeup.c spin_unlock_irqrestore(&dev->power.lock, flags); power 723 drivers/base/power/wakeup.c spin_lock_irqsave(&dev->power.lock, flags); power 724 drivers/base/power/wakeup.c __pm_relax(dev->power.wakeup); power 725 drivers/base/power/wakeup.c spin_unlock_irqrestore(&dev->power.lock, flags); power 812 drivers/base/power/wakeup.c spin_lock_irqsave(&dev->power.lock, flags); power 813 drivers/base/power/wakeup.c pm_wakeup_ws_event(dev->power.wakeup, msec, hard); power 814 drivers/base/power/wakeup.c spin_unlock_irqrestore(&dev->power.lock, flags); power 193 drivers/base/power/wakeup_stats.c if (!parent->power.wakeup || parent->power.wakeup->dev) power 196 drivers/base/power/wakeup_stats.c return wakeup_source_sysfs_add(parent, parent->power.wakeup); power 66 drivers/block/null_blk.h bool power; /* power on/off the device */ power 305 drivers/block/null_blk_main.c return nullb_device_bool_attr_show(to_nullb_device(item)->power, page); power 319 drivers/block/null_blk_main.c if (!dev->power && newp) { power 328 drivers/block/null_blk_main.c dev->power = newp; power 329 drivers/block/null_blk_main.c } else if (dev->power && !newp) { power 332 drivers/block/null_blk_main.c dev->power = newp; power 342 drivers/block/null_blk_main.c CONFIGFS_ATTR(nullb_device_, power); power 460 drivers/block/null_blk_main.c dev->power = false; power 26 drivers/clk/mxs/clk-pll.c u8 power; power 36 drivers/clk/mxs/clk-pll.c writel_relaxed(1 << pll->power, pll->base + SET); power 47 drivers/clk/mxs/clk-pll.c writel_relaxed(1 << pll->power, pll->base + CLR); power 83 drivers/clk/mxs/clk-pll.c void __iomem *base, u8 power, unsigned long rate) power 101 drivers/clk/mxs/clk-pll.c pll->power = power; power 22 drivers/clk/mxs/clk.h void __iomem *base, u8 power, unsigned long rate); power 812 drivers/cpufreq/acpi-cpufreq.c (u32) perf->states[i].power, power 283 drivers/cpufreq/ia64-acpi-cpufreq.c (u32) data->acpi_data.states[i].power, power 441 drivers/cpufreq/intel_pstate.c (u32) cpu->acpi_perf_data.states[i].power, power 866 drivers/cpufreq/longhaul.c cx = &pr->power.states[ACPI_STATE_C3]; power 361 drivers/cpufreq/powernow-k7.c (u32) state->power, power 106 drivers/cpufreq/scmi-cpufreq.c scmi_get_cpu_power(unsigned long *power, unsigned long *KHz, int cpu) power 123 drivers/cpufreq/scmi-cpufreq.c ret = handle->perf_ops->est_power_get(handle, domain, &Hz, power); power 311 drivers/cpuidle/sysfs.c define_one_state_ro(power, show_state_power_usage); power 404 drivers/firewire/ohci.c static const char *power[] = { power 431 drivers/firewire/ohci.c power[*s >> 8 & 7], *s >> 22 & 1 ? "L" : "", power 32 drivers/firmware/arm_scmi/perf.c u32 power; power 89 drivers/firmware/arm_scmi/perf.c __le32 power; power 275 drivers/firmware/arm_scmi/perf.c opp->power = le32_to_cpu(level_info->opp[cnt].power); power 280 drivers/firmware/arm_scmi/perf.c opp->perf, opp->power, opp->trans_latency_us); power 668 drivers/firmware/arm_scmi/perf.c unsigned long *freq, unsigned long *power) power 686 drivers/firmware/arm_scmi/perf.c *power = opp->power; power 3212 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c dev->dev->power.disable_depth++; power 3219 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c dev->dev->power.disable_depth--; power 216 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c bd->props.power = FB_BLANK_UNBLANK; power 524 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h static int uPow(int base, int power) power 526 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h if (power == 0) power 529 drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h return (base)*uPow(base, power - 1); power 335 drivers/gpu/drm/bridge/parade-ps8622.c if (bl->props.power != FB_BLANK_UNBLANK || power 296 drivers/gpu/drm/i2c/ch7006_mode.c uint8_t *power = &priv->state.regs[CH7006_POWER]; power 302 drivers/gpu/drm/i2c/ch7006_mode.c *power = CH7006_POWER_RESET; power 307 drivers/gpu/drm/i2c/ch7006_mode.c *power |= bitfs(CH7006_POWER_LEVEL, CVBS_OFF); power 310 drivers/gpu/drm/i2c/ch7006_mode.c *power |= bitfs(CH7006_POWER_LEVEL, SVIDEO_OFF); power 313 drivers/gpu/drm/i2c/ch7006_mode.c *power |= bitfs(CH7006_POWER_LEVEL, NORMAL) | power 320 drivers/gpu/drm/i2c/ch7006_mode.c *power |= bitfs(CH7006_POWER_LEVEL, FULL_POWER_OFF); power 322 drivers/gpu/drm/i2c/ch7006_mode.c *power |= bitfs(CH7006_POWER_LEVEL, POWER_OFF); power 1228 drivers/gpu/drm/i915/display/intel_display_power.c if (!dev_priv->drm.dev->power.is_suspended) power 227 drivers/gpu/drm/i915/display/intel_display_types.h void (*power)(struct intel_connector *, bool enable); power 7091 drivers/gpu/drm/i915/display/intel_dp.c intel_connector->panel.backlight.power = intel_edp_backlight_power; power 867 drivers/gpu/drm/i915/display/intel_panel.c panel->backlight.device->props.power = FB_BLANK_POWERDOWN; power 1183 drivers/gpu/drm/i915/display/intel_panel.c panel->backlight.device->props.power = FB_BLANK_UNBLANK; power 1270 drivers/gpu/drm/i915/display/intel_panel.c if (panel->backlight.power) { power 1271 drivers/gpu/drm/i915/display/intel_panel.c bool enable = bd->props.power == FB_BLANK_UNBLANK && power 1273 drivers/gpu/drm/i915/display/intel_panel.c panel->backlight.power(connector, enable); power 1276 drivers/gpu/drm/i915/display/intel_panel.c bd->props.power = FB_BLANK_POWERDOWN; power 1337 drivers/gpu/drm/i915/display/intel_panel.c props.power = FB_BLANK_UNBLANK; power 1339 drivers/gpu/drm/i915/display/intel_panel.c props.power = FB_BLANK_POWERDOWN; power 936 drivers/gpu/drm/i915/i915_debugfs.c rps->power.up_threshold); power 945 drivers/gpu/drm/i915/i915_debugfs.c rps->power.down_threshold); power 1697 drivers/gpu/drm/i915/i915_debugfs.c static const char *rps_power_to_str(unsigned int power) power 1705 drivers/gpu/drm/i915/i915_debugfs.c if (power >= ARRAY_SIZE(strings) || !strings[power]) power 1708 drivers/gpu/drm/i915/i915_debugfs.c return strings[power]; power 1735 drivers/gpu/drm/i915/i915_debugfs.c seq_printf(m, "Interactive? %d\n", READ_ONCE(rps->power.interactive)); power 1763 drivers/gpu/drm/i915/i915_debugfs.c rps_power_to_str(rps->power.mode)); power 1766 drivers/gpu/drm/i915/i915_debugfs.c rps->power.up_threshold); power 1769 drivers/gpu/drm/i915/i915_debugfs.c rps->power.down_threshold); power 2291 drivers/gpu/drm/i915/i915_debugfs.c unsigned long long power; power 2298 drivers/gpu/drm/i915/i915_debugfs.c if (rdmsrl_safe(MSR_RAPL_POWER_UNIT, &power)) power 2301 drivers/gpu/drm/i915/i915_debugfs.c units = (power & 0x1f00) >> 8; power 2303 drivers/gpu/drm/i915/i915_debugfs.c power = I915_READ(MCH_SECP_NRG_STTS); power 2305 drivers/gpu/drm/i915/i915_debugfs.c power = (1000000 * power) >> units; /* convert to uJ */ power 2306 drivers/gpu/drm/i915/i915_debugfs.c seq_printf(m, "%llu", power); power 2327 drivers/gpu/drm/i915/i915_debugfs.c atomic_read(&dev_priv->drm.dev->power.usage_count)); power 584 drivers/gpu/drm/i915/i915_drv.h } power; power 1159 drivers/gpu/drm/i915/i915_irq.c if (c0 > time * rps->power.up_threshold) power 1161 drivers/gpu/drm/i915/i915_irq.c else if (c0 < time * rps->power.down_threshold) power 1242 drivers/gpu/drm/i915/i915_irq.c if ((adj < 0 && rps->power.mode == HIGH_POWER) || power 1243 drivers/gpu/drm/i915/i915_irq.c (adj > 0 && rps->power.mode == LOW_POWER)) power 6572 drivers/gpu/drm/i915/intel_pm.c lockdep_assert_held(&rps->power.mutex); power 6574 drivers/gpu/drm/i915/intel_pm.c if (new_power == rps->power.mode) power 6637 drivers/gpu/drm/i915/intel_pm.c rps->power.mode = new_power; power 6638 drivers/gpu/drm/i915/intel_pm.c rps->power.up_threshold = threshold_up; power 6639 drivers/gpu/drm/i915/intel_pm.c rps->power.down_threshold = threshold_down; power 6647 drivers/gpu/drm/i915/intel_pm.c new_power = rps->power.mode; power 6648 drivers/gpu/drm/i915/intel_pm.c switch (rps->power.mode) { power 6676 drivers/gpu/drm/i915/intel_pm.c mutex_lock(&rps->power.mutex); power 6677 drivers/gpu/drm/i915/intel_pm.c if (rps->power.interactive) power 6680 drivers/gpu/drm/i915/intel_pm.c mutex_unlock(&rps->power.mutex); power 6690 drivers/gpu/drm/i915/intel_pm.c mutex_lock(&rps->power.mutex); power 6692 drivers/gpu/drm/i915/intel_pm.c if (!rps->power.interactive++ && READ_ONCE(i915->gt.awake)) power 6695 drivers/gpu/drm/i915/intel_pm.c GEM_BUG_ON(!rps->power.interactive); power 6696 drivers/gpu/drm/i915/intel_pm.c rps->power.interactive--; power 6698 drivers/gpu/drm/i915/intel_pm.c mutex_unlock(&rps->power.mutex); power 7117 drivers/gpu/drm/i915/intel_pm.c rps->power.mode = -1; power 9922 drivers/gpu/drm/i915/intel_pm.c mutex_init(&dev_priv->gt_pm.rps.power.mutex); power 242 drivers/gpu/drm/nouveau/nouveau_acpi.c return parent_adev->power.flags.power_resources && power 263 drivers/gpu/drm/nouveau/nvkm/engine/disp/base.c ior->func->power(ior, true, true, true, true, true); power 53 drivers/gpu/drm/nouveau/nvkm/engine/disp/dacgf119.c .power = nv50_dac_power, power 42 drivers/gpu/drm/nouveau/nvkm/engine/disp/dacnv50.c dac->func->power(dac, false, true, false, false, false); power 49 drivers/gpu/drm/nouveau/nvkm/engine/disp/dacnv50.c dac->func->power(dac, false, false, false, false, false); power 104 drivers/gpu/drm/nouveau/nvkm/engine/disp/dacnv50.c .power = nv50_dac_power, power 269 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c ior->func->dp.power(ior, ior->dp.nr); power 583 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c int power = nvkm_gpio_get(gpio, 0, DCB_GPIO_PANEL_POWER, 0xff); power 584 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c if (power == 0) power 599 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c if (!nvkm_dp_enable(dp, true) && power == 0) power 58 drivers/gpu/drm/nouveau/nvkm/engine/disp/ior.h void (*power)(struct nvkm_ior *, bool normal, bool pu, power 75 drivers/gpu/drm/nouveau/nvkm/engine/disp/ior.h void (*power)(struct nvkm_ior *, int nr); power 120 drivers/gpu/drm/nouveau/nvkm/engine/disp/piornv50.c .power = nv50_pior_power, power 27 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorg84.c .power = nv50_sor_power, power 263 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorg94.c .power = nv50_sor_power, power 270 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorg94.c .power = g94_sor_dp_power, power 161 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgf119.c .power = nv50_sor_power, power 169 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgf119.c .power = g94_sor_dp_power, power 27 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgk104.c .power = nv50_sor_power, power 35 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgk104.c .power = g94_sor_dp_power, power 41 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgm107.c .power = nv50_sor_power, power 49 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgm107.c .power = g94_sor_dp_power, power 98 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgm200.c .power = nv50_sor_power, power 107 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgm200.c .power = g94_sor_dp_power, power 43 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgt215.c .power = nv50_sor_power, power 51 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgt215.c .power = g94_sor_dp_power, power 87 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgv100.c .power = nv50_sor_power, power 96 drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgv100.c .power = g94_sor_dp_power, power 27 drivers/gpu/drm/nouveau/nvkm/engine/disp/sormcp77.c .power = nv50_sor_power, power 35 drivers/gpu/drm/nouveau/nvkm/engine/disp/sormcp77.c .power = g94_sor_dp_power, power 27 drivers/gpu/drm/nouveau/nvkm/engine/disp/sormcp89.c .power = nv50_sor_power, power 35 drivers/gpu/drm/nouveau/nvkm/engine/disp/sormcp89.c .power = g94_sor_dp_power, power 90 drivers/gpu/drm/nouveau/nvkm/engine/disp/sornv50.c .power = nv50_sor_power, power 71 drivers/gpu/drm/nouveau/nvkm/engine/disp/sortu102.c .power = nv50_sor_power, power 80 drivers/gpu/drm/nouveau/nvkm/engine/disp/sortu102.c .power = g94_sor_dp_power, power 116 drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c backlight->props.power = FB_BLANK_UNBLANK; power 119 drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c backlight->props.power = FB_BLANK_POWERDOWN; power 369 drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c dev->props.power == FB_BLANK_UNBLANK) power 396 drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c dev->props.power == FB_BLANK_UNBLANK) power 29 drivers/gpu/drm/panel/panel-ilitek-ili9881c.c struct regulator *power; power 304 drivers/gpu/drm/panel/panel-ilitek-ili9881c.c ret = regulator_enable(ctx->power); power 369 drivers/gpu/drm/panel/panel-ilitek-ili9881c.c regulator_disable(ctx->power); power 440 drivers/gpu/drm/panel/panel-ilitek-ili9881c.c ctx->power = devm_regulator_get(&dsi->dev, "power"); power 441 drivers/gpu/drm/panel/panel-ilitek-ili9881c.c if (IS_ERR(ctx->power)) { power 443 drivers/gpu/drm/panel/panel-ilitek-ili9881c.c return PTR_ERR(ctx->power); power 54 drivers/gpu/drm/panel/panel-lvds.c lvds->backlight->props.power = FB_BLANK_POWERDOWN; power 102 drivers/gpu/drm/panel/panel-lvds.c lvds->backlight->props.power = FB_BLANK_UNBLANK; power 397 drivers/gpu/drm/panel/panel-orisetech-otm8009a.c if (bd->props.power <= FB_BLANK_NORMAL) { power 474 drivers/gpu/drm/panel/panel-orisetech-otm8009a.c ctx->bl_dev->props.power = FB_BLANK_POWERDOWN; power 66 drivers/gpu/drm/panel/panel-panasonic-vvx10f034n00.c wuxga_nt->backlight->props.power = FB_BLANK_POWERDOWN; power 146 drivers/gpu/drm/panel/panel-panasonic-vvx10f034n00.c wuxga_nt->backlight->props.power = FB_BLANK_UNBLANK; power 36 drivers/gpu/drm/panel/panel-ronbo-rb070d30.c struct gpio_desc *power; power 60 drivers/gpu/drm/panel/panel-ronbo-rb070d30.c gpiod_set_value(ctx->gpios.power, 1); power 72 drivers/gpu/drm/panel/panel-ronbo-rb070d30.c gpiod_set_value(ctx->gpios.power, 0); power 186 drivers/gpu/drm/panel/panel-ronbo-rb070d30.c ctx->gpios.power = devm_gpiod_get(&dsi->dev, "power", GPIOD_OUT_LOW); power 187 drivers/gpu/drm/panel/panel-ronbo-rb070d30.c if (IS_ERR(ctx->gpios.power)) { power 189 drivers/gpu/drm/panel/panel-ronbo-rb070d30.c return PTR_ERR(ctx->gpios.power); power 462 drivers/gpu/drm/panel/panel-samsung-s6e3ha2.c if (bl_dev->props.power > FB_BLANK_NORMAL) power 512 drivers/gpu/drm/panel/panel-samsung-s6e3ha2.c ctx->bl_dev->props.power = FB_BLANK_NORMAL; power 558 drivers/gpu/drm/panel/panel-samsung-s6e3ha2.c ctx->bl_dev->props.power = FB_BLANK_NORMAL; power 605 drivers/gpu/drm/panel/panel-samsung-s6e3ha2.c ctx->bl_dev->props.power = FB_BLANK_UNBLANK; power 733 drivers/gpu/drm/panel/panel-samsung-s6e3ha2.c ctx->bl_dev->props.power = FB_BLANK_POWERDOWN; power 230 drivers/gpu/drm/panel/panel-samsung-s6e63j0x03.c ctx->bl_dev->props.power = FB_BLANK_NORMAL; power 250 drivers/gpu/drm/panel/panel-samsung-s6e63j0x03.c ctx->bl_dev->props.power = FB_BLANK_POWERDOWN; power 337 drivers/gpu/drm/panel/panel-samsung-s6e63j0x03.c ctx->bl_dev->props.power = FB_BLANK_NORMAL; power 398 drivers/gpu/drm/panel/panel-samsung-s6e63j0x03.c ctx->bl_dev->props.power = FB_BLANK_UNBLANK; power 482 drivers/gpu/drm/panel/panel-samsung-s6e63j0x03.c ctx->bl_dev->props.power = FB_BLANK_POWERDOWN; power 132 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c p->backlight->props.power = FB_BLANK_POWERDOWN; power 202 drivers/gpu/drm/panel/panel-seiko-43wvf1g.c p->backlight->props.power = FB_BLANK_UNBLANK; power 239 drivers/gpu/drm/panel/panel-simple.c p->backlight->props.power = FB_BLANK_POWERDOWN; power 311 drivers/gpu/drm/panel/panel-simple.c p->backlight->props.power = FB_BLANK_UNBLANK; power 120 drivers/gpu/drm/panel/panel-sitronix-st7789v.c struct regulator *power; power 202 drivers/gpu/drm/panel/panel-sitronix-st7789v.c ret = regulator_enable(ctx->power); power 328 drivers/gpu/drm/panel/panel-sitronix-st7789v.c ctx->backlight->props.power = FB_BLANK_UNBLANK; power 343 drivers/gpu/drm/panel/panel-sitronix-st7789v.c ctx->backlight->props.power = FB_BLANK_POWERDOWN; power 358 drivers/gpu/drm/panel/panel-sitronix-st7789v.c regulator_disable(ctx->power); power 388 drivers/gpu/drm/panel/panel-sitronix-st7789v.c ctx->power = devm_regulator_get(&spi->dev, "power"); power 389 drivers/gpu/drm/panel/panel-sitronix-st7789v.c if (IS_ERR(ctx->power)) power 390 drivers/gpu/drm/panel/panel-sitronix-st7789v.c return PTR_ERR(ctx->power); power 304 drivers/gpu/drm/panel/panel-sony-acx565akm.c dev->props.power == FB_BLANK_UNBLANK) power 334 drivers/gpu/drm/panel/panel-sony-acx565akm.c dev->props.power == FB_BLANK_UNBLANK) power 353 drivers/gpu/drm/panel/panel-sony-acx565akm.c .power = FB_BLANK_UNBLANK, power 243 drivers/gpu/drm/radeon/atombios_encoders.c bd->props.power = FB_BLANK_UNBLANK; power 447 drivers/gpu/drm/radeon/radeon_legacy_encoders.c bd->props.power = FB_BLANK_UNBLANK; power 23 drivers/gpu/drm/shmobile/shmob_drm_backlight.c if (bdev->props.power != FB_BLANK_UNBLANK || power 50 drivers/gpu/drm/shmobile/shmob_drm_backlight.c scon->backlight->props.power = mode == DRM_MODE_DPMS_ON power 76 drivers/gpu/drm/shmobile/shmob_drm_backlight.c backlight->props.power = FB_BLANK_POWERDOWN; power 50 drivers/gpu/drm/tilcdc/tilcdc_panel.c backlight->props.power = mode == DRM_MODE_DPMS_ON ? power 33 drivers/hid/hid-picolcd_backlight.c data->lcd_power = bdev->props.power; power 104 drivers/hid/hid-picolcd_backlight.c data->backlight->props.power = FB_BLANK_POWERDOWN; power 106 drivers/hid/hid-picolcd_backlight.c data->lcd_power = data->backlight->props.power = bl_power; power 1311 drivers/hid/usbhid/hid-core.c .power = usbhid_power, power 84 drivers/hwmon/acpi_power_meter.c u64 power; power 329 drivers/hwmon/acpi_power_meter.c resource->power = data; power 346 drivers/hwmon/acpi_power_meter.c return sprintf(buf, "%llu\n", resource->power * 1000); power 414 drivers/hwmon/acpi_power_meter.c if (resource->power > resource->cap) power 209 drivers/hwmon/lochnagar-hwmon.c u64 power; power 213 drivers/hwmon/lochnagar-hwmon.c power = 5 * LN2_PWR_UNITS; power 219 drivers/hwmon/lochnagar-hwmon.c power = abs(*val); power 226 drivers/hwmon/lochnagar-hwmon.c power *= abs(*val); power 227 drivers/hwmon/lochnagar-hwmon.c power = DIV_ROUND_CLOSEST_ULL(power, LN2_PWR_UNITS); power 229 drivers/hwmon/lochnagar-hwmon.c if (power > LONG_MAX) power 232 drivers/hwmon/lochnagar-hwmon.c *val = power; power 342 drivers/hwmon/lochnagar-hwmon.c HWMON_CHANNEL_INFO(power, HWMON_P_AVERAGE | HWMON_P_AVERAGE_INTERVAL | power 160 drivers/hwmon/ltc4215.c const unsigned int power = abs(output_voltage * curr); power 162 drivers/hwmon/ltc4215.c return snprintf(buf, PAGE_SIZE, "%u\n", power); power 409 drivers/hwmon/ltc4245.c HWMON_CHANNEL_INFO(power, power 375 drivers/hwmon/occ/common.c struct power_sensor_1 *power; power 384 drivers/hwmon/occ/common.c power = ((struct power_sensor_1 *)sensors->power.data) + sattr->index; power 388 drivers/hwmon/occ/common.c val = get_unaligned_be16(&power->sensor_id); power 391 drivers/hwmon/occ/common.c val = get_unaligned_be32(&power->accumulator) / power 392 drivers/hwmon/occ/common.c get_unaligned_be32(&power->update_tag); power 396 drivers/hwmon/occ/common.c val = (u64)get_unaligned_be32(&power->update_tag) * power 400 drivers/hwmon/occ/common.c val = get_unaligned_be16(&power->value) * 1000000ULL; power 422 drivers/hwmon/occ/common.c struct power_sensor_2 *power; power 431 drivers/hwmon/occ/common.c power = ((struct power_sensor_2 *)sensors->power.data) + sattr->index; power 436 drivers/hwmon/occ/common.c get_unaligned_be32(&power->sensor_id), power 437 drivers/hwmon/occ/common.c power->function_id, power->apss_channel); power 439 drivers/hwmon/occ/common.c val = occ_get_powr_avg(&power->accumulator, power 440 drivers/hwmon/occ/common.c &power->update_tag); power 443 drivers/hwmon/occ/common.c val = (u64)get_unaligned_be32(&power->update_tag) * power 447 drivers/hwmon/occ/common.c val = get_unaligned_be16(&power->value) * 1000000ULL; power 461 drivers/hwmon/occ/common.c struct power_sensor_a0 *power; power 470 drivers/hwmon/occ/common.c power = ((struct power_sensor_a0 *)sensors->power.data) + sattr->index; power 475 drivers/hwmon/occ/common.c get_unaligned_be32(&power->sensor_id)); power 477 drivers/hwmon/occ/common.c val = occ_get_powr_avg(&power->system.accumulator, power 478 drivers/hwmon/occ/common.c &power->system.update_tag); power 481 drivers/hwmon/occ/common.c val = (u64)get_unaligned_be32(&power->system.update_tag) * power 485 drivers/hwmon/occ/common.c val = get_unaligned_be16(&power->system.value) * 1000000ULL; power 489 drivers/hwmon/occ/common.c get_unaligned_be32(&power->sensor_id)); power 491 drivers/hwmon/occ/common.c val = occ_get_powr_avg(&power->proc.accumulator, power 492 drivers/hwmon/occ/common.c &power->proc.update_tag); power 495 drivers/hwmon/occ/common.c val = (u64)get_unaligned_be32(&power->proc.update_tag) * power 499 drivers/hwmon/occ/common.c val = get_unaligned_be16(&power->proc.value) * 1000000ULL; power 503 drivers/hwmon/occ/common.c get_unaligned_be32(&power->sensor_id)); power 505 drivers/hwmon/occ/common.c val = occ_get_powr_avg(&power->vdd.accumulator, power 506 drivers/hwmon/occ/common.c &power->vdd.update_tag); power 509 drivers/hwmon/occ/common.c val = (u64)get_unaligned_be32(&power->vdd.update_tag) * power 513 drivers/hwmon/occ/common.c val = get_unaligned_be16(&power->vdd.value) * 1000000ULL; power 517 drivers/hwmon/occ/common.c get_unaligned_be32(&power->sensor_id)); power 519 drivers/hwmon/occ/common.c val = occ_get_powr_avg(&power->vdn.accumulator, power 520 drivers/hwmon/occ/common.c &power->vdn.update_tag); power 523 drivers/hwmon/occ/common.c val = (u64)get_unaligned_be32(&power->vdn.update_tag) * power 527 drivers/hwmon/occ/common.c val = get_unaligned_be16(&power->vdn.value) * 1000000ULL; power 763 drivers/hwmon/occ/common.c switch (sensors->power.version) { power 768 drivers/hwmon/occ/common.c num_attrs += (sensors->power.num_sensors * 4); power 771 drivers/hwmon/occ/common.c num_attrs += (sensors->power.num_sensors * 16); power 775 drivers/hwmon/occ/common.c sensors->power.num_sensors = 0; power 864 drivers/hwmon/occ/common.c if (sensors->power.version == 0xA0) { power 869 drivers/hwmon/occ/common.c for (i = 0; i < sensors->power.num_sensors; ++i) { power 908 drivers/hwmon/occ/common.c s = (sensors->power.num_sensors * 4) + 1; power 910 drivers/hwmon/occ/common.c for (i = 0; i < sensors->power.num_sensors; ++i) { power 938 drivers/hwmon/occ/common.c s = sensors->power.num_sensors + 1; power 1054 drivers/hwmon/occ/common.c sensor = &sensors->power; power 77 drivers/hwmon/occ/common.h struct occ_sensor power; power 225 drivers/i2c/i2c-core-acpi.c adev->power.flags.ignore_parent = true; power 229 drivers/i2c/i2c-core-acpi.c adev->power.flags.ignore_parent = false; power 1223 drivers/ide/pmac.c if (mesg.event != mdev->ofdev.dev.power.power_state.event power 1227 drivers/ide/pmac.c mdev->ofdev.dev.power.power_state = mesg; power 1239 drivers/ide/pmac.c if (mdev->ofdev.dev.power.power_state.event != PM_EVENT_ON) { power 1242 drivers/ide/pmac.c mdev->ofdev.dev.power.power_state = PMSG_ON; power 1326 drivers/ide/pmac.c if (mesg.event != pdev->dev.power.power_state.event power 1330 drivers/ide/pmac.c pdev->dev.power.power_state = mesg; power 1342 drivers/ide/pmac.c if (pdev->dev.power.power_state.event != PM_EVENT_ON) { power 1345 drivers/ide/pmac.c pdev->dev.power.power_state = PMSG_ON; power 66 drivers/iio/dac/ti-dac7311.c static int ti_dac_cmd(struct ti_dac_chip *ti_dac, u8 power, u16 val) power 71 drivers/iio/dac/ti-dac7311.c ti_dac->buf[1] = (power << 6) | (val >> (8 - shift)); power 123 drivers/iio/dac/ti-dac7311.c u8 power; power 130 drivers/iio/dac/ti-dac7311.c power = ti_dac_get_power(ti_dac, powerdown); power 133 drivers/iio/dac/ti-dac7311.c ret = ti_dac_cmd(ti_dac, power, 0); power 196 drivers/iio/dac/ti-dac7311.c u8 power = ti_dac_get_power(ti_dac, ti_dac->powerdown); power 211 drivers/iio/dac/ti-dac7311.c ret = ti_dac_cmd(ti_dac, power, val); power 911 drivers/input/mouse/cyapa_gen3.c u8 power; power 938 drivers/input/mouse/cyapa_gen3.c power = ret; power 939 drivers/input/mouse/cyapa_gen3.c power &= ~PWR_MODE_MASK; power 940 drivers/input/mouse/cyapa_gen3.c power |= power_mode & PWR_MODE_MASK; power 943 drivers/input/mouse/cyapa_gen3.c ret = cyapa_write_byte(cyapa, CYAPA_CMD_POWER_MODE, power); power 761 drivers/input/mouse/hgpk.c if (psmouse->ps2dev.serio->dev.power.power_state.event != power 1534 drivers/input/touchscreen/cyttsp4_core.c if (cd->cpdata->power) { power 1536 drivers/input/touchscreen/cyttsp4_core.c rc = cd->cpdata->power(cd->cpdata, 0, cd->dev, &cd->ignore_irq); power 1774 drivers/input/touchscreen/cyttsp4_core.c if (cd->cpdata->power) { power 1776 drivers/input/touchscreen/cyttsp4_core.c rc = cd->cpdata->power(cd->cpdata, 1, dev, &cd->ignore_irq); power 123 drivers/input/touchscreen/wm97xx-core.c u16 power = 0; power 134 drivers/input/touchscreen/wm97xx-core.c (power = wm97xx_reg_read(wm, AC97_EXTENDED_MID)) & 0x8000) { power 136 drivers/input/touchscreen/wm97xx-core.c wm97xx_reg_write(wm, AC97_EXTENDED_MID, power & 0x7fff); power 149 drivers/input/touchscreen/wm97xx-core.c wm97xx_reg_write(wm, AC97_EXTENDED_MID, power | 0x8000); power 48 drivers/macintosh/mediabay.c void (*power)(struct media_bay_info *bay, int on_off); power 336 drivers/macintosh/mediabay.c bay->ops->power(bay, 1); power 341 drivers/macintosh/mediabay.c bay->ops->power(bay, 0); power 619 drivers/macintosh/mediabay.c if (state.event != mdev->ofdev.dev.power.power_state.event power 626 drivers/macintosh/mediabay.c mdev->ofdev.dev.power.power_state = state; power 635 drivers/macintosh/mediabay.c if (mdev->ofdev.dev.power.power_state.event != PM_EVENT_ON) { power 636 drivers/macintosh/mediabay.c mdev->ofdev.dev.power.power_state = PMSG_ON; power 672 drivers/macintosh/mediabay.c .power = ohare_mb_power, power 681 drivers/macintosh/mediabay.c .power = heathrow_mb_power, power 691 drivers/macintosh/mediabay.c .power = keylargo_mb_power, power 78 drivers/macintosh/via-pmu-backlight.c if (bd->props.power != FB_BLANK_UNBLANK || power 186 drivers/macintosh/via-pmu-backlight.c bd->props.power = FB_BLANK_UNBLANK; power 84 drivers/macintosh/windfarm_pid.h extern s32 wf_cpu_pid_run(struct wf_cpu_pid_state *st, s32 power, s32 temp); power 265 drivers/macintosh/windfarm_pm112.c s32 temp, power, t_max = 0; power 290 drivers/macintosh/windfarm_pm112.c err = sr->ops->get_value(sr, &power); power 302 drivers/macintosh/windfarm_pm112.c t = wf_cpu_pid_run(sp, power, temp); power 309 drivers/macintosh/windfarm_pm112.c cpu, FIX32TOPRINT(power), FIX32TOPRINT(temp)); power 454 drivers/macintosh/windfarm_pm112.c s32 power; power 467 drivers/macintosh/windfarm_pm112.c err = slots_power->ops->get_value(slots_power, &power); power 475 drivers/macintosh/windfarm_pm112.c speed = wf_pid_run(&slots_pid, power); power 477 drivers/macintosh/windfarm_pm112.c FIX32TOPRINT(power), speed); power 720 drivers/macintosh/windfarm_pm121.c s32 new_setpoint, temp, power; power 741 drivers/macintosh/windfarm_pm121.c rc = sensor_cpu_power->ops->get_value(sensor_cpu_power, &power); power 750 drivers/macintosh/windfarm_pm121.c FIX32TOPRINT(temp), FIX32TOPRINT(power)); power 755 drivers/macintosh/windfarm_pm121.c new_setpoint = wf_cpu_pid_run(&st->pid, power, temp); power 208 drivers/macintosh/windfarm_pm72.c static int read_one_cpu_vals(int cpu, s32 *temp, s32 *power) power 243 drivers/macintosh/windfarm_pm72.c *power = (((u64)volts) * ((u64)amps)) >> 16; power 245 drivers/macintosh/windfarm_pm72.c DBG_LOTS(" CPU%d: power = %d.%03d\n", cpu, FIX32TOPRINT((*power))); power 254 drivers/macintosh/windfarm_pm72.c s32 intake, temp, power, t_max = 0; power 266 drivers/macintosh/windfarm_pm72.c err = read_one_cpu_vals(cpu, &temp, &power); power 281 drivers/macintosh/windfarm_pm72.c wf_cpu_pid_run(sp, power, temp); power 310 drivers/macintosh/windfarm_pm72.c s32 temp, power, intake, pump; power 345 drivers/macintosh/windfarm_pm72.c power = max(power0, power1); power 348 drivers/macintosh/windfarm_pm72.c wf_cpu_pid_run(sp, power, temp); power 474 drivers/macintosh/windfarm_pm81.c s32 new_setpoint, temp, power, systarget; power 492 drivers/macintosh/windfarm_pm81.c rc = wf_sensor_get(sensor_cpu_power, &power); power 501 drivers/macintosh/windfarm_pm81.c FIX32TOPRINT(temp), FIX32TOPRINT(power)); power 510 drivers/macintosh/windfarm_pm81.c new_setpoint = wf_cpu_pid_run(&st->pid, power, temp); power 220 drivers/macintosh/windfarm_pm91.c s32 new_setpoint, temp, power; power 238 drivers/macintosh/windfarm_pm91.c rc = wf_sensor_get(sensor_cpu_power, &power); power 247 drivers/macintosh/windfarm_pm91.c FIX32TOPRINT(temp), FIX32TOPRINT(power)); power 256 drivers/macintosh/windfarm_pm91.c new_setpoint = wf_cpu_pid_run(&st->pid, power, temp); power 410 drivers/macintosh/windfarm_pm91.c s32 new_setpoint, power; power 420 drivers/macintosh/windfarm_pm91.c rc = wf_sensor_get(sensor_slots_power, &power); power 429 drivers/macintosh/windfarm_pm91.c FIX32TOPRINT(power)); power 432 drivers/macintosh/windfarm_pm91.c if (power > (st->pid.param.itarget + 0x50000)) power 436 drivers/macintosh/windfarm_pm91.c new_setpoint = wf_pid_run(&st->pid, power); power 202 drivers/macintosh/windfarm_rm31.c static int read_one_cpu_vals(int cpu, s32 *temp, s32 *power) power 237 drivers/macintosh/windfarm_rm31.c *power = (((u64)volts) * ((u64)amps)) >> 16; power 239 drivers/macintosh/windfarm_rm31.c DBG_LOTS(" CPU%d: power = %d.%03d\n", cpu, FIX32TOPRINT((*power))); power 248 drivers/macintosh/windfarm_rm31.c s32 speed, temp, power, t_max = 0; power 258 drivers/macintosh/windfarm_rm31.c err = read_one_cpu_vals(cpu, &temp, &power); power 273 drivers/macintosh/windfarm_rm31.c wf_cpu_pid_run(sp, power, temp); power 298 drivers/macintosh/windfarm_smu_sensors.c s32 volts, amps, power; power 315 drivers/macintosh/windfarm_smu_sensors.c power = (s32)((((u64)volts) * ((u64)amps)) >> 16); power 317 drivers/macintosh/windfarm_smu_sensors.c *value = power; power 320 drivers/macintosh/windfarm_smu_sensors.c tmps = (((u64)power) * ((u64)power)) >> 16; power 322 drivers/macintosh/windfarm_smu_sensors.c tmpb = ((u64)cpuvcp->power_quads[1]) * ((u64)power); power 781 drivers/media/common/siano/smsdvb-main.c s32 power = (s32) c->strength.stat[0].uvalue; power 788 drivers/media/common/siano/smsdvb-main.c if (power < -95) power 790 drivers/media/common/siano/smsdvb-main.c else if (power > -29) power 793 drivers/media/common/siano/smsdvb-main.c *strength = (power + 95) * 65535 / 66; power 2787 drivers/media/dvb-frontends/stv0367.c int power; power 2789 drivers/media/dvb-frontends/stv0367.c power = stv0367cab_snr_power(fe); power 2793 drivers/media/dvb-frontends/stv0367.c temp = power power 1358 drivers/media/dvb-frontends/stv0910.c s32 padc, power = 0; power 1367 drivers/media/dvb-frontends/stv0910.c power += (u32)reg[0] * (u32)reg[0] power 1371 drivers/media/dvb-frontends/stv0910.c power /= 5; power 1373 drivers/media/dvb-frontends/stv0910.c padc = table_lookup(padc_lookup, ARRAY_SIZE(padc_lookup), power) + 352; power 300 drivers/media/i2c/adp1653.c if (flash->platform_data->power) { power 301 drivers/media/i2c/adp1653.c ret = flash->platform_data->power(&flash->subdev, on); power 318 drivers/media/i2c/adp1653.c if (flash->platform_data->power) power 319 drivers/media/i2c/adp1653.c flash->platform_data->power(&flash->subdev, 0); power 235 drivers/media/i2c/m5mols/m5mols.h unsigned int power:1; power 755 drivers/media/i2c/m5mols/m5mols_core.c if (info->power == enable) power 772 drivers/media/i2c/m5mols/m5mols_core.c info->power = 1; power 787 drivers/media/i2c/m5mols/m5mols_core.c info->power = 0; power 145 drivers/media/i2c/noon010pc30.c unsigned int power:1; power 391 drivers/media/i2c/noon010pc30.c if (info->power) { power 421 drivers/media/i2c/noon010pc30.c info->power = 1; power 432 drivers/media/i2c/noon010pc30.c if (!info->power) { power 447 drivers/media/i2c/noon010pc30.c info->power = 0; power 469 drivers/media/i2c/noon010pc30.c if (!info->power) power 276 drivers/media/i2c/ov9650.c int power; power 539 drivers/media/i2c/ov9650.c if (ov965x->power == !on) { power 549 drivers/media/i2c/ov9650.c ov965x->power += on ? 1 : -1; power 551 drivers/media/i2c/ov9650.c WARN_ON(ov965x->power < 0); power 863 drivers/media/i2c/ov9650.c if (!ov965x->power) power 924 drivers/media/i2c/ov9650.c ctrl->name, ctrl->val, ov965x->power); power 931 drivers/media/i2c/ov9650.c if (ov965x->power == 0) { power 1308 drivers/media/i2c/s5c73m3/s5c73m3-core.c v4l2_info(sd, "power: %d, apply_fmt: %d\n", state->power, power 1441 drivers/media/i2c/s5c73m3/s5c73m3-core.c if (on && !state->power) { power 1449 drivers/media/i2c/s5c73m3/s5c73m3-core.c } else if (state->power == !on) { power 1457 drivers/media/i2c/s5c73m3/s5c73m3-core.c state->power += on ? 1 : -1; power 1460 drivers/media/i2c/s5c73m3/s5c73m3-core.c __func__, state->power); power 66 drivers/media/i2c/s5c73m3/s5c73m3-ctrls.c if (state->power == 0) power 352 drivers/media/i2c/s5c73m3/s5c73m3-ctrls.c if (state->power == 0) power 412 drivers/media/i2c/s5c73m3/s5c73m3.h short power; power 327 drivers/media/i2c/s5k5baf.c unsigned int power; power 1054 drivers/media/i2c/s5k5baf.c if (state->power != !on) power 1080 drivers/media/i2c/s5k5baf.c state->power++; power 1083 drivers/media/i2c/s5k5baf.c state->power--; power 1558 drivers/media/i2c/s5k5baf.c if (state->power == 0) power 262 drivers/media/i2c/s5k6aa.c unsigned int power; power 879 drivers/media/i2c/s5k6aa.c if (s5k6aa->power == !on) { power 889 drivers/media/i2c/s5k6aa.c s5k6aa->power += on ? 1 : -1; power 894 drivers/media/i2c/s5k6aa.c if (!on || ret || s5k6aa->power != 1) power 1265 drivers/media/i2c/s5k6aa.c if (s5k6aa->power == 0) power 74 drivers/media/pci/mantis/hopper_vp3028.c .power = GPIF_A00, power 88 drivers/media/pci/mantis/mantis_common.h u8 power; power 31 drivers/media/pci/mantis/mantis_dvb.c int mantis_frontend_power(struct mantis_pci *mantis, enum mantis_power power) power 35 drivers/media/pci/mantis/mantis_dvb.c switch (power) { power 38 drivers/media/pci/mantis/mantis_dvb.c mantis_gpio_set_bits(mantis, config->power, POWER_ON); power 40 drivers/media/pci/mantis/mantis_dvb.c mantis_gpio_set_bits(mantis, config->power, POWER_ON); power 46 drivers/media/pci/mantis/mantis_dvb.c mantis_gpio_set_bits(mantis, config->power, POWER_OFF); power 51 drivers/media/pci/mantis/mantis_dvb.c dprintk(MANTIS_DEBUG, 1, "Unknown state <%02x>", power); power 17 drivers/media/pci/mantis/mantis_dvb.h extern int mantis_frontend_power(struct mantis_pci *mantis, enum mantis_power power); power 198 drivers/media/pci/mantis/mantis_vp1033.c .power = GPIF_A12, power 106 drivers/media/pci/mantis/mantis_vp1034.c .power = GPIF_A12, power 343 drivers/media/pci/mantis/mantis_vp1041.c .power = GPIF_A12, power 174 drivers/media/pci/mantis/mantis_vp2033.c .power = GPIF_A12, power 173 drivers/media/pci/mantis/mantis_vp2040.c .power = GPIF_A12, power 89 drivers/media/pci/mantis/mantis_vp3030.c .power = GPIF_A12, power 84 drivers/media/pci/pt1/pt1.c int power; power 747 drivers/media/pci/pt1/pt1.c bits = pt1->power | !pt1->reset << 3; power 1224 drivers/media/pci/pt1/pt1.c pt1->power = 0; power 1236 drivers/media/pci/pt1/pt1.c pt1->power = 0; power 1267 drivers/media/pci/pt1/pt1.c pt1->power = 1; power 1323 drivers/media/pci/pt1/pt1.c pt1->power = 0; power 1380 drivers/media/pci/pt1/pt1.c pt1->power = 0; power 1421 drivers/media/pci/pt1/pt1.c pt1->power = 1; power 1443 drivers/media/pci/pt1/pt1.c pt1->power = 0; power 128 drivers/media/platform/omap3isp/ispcsiphy.c static int csiphy_set_power(struct isp_csiphy *phy, u32 power) power 134 drivers/media/platform/omap3isp/ispcsiphy.c ISPCSI2_PHY_CFG_PWR_CMD_MASK, power); power 142 drivers/media/platform/omap3isp/ispcsiphy.c if (reg != power >> 2) power 145 drivers/media/platform/omap3isp/ispcsiphy.c } while ((reg != power >> 2) && (retry_count < 100)); power 768 drivers/media/platform/rcar-vin/rcar-v4l2.c int power = on ? 1 : 0; power 771 drivers/media/platform/rcar-vin/rcar-v4l2.c ret = v4l2_subdev_call(sd, core, s_power, power); power 63 drivers/media/radio/radio-maxiradio.c static const int clk = 1, data = 2, wren = 4, mo_st = 8, power = 16; power 92 drivers/media/radio/radio-maxiradio.c bits |= power; power 1319 drivers/media/radio/radio-wl1273.c static int wl1273_fm_set_tx_power(struct wl1273_device *radio, u16 power) power 1331 drivers/media/radio/radio-wl1273.c r = core->write(core, WL1273_POWER_LEV_SET, 122 - power); power 1335 drivers/media/radio/radio-wl1273.c radio->tx_power = power; power 582 drivers/media/radio/si4713/si4713.c static int si4713_tx_tune_power(struct si4713_device *sdev, u8 power, power 596 drivers/media/radio/si4713/si4713.c power, power 601 drivers/media/radio/si4713/si4713.c if (power > 0 && power < SI4713_MIN_POWER) power 602 drivers/media/radio/si4713/si4713.c args[2] = power = SI4713_MIN_POWER; power 613 drivers/media/radio/si4713/si4713.c __func__, power, antcap, val[0]); power 682 drivers/media/radio/si4713/si4713.c u16 *frequency, u8 *power, power 703 drivers/media/radio/si4713/si4713.c *power = val[5]; power 708 drivers/media/radio/si4713/si4713.c __func__, *frequency, *power, *antcap, *noise); power 344 drivers/media/tuners/fc0012.c int int_temp, lna_gain, int_lna, tot_agc_gain, power; power 381 drivers/media/tuners/fc0012.c power = INPUT_ADC_LEVEL - tot_agc_gain - int_lna / 10; power 383 drivers/media/tuners/fc0012.c if (power >= 45) power 385 drivers/media/tuners/fc0012.c else if (power < -95) power 388 drivers/media/tuners/fc0012.c *strength = (power + 95) * 255 / 140; power 503 drivers/media/tuners/fc0013.c int int_temp, lna_gain, int_lna, tot_agc_gain, power; power 540 drivers/media/tuners/fc0013.c power = INPUT_ADC_LEVEL - tot_agc_gain - int_lna / 10; power 542 drivers/media/tuners/fc0013.c if (power >= 45) power 544 drivers/media/tuners/fc0013.c else if (power < -95) power 547 drivers/media/tuners/fc0013.c *strength = (power + 95) * 255 / 140; power 332 drivers/media/usb/dvb-usb-v2/gl861.c u8 power = (power_on) ? FRIIO_CTL_LNB : 0; power 345 drivers/media/usb/dvb-usb-v2/gl861.c buf[1] = power | FRIIO_CTL_LED | FRIIO_CTL_STROBE; power 350 drivers/media/usb/dvb-usb-v2/gl861.c buf[1] = power | FRIIO_CTL_STROBE; power 358 drivers/media/usb/dvb-usb-v2/gl861.c buf[1] = power | FRIIO_CTL_STROBE; power 368 drivers/media/usb/dvb-usb-v2/gl861.c buf[1] = power; power 474 drivers/media/usb/pwc/pwc-ctrl.c void pwc_camera_power(struct pwc_device *pdev, int power) power 484 drivers/media/usb/pwc/pwc-ctrl.c if (power) power 492 drivers/media/usb/pwc/pwc-ctrl.c power ? "on" : "off", r); power 375 drivers/media/usb/pwc/pwc.h extern void pwc_camera_power(struct pwc_device *pdev, int power); power 1555 drivers/media/usb/usbvision/usbvision-core.c usbvision->power = 0; power 2131 drivers/media/usb/usbvision/usbvision-core.c usbvision->power = 1; power 381 drivers/media/usb/usbvision/usbvision.h int power; /* is the device powered on? */ power 916 drivers/mfd/88pm860x-core.c power_devs[0].platform_data = pdata->power; power 925 drivers/mfd/88pm860x-core.c power_devs[1].platform_data = pdata->power; power 198 drivers/mfd/intel-lpss.c lpss->dev->power.set_latency_tolerance = intel_lpss_ltr_set; power 205 drivers/mfd/intel-lpss.c lpss->dev->power.set_latency_tolerance = NULL; power 840 drivers/mfd/max8925-core.c if (pdata && (pdata->power || pdata->touch)) { power 336 drivers/mfd/menelaus.c int menelaus_set_mmc_slot(int slot, int enable, int power, int cd_en) power 342 drivers/mfd/menelaus.c if (power >= 3) power 384 drivers/mfd/menelaus.c b |= power; power 951 drivers/mfd/twl-core.c if (IS_ENABLED(CONFIG_TWL4030_POWER) && pdata->power) { power 953 drivers/mfd/twl-core.c pdata->power, sizeof(*pdata->power), false, power 334 drivers/mfd/wm8350-core.c wm8350->power.rev_g_coeff = 1; power 338 drivers/mfd/wm8350-core.c wm8350->power.rev_g_coeff = 1; power 355 drivers/mfd/wm8350-core.c wm8350->power.rev_g_coeff = 1; power 360 drivers/mfd/wm8350-core.c wm8350->power.rev_g_coeff = 1; power 377 drivers/mfd/wm8350-core.c wm8350->power.rev_g_coeff = 1; power 429 drivers/mfd/wm8350-core.c &(wm8350->power.pdev)); power 496 drivers/mmc/host/moxart-mmc.c u8 power, div; power 518 drivers/mmc/host/moxart-mmc.c power = 0; power 520 drivers/mmc/host/moxart-mmc.c power = ios->vdd - MIN_POWER; power 522 drivers/mmc/host/moxart-mmc.c writel(SD_POWER_ON | (u32) power, power 63 drivers/mmc/host/pxamci.c struct gpio_desc *power; power 106 drivers/mmc/host/pxamci.c if (host->power) { power 108 drivers/mmc/host/pxamci.c gpiod_set_value(host->power, on); power 730 drivers/mmc/host/pxamci.c host->power = devm_gpiod_get_optional(dev, "power", GPIOD_OUT_LOW); power 731 drivers/mmc/host/pxamci.c if (IS_ERR(host->power)) { power 757 drivers/mmc/host/pxamci.c if (host->power && host->pdata->setpower) power 239 drivers/mmc/host/sh_mmcif.c bool power; power 1042 drivers/mmc/host/sh_mmcif.c if (!host->power) { power 1047 drivers/mmc/host/sh_mmcif.c host->power = true; power 1053 drivers/mmc/host/sh_mmcif.c if (host->power) { power 1058 drivers/mmc/host/sh_mmcif.c host->power = false; power 1455 drivers/mmc/host/sh_mmcif.c host->power = false; power 314 drivers/mmc/host/via-sdmmc.c u8 power; power 689 drivers/mmc/host/via-sdmmc.c unsigned short power, unsigned int on) power 696 drivers/mmc/host/via-sdmmc.c host->power = (1 << power); power 699 drivers/mmc/host/via-sdmmc.c if (host->power == MMC_VDD_165_195) power 811 drivers/mmc/host/via-sdmmc.c if (host->power == MMC_VDD_165_195) power 1122 drivers/mmc/host/via-sdmmc.c sdhost->power = MMC_VDD_165_195; power 1280 drivers/mmc/host/via-sdmmc.c if (sdhost->power == MMC_VDD_165_195) power 122 drivers/net/can/m_can/tcan4x5x.c struct regulator *power; power 390 drivers/net/can/m_can/tcan4x5x.c tcan4x5x->power = devm_regulator_get_optional(cdev->dev, power 392 drivers/net/can/m_can/tcan4x5x.c if (PTR_ERR(tcan4x5x->power) == -EPROBE_DEFER) power 471 drivers/net/can/m_can/tcan4x5x.c tcan4x5x_power_enable(priv->power, 1); power 485 drivers/net/can/m_can/tcan4x5x.c tcan4x5x_power_enable(priv->power, 0); power 500 drivers/net/can/m_can/tcan4x5x.c tcan4x5x_power_enable(priv->power, 0); power 169 drivers/net/can/spi/hi311x.c struct regulator *power; power 888 drivers/net/can/spi/hi311x.c priv->power = devm_regulator_get_optional(&spi->dev, "vdd"); power 890 drivers/net/can/spi/hi311x.c if ((PTR_ERR(priv->power) == -EPROBE_DEFER) || power 896 drivers/net/can/spi/hi311x.c ret = hi3110_power_enable(priv->power, 1); power 938 drivers/net/can/spi/hi311x.c hi3110_power_enable(priv->power, 0); power 958 drivers/net/can/spi/hi311x.c hi3110_power_enable(priv->power, 0); power 990 drivers/net/can/spi/hi311x.c if (!IS_ERR_OR_NULL(priv->power)) { power 991 drivers/net/can/spi/hi311x.c regulator_disable(priv->power); power 1004 drivers/net/can/spi/hi311x.c hi3110_power_enable(priv->power, 1); power 226 drivers/net/can/spi/mcp251x.c struct regulator *power; power 1044 drivers/net/can/spi/mcp251x.c priv->power = devm_regulator_get_optional(&spi->dev, "vdd"); power 1046 drivers/net/can/spi/mcp251x.c if ((PTR_ERR(priv->power) == -EPROBE_DEFER) || power 1052 drivers/net/can/spi/mcp251x.c ret = mcp251x_power_enable(priv->power, 1); power 1096 drivers/net/can/spi/mcp251x.c mcp251x_power_enable(priv->power, 0); power 1115 drivers/net/can/spi/mcp251x.c mcp251x_power_enable(priv->power, 0); power 1145 drivers/net/can/spi/mcp251x.c mcp251x_power_enable(priv->power, 0); power 1157 drivers/net/can/spi/mcp251x.c mcp251x_power_enable(priv->power, 1); power 7916 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c u8 power) power 7930 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c power, pin_cfg); power 7934 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c bnx2x_set_cfg_pin(bp, pin_cfg, power ^ 1); power 8603 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c u8 power) power 8606 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c DP(NETIF_MSG_LINK, "Setting SFP+ power to %x\n", power); power 8611 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c bnx2x_8727_power_module(params->bp, phy, power); power 8614 drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c bnx2x_warpcore_power_module(params, power); power 1431 drivers/net/ethernet/davicom/dm9000.c struct regulator *power; power 1434 drivers/net/ethernet/davicom/dm9000.c power = devm_regulator_get(dev, "vcc"); power 1435 drivers/net/ethernet/davicom/dm9000.c if (IS_ERR(power)) { power 1436 drivers/net/ethernet/davicom/dm9000.c if (PTR_ERR(power) == -EPROBE_DEFER) power 1440 drivers/net/ethernet/davicom/dm9000.c ret = regulator_enable(power); power 131 drivers/net/ethernet/stmicro/stmmac/dwmac-stm32.c if (!dwmac->dev->power.is_suspended) { power 703 drivers/net/ieee802154/cc2520.c u8 power; power 707 drivers/net/ieee802154/cc2520.c power = 0xF7; power 710 drivers/net/ieee802154/cc2520.c power = 0xF2; power 713 drivers/net/ieee802154/cc2520.c power = 0xAB; power 716 drivers/net/ieee802154/cc2520.c power = 0x13; power 719 drivers/net/ieee802154/cc2520.c power = 0x32; power 722 drivers/net/ieee802154/cc2520.c power = 0x81; power 725 drivers/net/ieee802154/cc2520.c power = 0x88; power 728 drivers/net/ieee802154/cc2520.c power = 0x2C; power 731 drivers/net/ieee802154/cc2520.c power = 0x03; power 737 drivers/net/ieee802154/cc2520.c return cc2520_write_register(priv, CC2520_TXPOWER, power); power 743 drivers/net/ieee802154/cc2520.c u8 power; power 747 drivers/net/ieee802154/cc2520.c power = 0xF9; power 750 drivers/net/ieee802154/cc2520.c power = 0xF0; power 753 drivers/net/ieee802154/cc2520.c power = 0xA0; power 756 drivers/net/ieee802154/cc2520.c power = 0x2C; power 759 drivers/net/ieee802154/cc2520.c power = 0x03; power 762 drivers/net/ieee802154/cc2520.c power = 0x01; power 768 drivers/net/ieee802154/cc2520.c return cc2520_write_register(priv, CC2520_TXPOWER, power); power 1380 drivers/net/phy/sfp.c u32 power; power 1384 drivers/net/phy/sfp.c power = 1000; power 1386 drivers/net/phy/sfp.c power = 1500; power 1388 drivers/net/phy/sfp.c power = 2000; power 1397 drivers/net/phy/sfp.c if (power > sfp->max_power_mW) { power 1400 drivers/net/phy/sfp.c power / 1000, (power / 100) % 10); power 1406 drivers/net/phy/sfp.c if (power > sfp->max_power_mW) { power 1409 drivers/net/phy/sfp.c power / 1000, (power / 100) % 10); power 1413 drivers/net/phy/sfp.c if (power <= 1000) power 1433 drivers/net/phy/sfp.c power / 1000, (power / 100) % 10); power 6428 drivers/net/wireless/ath/ath10k/mac.c txpwr = sta->txpwr.power; power 74 drivers/net/wireless/ath/ath9k/ar9003_paprd.c unsigned int power, scale, delta; power 80 drivers/net/wireless/ath/ath9k/ar9003_paprd.c power = ah->paprd_target_power + 2; power 82 drivers/net/wireless/ath/ath9k/ar9003_paprd.c power = 25; power 84 drivers/net/wireless/ath/ath9k/ar9003_paprd.c power = REG_READ_FIELD(ah, AR_PHY_POWERTX_RATE5, power 87 drivers/net/wireless/ath/ath9k/ar9003_paprd.c delta = abs((int) ah->paprd_target_power - (int) power); power 92 drivers/net/wireless/ath/ath9k/ar9003_paprd.c power -= 4 - delta; power 95 drivers/net/wireless/ath/ath9k/ar9003_paprd.c return power; power 102 drivers/net/wireless/ath/ath9k/ar9003_paprd.c unsigned int power, scale, delta; power 107 drivers/net/wireless/ath/ath9k/ar9003_paprd.c power = REG_READ_FIELD(ah, AR_PHY_POWERTX_RATE8, power 110 drivers/net/wireless/ath/ath9k/ar9003_paprd.c power = REG_READ_FIELD(ah, AR_PHY_POWERTX_RATE6, power 113 drivers/net/wireless/ath/ath9k/ar9003_paprd.c power += scale; power 114 drivers/net/wireless/ath/ath9k/ar9003_paprd.c delta = abs((int) ah->paprd_target_power - (int) power); power 134 drivers/net/wireless/ath/ath9k/ar9003_paprd.c power += delta; power 135 drivers/net/wireless/ath/ath9k/ar9003_paprd.c return power; power 97 drivers/net/wireless/ath/ath9k/hw-ops.h static inline void ath9k_hw_tx99_set_txpower(struct ath_hw *ah, u8 power) power 100 drivers/net/wireless/ath/ath9k/hw-ops.h ath9k_hw_ops(ah)->tx99_set_txpower(ah, power); power 747 drivers/net/wireless/ath/ath9k/hw.h void (*tx99_set_txpower)(struct ath_hw *ah, u8 power); power 1197 drivers/net/wireless/ath/ath9k/main.c int *power = data; power 1199 drivers/net/wireless/ath/ath9k/main.c if (*power < vif->bss_conf.txpower) power 1200 drivers/net/wireless/ath/ath9k/main.c *power = vif->bss_conf.txpower; power 1206 drivers/net/wireless/ath/ath9k/main.c int power; power 1212 drivers/net/wireless/ath/ath9k/main.c power = (vif) ? vif->bss_conf.txpower : -1; power 1215 drivers/net/wireless/ath/ath9k/main.c ath9k_tpc_vif_iter, &power); power 1216 drivers/net/wireless/ath/ath9k/main.c if (power == -1) power 1217 drivers/net/wireless/ath/ath9k/main.c power = sc->hw->conf.power_level; power 1219 drivers/net/wireless/ath/ath9k/main.c power = sc->hw->conf.power_level; power 1221 drivers/net/wireless/ath/ath9k/main.c sc->cur_chan->txpower = 2 * power; power 103 drivers/net/wireless/ath/carl9170/eeprom.h u8 power[4]; power 108 drivers/net/wireless/ath/carl9170/eeprom.h u8 power[8]; power 507 drivers/net/wireless/ath/carl9170/mac.c unsigned int power, chains; power 516 drivers/net/wireless/ath/carl9170/mac.c power = ar->power_2G_ofdm[0] & 0x3f; power 519 drivers/net/wireless/ath/carl9170/mac.c power = ar->power_5G_leg[0] & 0x3f; power 525 drivers/net/wireless/ath/carl9170/mac.c power = min_t(unsigned int, power, ar->hw->conf.power_level * 2); power 529 drivers/net/wireless/ath/carl9170/mac.c 0x3c1e | power << 20 | chains << 26); power 531 drivers/net/wireless/ath/carl9170/mac.c power << 5 | chains << 11 | power 532 drivers/net/wireless/ath/carl9170/mac.c power << 21 | chains << 27); power 534 drivers/net/wireless/ath/carl9170/mac.c power << 5 | chains << 11 | power 535 drivers/net/wireless/ath/carl9170/mac.c power << 21 | chains << 27); power 1479 drivers/net/wireless/ath/carl9170/phy.c ctpl[idx + 0].freq, ctpl[idx + 0].power[n], power 1480 drivers/net/wireless/ath/carl9170/phy.c ctpl[idx + 1].freq, ctpl[idx + 1].power[n]); power 1519 drivers/net/wireless/ath/carl9170/phy.c ctph[idx + 0].freq, ctph[idx + 0].power[n], power 1520 drivers/net/wireless/ath/carl9170/phy.c ctph[idx + 1].freq, ctph[idx + 1].power[n]); power 768 drivers/net/wireless/ath/carl9170/tx.c unsigned int power = 0, chains = 0, phyrate = 0; power 817 drivers/net/wireless/ath/carl9170/tx.c &phyrate, &power, &chains); power 820 drivers/net/wireless/ath/carl9170/tx.c tmp |= cpu_to_le32(SET_CONSTVAL(AR9170_TX_PHY_TX_PWR, power)); power 1572 drivers/net/wireless/ath/carl9170/tx.c unsigned int power, chains; power 1578 drivers/net/wireless/ath/carl9170/tx.c carl9170_tx_rate_tpc_chains(ar, txinfo, rate, plcp, &power, &chains); power 1584 drivers/net/wireless/ath/carl9170/tx.c SET_VAL(AR9170_MAC_BCN_HT1_TPC, *ht1, power); power 3696 drivers/net/wireless/ath/wcn36xx/hal.h u8 power; power 3703 drivers/net/wireless/ath/wcn36xx/hal.h u8 power; power 5655 drivers/net/wireless/broadcom/b43/phy_n.c u32 power[3] = { }; power 5732 drivers/net/wireless/broadcom/b43/phy_n.c if (power[1] > 10000) { power 5737 drivers/net/wireless/broadcom/b43/phy_n.c if (power[0] > 10000) { power 5750 drivers/net/wireless/broadcom/b43/phy_n.c cur_hpf += desired - hweight32(power[index]); power 5786 drivers/net/wireless/broadcom/b43/phy_n.c power[i] = ((real + imag) / 1024) + 1; power 2027 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c wlc_phy_txpower_get_current(struct brcms_phy_pub *ppi, struct tx_power *power, power 2039 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c power->rf_cores = 2; power 2040 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c power->flags |= (WL_TX_POWER_F_MIMO); power 2042 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c power->flags |= power 2045 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c power->rf_cores = 1; power 2046 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c power->flags |= (WL_TX_POWER_F_SISO); power 2048 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c power->flags |= WL_TX_POWER_F_ENABLED; power 2050 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c power->flags |= WL_TX_POWER_F_HW; power 2058 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c power->user_limit[rate] = pi->tx_user_target[rate]; power 2061 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c power->board_limit[rate] = (u8) max_pwr; power 2062 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c power->target[rate] = pi->tx_power_target[rate]; power 2074 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c power->est_Pout[0] = (est_pout >> 8) & 0xff; power 2075 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c power->est_Pout[1] = est_pout & 0xff; power 2077 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c power->est_Pout_act[0] = est_pout >> 24; power 2078 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c power->est_Pout_act[1] = (est_pout >> 16) & 0xff; power 2080 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c if (power->est_Pout[0] == 0x80) power 2081 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c power->est_Pout[0] = 0; power 2082 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c if (power->est_Pout[1] == 0x80) power 2083 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c power->est_Pout[1] = 0; power 2085 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c if (power->est_Pout_act[0] == 0x80) power 2086 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c power->est_Pout_act[0] = 0; power 2087 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c if (power->est_Pout_act[1] == 0x80) power 2088 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c power->est_Pout_act[1] = 0; power 2090 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c power->est_Pout_cck = 0; power 2092 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c power->tx_power_max[0] = pi->tx_power_max; power 2093 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c power->tx_power_max[1] = pi->tx_power_max; power 2095 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c power->tx_power_max_rate_ind[0] = pi->tx_power_max_rate_ind; power 2096 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c power->tx_power_max_rate_ind[1] = pi->tx_power_max_rate_ind; power 2102 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c power->tx_power_max[0] = pi->tx_power_max; power 2103 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c power->tx_power_max[1] = pi->tx_power_max; power 2105 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c power->tx_power_max_rate_ind[0] = power 2107 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c power->tx_power_max_rate_ind[1] = power 2111 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c power->flags |= power 2115 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c power->flags &= power 2119 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c wlc_lcnphy_get_tssi(pi, (s8 *) &power->est_Pout[0], power 2120 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c (s8 *) &power->est_Pout_cck); power 254 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_hal.h struct tx_power *power, uint channel); power 977 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_int.h void wlc_phy_ofdm_to_mcs_powers_nphy(u8 *power, u8 rate_mcs_start, power 979 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_int.h void wlc_phy_mcs_to_ofdm_powers_nphy(u8 *power, u8 rate_ofdm_start, power 5160 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c u32 power; power 5171 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c power = (received_power * 16); power 5172 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c msb1 = ffs(power) - 1; power 5176 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c diff1 = (power - val1); power 5177 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c diff2 = (val2 - power); power 27908 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c wlc_phy_ofdm_to_mcs_powers_nphy(u8 *power, u8 rate_mcs_start, power 27915 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c power[rate1] = power[rate2]; power 27918 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c power[rate_mcs_end] = power[rate_mcs_end - 1]; power 27922 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c wlc_phy_mcs_to_ofdm_powers_nphy(u8 *power, u8 rate_ofdm_start, power 27929 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c power[rate1] = power[rate2]; power 27931 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c power[++rate1] = power[rate2]; power 90 drivers/net/wireless/broadcom/brcm80211/brcmsmac/stf.c struct tx_power power = { }; power 101 drivers/net/wireless/broadcom/brcm80211/brcmsmac/stf.c wlc_phy_txpower_get_current(wlc->band->pi, &power, power 117 drivers/net/wireless/broadcom/brcm80211/brcmsmac/stf.c if (power.target[siso_mcs_id] > (power.target[cdd_mcs_id] + 12)) power 127 drivers/net/wireless/broadcom/brcm80211/brcmsmac/stf.c if (power.target[siso_mcs_id] <= (power.target[stbc_mcs_id] + 12)) power 1235 drivers/net/wireless/cisco/airo.c pm_message_t power; power 2252 drivers/net/wireless/cisco/airo.c if (ai->power.event) { power 3129 drivers/net/wireless/cisco/airo.c if (ai->power.event || test_bit(FLAG_FLASHING, &ai->flags)) { power 5602 drivers/net/wireless/cisco/airo.c ai->power = state; power 5645 drivers/net/wireless/cisco/airo.c ai->power = PMSG_ON; power 7635 drivers/net/wireless/cisco/airo.c if (ai->power.event) power 7713 drivers/net/wireless/cisco/airo.c if (local->power.event) { power 7489 drivers/net/wireless/intel/ipw2x00/ipw2100.c if (wrqu->power.disabled) { power 7496 drivers/net/wireless/intel/ipw2x00/ipw2100.c switch (wrqu->power.flags & IW_POWER_MODE) { power 7503 drivers/net/wireless/intel/ipw2x00/ipw2100.c wrqu->power.flags); power 7532 drivers/net/wireless/intel/ipw2x00/ipw2100.c wrqu->power.disabled = 1; power 7534 drivers/net/wireless/intel/ipw2x00/ipw2100.c wrqu->power.disabled = 0; power 7535 drivers/net/wireless/intel/ipw2x00/ipw2100.c wrqu->power.flags = 0; power 2455 drivers/net/wireless/intel/ipw2x00/ipw2200.c static int ipw_send_tx_power(struct ipw_priv *priv, struct ipw_tx_power *power) power 2457 drivers/net/wireless/intel/ipw2x00/ipw2200.c if (!priv || !power) { power 2462 drivers/net/wireless/intel/ipw2x00/ipw2200.c return ipw_send_cmd_pdu(priv, IPW_CMD_TX_POWER, sizeof(*power), power); power 9115 drivers/net/wireless/intel/ipw2x00/ipw2200.c wrqu->power.disabled ? "OFF" : "ON", wrqu->power.value); power 9291 drivers/net/wireless/intel/ipw2x00/ipw2200.c if (ipw_radio_kill_sw(priv, wrqu->power.disabled)) { power 9296 drivers/net/wireless/intel/ipw2x00/ipw2200.c if (!wrqu->power.fixed) power 9297 drivers/net/wireless/intel/ipw2x00/ipw2200.c wrqu->power.value = IPW_TX_POWER_DEFAULT; power 9299 drivers/net/wireless/intel/ipw2x00/ipw2200.c if (wrqu->power.flags != IW_TXPOW_DBM) { power 9304 drivers/net/wireless/intel/ipw2x00/ipw2200.c if ((wrqu->power.value > IPW_TX_POWER_MAX) || power 9305 drivers/net/wireless/intel/ipw2x00/ipw2200.c (wrqu->power.value < IPW_TX_POWER_MIN)) { power 9310 drivers/net/wireless/intel/ipw2x00/ipw2200.c priv->tx_power = wrqu->power.value; power 9323 drivers/net/wireless/intel/ipw2x00/ipw2200.c wrqu->power.value = priv->tx_power; power 9324 drivers/net/wireless/intel/ipw2x00/ipw2200.c wrqu->power.fixed = 1; power 9325 drivers/net/wireless/intel/ipw2x00/ipw2200.c wrqu->power.flags = IW_TXPOW_DBM; power 9326 drivers/net/wireless/intel/ipw2x00/ipw2200.c wrqu->power.disabled = (priv->status & STATUS_RF_KILL_MASK) ? 1 : 0; power 9330 drivers/net/wireless/intel/ipw2x00/ipw2200.c wrqu->power.disabled ? "OFF" : "ON", wrqu->power.value); power 9519 drivers/net/wireless/intel/ipw2x00/ipw2200.c if (wrqu->power.disabled) { power 9532 drivers/net/wireless/intel/ipw2x00/ipw2200.c switch (wrqu->power.flags & IW_POWER_MODE) { power 9539 drivers/net/wireless/intel/ipw2x00/ipw2200.c wrqu->power.flags); power 9570 drivers/net/wireless/intel/ipw2x00/ipw2200.c wrqu->power.disabled = 1; power 9572 drivers/net/wireless/intel/ipw2x00/ipw2200.c wrqu->power.disabled = 0; power 1330 drivers/net/wireless/intel/iwlegacy/3945.c s8 power; power 1338 drivers/net/wireless/intel/iwlegacy/3945.c power = min(ch_info->scan_power, clip_pwrs[RATE_6M_IDX_TBL]); power 1340 drivers/net/wireless/intel/iwlegacy/3945.c power = min(power, il->tx_power_user_lmt); power 1341 drivers/net/wireless/intel/iwlegacy/3945.c scan_power_info->requested_power = power; power 1349 drivers/net/wireless/intel/iwlegacy/3945.c ch_info->power_info[rate_idx].power_table_idx - (power - power 1416 drivers/net/wireless/intel/iwlegacy/3945.c txpower.power[i].tpc = ch_info->power_info[i].tpc; power 1417 drivers/net/wireless/intel/iwlegacy/3945.c txpower.power[i].rate = il3945_rates[rate_idx].plcp; power 1421 drivers/net/wireless/intel/iwlegacy/3945.c txpower.power[i].tpc.tx_gain, power 1422 drivers/net/wireless/intel/iwlegacy/3945.c txpower.power[i].tpc.dsp_atten, txpower.power[i].rate); power 1427 drivers/net/wireless/intel/iwlegacy/3945.c txpower.power[i].tpc = ch_info->power_info[i].tpc; power 1428 drivers/net/wireless/intel/iwlegacy/3945.c txpower.power[i].rate = il3945_rates[rate_idx].plcp; power 1432 drivers/net/wireless/intel/iwlegacy/3945.c txpower.power[i].tpc.tx_gain, power 1433 drivers/net/wireless/intel/iwlegacy/3945.c txpower.power[i].tpc.dsp_atten, txpower.power[i].rate); power 1465 drivers/net/wireless/intel/iwlegacy/3945.c int power; power 1478 drivers/net/wireless/intel/iwlegacy/3945.c power = min(ch_info->curr_txpow, clip_pwrs[i]); power 1479 drivers/net/wireless/intel/iwlegacy/3945.c if (power == power_info->requested_power) power 1484 drivers/net/wireless/intel/iwlegacy/3945.c delta_idx = (power - power_info->requested_power) * 2; power 1488 drivers/net/wireless/intel/iwlegacy/3945.c power_info->requested_power = power; power 1496 drivers/net/wireless/intel/iwlegacy/3945.c power = power 1502 drivers/net/wireless/intel/iwlegacy/3945.c power_info->requested_power = power; power 1618 drivers/net/wireless/intel/iwlegacy/3945.c il3945_hw_reg_set_txpower(struct il_priv *il, s8 power) power 1624 drivers/net/wireless/intel/iwlegacy/3945.c if (il->tx_power_user_lmt == power) { power 1626 drivers/net/wireless/intel/iwlegacy/3945.c power); power 1630 drivers/net/wireless/intel/iwlegacy/3945.c D_POWER("Setting upper limit clamp to %ddBm.\n", power); power 1631 drivers/net/wireless/intel/iwlegacy/3945.c il->tx_power_user_lmt = power; power 1641 drivers/net/wireless/intel/iwlegacy/3945.c max_power = min(power, max_power); power 1928 drivers/net/wireless/intel/iwlegacy/3945.c s32 power = 2 * requested_power; power 1938 drivers/net/wireless/intel/iwlegacy/3945.c if (power == samples[i].power) { power 1944 drivers/net/wireless/intel/iwlegacy/3945.c if (power > samples[1].power) { power 1947 drivers/net/wireless/intel/iwlegacy/3945.c } else if (power > samples[2].power) { power 1950 drivers/net/wireless/intel/iwlegacy/3945.c } else if (power > samples[3].power) { power 1958 drivers/net/wireless/intel/iwlegacy/3945.c denominator = (s32) samples[idx1].power - (s32) samples[idx0].power; power 1964 drivers/net/wireless/intel/iwlegacy/3945.c gains0 + (gains1 - gains0) * ((s32) power - power 1965 drivers/net/wireless/intel/iwlegacy/3945.c (s32) samples[idx0].power) / power 2064 drivers/net/wireless/intel/iwlegacy/3945.c s8 power; power 2142 drivers/net/wireless/intel/iwlegacy/3945.c power = pwr_info->requested_power + IL_CCK_FROM_OFDM_POWER_DIFF; power 2158 drivers/net/wireless/intel/iwlegacy/3945.c pwr_info->requested_power = power; power 220 drivers/net/wireless/intel/iwlegacy/3945.h int il3945_hw_reg_set_txpower(struct il_priv *il, s8 power); power 275 drivers/net/wireless/intel/iwlegacy/3945.h s8 power; /* ... for this pwr level for this chnl group */ power 765 drivers/net/wireless/intel/iwlegacy/commands.h struct il3945_power_per_rate power[IL_MAX_RATES]; power 1744 drivers/net/wireless/intel/iwlegacy/commands.h struct il3945_power_per_rate power[IL_MAX_RATES]; power 213 drivers/net/wireless/intel/iwlwifi/pcie/trans.c u8 power; power 215 drivers/net/wireless/intel/iwlwifi/pcie/trans.c for (power = max_power; power >= min_power; power--) { power 216 drivers/net/wireless/intel/iwlwifi/pcie/trans.c size = BIT(power); power 231 drivers/net/wireless/intel/iwlwifi/pcie/trans.c if (power != max_power) power 234 drivers/net/wireless/intel/iwlwifi/pcie/trans.c (unsigned long)BIT(power - 10), power 128 drivers/net/wireless/intersil/prism54/isl_ioctl.c u32 channel, authen, wep, filter, dot1x, mlme, conformance, power, mode; power 141 drivers/net/wireless/intersil/prism54/isl_ioctl.c power = 127; power 152 drivers/net/wireless/intersil/prism54/isl_ioctl.c mgt_set(priv, OID_INL_OUTPUTPOWER, &power); power 84 drivers/net/wireless/mediatek/mt76/mt7615/debugfs.c &dev->radar_pattern.power); power 1246 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c s16 power; power 1260 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c req.pattern[i].power = dev->radar_pattern.power; power 88 drivers/net/wireless/mediatek/mt76/mt7615/mt7615.h s16 power; power 159 drivers/net/wireless/mediatek/mt7601u/eeprom.c s8 power = field_validate(eeprom[MT_EE_TX_POWER_OFFSET + i]); power 161 drivers/net/wireless/mediatek/mt7601u/eeprom.c if (power > max_pwr || power < 0) power 162 drivers/net/wireless/mediatek/mt7601u/eeprom.c power = MT7601U_DEFAULT_TX_POWER; power 164 drivers/net/wireless/mediatek/mt7601u/eeprom.c dev->ee->chan_pwr[i] = power; power 553 drivers/net/wireless/realtek/rtw88/phy.c static u8 rtw_phy_power_2_db(s8 power) power 555 drivers/net/wireless/realtek/rtw88/phy.c if (power <= -100 || power >= 20) power 557 drivers/net/wireless/realtek/rtw88/phy.c else if (power >= 0) power 560 drivers/net/wireless/realtek/rtw88/phy.c return 100 + power; power 637 drivers/net/wireless/realtek/rtw88/phy.c s8 power; power 644 drivers/net/wireless/realtek/rtw88/phy.c power = rf_power[path]; power 645 drivers/net/wireless/realtek/rtw88/phy.c power_db = rtw_phy_power_2_db(power); power 167 drivers/net/wireless/ti/wl1251/acx.c int wl1251_acx_tx_power(struct wl1251 *wl, int power) power 174 drivers/net/wireless/ti/wl1251/acx.c if (power < 0 || power > 25) power 181 drivers/net/wireless/ti/wl1251/acx.c acx->current_tx_power = power * 10; power 1442 drivers/net/wireless/ti/wl1251/acx.h int wl1251_acx_tx_power(struct wl1251 *wl, int power); power 44 drivers/net/wireless/ti/wl1251/main.c return wl->if_ops->power(wl, false); power 49 drivers/net/wireless/ti/wl1251/main.c return wl->if_ops->power(wl, true); power 209 drivers/net/wireless/ti/wl1251/sdio.c .power = wl1251_sdio_set_power, power 224 drivers/net/wireless/ti/wl1251/spi.c .power = wl1251_spi_set_power, power 252 drivers/net/wireless/ti/wl1251/wl1251.h int (*power)(struct wl1251 *wl, bool enable); power 83 drivers/net/wireless/ti/wlcore/acx.c int power) power 88 drivers/net/wireless/ti/wlcore/acx.c wl1271_debug(DEBUG_ACX, "acx dot11_cur_tx_pwr %d", power); power 90 drivers/net/wireless/ti/wlcore/acx.c if (power < 0 || power > 25) power 100 drivers/net/wireless/ti/wlcore/acx.c acx->current_tx_power = power * 10; power 1034 drivers/net/wireless/ti/wlcore/acx.h int power); power 202 drivers/net/wireless/ti/wlcore/io.h if (wl->if_ops->power) power 203 drivers/net/wireless/ti/wlcore/io.h ret = wl->if_ops->power(wl->dev, false); power 212 drivers/net/wireless/ti/wlcore/io.h if (wl->if_ops->power) power 213 drivers/net/wireless/ti/wlcore/io.h ret = wl->if_ops->power(wl->dev, true); power 192 drivers/net/wireless/ti/wlcore/sdio.c .power = wl12xx_sdio_set_power, power 411 drivers/net/wireless/ti/wlcore/spi.c .power = wl12xx_spi_set_power, power 190 drivers/net/wireless/ti/wlcore/wlcore_i.h int (*power)(struct device *child, bool enable); power 1809 drivers/net/wireless/wl3501_cs.c wrqu->power.disabled = !pwr_state; power 1810 drivers/net/wireless/wl3501_cs.c wrqu->power.flags = IW_POWER_ON; power 4089 drivers/nvme/host/core.c ctrl->device->power.set_latency_tolerance = nvme_set_latency_tolerance; power 263 drivers/pci/controller/pcie-rockchip-host.c u32 status, scale, power; power 280 drivers/pci/controller/pcie-rockchip-host.c power = (curr * 3300) / 1000; /* milliwatt */ power 281 drivers/pci/controller/pcie-rockchip-host.c while (power > PCIE_RC_CONFIG_DCR_CSPL_LIMIT) { power 287 drivers/pci/controller/pcie-rockchip-host.c power = power / 10; power 291 drivers/pci/controller/pcie-rockchip-host.c status |= (power << PCIE_RC_CONFIG_DCR_CSPL_SHIFT) | power 132 drivers/pci/hotplug/cpci_hotplug_core.c u8 power = 1; power 135 drivers/pci/hotplug/cpci_hotplug_core.c power = controller->ops->get_power(slot); power 136 drivers/pci/hotplug/cpci_hotplug_core.c return power; power 84 drivers/pci/hotplug/pci_hotplug_core.c u8 power; power 88 drivers/pci/hotplug/pci_hotplug_core.c power = (u8)(lpower & 0xff); power 89 drivers/pci/hotplug/pci_hotplug_core.c dbg("power = %d\n", power); power 95 drivers/pci/hotplug/pci_hotplug_core.c switch (power) { power 1034 drivers/pci/pci-acpi.c state = adev->power.state; power 1098 drivers/pci/pci-acpi.c return !!adev->power.flags.dsw_present; power 821 drivers/pci/pci-driver.c dev->power.may_skip_resume = true; power 911 drivers/pci/pci-driver.c dev->power.may_skip_resume = device_may_wakeup(dev) || power 2529 drivers/pci/pci.c spin_lock_irq(&dev->power.lock); power 2535 drivers/pci/pci.c spin_unlock_irq(&dev->power.lock); power 2553 drivers/pci/pci.c spin_lock_irq(&dev->power.lock); power 2558 drivers/pci/pci.c spin_unlock_irq(&dev->power.lock); power 6001 drivers/pci/pci.c return adev->power.flags.power_resources && power 27 drivers/pcmcia/pxa2xx_trizeps4.c extern void board_pcmcia_power(int power); power 96 drivers/pcmcia/pxa2xx_trizeps4.c unsigned short power = 0; power 100 drivers/pcmcia/pxa2xx_trizeps4.c case 0: power &= 0xfc; break; power 101 drivers/pcmcia/pxa2xx_trizeps4.c case 33: power |= ConXS_BCR_S0_VCC_3V3; break; power 111 drivers/pcmcia/pxa2xx_trizeps4.c case 0: power &= 0xf3; break; power 112 drivers/pcmcia/pxa2xx_trizeps4.c case 33: power |= ConXS_BCR_S0_VPP_3V3; break; power 125 drivers/pcmcia/pxa2xx_trizeps4.c board_pcmcia_power(power); power 309 drivers/pcmcia/vrc4171_card.c uint8_t voltage, power, control, cscint; power 324 drivers/pcmcia/vrc4171_card.c power = POWER_ENABLE; power 326 drivers/pcmcia/vrc4171_card.c power |= VPP_GET_VCC; power 328 drivers/pcmcia/vrc4171_card.c power |= I365_PWR_OUT; power 329 drivers/pcmcia/vrc4171_card.c exca_write_byte(slot, I365_POWER, power); power 78 drivers/phy/ti/phy-omap-control.c val = readl(control_phy->power); power 133 drivers/phy/ti/phy-omap-control.c writel(val, control_phy->power); power 297 drivers/phy/ti/phy-omap-control.c control_phy->power = devm_ioremap_resource(&pdev->dev, res); power 298 drivers/phy/ti/phy-omap-control.c if (IS_ERR(control_phy->power)) { power 300 drivers/phy/ti/phy-omap-control.c return PTR_ERR(control_phy->power); power 1447 drivers/platform/x86/acer-wmi.c if (bd->props.power != FB_BLANK_UNBLANK) power 1480 drivers/platform/x86/acer-wmi.c bd->props.power = FB_BLANK_UNBLANK; power 828 drivers/platform/x86/asus-laptop.c bd->props.power = FB_BLANK_UNBLANK; power 1794 drivers/platform/x86/asus-wmi.c int power, err = 0; power 1796 drivers/platform/x86/asus-wmi.c power = read_backlight_power(asus); power 1797 drivers/platform/x86/asus-wmi.c if (power != -ENODEV && bd->props.power != power) { power 1798 drivers/platform/x86/asus-wmi.c ctrl_param = !!(bd->props.power == FB_BLANK_UNBLANK); power 1802 drivers/platform/x86/asus-wmi.c asus->driver->panel_power = bd->props.power; power 1849 drivers/platform/x86/asus-wmi.c int power; power 1855 drivers/platform/x86/asus-wmi.c power = read_backlight_power(asus); power 1856 drivers/platform/x86/asus-wmi.c if (power == -ENODEV) power 1857 drivers/platform/x86/asus-wmi.c power = FB_BLANK_UNBLANK; power 1858 drivers/platform/x86/asus-wmi.c else if (power < 0) power 1859 drivers/platform/x86/asus-wmi.c return power; power 1875 drivers/platform/x86/asus-wmi.c asus->driver->panel_power = power; power 1878 drivers/platform/x86/asus-wmi.c bd->props.power = power; power 327 drivers/platform/x86/compal-laptop.c set_backlight_state((b->props.power == FB_BLANK_UNBLANK) power 1142 drivers/platform/x86/eeepc-laptop.c bd->props.power = FB_BLANK_UNBLANK; power 248 drivers/platform/x86/fujitsu-laptop.c return b->props.power == FB_BLANK_POWERDOWN ? 0 : get_lcd_level(device); power 256 drivers/platform/x86/fujitsu-laptop.c if (b->props.power == FB_BLANK_POWERDOWN) power 825 drivers/platform/x86/fujitsu-laptop.c fujitsu_bl->bl_device->props.power = FB_BLANK_POWERDOWN; power 827 drivers/platform/x86/fujitsu-laptop.c fujitsu_bl->bl_device->props.power = FB_BLANK_UNBLANK; power 128 drivers/platform/x86/hp-wmi.c u8 power; power 399 drivers/platform/x86/hp-wmi.c IS_SWBLOCKED(devstate->power), power 400 drivers/platform/x86/hp-wmi.c IS_HWBLOCKED(devstate->power)); power 835 drivers/platform/x86/hp-wmi.c IS_SWBLOCKED(state.device[i].power)); power 837 drivers/platform/x86/hp-wmi.c IS_HWBLOCKED(state.device[i].power)); power 839 drivers/platform/x86/hp-wmi.c if (!(state.device[i].power & HPWMI_POWER_BIOS)) power 787 drivers/platform/x86/ideapad-laptop.c blightdev->props.power == FB_BLANK_POWERDOWN ? 0 : 1)) power 802 drivers/platform/x86/ideapad-laptop.c unsigned long max, now, power; power 808 drivers/platform/x86/ideapad-laptop.c if (read_ec_data(priv->adev->handle, VPCCMD_R_BL_POWER, &power)) power 826 drivers/platform/x86/ideapad-laptop.c blightdev->props.power = power ? FB_BLANK_UNBLANK : FB_BLANK_POWERDOWN; power 840 drivers/platform/x86/ideapad-laptop.c unsigned long power; power 845 drivers/platform/x86/ideapad-laptop.c if (read_ec_data(priv->adev->handle, VPCCMD_R_BL_POWER, &power)) power 847 drivers/platform/x86/ideapad-laptop.c blightdev->props.power = power ? FB_BLANK_UNBLANK : FB_BLANK_POWERDOWN; power 253 drivers/platform/x86/intel_oaktrail.c bd->props.power = FB_BLANK_UNBLANK; power 567 drivers/platform/x86/samsung-laptop.c if (bd->props.power == FB_BLANK_UNBLANK) power 1205 drivers/platform/x86/samsung-laptop.c samsung->backlight_device->props.power = FB_BLANK_UNBLANK; power 6804 drivers/platform/x86/thinkpad_acpi.c bd->props.power == FB_BLANK_UNBLANK) ? power 3157 drivers/power/supply/ab8500_charger.c unsigned long event, void *power) power 3162 drivers/power/supply/ab8500_charger.c unsigned mA = *((unsigned *)power); power 50 drivers/power/supply/axp20x_ac_power.c struct axp20x_ac_power *power = devid; power 52 drivers/power/supply/axp20x_ac_power.c power_supply_changed(power->supply); power 61 drivers/power/supply/axp20x_ac_power.c struct axp20x_ac_power *power = power_supply_get_drvdata(psy); power 66 drivers/power/supply/axp20x_ac_power.c ret = regmap_read(power->regmap, AXP20X_PWR_INPUT_STATUS, ®); power 79 drivers/power/supply/axp20x_ac_power.c ret = regmap_read(power->regmap, AXP20X_PWR_INPUT_STATUS, ®); power 87 drivers/power/supply/axp20x_ac_power.c ret = regmap_read(power->regmap, AXP20X_PWR_INPUT_STATUS, ®); power 94 drivers/power/supply/axp20x_ac_power.c if (val->intval && power->has_acin_path_sel) { power 95 drivers/power/supply/axp20x_ac_power.c ret = regmap_read(power->regmap, AXP813_ACIN_PATH_CTRL, power 106 drivers/power/supply/axp20x_ac_power.c ret = iio_read_channel_processed(power->acin_v, &val->intval); power 116 drivers/power/supply/axp20x_ac_power.c ret = iio_read_channel_processed(power->acin_i, &val->intval); power 126 drivers/power/supply/axp20x_ac_power.c ret = regmap_read(power->regmap, AXP813_ACIN_PATH_CTRL, ®); power 135 drivers/power/supply/axp20x_ac_power.c ret = regmap_read(power->regmap, AXP813_ACIN_PATH_CTRL, ®); power 157 drivers/power/supply/axp20x_ac_power.c struct axp20x_ac_power *power = power_supply_get_drvdata(psy); power 164 drivers/power/supply/axp20x_ac_power.c return regmap_update_bits(power->regmap, AXP813_ACIN_PATH_CTRL, power 172 drivers/power/supply/axp20x_ac_power.c return regmap_update_bits(power->regmap, AXP813_ACIN_PATH_CTRL, power 266 drivers/power/supply/axp20x_ac_power.c struct axp20x_ac_power *power; power 280 drivers/power/supply/axp20x_ac_power.c power = devm_kzalloc(&pdev->dev, sizeof(*power), GFP_KERNEL); power 281 drivers/power/supply/axp20x_ac_power.c if (!power) power 287 drivers/power/supply/axp20x_ac_power.c power->acin_v = devm_iio_channel_get(&pdev->dev, "acin_v"); power 288 drivers/power/supply/axp20x_ac_power.c if (IS_ERR(power->acin_v)) { power 289 drivers/power/supply/axp20x_ac_power.c if (PTR_ERR(power->acin_v) == -ENODEV) power 291 drivers/power/supply/axp20x_ac_power.c return PTR_ERR(power->acin_v); power 294 drivers/power/supply/axp20x_ac_power.c power->acin_i = devm_iio_channel_get(&pdev->dev, "acin_i"); power 295 drivers/power/supply/axp20x_ac_power.c if (IS_ERR(power->acin_i)) { power 296 drivers/power/supply/axp20x_ac_power.c if (PTR_ERR(power->acin_i) == -ENODEV) power 298 drivers/power/supply/axp20x_ac_power.c return PTR_ERR(power->acin_i); power 302 drivers/power/supply/axp20x_ac_power.c power->regmap = dev_get_regmap(pdev->dev.parent, NULL); power 303 drivers/power/supply/axp20x_ac_power.c power->has_acin_path_sel = axp_data->acin_path_sel; power 305 drivers/power/supply/axp20x_ac_power.c platform_set_drvdata(pdev, power); power 308 drivers/power/supply/axp20x_ac_power.c psy_cfg.drv_data = power; power 310 drivers/power/supply/axp20x_ac_power.c power->supply = devm_power_supply_register(&pdev->dev, power 313 drivers/power/supply/axp20x_ac_power.c if (IS_ERR(power->supply)) power 314 drivers/power/supply/axp20x_ac_power.c return PTR_ERR(power->supply); power 327 drivers/power/supply/axp20x_ac_power.c DRVNAME, power); power 70 drivers/power/supply/axp20x_usb_power.c struct axp20x_usb_power *power = devid; power 72 drivers/power/supply/axp20x_usb_power.c power_supply_changed(power->supply); power 79 drivers/power/supply/axp20x_usb_power.c struct axp20x_usb_power *power = power 84 drivers/power/supply/axp20x_usb_power.c ret = regmap_read(power->regmap, AXP20X_PWR_INPUT_STATUS, &val); power 89 drivers/power/supply/axp20x_usb_power.c if (val != power->old_status) power 90 drivers/power/supply/axp20x_usb_power.c power_supply_changed(power->supply); power 92 drivers/power/supply/axp20x_usb_power.c power->old_status = val; power 95 drivers/power/supply/axp20x_usb_power.c mod_delayed_work(system_wq, &power->vbus_detect, DEBOUNCE_TIME); power 98 drivers/power/supply/axp20x_usb_power.c static bool axp20x_usb_vbus_needs_polling(struct axp20x_usb_power *power) power 100 drivers/power/supply/axp20x_usb_power.c if (power->axp20x_id >= AXP221_ID) power 106 drivers/power/supply/axp20x_usb_power.c static int axp20x_get_current_max(struct axp20x_usb_power *power, int *val) power 109 drivers/power/supply/axp20x_usb_power.c int ret = regmap_read(power->regmap, AXP20X_VBUS_IPSOUT_MGMT, &v); power 116 drivers/power/supply/axp20x_usb_power.c if (power->axp20x_id == AXP221_ID) power 135 drivers/power/supply/axp20x_usb_power.c static int axp813_get_current_max(struct axp20x_usb_power *power, int *val) power 138 drivers/power/supply/axp20x_usb_power.c int ret = regmap_read(power->regmap, AXP20X_VBUS_IPSOUT_MGMT, &v); power 163 drivers/power/supply/axp20x_usb_power.c struct axp20x_usb_power *power = power_supply_get_drvdata(psy); power 169 drivers/power/supply/axp20x_usb_power.c ret = regmap_read(power->regmap, AXP20X_VBUS_IPSOUT_MGMT, &v); power 177 drivers/power/supply/axp20x_usb_power.c ret = iio_read_channel_processed(power->vbus_v, power 190 drivers/power/supply/axp20x_usb_power.c ret = axp20x_read_variable_width(power->regmap, power 198 drivers/power/supply/axp20x_usb_power.c if (power->axp20x_id == AXP813_ID) power 199 drivers/power/supply/axp20x_usb_power.c return axp813_get_current_max(power, &val->intval); power 200 drivers/power/supply/axp20x_usb_power.c return axp20x_get_current_max(power, &val->intval); power 203 drivers/power/supply/axp20x_usb_power.c ret = iio_read_channel_processed(power->vbus_i, power 216 drivers/power/supply/axp20x_usb_power.c ret = axp20x_read_variable_width(power->regmap, power 228 drivers/power/supply/axp20x_usb_power.c ret = regmap_read(power->regmap, AXP20X_PWR_INPUT_STATUS, &input); power 241 drivers/power/supply/axp20x_usb_power.c if (power->axp20x_id == AXP202_ID) { power 242 drivers/power/supply/axp20x_usb_power.c ret = regmap_read(power->regmap, power 265 drivers/power/supply/axp20x_usb_power.c static int axp20x_usb_power_set_voltage_min(struct axp20x_usb_power *power, power 280 drivers/power/supply/axp20x_usb_power.c return regmap_update_bits(power->regmap, power 291 drivers/power/supply/axp20x_usb_power.c static int axp813_usb_power_set_current_max(struct axp20x_usb_power *power, power 298 drivers/power/supply/axp20x_usb_power.c return regmap_update_bits(power->regmap, power 306 drivers/power/supply/axp20x_usb_power.c return regmap_update_bits(power->regmap, power 316 drivers/power/supply/axp20x_usb_power.c static int axp20x_usb_power_set_current_max(struct axp20x_usb_power *power, power 323 drivers/power/supply/axp20x_usb_power.c if (power->axp20x_id == AXP221_ID) power 329 drivers/power/supply/axp20x_usb_power.c return regmap_update_bits(power->regmap, power 343 drivers/power/supply/axp20x_usb_power.c struct axp20x_usb_power *power = power_supply_get_drvdata(psy); power 347 drivers/power/supply/axp20x_usb_power.c return axp20x_usb_power_set_voltage_min(power, val->intval); power 350 drivers/power/supply/axp20x_usb_power.c if (power->axp20x_id == AXP813_ID) power 351 drivers/power/supply/axp20x_usb_power.c return axp813_usb_power_set_current_max(power, power 353 drivers/power/supply/axp20x_usb_power.c return axp20x_usb_power_set_current_max(power, val->intval); power 408 drivers/power/supply/axp20x_usb_power.c struct axp20x_usb_power *power) power 410 drivers/power/supply/axp20x_usb_power.c power->vbus_v = devm_iio_channel_get(&pdev->dev, "vbus_v"); power 411 drivers/power/supply/axp20x_usb_power.c if (IS_ERR(power->vbus_v)) { power 412 drivers/power/supply/axp20x_usb_power.c if (PTR_ERR(power->vbus_v) == -ENODEV) power 414 drivers/power/supply/axp20x_usb_power.c return PTR_ERR(power->vbus_v); power 417 drivers/power/supply/axp20x_usb_power.c power->vbus_i = devm_iio_channel_get(&pdev->dev, "vbus_i"); power 418 drivers/power/supply/axp20x_usb_power.c if (IS_ERR(power->vbus_i)) { power 419 drivers/power/supply/axp20x_usb_power.c if (PTR_ERR(power->vbus_i) == -ENODEV) power 421 drivers/power/supply/axp20x_usb_power.c return PTR_ERR(power->vbus_i); power 427 drivers/power/supply/axp20x_usb_power.c static int configure_adc_registers(struct axp20x_usb_power *power) power 430 drivers/power/supply/axp20x_usb_power.c return regmap_update_bits(power->regmap, AXP20X_ADC_EN1, power 441 drivers/power/supply/axp20x_usb_power.c struct axp20x_usb_power *power; power 458 drivers/power/supply/axp20x_usb_power.c power = devm_kzalloc(&pdev->dev, sizeof(*power), GFP_KERNEL); power 459 drivers/power/supply/axp20x_usb_power.c if (!power) power 462 drivers/power/supply/axp20x_usb_power.c platform_set_drvdata(pdev, power); power 463 drivers/power/supply/axp20x_usb_power.c power->axp20x_id = (enum axp20x_variants)of_device_get_match_data( power 466 drivers/power/supply/axp20x_usb_power.c power->np = pdev->dev.of_node; power 467 drivers/power/supply/axp20x_usb_power.c power->regmap = axp20x->regmap; power 469 drivers/power/supply/axp20x_usb_power.c if (power->axp20x_id == AXP202_ID) { power 471 drivers/power/supply/axp20x_usb_power.c ret = regmap_update_bits(power->regmap, AXP20X_VBUS_MON, power 478 drivers/power/supply/axp20x_usb_power.c ret = configure_iio_channels(pdev, power); power 480 drivers/power/supply/axp20x_usb_power.c ret = configure_adc_registers(power); power 487 drivers/power/supply/axp20x_usb_power.c } else if (power->axp20x_id == AXP221_ID || power 488 drivers/power/supply/axp20x_usb_power.c power->axp20x_id == AXP223_ID || power 489 drivers/power/supply/axp20x_usb_power.c power->axp20x_id == AXP813_ID) { power 499 drivers/power/supply/axp20x_usb_power.c psy_cfg.drv_data = power; power 501 drivers/power/supply/axp20x_usb_power.c power->supply = devm_power_supply_register(&pdev->dev, usb_power_desc, power 503 drivers/power/supply/axp20x_usb_power.c if (IS_ERR(power->supply)) power 504 drivers/power/supply/axp20x_usb_power.c return PTR_ERR(power->supply); power 516 drivers/power/supply/axp20x_usb_power.c axp20x_usb_power_irq, 0, DRVNAME, power); power 522 drivers/power/supply/axp20x_usb_power.c INIT_DELAYED_WORK(&power->vbus_detect, axp20x_usb_power_poll_vbus); power 523 drivers/power/supply/axp20x_usb_power.c if (axp20x_usb_vbus_needs_polling(power)) power 524 drivers/power/supply/axp20x_usb_power.c queue_delayed_work(system_wq, &power->vbus_detect, 0); power 531 drivers/power/supply/axp20x_usb_power.c struct axp20x_usb_power *power = platform_get_drvdata(pdev); power 533 drivers/power/supply/axp20x_usb_power.c cancel_delayed_work_sync(&power->vbus_detect); power 1401 drivers/power/supply/rt9455_charger.c unsigned long event, void *power) power 536 drivers/power/supply/wm831x_power.c struct wm831x_power *power; power 539 drivers/power/supply/wm831x_power.c power = devm_kzalloc(&pdev->dev, sizeof(struct wm831x_power), power 541 drivers/power/supply/wm831x_power.c if (power == NULL) power 544 drivers/power/supply/wm831x_power.c power->wm831x = wm831x; power 545 drivers/power/supply/wm831x_power.c platform_set_drvdata(pdev, power); power 548 drivers/power/supply/wm831x_power.c snprintf(power->wall_name, sizeof(power->wall_name), power 550 drivers/power/supply/wm831x_power.c snprintf(power->battery_name, sizeof(power->wall_name), power 552 drivers/power/supply/wm831x_power.c snprintf(power->usb_name, sizeof(power->wall_name), power 555 drivers/power/supply/wm831x_power.c snprintf(power->wall_name, sizeof(power->wall_name), power 557 drivers/power/supply/wm831x_power.c snprintf(power->battery_name, sizeof(power->wall_name), power 559 drivers/power/supply/wm831x_power.c snprintf(power->usb_name, sizeof(power->wall_name), power 568 drivers/power/supply/wm831x_power.c power->wall_desc.name = power->wall_name; power 569 drivers/power/supply/wm831x_power.c power->wall_desc.type = POWER_SUPPLY_TYPE_MAINS; power 570 drivers/power/supply/wm831x_power.c power->wall_desc.properties = wm831x_wall_props; power 571 drivers/power/supply/wm831x_power.c power->wall_desc.num_properties = ARRAY_SIZE(wm831x_wall_props); power 572 drivers/power/supply/wm831x_power.c power->wall_desc.get_property = wm831x_wall_get_prop; power 573 drivers/power/supply/wm831x_power.c power->wall = power_supply_register(&pdev->dev, &power->wall_desc, power 575 drivers/power/supply/wm831x_power.c if (IS_ERR(power->wall)) { power 576 drivers/power/supply/wm831x_power.c ret = PTR_ERR(power->wall); power 580 drivers/power/supply/wm831x_power.c power->usb_desc.name = power->usb_name, power 581 drivers/power/supply/wm831x_power.c power->usb_desc.type = POWER_SUPPLY_TYPE_USB; power 582 drivers/power/supply/wm831x_power.c power->usb_desc.properties = wm831x_usb_props; power 583 drivers/power/supply/wm831x_power.c power->usb_desc.num_properties = ARRAY_SIZE(wm831x_usb_props); power 584 drivers/power/supply/wm831x_power.c power->usb_desc.get_property = wm831x_usb_get_prop; power 585 drivers/power/supply/wm831x_power.c power->usb = power_supply_register(&pdev->dev, &power->usb_desc, NULL); power 586 drivers/power/supply/wm831x_power.c if (IS_ERR(power->usb)) { power 587 drivers/power/supply/wm831x_power.c ret = PTR_ERR(power->usb); power 594 drivers/power/supply/wm831x_power.c power->have_battery = ret & WM831X_CHG_ENA; power 596 drivers/power/supply/wm831x_power.c if (power->have_battery) { power 597 drivers/power/supply/wm831x_power.c power->battery_desc.name = power->battery_name; power 598 drivers/power/supply/wm831x_power.c power->battery_desc.properties = wm831x_bat_props; power 599 drivers/power/supply/wm831x_power.c power->battery_desc.num_properties = ARRAY_SIZE(wm831x_bat_props); power 600 drivers/power/supply/wm831x_power.c power->battery_desc.get_property = wm831x_bat_get_prop; power 601 drivers/power/supply/wm831x_power.c power->battery_desc.use_for_apm = 1; power 602 drivers/power/supply/wm831x_power.c power->battery = power_supply_register(&pdev->dev, power 603 drivers/power/supply/wm831x_power.c &power->battery_desc, power 605 drivers/power/supply/wm831x_power.c if (IS_ERR(power->battery)) { power 606 drivers/power/supply/wm831x_power.c ret = PTR_ERR(power->battery); power 614 drivers/power/supply/wm831x_power.c power); power 624 drivers/power/supply/wm831x_power.c power); power 638 drivers/power/supply/wm831x_power.c power); power 647 drivers/power/supply/wm831x_power.c power->usb_phy = devm_usb_get_phy_by_phandle(&pdev->dev, "phys", 0); power 648 drivers/power/supply/wm831x_power.c ret = PTR_ERR_OR_ZERO(power->usb_phy); power 652 drivers/power/supply/wm831x_power.c power->usb_notify.notifier_call = wm831x_usb_limit_change; power 653 drivers/power/supply/wm831x_power.c ret = usb_register_notifier(power->usb_phy, &power->usb_notify); power 663 drivers/power/supply/wm831x_power.c power->usb_phy = NULL; power 680 drivers/power/supply/wm831x_power.c free_irq(irq, power); power 683 drivers/power/supply/wm831x_power.c free_irq(irq, power); power 686 drivers/power/supply/wm831x_power.c free_irq(irq, power); power 688 drivers/power/supply/wm831x_power.c if (power->have_battery) power 689 drivers/power/supply/wm831x_power.c power_supply_unregister(power->battery); power 691 drivers/power/supply/wm831x_power.c power_supply_unregister(power->usb); power 693 drivers/power/supply/wm831x_power.c power_supply_unregister(power->wall); power 44 drivers/power/supply/wm8350_power.c if (!wm8350->power.rev_g_coeff) power 187 drivers/power/supply/wm8350_power.c struct wm8350_power *power = &wm8350->power; power 188 drivers/power/supply/wm8350_power.c struct wm8350_charger_policy *policy = power->policy; power 196 drivers/power/supply/wm8350_power.c power_supply_changed(power->battery); power 203 drivers/power/supply/wm8350_power.c power_supply_changed(power->battery); power 232 drivers/power/supply/wm8350_power.c power_supply_changed(power->battery); power 233 drivers/power/supply/wm8350_power.c power_supply_changed(power->usb); power 234 drivers/power/supply/wm8350_power.c power_supply_changed(power->ac); power 470 drivers/power/supply/wm8350_power.c struct wm8350_power *power = &wm8350->power; power 471 drivers/power/supply/wm8350_power.c struct wm8350_charger_policy *policy = power->policy; power 474 drivers/power/supply/wm8350_power.c power->ac = power_supply_register(&pdev->dev, &wm8350_ac_desc, NULL); power 475 drivers/power/supply/wm8350_power.c if (IS_ERR(power->ac)) power 476 drivers/power/supply/wm8350_power.c return PTR_ERR(power->ac); power 478 drivers/power/supply/wm8350_power.c power->battery = power_supply_register(&pdev->dev, &wm8350_battery_desc, power 480 drivers/power/supply/wm8350_power.c if (IS_ERR(power->battery)) { power 481 drivers/power/supply/wm8350_power.c ret = PTR_ERR(power->battery); power 485 drivers/power/supply/wm8350_power.c power->usb = power_supply_register(&pdev->dev, &wm8350_usb_desc, NULL); power 486 drivers/power/supply/wm8350_power.c if (IS_ERR(power->usb)) { power 487 drivers/power/supply/wm8350_power.c ret = PTR_ERR(power->usb); power 506 drivers/power/supply/wm8350_power.c power_supply_unregister(power->battery); power 508 drivers/power/supply/wm8350_power.c power_supply_unregister(power->ac); power 516 drivers/power/supply/wm8350_power.c struct wm8350_power *power = &wm8350->power; power 520 drivers/power/supply/wm8350_power.c power_supply_unregister(power->battery); power 521 drivers/power/supply/wm8350_power.c power_supply_unregister(power->ac); power 522 drivers/power/supply/wm8350_power.c power_supply_unregister(power->usb); power 1755 drivers/remoteproc/remoteproc_core.c if (atomic_inc_return(&rproc->power) > 1) { power 1775 drivers/remoteproc/remoteproc_core.c atomic_dec(&rproc->power); power 1813 drivers/remoteproc/remoteproc_core.c if (!atomic_dec_and_test(&rproc->power)) power 1818 drivers/remoteproc/remoteproc_core.c atomic_inc(&rproc->power); power 2050 drivers/remoteproc/remoteproc_core.c atomic_set(&rproc->power, 0); power 376 drivers/remoteproc/st_remoteproc.c atomic_inc(&rproc->power); power 618 drivers/remoteproc/stm32_rproc.c if (atomic_read(&rproc->power) > 0) power 706 drivers/scsi/bnx2i/bnx2i_hwi.c u32 power = 0; power 708 drivers/scsi/bnx2i/bnx2i_hwi.c return power; power 712 drivers/scsi/bnx2i/bnx2i_hwi.c power++; power 714 drivers/scsi/bnx2i/bnx2i_hwi.c return power; power 1046 drivers/scsi/nsp32.c unsigned char power; power 1111 drivers/scsi/nsp32.c power = nsp32_index_read1(base, TERM_PWR_CONTROL); power 1112 drivers/scsi/nsp32.c if (!(power & SENSE)) { power 109 drivers/soc/bcm/bcm2835-power.c #define PM_READ(reg) readl(power->base + (reg)) power 110 drivers/soc/bcm/bcm2835-power.c #define PM_WRITE(reg, val) writel(PM_PASSWORD | (val), power->base + (reg)) power 129 drivers/soc/bcm/bcm2835-power.c #define ASB_READ(reg) readl(power->asb + (reg)) power 130 drivers/soc/bcm/bcm2835-power.c #define ASB_WRITE(reg, val) writel(PM_PASSWORD | (val), power->asb + (reg)) power 134 drivers/soc/bcm/bcm2835-power.c struct bcm2835_power *power; power 151 drivers/soc/bcm/bcm2835-power.c static int bcm2835_asb_enable(struct bcm2835_power *power, u32 reg) power 171 drivers/soc/bcm/bcm2835-power.c static int bcm2835_asb_disable(struct bcm2835_power *power, u32 reg) power 193 drivers/soc/bcm/bcm2835-power.c struct bcm2835_power *power = pd->power; power 209 drivers/soc/bcm/bcm2835-power.c struct bcm2835_power *power = pd->power; power 210 drivers/soc/bcm/bcm2835-power.c struct device *dev = power->dev; power 279 drivers/soc/bcm/bcm2835-power.c struct bcm2835_power *power = pd->power; power 284 drivers/soc/bcm/bcm2835-power.c dev_err(power->dev, "Failed to enable clock for %s\n", power 299 drivers/soc/bcm/bcm2835-power.c dev_err(power->dev, "Failed to enable clock for %s\n", power 304 drivers/soc/bcm/bcm2835-power.c ret = bcm2835_asb_enable(power, asb_m_reg); power 306 drivers/soc/bcm/bcm2835-power.c dev_err(power->dev, "Failed to enable ASB master for %s\n", power 310 drivers/soc/bcm/bcm2835-power.c ret = bcm2835_asb_enable(power, asb_s_reg); power 312 drivers/soc/bcm/bcm2835-power.c dev_err(power->dev, "Failed to enable ASB slave for %s\n", power 320 drivers/soc/bcm/bcm2835-power.c bcm2835_asb_disable(power, asb_m_reg); power 334 drivers/soc/bcm/bcm2835-power.c struct bcm2835_power *power = pd->power; power 337 drivers/soc/bcm/bcm2835-power.c ret = bcm2835_asb_disable(power, asb_s_reg); power 339 drivers/soc/bcm/bcm2835-power.c dev_warn(power->dev, "Failed to disable ASB slave for %s\n", power 343 drivers/soc/bcm/bcm2835-power.c ret = bcm2835_asb_disable(power, asb_m_reg); power 345 drivers/soc/bcm/bcm2835-power.c dev_warn(power->dev, "Failed to disable ASB master for %s\n", power 347 drivers/soc/bcm/bcm2835-power.c bcm2835_asb_enable(power, asb_s_reg); power 363 drivers/soc/bcm/bcm2835-power.c struct bcm2835_power *power = pd->power; power 420 drivers/soc/bcm/bcm2835-power.c dev_err(power->dev, "Invalid domain %d\n", pd->domain); power 429 drivers/soc/bcm/bcm2835-power.c struct bcm2835_power *power = pd->power; power 483 drivers/soc/bcm/bcm2835-power.c dev_err(power->dev, "Invalid domain %d\n", pd->domain); power 489 drivers/soc/bcm/bcm2835-power.c bcm2835_init_power_domain(struct bcm2835_power *power, power 492 drivers/soc/bcm/bcm2835-power.c struct device *dev = power->dev; power 493 drivers/soc/bcm/bcm2835-power.c struct bcm2835_power_domain *dom = &power->domains[pd_xlate_index]; power 513 drivers/soc/bcm/bcm2835-power.c dom->power = power; power 518 drivers/soc/bcm/bcm2835-power.c power->pd_xlate.domains[pd_xlate_index] = &dom->base; power 534 drivers/soc/bcm/bcm2835-power.c struct bcm2835_power *power = container_of(rcdev, struct bcm2835_power, power 541 drivers/soc/bcm/bcm2835-power.c pd = &power->domains[BCM2835_POWER_DOMAIN_GRAFX_V3D]; power 544 drivers/soc/bcm/bcm2835-power.c pd = &power->domains[BCM2835_POWER_DOMAIN_IMAGE_H264]; power 547 drivers/soc/bcm/bcm2835-power.c pd = &power->domains[BCM2835_POWER_DOMAIN_IMAGE_ISP]; power 550 drivers/soc/bcm/bcm2835-power.c dev_err(power->dev, "Bad reset id %ld\n", id); power 564 drivers/soc/bcm/bcm2835-power.c struct bcm2835_power *power = container_of(rcdev, struct bcm2835_power, power 606 drivers/soc/bcm/bcm2835-power.c struct bcm2835_power *power; power 621 drivers/soc/bcm/bcm2835-power.c power = devm_kzalloc(dev, sizeof(*power), GFP_KERNEL); power 622 drivers/soc/bcm/bcm2835-power.c if (!power) power 624 drivers/soc/bcm/bcm2835-power.c platform_set_drvdata(pdev, power); power 626 drivers/soc/bcm/bcm2835-power.c power->dev = dev; power 627 drivers/soc/bcm/bcm2835-power.c power->base = pm->base; power 628 drivers/soc/bcm/bcm2835-power.c power->asb = pm->asb; power 636 drivers/soc/bcm/bcm2835-power.c power->pd_xlate.domains = devm_kcalloc(dev, power 638 drivers/soc/bcm/bcm2835-power.c sizeof(*power->pd_xlate.domains), power 640 drivers/soc/bcm/bcm2835-power.c if (!power->pd_xlate.domains) power 643 drivers/soc/bcm/bcm2835-power.c power->pd_xlate.num_domains = ARRAY_SIZE(power_domain_names); power 646 drivers/soc/bcm/bcm2835-power.c ret = bcm2835_init_power_domain(power, i, power_domain_names[i]); power 652 drivers/soc/bcm/bcm2835-power.c pm_genpd_add_subdomain(&power->domains[domain_deps[i].parent].base, power 653 drivers/soc/bcm/bcm2835-power.c &power->domains[domain_deps[i].child].base); power 656 drivers/soc/bcm/bcm2835-power.c power->reset.owner = THIS_MODULE; power 657 drivers/soc/bcm/bcm2835-power.c power->reset.nr_resets = BCM2835_RESET_COUNT; power 658 drivers/soc/bcm/bcm2835-power.c power->reset.ops = &bcm2835_reset_ops; power 659 drivers/soc/bcm/bcm2835-power.c power->reset.of_node = dev->parent->of_node; power 661 drivers/soc/bcm/bcm2835-power.c ret = devm_reset_controller_register(dev, &power->reset); power 665 drivers/soc/bcm/bcm2835-power.c of_genpd_add_provider_onecell(dev->parent->of_node, &power->pd_xlate); power 672 drivers/soc/bcm/bcm2835-power.c struct generic_pm_domain *dom = &power->domains[i].base; power 2029 drivers/spi/spi.c adev->power.flags.ignore_parent = true; power 2031 drivers/spi/spi.c adev->power.flags.ignore_parent = false; power 36 drivers/ssb/pcihost_wrapper.c device_set_wakeup_enable(d, d->power.wakeup_path); power 199 drivers/staging/fbtft/fb_ssd1351.c __func__, bd->props.power, bd->props.fb_blank); power 201 drivers/staging/fbtft/fb_ssd1351.c on = (bd->props.power == FB_BLANK_UNBLANK) && power 219 drivers/staging/fbtft/fb_ssd1351.c bl_props.power = FB_BLANK_POWERDOWN; power 226 drivers/staging/fbtft/fb_watterott.c bd->props.brightness, bd->props.power, power 229 drivers/staging/fbtft/fb_watterott.c if (bd->props.power != FB_BLANK_UNBLANK) power 250 drivers/staging/fbtft/fb_watterott.c bl_props.power = FB_BLANK_POWERDOWN; power 148 drivers/staging/fbtft/fbtft-core.c __func__, polarity, bd->props.power, bd->props.fb_blank); power 150 drivers/staging/fbtft/fbtft-core.c if ((bd->props.power == FB_BLANK_UNBLANK) && power 167 drivers/staging/fbtft/fbtft-core.c par->info->bl_dev->props.power = FB_BLANK_POWERDOWN; power 192 drivers/staging/fbtft/fbtft-core.c bl_props.power = FB_BLANK_POWERDOWN; power 863 drivers/staging/fbtft/fbtft-core.c fb_info->bl_dev->props.power = FB_BLANK_UNBLANK; power 391 drivers/staging/greybus/hid.c .power = gb_hid_power, power 1042 drivers/staging/ks7010/ks_wlan_net.c if (vwrq->power.disabled) { power 1064 drivers/staging/ks7010/ks_wlan_net.c vwrq->power.disabled = (priv->reg.power_mgmt <= 0); power 56 drivers/staging/media/omap4iss/iss_csiphy.c static int csiphy_set_power(struct iss_csiphy *phy, u32 power) power 63 drivers/staging/media/omap4iss/iss_csiphy.c power | CSI2_COMPLEXIO_CFG_PWR_AUTO); power 71 drivers/staging/media/omap4iss/iss_csiphy.c if (reg != power >> 2) power 74 drivers/staging/media/omap4iss/iss_csiphy.c } while ((reg != power >> 2) && (retry_count < 250)); power 88 drivers/staging/media/soc_camera/soc_camera.c if (ssdd->power) { power 89 drivers/staging/media/soc_camera/soc_camera.c ret = ssdd->power(dev, 1); power 116 drivers/staging/media/soc_camera/soc_camera.c if (ssdd->power) { power 117 drivers/staging/media/soc_camera/soc_camera.c err = ssdd->power(dev, 0); power 87 drivers/staging/nvec/nvec_power.c struct nvec_power *power = power 95 drivers/staging/nvec/nvec_power.c if (power->on != res->plu) { power 96 drivers/staging/nvec/nvec_power.c power->on = res->plu; power 109 drivers/staging/nvec/nvec_power.c static void get_bat_mfg_data(struct nvec_power *power) power 116 drivers/staging/nvec/nvec_power.c nvec_write_async(power->nvec, buf, 2); power 123 drivers/staging/nvec/nvec_power.c struct nvec_power *power = power 134 drivers/staging/nvec/nvec_power.c if (power->bat_present == 0) { power 136 drivers/staging/nvec/nvec_power.c get_bat_mfg_data(power); power 139 drivers/staging/nvec/nvec_power.c power->bat_present = 1; power 143 drivers/staging/nvec/nvec_power.c power->bat_status = power 147 drivers/staging/nvec/nvec_power.c power->bat_status = power 151 drivers/staging/nvec/nvec_power.c power->bat_status = power 155 drivers/staging/nvec/nvec_power.c power->bat_status = POWER_SUPPLY_STATUS_UNKNOWN; power 158 drivers/staging/nvec/nvec_power.c if (power->bat_present == 1) power 161 drivers/staging/nvec/nvec_power.c power->bat_present = 0; power 162 drivers/staging/nvec/nvec_power.c power->bat_status = POWER_SUPPLY_STATUS_UNKNOWN; power 164 drivers/staging/nvec/nvec_power.c power->bat_cap = res->plc[1]; power 169 drivers/staging/nvec/nvec_power.c power->bat_voltage_now = res->plu * 1000; power 172 drivers/staging/nvec/nvec_power.c power->time_remain = res->plu * 3600; power 175 drivers/staging/nvec/nvec_power.c power->bat_current_now = res->pls * 1000; power 178 drivers/staging/nvec/nvec_power.c power->bat_current_avg = res->pls * 1000; power 181 drivers/staging/nvec/nvec_power.c power->capacity_remain = res->plu * 1000; power 184 drivers/staging/nvec/nvec_power.c power->charge_last_full = res->plu * 1000; power 187 drivers/staging/nvec/nvec_power.c power->charge_full_design = res->plu * 1000; power 190 drivers/staging/nvec/nvec_power.c power->critical_capacity = res->plu * 1000; power 193 drivers/staging/nvec/nvec_power.c power->bat_temperature = res->plu - 2732; power 196 drivers/staging/nvec/nvec_power.c memcpy(power->bat_manu, &res->plc, res->length - 2); power 197 drivers/staging/nvec/nvec_power.c power->bat_model[res->length - 2] = '\0'; power 200 drivers/staging/nvec/nvec_power.c memcpy(power->bat_model, &res->plc, res->length - 2); power 201 drivers/staging/nvec/nvec_power.c power->bat_model[res->length - 2] = '\0'; power 204 drivers/staging/nvec/nvec_power.c memcpy(power->bat_type, &res->plc, res->length - 2); power 205 drivers/staging/nvec/nvec_power.c power->bat_type[res->length - 2] = '\0'; power 210 drivers/staging/nvec/nvec_power.c if (!strncmp(power->bat_type, "Li", 30)) power 211 drivers/staging/nvec/nvec_power.c power->bat_type_enum = POWER_SUPPLY_TECHNOLOGY_LION; power 213 drivers/staging/nvec/nvec_power.c power->bat_type_enum = POWER_SUPPLY_TECHNOLOGY_UNKNOWN; power 226 drivers/staging/nvec/nvec_power.c struct nvec_power *power = dev_get_drvdata(psy->dev.parent); power 230 drivers/staging/nvec/nvec_power.c val->intval = power->on; power 242 drivers/staging/nvec/nvec_power.c struct nvec_power *power = dev_get_drvdata(psy->dev.parent); power 246 drivers/staging/nvec/nvec_power.c val->intval = power->bat_status; power 249 drivers/staging/nvec/nvec_power.c val->intval = power->bat_cap; power 252 drivers/staging/nvec/nvec_power.c val->intval = power->bat_present; power 255 drivers/staging/nvec/nvec_power.c val->intval = power->bat_voltage_now; power 258 drivers/staging/nvec/nvec_power.c val->intval = power->bat_current_now; power 261 drivers/staging/nvec/nvec_power.c val->intval = power->bat_current_avg; power 264 drivers/staging/nvec/nvec_power.c val->intval = power->time_remain; power 267 drivers/staging/nvec/nvec_power.c val->intval = power->charge_full_design; power 270 drivers/staging/nvec/nvec_power.c val->intval = power->charge_last_full; power 273 drivers/staging/nvec/nvec_power.c val->intval = power->critical_capacity; power 276 drivers/staging/nvec/nvec_power.c val->intval = power->capacity_remain; power 279 drivers/staging/nvec/nvec_power.c val->intval = power->bat_temperature; power 282 drivers/staging/nvec/nvec_power.c val->strval = power->bat_manu; power 285 drivers/staging/nvec/nvec_power.c val->strval = power->bat_model; power 288 drivers/staging/nvec/nvec_power.c val->intval = power->bat_type_enum; power 351 drivers/staging/nvec/nvec_power.c struct nvec_power *power = container_of(work, struct nvec_power, power 358 drivers/staging/nvec/nvec_power.c nvec_write_async(power->nvec, buf, 2); power 367 drivers/staging/nvec/nvec_power.c nvec_write_async(power->nvec, buf, 2); power 376 drivers/staging/nvec/nvec_power.c struct nvec_power *power; power 380 drivers/staging/nvec/nvec_power.c power = devm_kzalloc(&pdev->dev, sizeof(struct nvec_power), GFP_NOWAIT); power 381 drivers/staging/nvec/nvec_power.c if (!power) power 384 drivers/staging/nvec/nvec_power.c dev_set_drvdata(&pdev->dev, power); power 385 drivers/staging/nvec/nvec_power.c power->nvec = nvec; power 394 drivers/staging/nvec/nvec_power.c power->notifier.notifier_call = nvec_power_notifier; power 396 drivers/staging/nvec/nvec_power.c INIT_DELAYED_WORK(&power->poller, nvec_power_poll); power 397 drivers/staging/nvec/nvec_power.c schedule_delayed_work(&power->poller, msecs_to_jiffies(5000)); power 403 drivers/staging/nvec/nvec_power.c power->notifier.notifier_call = nvec_power_bat_notifier; power 409 drivers/staging/nvec/nvec_power.c nvec_register_notifier(nvec, &power->notifier, NVEC_SYS); power 412 drivers/staging/nvec/nvec_power.c get_bat_mfg_data(power); power 421 drivers/staging/nvec/nvec_power.c struct nvec_power *power = platform_get_drvdata(pdev); power 423 drivers/staging/nvec/nvec_power.c cancel_delayed_work_sync(&power->poller); power 424 drivers/staging/nvec/nvec_power.c nvec_unregister_notifier(power->nvec, &power->notifier); power 521 drivers/staging/olpc_dcon/olpc_dcon.c if (dev->props.power != FB_BLANK_UNBLANK) power 549 drivers/staging/olpc_dcon/olpc_dcon.c .power = FB_BLANK_UNBLANK, power 248 drivers/staging/rtl8188eu/include/rtw_recv.h s32 power; /* in dBm. */ power 251 drivers/staging/rtl8188eu/include/rtw_recv.h power = (s32)((sig_stren_index + 1) >> 1); power 252 drivers/staging/rtl8188eu/include/rtw_recv.h power -= 95; power 254 drivers/staging/rtl8188eu/include/rtw_recv.h return power; power 1757 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c wrqu->power.value = 0; power 1758 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c wrqu->power.fixed = 0; /* no auto select */ power 1759 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c wrqu->power.disabled = 1; power 577 drivers/staging/rtl8192e/rtllib_softmac_wx.c if (wrqu->power.disabled) { power 582 drivers/staging/rtl8192e/rtllib_softmac_wx.c if (wrqu->power.flags & IW_POWER_TIMEOUT) { power 583 drivers/staging/rtl8192e/rtllib_softmac_wx.c ieee->ps_timeout = wrqu->power.value / 1000; power 588 drivers/staging/rtl8192e/rtllib_softmac_wx.c if (wrqu->power.flags & IW_POWER_PERIOD) power 589 drivers/staging/rtl8192e/rtllib_softmac_wx.c ieee->ps_period = wrqu->power.value / 1000; power 591 drivers/staging/rtl8192e/rtllib_softmac_wx.c switch (wrqu->power.flags & IW_POWER_MODE) { power 625 drivers/staging/rtl8192e/rtllib_softmac_wx.c wrqu->power.disabled = 1; power 629 drivers/staging/rtl8192e/rtllib_softmac_wx.c wrqu->power.disabled = 0; power 631 drivers/staging/rtl8192e/rtllib_softmac_wx.c if ((wrqu->power.flags & IW_POWER_TYPE) == IW_POWER_TIMEOUT) { power 632 drivers/staging/rtl8192e/rtllib_softmac_wx.c wrqu->power.flags = IW_POWER_TIMEOUT; power 633 drivers/staging/rtl8192e/rtllib_softmac_wx.c wrqu->power.value = ieee->ps_timeout * 1000; power 635 drivers/staging/rtl8192e/rtllib_softmac_wx.c wrqu->power.flags = IW_POWER_PERIOD; power 636 drivers/staging/rtl8192e/rtllib_softmac_wx.c wrqu->power.value = ieee->ps_period * 1000; power 641 drivers/staging/rtl8192e/rtllib_softmac_wx.c wrqu->power.flags |= IW_POWER_ALL_R; power 643 drivers/staging/rtl8192e/rtllib_softmac_wx.c wrqu->power.flags |= IW_POWER_MULTICAST_R; power 645 drivers/staging/rtl8192e/rtllib_softmac_wx.c wrqu->power.flags |= IW_POWER_UNICAST_R; power 518 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c if (wrqu->power.disabled) { power 522 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c if (wrqu->power.flags & IW_POWER_TIMEOUT) { power 524 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c ieee->ps_timeout = wrqu->power.value / 1000; power 527 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c if (wrqu->power.flags & IW_POWER_PERIOD) { power 530 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c ieee->ps_period = wrqu->power.value / 1000; power 534 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c switch (wrqu->power.flags & IW_POWER_MODE) { power 569 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c wrqu->power.disabled = 1; power 573 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c wrqu->power.disabled = 0; power 575 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c if ((wrqu->power.flags & IW_POWER_TYPE) == IW_POWER_TIMEOUT) { power 576 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c wrqu->power.flags = IW_POWER_TIMEOUT; power 577 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c wrqu->power.value = ieee->ps_timeout * 1000; power 581 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c wrqu->power.flags = IW_POWER_PERIOD; power 582 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c wrqu->power.value = ieee->ps_period * 1000; power 587 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c wrqu->power.flags |= IW_POWER_ALL_R; power 589 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c wrqu->power.flags |= IW_POWER_MULTICAST_R; power 591 drivers/staging/rtl8192u/ieee80211/ieee80211_softmac_wx.c wrqu->power.flags |= IW_POWER_UNICAST_R; power 1659 drivers/staging/rtl8712/rtl871x_ioctl_linux.c wrqu->power.value = 0; power 1660 drivers/staging/rtl8712/rtl871x_ioctl_linux.c wrqu->power.fixed = 0; /* no auto select */ power 1661 drivers/staging/rtl8712/rtl871x_ioctl_linux.c wrqu->power.disabled = 1; power 2028 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c wrqu->power.value = 0; power 2029 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c wrqu->power.fixed = 0; /* no auto select */ power 2030 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c wrqu->power.disabled = 1; power 396 drivers/staging/sm750fb/sm750.c if (mesg.event == pdev->dev.power.power_state.event) power 404 drivers/staging/sm750fb/sm750.c pdev->dev.power.power_state = mesg; power 435 drivers/staging/sm750fb/sm750.c pdev->dev.power.power_state = mesg; power 465 drivers/staging/sm750fb/sm750.c if (pdev->dev.power.power_state.event != PM_EVENT_FREEZE) { power 503 drivers/staging/sm750fb/sm750.c pdev->dev.power.power_state.event = PM_EVENT_RESUME; power 338 drivers/staging/vt6656/device.h u8 power; power 182 drivers/staging/vt6656/main_usb.c priv->power = 0xFF; power 612 drivers/staging/vt6656/rf.c u8 power = priv->cck_pwr; power 625 drivers/staging/vt6656/rf.c power = priv->cck_pwr_tbl[channel]; power 636 drivers/staging/vt6656/rf.c power = priv->ofdm_a_pwr_tbl[channel - 15]; power 638 drivers/staging/vt6656/rf.c power = priv->ofdm_pwr_tbl[channel - 1]; power 642 drivers/staging/vt6656/rf.c return vnt_rf_set_txpower(priv, power, rate); power 672 drivers/staging/vt6656/rf.c int vnt_rf_set_txpower(struct vnt_private *priv, u8 power, u32 rate) power 677 drivers/staging/vt6656/rf.c power += vnt_rf_addpower(priv); power 678 drivers/staging/vt6656/rf.c if (power > VNT_RF_MAX_POWER) power 679 drivers/staging/vt6656/rf.c power = VNT_RF_MAX_POWER; power 681 drivers/staging/vt6656/rf.c if (priv->power == power) power 684 drivers/staging/vt6656/rf.c priv->power = power; power 688 drivers/staging/vt6656/rf.c if (power >= AL2230_PWR_IDX_LEN) power 691 drivers/staging/vt6656/rf.c ret &= vnt_rf_write_embedded(priv, al2230_power_table[power]); power 699 drivers/staging/vt6656/rf.c if (power >= AL2230_PWR_IDX_LEN) power 702 drivers/staging/vt6656/rf.c ret &= vnt_rf_write_embedded(priv, al2230_power_table[power]); power 719 drivers/staging/vt6656/rf.c if (power >= AL7230_PWR_IDX_LEN) power 726 drivers/staging/vt6656/rf.c power_setting = 0x080c0b00 | (power << 12); power 733 drivers/staging/vt6656/rf.c if (power >= VT3226_PWR_IDX_LEN) power 735 drivers/staging/vt6656/rf.c power_setting = ((0x3f - power) << 20) | (0x17 << 8); power 741 drivers/staging/vt6656/rf.c if (power >= VT3226_PWR_IDX_LEN) power 747 drivers/staging/vt6656/rf.c power_setting = ((0x3f - power) << 20) | (0xe07 << 8); power 766 drivers/staging/vt6656/rf.c power_setting = ((0x3f - power) << 20) | (0x7 << 8); power 776 drivers/staging/vt6656/rf.c if (power >= VT3342_PWR_IDX_LEN) power 779 drivers/staging/vt6656/rf.c power_setting = ((0x3f - power) << 20) | (0x27 << 8); power 45 drivers/staging/vt6656/rf.h int vnt_rf_set_txpower(struct vnt_private *priv, u8 power, u32 rate); power 50 drivers/thermal/cpu_cooling.c u32 power; power 163 drivers/thermal/cpu_cooling.c u64 power; power 184 drivers/thermal/cpu_cooling.c power = (u64)capacitance * freq_mhz * voltage_mv * voltage_mv; power 185 drivers/thermal/cpu_cooling.c do_div(power, 1000000000); power 188 drivers/thermal/cpu_cooling.c freq_table[i].power = power; power 204 drivers/thermal/cpu_cooling.c return freq_table[i - 1].power; power 208 drivers/thermal/cpu_cooling.c u32 power) power 214 drivers/thermal/cpu_cooling.c if (power > freq_table[i].power) power 363 drivers/thermal/cpu_cooling.c u32 *power) power 397 drivers/thermal/cpu_cooling.c *power = get_dynamic_power(cpufreq_cdev, freq); power 401 drivers/thermal/cpu_cooling.c load_cpu, i, *power); power 426 drivers/thermal/cpu_cooling.c unsigned long state, u32 *power) power 438 drivers/thermal/cpu_cooling.c *power = cpu_freq_to_power(cpufreq_cdev, freq) * num_cpus; power 464 drivers/thermal/cpu_cooling.c struct thermal_zone_device *tz, u32 power, power 473 drivers/thermal/cpu_cooling.c normalised_power = (power * 100) / last_load; power 478 drivers/thermal/cpu_cooling.c power); power 248 drivers/thermal/devfreq_cooling.c u64 power; power 257 drivers/thermal/devfreq_cooling.c power = (u64)dfc_power->dyn_power_coeff * freq_mhz * voltage * voltage; power 258 drivers/thermal/devfreq_cooling.c do_div(power, 1000000000); power 260 drivers/thermal/devfreq_cooling.c return power; power 275 drivers/thermal/devfreq_cooling.c u32 *power) power 300 drivers/thermal/devfreq_cooling.c res = dfc->power_ops->get_real_power(df, power, freq, voltage); power 306 drivers/thermal/devfreq_cooling.c if (*power > 1) power 307 drivers/thermal/devfreq_cooling.c dfc->res_util /= *power; power 320 drivers/thermal/devfreq_cooling.c *power = dyn_power + static_power; power 324 drivers/thermal/devfreq_cooling.c static_power, *power); power 336 drivers/thermal/devfreq_cooling.c u32 *power) power 348 drivers/thermal/devfreq_cooling.c *power = dfc->power_table[state] + static_power; power 354 drivers/thermal/devfreq_cooling.c u32 power, unsigned long *state) power 368 drivers/thermal/devfreq_cooling.c est_power = power * dfc->res_util; power 373 drivers/thermal/devfreq_cooling.c dyn_power = power - static_power; power 391 drivers/thermal/devfreq_cooling.c trace_thermal_power_devfreq_limit(cdev, freq, *state, power); power 446 drivers/thermal/devfreq_cooling.c unsigned long power, voltage; power 460 drivers/thermal/devfreq_cooling.c power = get_total_power(dfc, freq, voltage); power 462 drivers/thermal/devfreq_cooling.c power = get_dynamic_power(dfc, freq, voltage); power 465 drivers/thermal/devfreq_cooling.c freq / 1000000, voltage, power, power); power 467 drivers/thermal/devfreq_cooling.c power_table[i] = power; power 30 drivers/thermal/intel/int340x_thermal/int3403_thermal.c u64 power; power 591 drivers/thermal/thermal_core.c struct thermal_instance *instance, u32 power) power 599 drivers/thermal/thermal_core.c ret = cdev->ops->power2state(cdev, instance->tz, power, &state); power 35 drivers/thunderbolt/nhi_ops.c static int icl_nhi_force_power(struct tb_nhi *nhi, bool power) power 52 drivers/thunderbolt/nhi_ops.c if (power) { power 61 drivers/thunderbolt/nhi_ops.c if (power) { power 253 drivers/tty/serial/max310x.c void (*power)(struct uart_port *, int); power 421 drivers/tty/serial/max310x.c .power = max310x_power, power 429 drivers/tty/serial/max310x.c .power = max310x_power, power 437 drivers/tty/serial/max310x.c .power = max310x_power, power 445 drivers/tty/serial/max310x.c .power = max14830_power, power 1053 drivers/tty/serial/max310x.c s->devtype->power(port, 1); power 1103 drivers/tty/serial/max310x.c s->devtype->power(port, 0); power 1165 drivers/tty/serial/max310x.c s->devtype->power(&s->p[i].port, 0); power 1177 drivers/tty/serial/max310x.c s->devtype->power(&s->p[i].port, 1); power 1378 drivers/tty/serial/max310x.c devtype->power(&s->p[i].port, 0); power 1432 drivers/tty/serial/max310x.c s->devtype->power(&s->p[i].port, 0); power 454 drivers/usb/core/driver.c } else if (!error && !intf->dev.power.is_prepared) { power 1064 drivers/usb/core/driver.c if (!intf->dev.power.is_prepared) { power 1229 drivers/usb/core/driver.c if (intf->needs_altsetting0 && !intf->dev.power.is_prepared) { power 1573 drivers/usb/core/driver.c __func__, atomic_read(&udev->dev.power.usage_count), power 1605 drivers/usb/core/driver.c __func__, atomic_read(&udev->dev.power.usage_count), power 1635 drivers/usb/core/driver.c __func__, atomic_read(&intf->dev.power.usage_count), power 1663 drivers/usb/core/driver.c __func__, atomic_read(&intf->dev.power.usage_count), power 1713 drivers/usb/core/driver.c __func__, atomic_read(&intf->dev.power.usage_count), power 1746 drivers/usb/core/driver.c __func__, atomic_read(&intf->dev.power.usage_count), power 1794 drivers/usb/core/driver.c if (intf->dev.power.disable_depth) power 1796 drivers/usb/core/driver.c if (atomic_read(&intf->dev.power.usage_count) > 0) power 1812 drivers/usb/core/hub.c if (hdev->dev.power.autosuspend_delay >= 0) power 424 drivers/usb/core/sysfs.c return sprintf(buf, "%d\n", dev->power.autosuspend_delay / 1000); power 463 drivers/usb/core/sysfs.c if (udev->state != USB_STATE_SUSPENDED && !udev->dev.power.runtime_auto) power 774 drivers/usb/gadget/composite.c unsigned power = gadget_is_otg(gadget) ? 8 : 100; power 858 drivers/usb/gadget/composite.c power = c->MaxPower ? c->MaxPower : CONFIG_USB_GADGET_VBUS_DRAW; power 860 drivers/usb/gadget/composite.c power = min(power, 500U); power 862 drivers/usb/gadget/composite.c power = min(power, 900U); power 864 drivers/usb/gadget/composite.c if (power <= USB_SELF_POWER_VBUS_MAX_DRAW) power 869 drivers/usb/gadget/composite.c usb_gadget_vbus_draw(gadget, power); power 950 drivers/usb/gadget/legacy/inode.c unsigned power; power 955 drivers/usb/gadget/legacy/inode.c power = dev->hs_config->bMaxPower; power 957 drivers/usb/gadget/legacy/inode.c power = dev->config->bMaxPower; power 958 drivers/usb/gadget/legacy/inode.c usb_gadget_vbus_draw(dev->gadget, 2 * power); power 1410 drivers/usb/gadget/legacy/inode.c u8 config, power; power 1415 drivers/usb/gadget/legacy/inode.c power = dev->hs_config->bMaxPower; power 1418 drivers/usb/gadget/legacy/inode.c power = dev->config->bMaxPower; power 1424 drivers/usb/gadget/legacy/inode.c usb_gadget_vbus_draw(gadget, 2 * power); power 281 drivers/usb/gadget/udc/mv_u3d.h unsigned int power; power 1187 drivers/usb/gadget/udc/mv_u3d_core.c u3d->power = mA; power 462 drivers/usb/host/ehci-fsl.c dev->power.power_state = PMSG_SUSPEND; power 553 drivers/usb/host/ehci-fsl.c dev->power.power_state = PMSG_ON; power 5580 drivers/usb/host/fotg210-hcd.c pdev->dev.power.power_state = PMSG_ON; power 1862 drivers/usb/host/isp1362-hcd.c hcd->self.root_hub->dev.power.power_state = PMSG_ON; power 1906 drivers/usb/host/isp1362-hcd.c hcd->self.root_hub->dev.power.power_state = PMSG_ON; power 2735 drivers/usb/host/isp1362-hcd.c pdev->dev.power.power_state = state; power 2747 drivers/usb/host/isp1362-hcd.c if (pdev->dev.power.power_state.event == PM_EVENT_SUSPEND) { power 2755 drivers/usb/host/isp1362-hcd.c pdev->dev.power.power_state = PMSG_ON; power 150 drivers/usb/host/ohci-s3c2410.c info->port[port-1].power = to; power 284 drivers/usb/host/r8a66597.h int power) power 289 drivers/usb/host/r8a66597.h r8a66597->pdata->port_power(port, power); power 291 drivers/usb/host/r8a66597.h if (power) power 1536 drivers/usb/host/sl811-hcd.c hcd->power_budget = sl811->board->power * 2; power 60 drivers/usb/host/sl811_cs.c .power = 50, /* == 100mA */ power 116 drivers/usb/host/u132-hcd.c int power; power 188 drivers/usb/host/u132-hcd.c int power; power 1504 drivers/usb/host/u132-hcd.c u132->port[pn].power = is_on; power 1514 drivers/usb/host/u132-hcd.c if (u132->power) power 1516 drivers/usb/host/u132-hcd.c u132->power = 1; power 1518 drivers/usb/host/u132-hcd.c u132->power = 0; power 3012 drivers/usb/host/u132-hcd.c u132->power = 0; power 3032 drivers/usb/host/u132-hcd.c port->power = 0; power 3161 drivers/usb/host/u132-hcd.c if (!u132->port[0].power) { power 572 drivers/usb/misc/iowarrior.c info.power = -1; /* no information available */ power 575 drivers/usb/misc/iowarrior.c info.power = cfg_descriptor->bMaxPower * 2; power 543 drivers/usb/musb/da8xx.c pdata->power = get_vbus_power(&pdev->dev); power 134 drivers/usb/musb/musb_core.c u8 power; power 140 drivers/usb/musb/musb_core.c power = musb_readb(addr, MUSB_POWER); power 141 drivers/usb/musb/musb_core.c power &= ~MUSB_POWER_SUSPENDM; power 142 drivers/usb/musb/musb_core.c musb_writeb(addr, MUSB_POWER, power); power 178 drivers/usb/musb/musb_core.c u8 power; power 184 drivers/usb/musb/musb_core.c power = musb_readb(addr, MUSB_POWER); power 185 drivers/usb/musb/musb_core.c power &= ~MUSB_POWER_SUSPENDM; power 186 drivers/usb/musb/musb_core.c musb_writeb(addr, MUSB_POWER, power); power 1053 drivers/usb/musb/musb_core.c u8 power; power 1060 drivers/usb/musb/musb_core.c power = MUSB_POWER_ISOUPDATE; power 1067 drivers/usb/musb/musb_core.c power |= MUSB_POWER_HSENAB; power 1068 drivers/usb/musb/musb_core.c musb_writeb(regs, MUSB_POWER, power); power 2365 drivers/usb/musb/musb_core.c status = musb_host_setup(musb, plat->power); power 2377 drivers/usb/musb/musb_core.c status = musb_host_setup(musb, plat->power); power 2509 drivers/usb/musb/musb_core.c musb->context.power = musb_readb(musb_base, MUSB_POWER); power 2576 drivers/usb/musb/musb_core.c u8 power; power 2583 drivers/usb/musb/musb_core.c power = musb_readb(musb_base, MUSB_POWER); power 2584 drivers/usb/musb/musb_core.c power &= MUSB_POWER_SUSPENDM | MUSB_POWER_RESUME; power 2585 drivers/usb/musb/musb_core.c musb->context.power &= ~(MUSB_POWER_SUSPENDM | MUSB_POWER_RESUME); power 2586 drivers/usb/musb/musb_core.c power |= musb->context.power; power 2587 drivers/usb/musb/musb_core.c musb_writeb(musb_base, MUSB_POWER, power); power 254 drivers/usb/musb/musb_core.h u8 power; power 784 drivers/usb/musb/musb_dsps.c pdata.power = get_int_prop(dn, "mentor,power") / 2; power 1517 drivers/usb/musb/musb_gadget.c u8 power, devctl; power 1569 drivers/usb/musb/musb_gadget.c power = musb_readb(mregs, MUSB_POWER); power 1570 drivers/usb/musb/musb_gadget.c power |= MUSB_POWER_RESUME; power 1571 drivers/usb/musb/musb_gadget.c musb_writeb(mregs, MUSB_POWER, power); power 1577 drivers/usb/musb/musb_gadget.c power = musb_readb(mregs, MUSB_POWER); power 1578 drivers/usb/musb/musb_gadget.c power &= ~MUSB_POWER_RESUME; power 1579 drivers/usb/musb/musb_gadget.c musb_writeb(mregs, MUSB_POWER, power); power 1594 drivers/usb/musb/musb_gadget.c u8 power; power 1596 drivers/usb/musb/musb_gadget.c power = musb_readb(musb->mregs, MUSB_POWER); power 1598 drivers/usb/musb/musb_gadget.c power |= MUSB_POWER_SOFTCONN; power 1600 drivers/usb/musb/musb_gadget.c power &= ~MUSB_POWER_SOFTCONN; power 1606 drivers/usb/musb/musb_gadget.c musb_writeb(musb->mregs, MUSB_POWER, power); power 2032 drivers/usb/musb/musb_gadget.c u8 power; power 2055 drivers/usb/musb/musb_gadget.c power = musb_readb(mbase, MUSB_POWER); power 2056 drivers/usb/musb/musb_gadget.c musb->g.speed = (power & MUSB_POWER_HSMODE) power 791 drivers/usb/musb/musb_gadget_ep0.c u8 power; power 796 drivers/usb/musb/musb_gadget_ep0.c power = musb_readb(mbase, MUSB_POWER); power 797 drivers/usb/musb/musb_gadget_ep0.c musb->g.speed = (power & MUSB_POWER_HSMODE) power 25 drivers/usb/musb/musb_virthub.c u8 power; power 31 drivers/usb/musb/musb_virthub.c power = musb_readb(musb->mregs, MUSB_POWER); power 32 drivers/usb/musb/musb_virthub.c power &= ~MUSB_POWER_RESUME; power 33 drivers/usb/musb/musb_virthub.c musb_dbg(musb, "root port resume stopped, power %02x", power); power 34 drivers/usb/musb/musb_virthub.c musb_writeb(musb->mregs, MUSB_POWER, power); power 54 drivers/usb/musb/musb_virthub.c u8 power; power 65 drivers/usb/musb/musb_virthub.c power = musb_readb(mbase, MUSB_POWER); power 69 drivers/usb/musb/musb_virthub.c if (power & MUSB_POWER_RESUME) power 72 drivers/usb/musb/musb_virthub.c if (!(power & MUSB_POWER_SUSPENDM)) { power 73 drivers/usb/musb/musb_virthub.c power |= MUSB_POWER_SUSPENDM; power 74 drivers/usb/musb/musb_virthub.c musb_writeb(mbase, MUSB_POWER, power); power 77 drivers/usb/musb/musb_virthub.c power = musb_readb(mbase, MUSB_POWER); power 78 drivers/usb/musb/musb_virthub.c while (power & MUSB_POWER_SUSPENDM) { power 79 drivers/usb/musb/musb_virthub.c power = musb_readb(mbase, MUSB_POWER); power 85 drivers/usb/musb/musb_virthub.c musb_dbg(musb, "Root port suspended, power %02x", power); power 107 drivers/usb/musb/musb_virthub.c } else if (power & MUSB_POWER_SUSPENDM) { power 108 drivers/usb/musb/musb_virthub.c power &= ~MUSB_POWER_SUSPENDM; power 109 drivers/usb/musb/musb_virthub.c power |= MUSB_POWER_RESUME; power 110 drivers/usb/musb/musb_virthub.c musb_writeb(mbase, MUSB_POWER, power); power 112 drivers/usb/musb/musb_virthub.c musb_dbg(musb, "Root port resuming, power %02x", power); power 123 drivers/usb/musb/musb_virthub.c u8 power; power 138 drivers/usb/musb/musb_virthub.c power = musb_readb(mbase, MUSB_POWER); power 147 drivers/usb/musb/musb_virthub.c if (power & MUSB_POWER_RESUME) { power 158 drivers/usb/musb/musb_virthub.c power & ~MUSB_POWER_RESUME); power 166 drivers/usb/musb/musb_virthub.c power &= 0xf0; power 168 drivers/usb/musb/musb_virthub.c power | MUSB_POWER_RESET); power 178 drivers/usb/musb/musb_virthub.c power & ~MUSB_POWER_RESET); power 181 drivers/usb/musb/musb_virthub.c power = musb_readb(mbase, MUSB_POWER); power 182 drivers/usb/musb/musb_virthub.c if (power & MUSB_POWER_HSMODE) { power 424 drivers/usb/musb/omap2430.c of_property_read_u32(np, "power", (u32 *)&pdata->power); power 768 drivers/usb/storage/realtek_cr.c atomic_read(&us->pusb_intf->dev.power.usage_count)); power 770 drivers/usb/storage/realtek_cr.c if (atomic_read(&us->pusb_intf->dev.power.usage_count) > 0) { power 777 drivers/usb/storage/realtek_cr.c atomic_read(&us->pusb_intf->dev.power.usage_count)); power 810 drivers/usb/storage/realtek_cr.c atomic_read(&us->pusb_intf->dev.power.usage_count)); power 812 drivers/usb/storage/realtek_cr.c if (atomic_read(&us->pusb_intf->dev.power.usage_count) <= 0) { power 126 drivers/video/backlight/88pm860x_bl.c if (bl->props.power != FB_BLANK_UNBLANK) power 71 drivers/video/backlight/aat2870_bl.c bd->props.brightness, bd->props.power, bd->props.state); power 73 drivers/video/backlight/aat2870_bl.c if ((bd->props.power != FB_BLANK_UNBLANK) || power 171 drivers/video/backlight/aat2870_bl.c bd->props.power = FB_BLANK_UNBLANK; power 191 drivers/video/backlight/aat2870_bl.c bd->props.power = FB_BLANK_POWERDOWN; power 70 drivers/video/backlight/adp5520_bl.c if (bl->props.power != FB_BLANK_UNBLANK) power 366 drivers/video/backlight/adp8860_bl.c if (bl->props.power != FB_BLANK_UNBLANK) power 404 drivers/video/backlight/adp8870_bl.c if (bl->props.power != FB_BLANK_UNBLANK) power 36 drivers/video/backlight/ams369fg06.c unsigned int power; power 302 drivers/video/backlight/ams369fg06.c static int ams369fg06_power_is_on(int power) power 304 drivers/video/backlight/ams369fg06.c return power <= FB_BLANK_NORMAL; power 372 drivers/video/backlight/ams369fg06.c static int ams369fg06_power(struct ams369fg06 *lcd, int power) power 376 drivers/video/backlight/ams369fg06.c if (ams369fg06_power_is_on(power) && power 377 drivers/video/backlight/ams369fg06.c !ams369fg06_power_is_on(lcd->power)) power 379 drivers/video/backlight/ams369fg06.c else if (!ams369fg06_power_is_on(power) && power 380 drivers/video/backlight/ams369fg06.c ams369fg06_power_is_on(lcd->power)) power 384 drivers/video/backlight/ams369fg06.c lcd->power = power; power 393 drivers/video/backlight/ams369fg06.c return lcd->power; power 396 drivers/video/backlight/ams369fg06.c static int ams369fg06_set_power(struct lcd_device *ld, int power) power 400 drivers/video/backlight/ams369fg06.c if (power != FB_BLANK_UNBLANK && power != FB_BLANK_POWERDOWN && power 401 drivers/video/backlight/ams369fg06.c power != FB_BLANK_NORMAL) { power 406 drivers/video/backlight/ams369fg06.c return ams369fg06_power(lcd, power); power 496 drivers/video/backlight/ams369fg06.c lcd->power = FB_BLANK_POWERDOWN; power 500 drivers/video/backlight/ams369fg06.c lcd->power = FB_BLANK_UNBLANK; power 523 drivers/video/backlight/ams369fg06.c dev_dbg(dev, "lcd->power = %d\n", lcd->power); power 536 drivers/video/backlight/ams369fg06.c lcd->power = FB_BLANK_POWERDOWN; power 145 drivers/video/backlight/arcxcnn_bl.c (bl->props.power == 0) ? 0 : ARCXCNN_CMD_STDBY); power 111 drivers/video/backlight/as3711_bl.c __func__, bl->props.brightness, bl->props.power, power 114 drivers/video/backlight/as3711_bl.c if (bl->props.power != FB_BLANK_UNBLANK || power 136 drivers/video/backlight/backlight.c return sprintf(buf, "%d\n", bd->props.power); power 144 drivers/video/backlight/backlight.c unsigned long power, old_power; power 146 drivers/video/backlight/backlight.c rc = kstrtoul(buf, 0, &power); power 153 drivers/video/backlight/backlight.c pr_debug("set power to %lu\n", power); power 154 drivers/video/backlight/backlight.c if (bd->props.power != power) { power 155 drivers/video/backlight/backlight.c old_power = bd->props.power; power 156 drivers/video/backlight/backlight.c bd->props.power = power; power 159 drivers/video/backlight/backlight.c bd->props.power = old_power; power 86 drivers/video/backlight/bd6107.c if (backlight->props.power != FB_BLANK_UNBLANK || power 89 drivers/video/backlight/corgi_lcd.c int power; power 362 drivers/video/backlight/corgi_lcd.c static int corgi_lcd_set_power(struct lcd_device *ld, int power) power 366 drivers/video/backlight/corgi_lcd.c if (POWER_IS_ON(power) && !POWER_IS_ON(lcd->power)) power 369 drivers/video/backlight/corgi_lcd.c if (!POWER_IS_ON(power) && POWER_IS_ON(lcd->power)) power 372 drivers/video/backlight/corgi_lcd.c lcd->power = power; power 380 drivers/video/backlight/corgi_lcd.c return lcd->power; power 426 drivers/video/backlight/corgi_lcd.c if (bd->props.power != FB_BLANK_UNBLANK) power 553 drivers/video/backlight/corgi_lcd.c lcd->power = FB_BLANK_POWERDOWN; power 566 drivers/video/backlight/corgi_lcd.c lcd->bl_dev->props.power = FB_BLANK_UNBLANK; power 587 drivers/video/backlight/corgi_lcd.c lcd->bl_dev->props.power = FB_BLANK_UNBLANK; power 66 drivers/video/backlight/cr_bllcd.c if (bd->props.power == FB_BLANK_UNBLANK) power 70 drivers/video/backlight/cr_bllcd.c if (bd->props.power == FB_BLANK_POWERDOWN) power 146 drivers/video/backlight/cr_bllcd.c static int cr_lcd_set_power(struct lcd_device *ld, int power) power 148 drivers/video/backlight/cr_bllcd.c if (power == FB_BLANK_UNBLANK) power 150 drivers/video/backlight/cr_bllcd.c if (power == FB_BLANK_POWERDOWN) power 211 drivers/video/backlight/cr_bllcd.c crp->cr_backlight_device->props.power = FB_BLANK_UNBLANK; power 225 drivers/video/backlight/cr_bllcd.c crp->cr_backlight_device->props.power = FB_BLANK_POWERDOWN; power 82 drivers/video/backlight/da903x_bl.c if (bl->props.power != FB_BLANK_UNBLANK) power 41 drivers/video/backlight/ep93xx_bl.c if (bl->props.power != FB_BLANK_UNBLANK || power 24 drivers/video/backlight/generic_bl.c if (bd->props.power != FB_BLANK_UNBLANK) power 76 drivers/video/backlight/generic_bl.c bd->props.power = FB_BLANK_UNBLANK; power 90 drivers/video/backlight/generic_bl.c bd->props.power = 0; power 34 drivers/video/backlight/gpio_backlight.c if (bl->props.power != FB_BLANK_UNBLANK || power 153 drivers/video/backlight/gpio_backlight.c bl->props.power = gpio_backlight_initial_power_state(gbl); power 38 drivers/video/backlight/hp680_bl.c if (bd->props.power != FB_BLANK_UNBLANK) power 131 drivers/video/backlight/hp680_bl.c bd->props.power = 0; power 538 drivers/video/backlight/hx8357.c static int hx8357_set_power(struct lcd_device *lcdev, int power) power 543 drivers/video/backlight/hx8357.c if (POWER_IS_ON(power) && !POWER_IS_ON(lcd->state)) power 545 drivers/video/backlight/hx8357.c else if (!POWER_IS_ON(power) && POWER_IS_ON(lcd->state)) power 549 drivers/video/backlight/hx8357.c lcd->state = power; power 551 drivers/video/backlight/hx8357.c dev_warn(&lcdev->dev, "failed to set power mode %d\n", power); power 139 drivers/video/backlight/ili922x.c int power; power 438 drivers/video/backlight/ili922x.c static int ili922x_lcd_power(struct ili922x *lcd, int power) power 442 drivers/video/backlight/ili922x.c if (POWER_IS_ON(power) && !POWER_IS_ON(lcd->power)) power 444 drivers/video/backlight/ili922x.c else if (!POWER_IS_ON(power) && POWER_IS_ON(lcd->power)) power 448 drivers/video/backlight/ili922x.c lcd->power = power; power 453 drivers/video/backlight/ili922x.c static int ili922x_set_power(struct lcd_device *ld, int power) power 457 drivers/video/backlight/ili922x.c return ili922x_lcd_power(ili, power); power 464 drivers/video/backlight/ili922x.c return ili->power; power 508 drivers/video/backlight/ili922x.c ili->power = FB_BLANK_POWERDOWN; power 126 drivers/video/backlight/ili9320.c static int ili9320_power(struct ili9320 *lcd, int power) power 130 drivers/video/backlight/ili9320.c dev_dbg(lcd->dev, "power %d => %d\n", lcd->power, power); power 132 drivers/video/backlight/ili9320.c if (POWER_IS_ON(power) && !POWER_IS_ON(lcd->power)) power 134 drivers/video/backlight/ili9320.c else if (!POWER_IS_ON(power) && POWER_IS_ON(lcd->power)) power 138 drivers/video/backlight/ili9320.c lcd->power = power; power 140 drivers/video/backlight/ili9320.c dev_warn(lcd->dev, "failed to set power mode %d\n", power); power 150 drivers/video/backlight/ili9320.c static int ili9320_set_power(struct lcd_device *ld, int power) power 154 drivers/video/backlight/ili9320.c return ili9320_power(lcd, power); power 161 drivers/video/backlight/ili9320.c return lcd->power; power 226 drivers/video/backlight/ili9320.c ili->power = FB_BLANK_POWERDOWN; power 281 drivers/video/backlight/ili9320.c dev_info(lcd->dev, "resuming from power state %d\n", lcd->power); power 47 drivers/video/backlight/ili9320.h int power; /* current power state. */ power 25 drivers/video/backlight/ipaq_micro_bl.c if (bd->props.power != FB_BLANK_UNBLANK) power 50 drivers/video/backlight/ipaq_micro_bl.c .power = FB_BLANK_UNBLANK, power 57 drivers/video/backlight/jornada720_bl.c if ((bd->props.power != FB_BLANK_UNBLANK) || (bd->props.fb_blank != FB_BLANK_UNBLANK)) { power 124 drivers/video/backlight/jornada720_bl.c bd->props.power = FB_BLANK_UNBLANK; power 72 drivers/video/backlight/jornada720_lcd.c static int jornada_lcd_set_power(struct lcd_device *ld, int power) power 74 drivers/video/backlight/jornada720_lcd.c if (power != FB_BLANK_UNBLANK) { power 92 drivers/video/backlight/kb3886_bl.c if (bd->props.power != FB_BLANK_UNBLANK) power 158 drivers/video/backlight/kb3886_bl.c kb3886_backlight_device->props.power = FB_BLANK_UNBLANK; power 106 drivers/video/backlight/l4f00242t03.c static int l4f00242t03_lcd_power_set(struct lcd_device *ld, int power) power 117 drivers/video/backlight/l4f00242t03.c if (power <= FB_BLANK_NORMAL) { power 130 drivers/video/backlight/l4f00242t03.c l4f00242t03_lcd_power_set(priv->ld, power); power 132 drivers/video/backlight/l4f00242t03.c } else if (power < FB_BLANK_POWERDOWN) { power 146 drivers/video/backlight/l4f00242t03.c l4f00242t03_lcd_power_set(ld, power); power 158 drivers/video/backlight/l4f00242t03.c priv->lcd_state = power; power 94 drivers/video/backlight/lcd.c unsigned long power; power 96 drivers/video/backlight/lcd.c rc = kstrtoul(buf, 0, &power); power 104 drivers/video/backlight/lcd.c pr_debug("set power to %lu\n", power); power 105 drivers/video/backlight/lcd.c ld->ops->set_power(ld, power); power 44 drivers/video/backlight/lm3533_bl.c if (bd->props.power != FB_BLANK_UNBLANK) power 353 drivers/video/backlight/lm3533_bl.c bd->props.power = FB_BLANK_POWERDOWN; power 124 drivers/video/backlight/lms283gf05.c static int lms283gf05_power_set(struct lcd_device *ld, int power) power 130 drivers/video/backlight/lms283gf05.c if (power <= FB_BLANK_NORMAL) { power 24 drivers/video/backlight/lms501kf03.c unsigned int power; power 216 drivers/video/backlight/lms501kf03.c static int lms501kf03_power_is_on(int power) power 218 drivers/video/backlight/lms501kf03.c return (power) <= FB_BLANK_NORMAL; power 279 drivers/video/backlight/lms501kf03.c static int lms501kf03_power(struct lms501kf03 *lcd, int power) power 283 drivers/video/backlight/lms501kf03.c if (lms501kf03_power_is_on(power) && power 284 drivers/video/backlight/lms501kf03.c !lms501kf03_power_is_on(lcd->power)) power 286 drivers/video/backlight/lms501kf03.c else if (!lms501kf03_power_is_on(power) && power 287 drivers/video/backlight/lms501kf03.c lms501kf03_power_is_on(lcd->power)) power 291 drivers/video/backlight/lms501kf03.c lcd->power = power; power 300 drivers/video/backlight/lms501kf03.c return lcd->power; power 303 drivers/video/backlight/lms501kf03.c static int lms501kf03_set_power(struct lcd_device *ld, int power) power 307 drivers/video/backlight/lms501kf03.c if (power != FB_BLANK_UNBLANK && power != FB_BLANK_POWERDOWN && power 308 drivers/video/backlight/lms501kf03.c power != FB_BLANK_NORMAL) { power 313 drivers/video/backlight/lms501kf03.c return lms501kf03_power(lcd, power); power 362 drivers/video/backlight/lms501kf03.c lcd->power = FB_BLANK_POWERDOWN; power 366 drivers/video/backlight/lms501kf03.c lcd->power = FB_BLANK_UNBLANK; power 389 drivers/video/backlight/lms501kf03.c dev_dbg(dev, "lcd->power = %d\n", lcd->power); power 402 drivers/video/backlight/lms501kf03.c lcd->power = FB_BLANK_POWERDOWN; power 116 drivers/video/backlight/locomolcd.c if (bd->props.power != FB_BLANK_UNBLANK) power 220 drivers/video/backlight/locomolcd.c locomolcd_bl_device->props.power = 0; power 23 drivers/video/backlight/ltv350qv.c int power; power 192 drivers/video/backlight/ltv350qv.c static int ltv350qv_power(struct ltv350qv *lcd, int power) power 196 drivers/video/backlight/ltv350qv.c if (POWER_IS_ON(power) && !POWER_IS_ON(lcd->power)) power 198 drivers/video/backlight/ltv350qv.c else if (!POWER_IS_ON(power) && POWER_IS_ON(lcd->power)) power 202 drivers/video/backlight/ltv350qv.c lcd->power = power; power 207 drivers/video/backlight/ltv350qv.c static int ltv350qv_set_power(struct lcd_device *ld, int power) power 211 drivers/video/backlight/ltv350qv.c return ltv350qv_power(lcd, power); power 218 drivers/video/backlight/ltv350qv.c return lcd->power; power 237 drivers/video/backlight/ltv350qv.c lcd->power = FB_BLANK_POWERDOWN; power 51 drivers/video/backlight/lv5207lp.c if (backlight->props.power != FB_BLANK_UNBLANK || power 69 drivers/video/backlight/max8925_bl.c if (bl->props.power != FB_BLANK_UNBLANK) power 77 drivers/video/backlight/otm3225a.c int power; power 185 drivers/video/backlight/otm3225a.c static int otm3225a_set_power(struct lcd_device *ld, int power) power 189 drivers/video/backlight/otm3225a.c if (power == dd->power) power 192 drivers/video/backlight/otm3225a.c if (power > FB_BLANK_UNBLANK) power 196 drivers/video/backlight/otm3225a.c dd->power = power; power 205 drivers/video/backlight/otm3225a.c return dd->power; power 46 drivers/video/backlight/pandora_bl.c if (bl->props.power != FB_BLANK_UNBLANK) power 56 drivers/video/backlight/pcf50633-backlight.c bl->props.power != FB_BLANK_UNBLANK) power 109 drivers/video/backlight/pcf50633-backlight.c bl_props.power = FB_BLANK_UNBLANK; power 25 drivers/video/backlight/platform_lcd.c unsigned int power; power 38 drivers/video/backlight/platform_lcd.c return plcd->power; power 41 drivers/video/backlight/platform_lcd.c static int platform_lcd_set_power(struct lcd_device *lcd, int power) power 46 drivers/video/backlight/platform_lcd.c if (power == FB_BLANK_POWERDOWN || plcd->suspended) power 50 drivers/video/backlight/platform_lcd.c plcd->power = power; power 117 drivers/video/backlight/platform_lcd.c platform_lcd_set_power(plcd->lcd, plcd->power); power 127 drivers/video/backlight/platform_lcd.c platform_lcd_set_power(plcd->lcd, plcd->power); power 89 drivers/video/backlight/pm8941-wled.c if (bl->props.power != FB_BLANK_UNBLANK || power 115 drivers/video/backlight/pwm_bl.c if (bl->props.power != FB_BLANK_UNBLANK || power 641 drivers/video/backlight/pwm_bl.c bl->props.power = pwm_backlight_initial_power_state(pb); power 22 drivers/video/backlight/rave-sp-backlight.c (p->power == FB_BLANK_UNBLANK) ? p->brightness : 0; power 311 drivers/video/backlight/sky81452-backlight.c bd->props.power = FB_BLANK_UNBLANK; power 36 drivers/video/backlight/tdo24m.c int power; power 281 drivers/video/backlight/tdo24m.c static int tdo24m_power(struct tdo24m *lcd, int power) power 285 drivers/video/backlight/tdo24m.c if (POWER_IS_ON(power) && !POWER_IS_ON(lcd->power)) power 287 drivers/video/backlight/tdo24m.c else if (!POWER_IS_ON(power) && POWER_IS_ON(lcd->power)) power 291 drivers/video/backlight/tdo24m.c lcd->power = power; power 297 drivers/video/backlight/tdo24m.c static int tdo24m_set_power(struct lcd_device *ld, int power) power 301 drivers/video/backlight/tdo24m.c return tdo24m_power(lcd, power); power 308 drivers/video/backlight/tdo24m.c return lcd->power; power 357 drivers/video/backlight/tdo24m.c lcd->power = FB_BLANK_POWERDOWN; power 54 drivers/video/backlight/tosa_bl.c int power = max(props->power, props->fb_blank); power 57 drivers/video/backlight/tosa_bl.c if (power) power 113 drivers/video/backlight/tosa_bl.c data->bl->props.power = FB_BLANK_UNBLANK; power 128 drivers/video/backlight/tosa_lcd.c int tosa_lcd_set_power(struct lcd_device *lcd, int power) power 132 drivers/video/backlight/tosa_lcd.c if (POWER_IS_ON(power) && !POWER_IS_ON(data->lcd_power)) power 135 drivers/video/backlight/tosa_lcd.c if (!POWER_IS_ON(power) && POWER_IS_ON(data->lcd_power)) power 138 drivers/video/backlight/tosa_lcd.c data->lcd_power = power; power 85 drivers/video/backlight/tps65217_bl.c if ((bl->props.power != FB_BLANK_UNBLANK) || power 96 drivers/video/backlight/wm831x_bl.c if (bl->props.power != FB_BLANK_UNBLANK) power 397 drivers/video/console/sticore.c cfg->power, power 71 drivers/video/fbdev/amba-clcd.c fb->panel->backlight->props.power = FB_BLANK_POWERDOWN; power 124 drivers/video/fbdev/amba-clcd.c fb->panel->backlight->props.power = FB_BLANK_UNBLANK; power 112 drivers/video/fbdev/atmel_lcdfb.c int power = sinfo->bl_power; power 120 drivers/video/fbdev/atmel_lcdfb.c power = bl->props.fb_blank; power 121 drivers/video/fbdev/atmel_lcdfb.c else if (bl->props.power != sinfo->bl_power) power 122 drivers/video/fbdev/atmel_lcdfb.c power = bl->props.power; power 124 drivers/video/fbdev/atmel_lcdfb.c if (brightness < 0 && power == FB_BLANK_UNBLANK) power 126 drivers/video/fbdev/atmel_lcdfb.c else if (power != FB_BLANK_UNBLANK) power 136 drivers/video/fbdev/atmel_lcdfb.c bl->props.fb_blank = bl->props.power = sinfo->bl_power = power; power 175 drivers/video/fbdev/atmel_lcdfb.c bl->props.power = FB_BLANK_UNBLANK; power 186 drivers/video/fbdev/atmel_lcdfb.c sinfo->backlight->props.power = FB_BLANK_POWERDOWN; power 500 drivers/video/fbdev/aty/aty128fb.c static void aty128_bl_set_power(struct fb_info *info, int power); power 1774 drivers/video/fbdev/aty/aty128fb.c if (bd->props.power != FB_BLANK_UNBLANK || power 1827 drivers/video/fbdev/aty/aty128fb.c static void aty128_bl_set_power(struct fb_info *info, int power) power 1830 drivers/video/fbdev/aty/aty128fb.c info->bl_dev->props.power = power; power 1870 drivers/video/fbdev/aty/aty128fb.c bd->props.power = FB_BLANK_UNBLANK; power 2395 drivers/video/fbdev/aty/aty128fb.c if (state.event == pdev->dev.power.power_state.event) power 2434 drivers/video/fbdev/aty/aty128fb.c pdev->dev.power.power_state = state; power 2444 drivers/video/fbdev/aty/aty128fb.c if (pdev->dev.power.power_state.event == PM_EVENT_ON) power 2478 drivers/video/fbdev/aty/aty128fb.c pdev->dev.power.power_state = PMSG_ON; power 2053 drivers/video/fbdev/aty/atyfb_base.c if (state.event == pdev->dev.power.power_state.event) power 2093 drivers/video/fbdev/aty/atyfb_base.c pdev->dev.power.power_state = state; power 2117 drivers/video/fbdev/aty/atyfb_base.c if (pdev->dev.power.power_state.event == PM_EVENT_ON) power 2130 drivers/video/fbdev/aty/atyfb_base.c pdev->dev.power.power_state.event == PM_EVENT_SUSPEND) power 2150 drivers/video/fbdev/aty/atyfb_base.c pdev->dev.power.power_state = PMSG_ON; power 2184 drivers/video/fbdev/aty/atyfb_base.c if (bd->props.power != FB_BLANK_UNBLANK || power 2238 drivers/video/fbdev/aty/atyfb_base.c bd->props.power = FB_BLANK_UNBLANK; power 60 drivers/video/fbdev/aty/radeon_backlight.c if (bd->props.power != FB_BLANK_UNBLANK || power 186 drivers/video/fbdev/aty/radeon_backlight.c bd->props.power = FB_BLANK_UNBLANK; power 2621 drivers/video/fbdev/aty/radeon_pm.c if (mesg.event == pdev->dev.power.power_state.event) power 2705 drivers/video/fbdev/aty/radeon_pm.c pdev->dev.power.power_state = mesg; power 2723 drivers/video/fbdev/aty/radeon_pm.c if (pdev->dev.power.power_state.event == PM_EVENT_ON) power 2733 drivers/video/fbdev/aty/radeon_pm.c pci_name(pdev), pdev->dev.power.power_state.event); power 2739 drivers/video/fbdev/aty/radeon_pm.c if (pdev->dev.power.power_state.event == PM_EVENT_SUSPEND) { power 2792 drivers/video/fbdev/aty/radeon_pm.c pdev->dev.power.power_state = PMSG_ON; power 394 drivers/video/fbdev/chipsfb.c pmac_backlight->props.power = FB_BLANK_UNBLANK; power 454 drivers/video/fbdev/chipsfb.c if (state.event == pdev->dev.power.power_state.event) power 464 drivers/video/fbdev/chipsfb.c pdev->dev.power.power_state = state; power 477 drivers/video/fbdev/chipsfb.c pdev->dev.power.power_state = PMSG_ON; power 744 drivers/video/fbdev/fb-puv3.c if (dev->dev.power.power_state.event == PM_EVENT_ON) power 749 drivers/video/fbdev/fb-puv3.c if (dev->dev.power.power_state.event == PM_EVENT_SUSPEND) { power 761 drivers/video/fbdev/fb-puv3.c dev->dev.power.power_state = PMSG_ON; power 783 drivers/video/fbdev/fb-puv3.c if (mesg.event == dev->dev.power.power_state.event) power 799 drivers/video/fbdev/fb-puv3.c dev->dev.power.power_state = mesg; power 1574 drivers/video/fbdev/i810/i810_main.c dev->dev.power.power_state = mesg; power 804 drivers/video/fbdev/imxfb.c static int imxfb_lcd_set_power(struct lcd_device *lcddev, int power) power 809 drivers/video/fbdev/imxfb.c if (power == FB_BLANK_UNBLANK) power 428 drivers/video/fbdev/mmp/fb/mmpfb.c static void mmpfb_power(struct mmpfb_info *fbi, int power) power 434 drivers/video/fbdev/mmp/fb/mmpfb.c if (power) { power 445 drivers/video/fbdev/mmp/fb/mmpfb.c mmp_overlay_set_onoff(fbi->overlay, power); power 506 drivers/video/fbdev/mmp/hw/mmp_ctrl.h #define CFG_PWRDN_ENA(power) ((power)<<20) power 288 drivers/video/fbdev/mx3fb.c if (bl->props.power != FB_BLANK_UNBLANK) power 327 drivers/video/fbdev/mx3fb.c bl->props.power = FB_BLANK_UNBLANK; power 57 drivers/video/fbdev/nvidia/nv_backlight.c if (bd->props.power != FB_BLANK_UNBLANK || power 121 drivers/video/fbdev/nvidia/nv_backlight.c bd->props.power = FB_BLANK_UNBLANK; power 1062 drivers/video/fbdev/nvidia/nvidia.c dev->dev.power.power_state = mesg; power 33 drivers/video/fbdev/omap/lcd_ams_delta.c static int ams_delta_lcd_set_power(struct lcd_device *dev, int power) power 35 drivers/video/fbdev/omap/lcd_ams_delta.c if (power == FB_BLANK_UNBLANK) { power 337 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c dev->props.power == FB_BLANK_UNBLANK) power 366 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c dev->props.power == FB_BLANK_UNBLANK) power 1255 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c bldev->props.power = FB_BLANK_UNBLANK; power 1293 drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c bldev->props.power = FB_BLANK_POWERDOWN; power 345 drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c dev->props.power == FB_BLANK_UNBLANK) power 368 drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c dev->props.power == FB_BLANK_UNBLANK) { power 804 drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c props.power = FB_BLANK_UNBLANK; power 281 drivers/video/fbdev/pxa168fb.h #define CFG_PWRDN_ENA(power) ((power) << 20) power 301 drivers/video/fbdev/riva/fbdev.c if (bd->props.power != FB_BLANK_UNBLANK || power 359 drivers/video/fbdev/riva/fbdev.c bd->props.power = FB_BLANK_UNBLANK; power 2360 drivers/video/fbdev/savage/savagefb_driver.c dev->dev.power.power_state = mesg; power 1059 drivers/video/fbdev/sh_mobile_lcdcfb.c ch->bl->props.power = FB_BLANK_UNBLANK; power 1092 drivers/video/fbdev/sh_mobile_lcdcfb.c ch->bl->props.power = FB_BLANK_POWERDOWN; power 2129 drivers/video/fbdev/sh_mobile_lcdcfb.c if (bdev->props.power != FB_BLANK_UNBLANK || power 83 drivers/video/fbdev/sticore.h s16 power; /* power calculation (in Watts) */ power 203 drivers/video/fbdev/sticore.h u16 power; power 63 drivers/xen/xen-acpi-processor.c dst_cx_states = kcalloc(_pr->power.count, power 68 drivers/xen/xen-acpi-processor.c for (ok = 0, i = 1; i <= _pr->power.count; i++) { power 69 drivers/xen/xen-acpi-processor.c cx = &_pr->power.states[i]; power 102 drivers/xen/xen-acpi-processor.c op.u.set_pminfo.power.count = ok; power 103 drivers/xen/xen-acpi-processor.c op.u.set_pminfo.power.flags.bm_control = _pr->flags.bm_control; power 104 drivers/xen/xen-acpi-processor.c op.u.set_pminfo.power.flags.bm_check = _pr->flags.bm_check; power 105 drivers/xen/xen-acpi-processor.c op.u.set_pminfo.power.flags.has_cst = _pr->flags.has_cst; power 106 drivers/xen/xen-acpi-processor.c op.u.set_pminfo.power.flags.power_setup_done = power 109 drivers/xen/xen-acpi-processor.c set_xen_guest_handle(op.u.set_pminfo.power.states, dst_cx_states); power 116 drivers/xen/xen-acpi-processor.c for (i = 1; i <= _pr->power.count; i++) { power 117 drivers/xen/xen-acpi-processor.c cx = &_pr->power.states[i]; power 252 drivers/xen/xen-acpi-processor.c (u32) perf->states[i].power, power 276 drivers/xen/xen-acpi-processor.c if (_pr->flags.power) power 433 drivers/xen/xen-acpi-processor.c pr_backup->flags.power = test_bit(i, acpi_id_cst_present); power 269 include/acpi/acpi_bus.h int power; /* % Power (compared to D0) */ power 291 include/acpi/acpi_bus.h u8 power; /* % Power (compared to P0) */ power 362 include/acpi/acpi_bus.h struct acpi_device_power power; power 678 include/acpi/acpi_bus.h return adev->power.states[ACPI_STATE_D3_COLD].flags.valid || power 680 include/acpi/acpi_bus.h adev->power.states[ACPI_STATE_D3_HOT].flags.explicit_set); power 118 include/acpi/processor.h u64 power; /* milliWatts */ power 159 include/acpi/processor.h u64 power; /* milliWatts */ power 165 include/acpi/processor.h u16 power; power 205 include/acpi/processor.h u8 power:1; power 229 include/acpi/processor.h struct acpi_processor_power power; power 81 include/linux/backlight.h int power; power 145 include/linux/backlight.h bd->props.power = FB_BLANK_UNBLANK; power 161 include/linux/backlight.h bd->props.power = FB_BLANK_POWERDOWN; power 61 include/linux/devfreq_cooling.h int (*get_real_power)(struct devfreq *df, u32 *power, power 1253 include/linux/device.h struct dev_pm_info power; power 1398 include/linux/device.h return dev ? dev->power.subsys_data : NULL; power 1418 include/linux/device.h if (!dev->power.is_prepared) power 1419 include/linux/device.h dev->power.async_suspend = true; power 1424 include/linux/device.h if (!dev->power.is_prepared) power 1425 include/linux/device.h dev->power.async_suspend = false; power 1430 include/linux/device.h return !!dev->power.async_suspend; power 1435 include/linux/device.h return dev->power.no_pm; power 1440 include/linux/device.h dev->power.no_pm = true; power 1446 include/linux/device.h dev->power.syscore = val; power 1452 include/linux/device.h dev->power.driver_flags = flags; power 1457 include/linux/device.h return !!(dev->power.driver_flags & flags); power 22 include/linux/energy_model.h unsigned long power; power 62 include/linux/energy_model.h int (*active_power)(unsigned long *power, unsigned long *freq, int cpu); power 803 include/linux/hid.h int (*power)(struct hid_device *hdev, int level); power 1038 include/linux/hid.h return hdev->ll_driver->power ? hdev->ll_driver->power(hdev, level) : 0; power 45 include/linux/lcd.h int (*set_power)(struct lcd_device *, int power); power 96 include/linux/lcd.h static inline void lcd_set_power(struct lcd_device *ld, int power) power 100 include/linux/lcd.h ld->ops->set_power(ld, power); power 439 include/linux/mfd/88pm860x.h struct pm860x_power_pdata *power; power 234 include/linux/mfd/max8925.h struct max8925_power_pdata *power; power 19 include/linux/mfd/menelaus.h extern int menelaus_set_mmc_slot(int slot, int enable, int power, int cd_on); power 896 include/linux/mfd/tps65910.h struct tps65910_power *power; power 700 include/linux/mfd/twl.h struct twl4030_power_data *power; power 614 include/linux/mfd/wm8350/core.h struct wm8350_power power; power 25 include/linux/phy/omap_control_phy.h u32 __iomem *power; power 50 include/linux/platform_data/cyttsp4.h int (*power)(struct cyttsp4_core_platform_data *pdata, power 17 include/linux/platform_data/usb-ohci-s3c2410.h unsigned char power; power 77 include/linux/platform_data/usb-omap.h u16 power; power 35 include/linux/pm_clock.h return dev && dev->power.subsys_data power 36 include/linux/pm_clock.h && list_empty(&dev->power.subsys_data->clock_list); power 194 include/linux/pm_domain.h return to_gpd_data(dev->power.subsys_data->domain_data); power 165 include/linux/pm_qos.h return dev->power.qos->resume_latency_req->data.pnode.prio; power 170 include/linux/pm_qos.h return dev->power.qos->flags_req->data.flr.flags; power 175 include/linux/pm_qos.h return IS_ERR_OR_NULL(dev->power.qos) ? power 177 include/linux/pm_qos.h pm_qos_read_value(&dev->power.qos->resume_latency); power 220 include/linux/pm_qos.h dev->power.power_state = PMSG_ON; power 224 include/linux/pm_qos.h dev->power.power_state = PMSG_INVALID; power 65 include/linux/pm_runtime.h dev->power.ignore_children = enable; power 70 include/linux/pm_runtime.h atomic_inc(&dev->power.usage_count); power 75 include/linux/pm_runtime.h atomic_add_unless(&dev->power.usage_count, -1, 0); power 80 include/linux/pm_runtime.h return dev->power.runtime_status == RPM_SUSPENDED power 81 include/linux/pm_runtime.h && !dev->power.disable_depth; power 86 include/linux/pm_runtime.h return dev->power.runtime_status == RPM_ACTIVE power 87 include/linux/pm_runtime.h || dev->power.disable_depth; power 92 include/linux/pm_runtime.h return dev->power.runtime_status == RPM_SUSPENDED; power 97 include/linux/pm_runtime.h return !dev->power.disable_depth; power 102 include/linux/pm_runtime.h return !dev->power.no_callbacks; power 107 include/linux/pm_runtime.h WRITE_ONCE(dev->power.last_busy, ktime_get_mono_fast_ns()); power 112 include/linux/pm_runtime.h return dev->power.irq_safe; power 74 include/linux/pm_wakeup.h return dev->power.can_wakeup; power 79 include/linux/pm_wakeup.h return dev->power.can_wakeup && !!dev->power.wakeup; power 84 include/linux/pm_wakeup.h dev->power.wakeup_path = true; power 111 include/linux/pm_wakeup.h dev->power.can_wakeup = capable; power 116 include/linux/pm_wakeup.h return dev->power.can_wakeup; power 140 include/linux/pm_wakeup.h dev->power.should_wakeup = true; power 146 include/linux/pm_wakeup.h dev->power.should_wakeup = false; power 152 include/linux/pm_wakeup.h dev->power.should_wakeup = enable; power 165 include/linux/pm_wakeup.h return dev->power.can_wakeup && dev->power.should_wakeup; power 493 include/linux/remoteproc.h atomic_t power; power 116 include/linux/scmi_protocol.h unsigned long *rate, unsigned long *power); power 477 include/linux/thermal.h struct thermal_instance *tz, u32 power) power 30 include/linux/usb/iowarrior.h __u32 power; power 91 include/linux/usb/musb.h u8 power; power 33 include/linux/usb/r8a66597.h void (*port_power)(int port, int power); power 17 include/linux/usb/sl811.h u8 power; power 86 include/media/i2c/adp1653.h int (*power)(struct v4l2_subdev *sd, int on); power 146 include/media/soc_camera.h int (*power)(struct device *, int); power 206 include/media/soc_camera.h int (*power)(struct device *, int); power 1108 include/net/cfg80211.h s16 power; power 52 include/net/cfg802154.h int (*set_tx_power)(struct wpan_phy *wpan_phy, s32 power); power 1922 include/net/mac80211.h s16 power; power 611 include/sound/soc-dapm.h unsigned char power:1; /* block power status */ power 16 include/sound/uda134x.h void (*power) (int); power 3 include/trace/events/power.h #define TRACE_SYSTEM power power 3 include/trace/events/power_cpu_migrate.h #define TRACE_SYSTEM power power 39 include/trace/events/rpm.h &dev->power.usage_count); power 40 include/trace/events/rpm.h __entry->disable_depth = dev->power.disable_depth; power 41 include/trace/events/rpm.h __entry->runtime_auto = dev->power.runtime_auto; power 42 include/trace/events/rpm.h __entry->request_pending = dev->power.request_pending; power 43 include/trace/events/rpm.h __entry->irq_safe = dev->power.irq_safe; power 45 include/trace/events/rpm.h &dev->power.child_count); power 127 include/trace/events/thermal.h unsigned long cdev_state, u32 power), power 129 include/trace/events/thermal.h TP_ARGS(cpus, freq, cdev_state, power), power 135 include/trace/events/thermal.h __field(u32, power ) power 143 include/trace/events/thermal.h __entry->power = power; power 148 include/trace/events/thermal.h __entry->power) power 156 include/trace/events/thermal.h u32 dynamic_power, u32 static_power, u32 power), power 158 include/trace/events/thermal.h TP_ARGS(cdev, status, freq, dynamic_power, static_power, power), power 166 include/trace/events/thermal.h __field(u32, power) power 175 include/trace/events/thermal.h __entry->power = power; power 181 include/trace/events/thermal.h __entry->power) power 186 include/trace/events/thermal.h unsigned long cdev_state, u32 power), power 188 include/trace/events/thermal.h TP_ARGS(cdev, freq, cdev_state, power), power 194 include/trace/events/thermal.h __field(u32, power ) power 201 include/trace/events/thermal.h __entry->power = power; power 206 include/trace/events/thermal.h __entry->power) power 917 include/uapi/linux/wireless.h struct iw_param power; /* PM duration/timeout */ power 15 include/video/platform_lcd.h void (*set_power)(struct plat_lcd_data *, unsigned int power); power 364 include/xen/interface/platform.h uint32_t power; /* average power consumption(mW) */ power 396 include/xen/interface/platform.h uint64_t power; /* milliWatts */ power 429 include/xen/interface/platform.h struct xen_processor_power power;/* Cx: _CST/_CSD */ power 6313 kernel/cgroup/cgroup.c static u64 power_of_ten(int power) power 6316 kernel/cgroup/cgroup.c while (power--) power 40 kernel/power/energy_model.c debugfs_create_ulong("power", 0444, d, &cs->power); power 85 kernel/power/energy_model.c unsigned long power, freq, prev_freq = 0; power 109 kernel/power/energy_model.c ret = cb->active_power(&power, &freq, cpu); power 128 kernel/power/energy_model.c if (!power || power > EM_CPU_MAX_POWER) { power 129 kernel/power/energy_model.c pr_err("pd%d: invalid power: %lu\n", cpu, power); power 133 kernel/power/energy_model.c table[i].power = power; power 142 kernel/power/energy_model.c opp_eff = freq / power; power 152 kernel/power/energy_model.c table[i].cost = div64_u64(fmax * table[i].power, power 246 lib/crc32.c u32 power = polynomial; /* CRC of x^32 */ power 260 lib/crc32.c crc = gf2_multiply(crc, power, polynomial); power 267 lib/crc32.c power = gf2_multiply(power, power, polynomial); power 465 net/decnet/dn_fib.c int power = 0; power 468 net/decnet/dn_fib.c power += nh->nh_weight; power 472 net/decnet/dn_fib.c fi->fib_power = power; power 473 net/decnet/dn_fib.c if (power < 0) { power 1041 net/ieee802154/nl802154.c s32 power; power 1050 net/ieee802154/nl802154.c power = nla_get_s32(info->attrs[NL802154_ATTR_TX_POWER]); power 1053 net/ieee802154/nl802154.c if (power == rdev->wpan_phy.supported.tx_powers[i]) power 1054 net/ieee802154/nl802154.c return rdev_set_tx_power(rdev, power); power 111 net/ieee802154/rdev-ops.h s32 power) power 115 net/ieee802154/rdev-ops.h trace_802154_rdev_set_tx_power(&rdev->wpan_phy, power); power 116 net/ieee802154/rdev-ops.h ret = rdev->ops->set_tx_power(&rdev->wpan_phy, power); power 120 net/ieee802154/trace.h TP_PROTO(struct wpan_phy *wpan_phy, s32 power), power 121 net/ieee802154/trace.h TP_ARGS(wpan_phy, power), power 124 net/ieee802154/trace.h __field(s32, power) power 128 net/ieee802154/trace.h __entry->power = power; power 131 net/ieee802154/trace.h __entry->power) power 1472 net/mac80211/cfg.c sta->sta.txpwr.power = params->txpwr.power; power 64 net/mac80211/debugfs.c DEBUGFS_READONLY_FILE(power, "%d", power 435 net/mac80211/debugfs.c DEBUGFS_ADD(power); power 50 net/mac80211/iface.c int power; power 59 net/mac80211/iface.c power = ieee80211_chandef_max_power(&chanctx_conf->def); power 63 net/mac80211/iface.c power = min(power, sdata->user_power_level); power 66 net/mac80211/iface.c power = min(power, sdata->ap_power_level); power 68 net/mac80211/iface.c if (power != sdata->vif.bss_conf.txpower) { power 69 net/mac80211/iface.c sdata->vif.bss_conf.txpower = power; power 96 net/mac80211/main.c int power; power 141 net/mac80211/main.c power = ieee80211_chandef_max_power(&chandef); power 149 net/mac80211/main.c power = min(power, sdata->vif.bss_conf.txpower); power 153 net/mac80211/main.c if (local->hw.conf.power_level != power) { power 155 net/mac80211/main.c local->hw.conf.power_level = power; power 850 net/mac80211/trace.h __entry->txpwr = sta->txpwr.power; power 164 net/mac802154/cfg.c ieee802154_set_tx_power(struct wpan_phy *wpan_phy, s32 power) power 171 net/mac802154/cfg.c if (wpan_phy->transmit_power == power) power 174 net/mac802154/cfg.c ret = drv_set_tx_power(local, power); power 176 net/mac802154/cfg.c wpan_phy->transmit_power = power; power 127 net/mac802154/trace.h TP_PROTO(struct ieee802154_local *local, s32 power), power 128 net/mac802154/trace.h TP_ARGS(local, power), power 131 net/mac802154/trace.h __field(s32, power) power 135 net/mac802154/trace.h __entry->power = power; power 138 net/mac802154/trace.h __entry->power) power 314 net/rfkill/core.c if (unlikely(rfkill->dev.power.power_state.event & PM_EVENT_SLEEP)) power 339 net/sched/sch_pie.c u32 power; power 372 net/sched/sch_pie.c power = 100; power 373 net/sched/sch_pie.c while (q->vars.prob < div_u64(MAX_PROB, power) && power 374 net/sched/sch_pie.c power <= 1000000) { power 377 net/sched/sch_pie.c power *= 10; power 5686 net/wireless/nl80211.c params->txpwr.power = power 2300 sound/pci/ac97/ac97_codec.c unsigned short power; power 2309 sound/pci/ac97/ac97_codec.c power = ac97->regs[AC97_EXTENDED_STATUS]; power 2311 sound/pci/ac97/ac97_codec.c power |= AC97_EA_PRJ; power 2313 sound/pci/ac97/ac97_codec.c power |= AC97_EA_PRI | AC97_EA_PRK; power 2314 sound/pci/ac97/ac97_codec.c power |= AC97_EA_PRL; power 2315 sound/pci/ac97/ac97_codec.c snd_ac97_write(ac97, AC97_EXTENDED_STATUS, power); power 2319 sound/pci/ac97/ac97_codec.c power = ac97->regs[AC97_POWERDOWN] & ~AC97_PD_EAPD; power 2321 sound/pci/ac97/ac97_codec.c power = ac97->regs[AC97_POWERDOWN] | AC97_PD_EAPD; power 2322 sound/pci/ac97/ac97_codec.c power |= AC97_PD_PR6; /* Headphone amplifier powerdown */ power 2323 sound/pci/ac97/ac97_codec.c power |= AC97_PD_PR0 | AC97_PD_PR1; /* ADC & DAC powerdown */ power 2324 sound/pci/ac97/ac97_codec.c snd_ac97_write(ac97, AC97_POWERDOWN, power); power 2326 sound/pci/ac97/ac97_codec.c power |= AC97_PD_PR2; /* Analog Mixer powerdown (Vref on) */ power 2327 sound/pci/ac97/ac97_codec.c snd_ac97_write(ac97, AC97_POWERDOWN, power); power 2329 sound/pci/ac97/ac97_codec.c power |= AC97_PD_PR3; /* Analog Mixer powerdown */ power 2330 sound/pci/ac97/ac97_codec.c snd_ac97_write(ac97, AC97_POWERDOWN, power); power 2334 sound/pci/ac97/ac97_codec.c power |= AC97_PD_PR4 | AC97_PD_PR5; power 2335 sound/pci/ac97/ac97_codec.c snd_ac97_write(ac97, AC97_POWERDOWN, power); power 526 sound/pci/ca0106/ca0106_main.c int power) power 534 sound/pci/ca0106/ca0106_main.c if (power) power 1620 sound/pci/echoaudio/echoaudio.c int power, changed = 0; power 1622 sound/pci/echoaudio/echoaudio.c power = !!ucontrol->value.integer.value[0]; power 1623 sound/pci/echoaudio/echoaudio.c if (chip->phantom_power != power) { power 1625 sound/pci/echoaudio/echoaudio.c changed = set_phantom_power(chip, power); power 977 sound/pci/hda/hda_codec.c codec->core.dev.power.power_state = PMSG_ON; power 2918 sound/pci/hda/hda_codec.c codec->core.dev.power.power_state = PMSG_ON; power 2970 sound/pci/hda/hda_codec.c dev->power.power_state = PMSG_SUSPEND; power 2976 sound/pci/hda/hda_codec.c dev->power.power_state = PMSG_RESUME; power 2982 sound/pci/hda/hda_codec.c dev->power.power_state = PMSG_FREEZE; power 2988 sound/pci/hda/hda_codec.c dev->power.power_state = PMSG_THAW; power 2994 sound/pci/hda/hda_codec.c dev->power.power_state = PMSG_RESTORE; power 822 sound/pci/hda/hda_generic.c int i, state, power; power 834 sound/pci/hda/hda_generic.c power = snd_hda_codec_read(codec, nid, 0, power 836 sound/pci/hda/hda_generic.c if (power != (state | (state << 4))) { power 4216 sound/pci/hda/hda_generic.c int power) power 4225 sound/pci/hda/hda_generic.c if (power >= 0 && on != power) power 845 sound/pci/hda/patch_realtek.c ((codec)->core.dev.power.power_state.event == PM_EVENT_RESUME) power 847 sound/pci/hda/patch_realtek.c ((codec)->core.dev.power.power_state.event == PM_EVENT_RESTORE) power 3643 sound/pci/hda/patch_realtek.c codec->core.dev.power.power_state.event == PM_EVENT_RESTORE) { power 182 sound/pci/ice1712/psc724.c u16 power = spec->wm8776.regs[WM8776_REG_PWRDOWN] & ~WM8776_PWR_HPPD; power 186 sound/pci/ice1712/psc724.c power |= WM8776_PWR_HPPD; power 187 sound/pci/ice1712/psc724.c snd_wm8776_set_power(&spec->wm8776, power); power 441 sound/pci/ice1712/wm8776.c void snd_wm8776_set_power(struct snd_wm8776 *wm, u16 power) power 443 sound/pci/ice1712/wm8776.c snd_wm8776_write(wm, WM8776_REG_PWRDOWN, power); power 205 sound/pci/ice1712/wm8776.h void snd_wm8776_set_power(struct snd_wm8776 *wm, u16 power); power 682 sound/pci/pcxhr/pcxhr_mix22.c static void hr222_phantom_power(struct pcxhr_mgr *mgr, int power) power 684 sound/pci/pcxhr/pcxhr_mix22.c if (power) power 691 sound/pci/pcxhr/pcxhr_mix22.c dev_dbg(&mgr->pci->dev, "hr222_phantom_power : set %d\n", power); power 813 sound/pci/pcxhr/pcxhr_mix22.c int power, changed = 0; power 816 sound/pci/pcxhr/pcxhr_mix22.c power = !!ucontrol->value.integer.value[0]; power 817 sound/pci/pcxhr/pcxhr_mix22.c if (chip->phantom_power != power) { power 818 sound/pci/pcxhr/pcxhr_mix22.c hr222_phantom_power(chip->mgr, power); power 819 sound/pci/pcxhr/pcxhr_mix22.c chip->phantom_power = power; power 84 sound/soc/codecs/tlv320aic3x.c int power; power 1384 sound/soc/codecs/tlv320aic3x.c static int aic3x_set_power(struct snd_soc_component *component, int power) power 1390 sound/soc/codecs/tlv320aic3x.c if (power) { power 1395 sound/soc/codecs/tlv320aic3x.c aic3x->power = 1; power 1431 sound/soc/codecs/tlv320aic3x.c aic3x->power = 0; power 1458 sound/soc/codecs/tlv320aic3x.c if (!aic3x->power) power 1468 sound/soc/codecs/tlv320aic3x.c if (aic3x->power) power 335 sound/soc/codecs/tlv320dac33.c static inline void dac33_soft_power(struct snd_soc_component *component, int power) power 340 sound/soc/codecs/tlv320dac33.c if (power) power 363 sound/soc/codecs/tlv320dac33.c static int dac33_hard_power(struct snd_soc_component *component, int power) power 371 sound/soc/codecs/tlv320dac33.c if (unlikely(power == dac33->chip_power)) { power 373 sound/soc/codecs/tlv320dac33.c power ? "ON" : "OFF"); power 377 sound/soc/codecs/tlv320dac33.c if (power) { power 306 sound/soc/codecs/uda134x.c if (pd->power) { power 307 sound/soc/codecs/uda134x.c pd->power(1); power 315 sound/soc/codecs/uda134x.c if (pd->power) { power 316 sound/soc/codecs/uda134x.c pd->power(0); power 470 sound/soc/codecs/uda134x.c if (pd->power) power 471 sound/soc/codecs/uda134x.c pd->power(1); power 30 sound/soc/codecs/wm8400.c static struct regulator_bulk_data power[] = { power 1141 sound/soc/codecs/wm8400.c ret = regulator_bulk_enable(ARRAY_SIZE(power), power 1142 sound/soc/codecs/wm8400.c &power[0]); power 1219 sound/soc/codecs/wm8400.c ret = regulator_bulk_disable(ARRAY_SIZE(power), power 1220 sound/soc/codecs/wm8400.c &power[0]); power 1288 sound/soc/codecs/wm8400.c ARRAY_SIZE(power), &power[0]); power 1005 sound/soc/codecs/wm8960.c if (wm8960->lout1 && wm8960->lout1->power) power 1007 sound/soc/codecs/wm8960.c if (wm8960->rout1 && wm8960->rout1->power) power 1009 sound/soc/codecs/wm8960.c if (wm8960->out3 && wm8960->out3->power) power 188 sound/soc/intel/atom/sst-atom-controls.c if (e->w && e->w->power) power 358 sound/soc/intel/atom/sst-atom-controls.c if (bc->w && bc->w->power) power 491 sound/soc/intel/atom/sst-atom-controls.c if (mc->w && mc->w->power) power 635 sound/soc/intel/atom/sst-atom-controls.c if (w->power) power 741 sound/soc/intel/atom/sst-atom-controls.c ret = sst->ops->power(sst->dev, true); power 769 sound/soc/intel/atom/sst-atom-controls.c sst->ops->power(sst->dev, false); power 1322 sound/soc/intel/atom/sst-atom-controls.c if (p->connect && p->sink->power && power 1341 sound/soc/intel/atom/sst-atom-controls.c if (p->connect && p->source->power && power 65 sound/soc/intel/atom/sst-mfld-platform-compress.c sst->compr_ops->power(sst->dev, true); power 82 sound/soc/intel/atom/sst-mfld-platform-compress.c sst->compr_ops->power(sst->dev, false); power 295 sound/soc/intel/atom/sst-mfld-platform-pcm.c return stream->ops->power(sst->dev, true); power 300 sound/soc/intel/atom/sst-mfld-platform-pcm.c stream->ops->power(sst->dev, false); power 116 sound/soc/intel/atom/sst-mfld-platform.h int (*power)(struct device *dev, bool state); power 129 sound/soc/intel/atom/sst-mfld-platform.h int (*power)(struct device *dev, bool state); power 38 sound/soc/intel/atom/sst/sst_drv_interface.c #define GET_USAGE_COUNT(dev) (atomic_read(&dev->power.usage_count)) power 673 sound/soc/intel/atom/sst/sst_drv_interface.c .power = sst_power_control, power 690 sound/soc/intel/atom/sst/sst_drv_interface.c .power = sst_power_control, power 1327 sound/soc/intel/skylake/skl-topology.c if (w->power) power 1376 sound/soc/intel/skylake/skl-topology.c if (w->power) power 1606 sound/soc/intel/skylake/skl-topology.c if (p->connect && p->sink->power && power 1619 sound/soc/intel/skylake/skl-topology.c if (p->connect && p->source->power && power 49 sound/soc/pxa/mioa701_wm9713.c static int rear_amp_power(struct snd_soc_component *component, int power) power 53 sound/soc/pxa/mioa701_wm9713.c if (power) { power 518 sound/soc/soc-dapm.c return data->widget->power; power 607 sound/soc/soc-dapm.c w->new_power = w->power; power 1524 sound/soc/soc-dapm.c int power, ret; power 1529 sound/soc/soc-dapm.c power = 1; power 1533 sound/soc/soc-dapm.c power = 1; power 1537 sound/soc/soc-dapm.c power = 0; power 1541 sound/soc/soc-dapm.c power = 0; power 1545 sound/soc/soc-dapm.c power = 1; power 1549 sound/soc/soc-dapm.c power = 0; power 1556 sound/soc/soc-dapm.c if (w->new_power != power) power 1588 sound/soc/soc-dapm.c w->power = w->new_power; power 1591 sound/soc/soc-dapm.c if (w->power) power 1861 sound/soc/soc-dapm.c bool power, bool connect) power 1871 sound/soc/soc-dapm.c if (power != peer->power) power 1875 sound/soc/soc-dapm.c static void dapm_widget_set_power(struct snd_soc_dapm_widget *w, bool power, power 1881 sound/soc/soc-dapm.c if (w->power == power) power 1884 sound/soc/soc-dapm.c trace_snd_soc_dapm_widget_power(w, power); power 1890 sound/soc/soc-dapm.c dapm_widget_set_peer_power(path->source, power, path->connect); power 1895 sound/soc/soc-dapm.c dapm_widget_set_peer_power(path->sink, power, power 1899 sound/soc/soc-dapm.c if (power) power 1909 sound/soc/soc-dapm.c int power; power 1920 sound/soc/soc-dapm.c power = dapm_widget_power_check(w); power 1922 sound/soc/soc-dapm.c dapm_widget_set_power(w, power, up_list, down_list); power 2123 sound/soc/soc-dapm.c w->name, w->power ? "On" : "Off", power 2418 sound/soc/soc-dapm.c w->name, w->power ? "On":"Off"); power 3253 sound/soc/soc-dapm.c w->power = 1; power 4020 sound/soc/soc-dapm.c if (w->power) power 4770 sound/soc/soc-dapm.c if (w->power) { power 247 sound/soc/sof/topology.c u32 power = 1 << fwl; power 252 sound/soc/sof/topology.c return power; power 266 sound/soc/sof/topology.c power = vol_shift_64((u64)power * a, fwl); power 271 sound/soc/sof/topology.c return power; power 276 sound/soc/sof/topology.c do_div(numerator, power); power 69 tools/power/cpupower/utils/cpufreq-set.c int power = 0, match_count = 0, i, cp, pad; power 91 tools/power/cpupower/utils/cpufreq-set.c power = unit->power_of_ten; power 102 tools/power/cpupower/utils/cpufreq-set.c while (power > -1 && isdigit(str[cp+1])) power 103 tools/power/cpupower/utils/cpufreq-set.c cp++, power--; power 105 tools/power/cpupower/utils/cpufreq-set.c if (power >= -1) /* not enough => pad */ power 106 tools/power/cpupower/utils/cpufreq-set.c pad = power + 1; power 108 tools/power/cpupower/utils/cpufreq-set.c pad = 0, cp += power + 1;