/Linux-v4.19/arch/h8300/lib/ |
D | mulsi3.S | 9 ; 16b * 16b = 372 states (worst case) 10 ; 32b * 32b = 724 states (worst case) 14 ; 16b * 16b = 48 states 15 ; 16b * 32b = 72 states 16 ; 32b * 32b = 92 states 21 mov.w r1,r2 ; ( 2 states) b * d 22 mulxu r0,er2 ; (22 states) 24 mov.w e0,r3 ; ( 2 states) a * d 25 beq L_skip1 ; ( 4 states) 26 mulxu r1,er3 ; (22 states) [all …]
|
/Linux-v4.19/drivers/cpuidle/governors/ |
D | ladder.c | 40 struct ladder_device_state states[CPUIDLE_STATE_MAX]; member 55 ldev->states[old_idx].stats.promotion_count = 0; in ladder_do_selection() 56 ldev->states[old_idx].stats.demotion_count = 0; in ladder_do_selection() 72 int first_idx = drv->states[0].flags & CPUIDLE_FLAG_POLLING ? 1 : 0; in ladder_select_state() 81 last_state = &ldev->states[last_idx]; in ladder_select_state() 83 last_residency = cpuidle_get_last_residency(dev) - drv->states[last_idx].exit_latency; in ladder_select_state() 87 !drv->states[last_idx + 1].disabled && in ladder_select_state() 90 drv->states[last_idx + 1].exit_latency <= latency_req) { in ladder_select_state() 101 (drv->states[last_idx].disabled || in ladder_select_state() 103 drv->states[last_idx].exit_latency > latency_req)) { in ladder_select_state() [all …]
|
D | menu.c | 326 if (drv->states[0].flags & CPUIDLE_FLAG_POLLING) { in menu_select() 327 struct cpuidle_state *s = &drv->states[1]; in menu_select() 374 struct cpuidle_state *s = &drv->states[i]; in menu_select() 392 expected_interval = drv->states[idx].target_residency; in menu_select() 402 if (drv->states[idx].target_residency < TICK_USEC && in menu_select() 415 expected_interval = drv->states[idx].target_residency; in menu_select() 428 if (((drv->states[idx].flags & CPUIDLE_FLAG_POLLING) || in menu_select() 434 if (idx > 0 && drv->states[idx].target_residency > delta_next_us) { in menu_select() 442 if (drv->states[i].disabled || in menu_select() 447 if (drv->states[i].target_residency <= delta_next_us) in menu_select() [all …]
|
/Linux-v4.19/drivers/regulator/ |
D | gpio-regulator.c | 45 struct gpio_regulator_state *states; member 57 if (data->states[ptr].gpios == data->state) in gpio_regulator_get_value() 58 return data->states[ptr].value; in gpio_regulator_get_value() 71 if (data->states[ptr].value < best_val && in gpio_regulator_set_voltage() 72 data->states[ptr].value >= min_uV && in gpio_regulator_set_voltage() 73 data->states[ptr].value <= max_uV) { in gpio_regulator_set_voltage() 74 target = data->states[ptr].gpios; in gpio_regulator_set_voltage() 75 best_val = data->states[ptr].value; in gpio_regulator_set_voltage() 100 return data->states[selector].value; in gpio_regulator_list_voltage() 110 if (data->states[ptr].value > best_val && in gpio_regulator_set_current_limit() [all …]
|
/Linux-v4.19/drivers/cpuidle/ |
D | cpuidle-mvebu-v7.c | 36 if (drv->states[index].flags & MVEBU_V7_FLAG_DEEP_IDLE) in mvebu_v7_enter_idle() 50 .states[0] = ARM_CPUIDLE_WFI_STATE, 51 .states[1] = { 59 .states[2] = { 73 .states[0] = ARM_CPUIDLE_WFI_STATE, 74 .states[1] = { 88 .states[0] = ARM_CPUIDLE_WFI_STATE, 89 .states[1] = {
|
D | cpuidle-big_little.c | 65 .states[0] = ARM_CPUIDLE_WFI_STATE, 66 .states[1] = { 86 .states[0] = ARM_CPUIDLE_WFI_STATE, 87 .states[1] = {
|
/Linux-v4.19/Documentation/devicetree/bindings/arm/ |
D | idle-states.txt | 2 ARM idle states binding description 10 where cores can be put in different low-power states (ranging from simple 11 wfi to power gating) according to OS PM policies. The CPU states representing 12 the range of dynamic idle states that a processor can enter at run-time, can be 14 to enter/exit specific idle states on a given processor. 17 power states an ARM CPU can be put into are identified by the following list: 25 The power states described in the SBSA document define the basic CPU states on 27 PM implementation to put the processor in different idle states (which include 28 states listed above; "off" state is not an idle state since it does not have 35 The device tree binding definition for ARM idle states is the subject of this [all …]
|
/Linux-v4.19/drivers/cpufreq/ |
D | ia64-acpi-cpufreq.c | 98 if (value == data->acpi_data.states[i].status) in extract_clock() 99 return data->acpi_data.states[i].core_frequency; in extract_clock() 101 return data->acpi_data.states[i-1].core_frequency; in extract_clock() 160 value = (u32) data->acpi_data.states[state].control; in processor_set_freq() 255 if ((data->acpi_data.states[i].transition_latency * 1000) > in acpi_cpufreq_cpu_init() 258 data->acpi_data.states[i].transition_latency * 1000; in acpi_cpufreq_cpu_init() 267 data->acpi_data.states[i].core_frequency * 1000; in acpi_cpufreq_cpu_init() 283 (u32) data->acpi_data.states[i].core_frequency, in acpi_cpufreq_cpu_init() 284 (u32) data->acpi_data.states[i].power, in acpi_cpufreq_cpu_init() 285 (u32) data->acpi_data.states[i].transition_latency, in acpi_cpufreq_cpu_init() [all …]
|
D | acpi-cpufreq.c | 214 if (value == perf->states[i].status) in extract_io() 234 if (msr == perf->states[pos->driver_data].status) in extract_msr() 451 drv_write(data, mask, perf->states[next_perf_state].control); in acpi_cpufreq_target() 497 perf->states[next_perf_state].control); in acpi_cpufreq_fast_switch() 512 unsigned long freqn = perf->states[0].core_frequency * 1000; in acpi_cpufreq_guess_freq() 516 freqn = perf->states[i+1].core_frequency * 1000; in acpi_cpufreq_guess_freq() 527 return perf->states[0].core_frequency * 1000; in acpi_cpufreq_guess_freq() 772 if ((perf->states[i].transition_latency * 1000) > in acpi_cpufreq_cpu_init() 775 perf->states[i].transition_latency * 1000; in acpi_cpufreq_cpu_init() 787 if (i > 0 && perf->states[i].core_frequency >= in acpi_cpufreq_cpu_init() [all …]
|
/Linux-v4.19/sound/usb/misc/ |
D | ua101.c | 101 unsigned long states; member 169 if (test_and_clear_bit(USB_CAPTURE_RUNNING, &ua->states)) { in abort_usb_capture() 177 if (test_and_clear_bit(USB_PLAYBACK_RUNNING, &ua->states)) in abort_usb_playback() 196 if (test_bit(USB_PLAYBACK_RUNNING, &ua->states)) { in playback_urb_complete() 216 set_bit(PLAYBACK_URB_COMPLETED, &ua->states); in first_playback_urb_complete() 269 if (unlikely(!test_bit(USB_PLAYBACK_RUNNING, &ua->states))) in playback_tasklet() 299 if (test_bit(ALSA_PLAYBACK_RUNNING, &ua->states)) in playback_tasklet() 380 if (frames > 0 && test_bit(ALSA_CAPTURE_RUNNING, &ua->states)) in capture_urb_complete() 385 if (test_bit(USB_CAPTURE_RUNNING, &ua->states)) { in capture_urb_complete() 412 if (test_bit(USB_PLAYBACK_RUNNING, &ua->states) && in capture_urb_complete() [all …]
|
/Linux-v4.19/drivers/gpu/drm/ |
D | drm_blend.c | 357 struct drm_plane_state **states; in drm_atomic_helper_crtc_normalize_zpos() local 365 states = kmalloc_array(total_planes, sizeof(*states), GFP_KERNEL); in drm_atomic_helper_crtc_normalize_zpos() 366 if (!states) in drm_atomic_helper_crtc_normalize_zpos() 380 states[n++] = plane_state; in drm_atomic_helper_crtc_normalize_zpos() 386 sort(states, n, sizeof(*states), drm_atomic_state_zpos_cmp, NULL); in drm_atomic_helper_crtc_normalize_zpos() 389 plane = states[i]->plane; in drm_atomic_helper_crtc_normalize_zpos() 391 states[i]->normalized_zpos = i; in drm_atomic_helper_crtc_normalize_zpos() 398 kfree(states); in drm_atomic_helper_crtc_normalize_zpos()
|
/Linux-v4.19/arch/x86/kernel/acpi/ |
D | cstate.c | 63 } states[ACPI_PROCESSOR_MAX_POWER]; member 131 percpu_entry->states[cx->index].eax = 0; in acpi_processor_ffh_cstate_probe() 132 percpu_entry->states[cx->index].ecx = 0; in acpi_processor_ffh_cstate_probe() 139 percpu_entry->states[cx->index].eax = cx->address; in acpi_processor_ffh_cstate_probe() 140 percpu_entry->states[cx->index].ecx = MWAIT_ECX_INTERRUPT_BREAK; in acpi_processor_ffh_cstate_probe() 161 mwait_idle_with_hints(percpu_entry->states[cx->index].eax, in acpi_processor_ffh_cstate_enter() 162 percpu_entry->states[cx->index].ecx); in acpi_processor_ffh_cstate_enter()
|
/Linux-v4.19/drivers/i2c/muxes/ |
D | i2c-mux-pinctrl.c | 30 struct pinctrl_state **states; member 37 return pinctrl_select_state(mux->pinctrl, mux->states[chan]); in i2c_mux_pinctrl_select() 107 sizeof(*mux) + num_names * sizeof(*mux->states), in i2c_mux_pinctrl_probe() 114 mux->states = (struct pinctrl_state **)(mux + 1); in i2c_mux_pinctrl_probe() 133 mux->states[i] = pinctrl_lookup_state(mux->pinctrl, name); in i2c_mux_pinctrl_probe() 134 if (IS_ERR(mux->states[i])) { in i2c_mux_pinctrl_probe() 135 ret = PTR_ERR(mux->states[i]); in i2c_mux_pinctrl_probe() 156 if (root != i2c_mux_pinctrl_root_adapter(mux->states[i])) { in i2c_mux_pinctrl_probe()
|
/Linux-v4.19/Documentation/admin-guide/pm/ |
D | strategies.rst | 11 One of them is based on using global low-power states of the whole system in 13 significantly reduced, referred to as :doc:`sleep states <sleep-states>`. The 14 kernel puts the system into one of these states when requested by user space 17 user space code can run. Because sleep states are global and the whole system 22 <working-state>`, is based on adjusting the power states of individual hardware 26 a metastate covering a range of different power states of the system in which 28 ``inactive`` (idle). If they are active, they have to be in power states 30 are inactive, ideally, they should be in low-power states in which they may not 39 for the same system in a sleep state. However, transitions from sleep states 43 sleep states than when they are runtime idle most of the time.
|
/Linux-v4.19/drivers/acpi/ |
D | processor_idle.c | 181 int state = cx - pr->power.states; in lapic_timer_state_broadcast() 236 pr->power.states[ACPI_STATE_C2].type = ACPI_STATE_C2; in acpi_processor_get_power_info_fadt() 237 pr->power.states[ACPI_STATE_C3].type = ACPI_STATE_C3; in acpi_processor_get_power_info_fadt() 250 pr->power.states[ACPI_STATE_C2].address = pr->pblk + 4; in acpi_processor_get_power_info_fadt() 251 pr->power.states[ACPI_STATE_C3].address = pr->pblk + 5; in acpi_processor_get_power_info_fadt() 254 pr->power.states[ACPI_STATE_C2].latency = acpi_gbl_FADT.c2_latency; in acpi_processor_get_power_info_fadt() 255 pr->power.states[ACPI_STATE_C3].latency = acpi_gbl_FADT.c3_latency; in acpi_processor_get_power_info_fadt() 265 pr->power.states[ACPI_STATE_C2].address = 0; in acpi_processor_get_power_info_fadt() 276 pr->power.states[ACPI_STATE_C3].address = 0; in acpi_processor_get_power_info_fadt() 281 pr->power.states[ACPI_STATE_C2].address, in acpi_processor_get_power_info_fadt() [all …]
|
/Linux-v4.19/Documentation/devicetree/bindings/powerpc/opal/ |
D | power-mgt.txt | 5 idle states. The description of these idle states is exposed via the 14 - flags: indicating some aspects of this idle states such as the 16 idle states and so on. The flag bits are as follows: 27 The following properties provide details about the idle states. These 32 If idle-states are defined, then the properties 38 Array of strings containing the names of the idle states. 42 flags associated with the the aforementioned idle-states. The 62 exit-latencies (in ns) for the idle states in 67 target-residency (in ns) for the idle states in 75 PSSCR for each of the idle states in ibm,cpu-idle-state-names. [all …]
|
/Linux-v4.19/arch/arm64/boot/dts/freescale/ |
D | fsl-ls2080a.dtsi | 20 cpu-idle-states = <&CPU_PW20>; 30 cpu-idle-states = <&CPU_PW20>; 40 cpu-idle-states = <&CPU_PW20>; 50 cpu-idle-states = <&CPU_PW20>; 60 cpu-idle-states = <&CPU_PW20>; 70 cpu-idle-states = <&CPU_PW20>; 81 cpu-idle-states = <&CPU_PW20>; 90 cpu-idle-states = <&CPU_PW20>;
|
D | fsl-ls2088a.dtsi | 20 cpu-idle-states = <&CPU_PW20>; 30 cpu-idle-states = <&CPU_PW20>; 40 cpu-idle-states = <&CPU_PW20>; 50 cpu-idle-states = <&CPU_PW20>; 61 cpu-idle-states = <&CPU_PW20>; 70 cpu-idle-states = <&CPU_PW20>; 80 cpu-idle-states = <&CPU_PW20>; 90 cpu-idle-states = <&CPU_PW20>;
|
/Linux-v4.19/Documentation/devicetree/bindings/regulator/ |
D | gpio-regulator.txt | 7 - states : Selection of available voltages and GPIO configs. 8 if there are no states, then use a fixed regulator 13 - gpios-states : gpios pin's initial states array. 0: LOW, 1: HIGH. 36 states = <1800000 0x3
|
/Linux-v4.19/tools/power/cpupower/utils/helpers/ |
D | misc.c | 9 int *states) in cpufreq_has_boost_support() argument 15 *support = *active = *states = 0; in cpufreq_has_boost_support() 35 ret = amd_pci_get_num_boost_states(active, states); in cpufreq_has_boost_support()
|
/Linux-v4.19/arch/x86/platform/intel-mid/ |
D | pwr.c | 401 static int mid_set_initial_state(struct mid_pwr *pwr, const u32 *states) in mid_set_initial_state() argument 426 mid_pwr_set_state(pwr, 0, states[0]); in mid_set_initial_state() 427 mid_pwr_set_state(pwr, 1, states[1]); in mid_set_initial_state() 428 mid_pwr_set_state(pwr, 2, states[2]); in mid_set_initial_state() 429 mid_pwr_set_state(pwr, 3, states[3]); in mid_set_initial_state() 447 static const u32 states[] = { in pnw_set_initial_state() local 453 return mid_set_initial_state(pwr, states); in pnw_set_initial_state() 458 static const u32 states[] = { in tng_set_initial_state() local 464 return mid_set_initial_state(pwr, states); in tng_set_initial_state()
|
/Linux-v4.19/Documentation/ABI/testing/ |
D | sysfs-devices-power | 15 from sleep states, such as the memory sleep state (suspend to 33 be enabled to wake up the system from sleep states. 87 the system from sleep states, this attribute is not present. 89 states, this attribute is empty. 99 system from sleep states, this attribute is not present. If 101 states, this attribute is empty. 111 is not capable to wake up the system from sleep states, this 113 up the system from sleep states, this attribute is empty. 123 from sleep states, this attribute is not present. If the 124 device is not enabled to wake up the system from sleep states, [all …]
|
/Linux-v4.19/arch/arm/mach-imx/ |
D | cpuidle-imx6q.c | 50 .states = { 75 imx6q_cpuidle_driver.states[1].disabled = true; in imx6q_cpuidle_fec_irqs_used() 81 imx6q_cpuidle_driver.states[1].disabled = false; in imx6q_cpuidle_fec_irqs_unused()
|
/Linux-v4.19/arch/sh/kernel/cpu/shmobile/ |
D | cpuidle.c | 57 .states = { 92 cpuidle_driver.states[1].disabled = false; in sh_mobile_setup_cpuidle() 95 cpuidle_driver.states[2].disabled = false; in sh_mobile_setup_cpuidle()
|
/Linux-v4.19/Documentation/blockdev/drbd/ |
D | README.txt | 15 conn-states-8.dot, disk-states-8.dot, node-states-8.dot
|