Home
last modified time | relevance | path

Searched refs:states (Results 1 – 25 of 624) sorted by relevance

12345678910>>...25

/linux/arch/h8300/lib/
A Dmulsi3.S14 ; 16b * 16b = 48 states
15 ; 16b * 32b = 72 states
16 ; 32b * 32b = 92 states
22 mulxu r0,er2 ; (22 states)
25 beq L_skip1 ; ( 4 states)
26 mulxu r1,er3 ; (22 states)
27 add.w r3,e2 ; ( 2 states)
31 beq L_skip2 ; ( 4 states)
32 mulxu r0,er3 ; (22 states)
33 add.w r3,e2 ; ( 2 states)
[all …]
/linux/drivers/cpuidle/
A Dcpuidle-psci-domain.c68 states[i].data = psci_state_buf; in psci_pd_parse_state_nodes()
76 kfree(states[i].data); in psci_pd_parse_state_nodes()
81 struct genpd_power_state **states, int *state_count) in psci_pd_parse_states() argument
91 ret = psci_pd_parse_state_nodes(*states, *state_count); in psci_pd_parse_states()
93 kfree(*states); in psci_pd_parse_states()
104 kfree(states[i].data); in psci_pd_free_states()
105 kfree(states); in psci_pd_free_states()
113 struct genpd_power_state *states = NULL; in psci_pd_init() local
132 ret = psci_pd_parse_states(np, &states, &state_count); in psci_pd_init()
138 pd->states = states; in psci_pd_init()
[all …]
A Dcpuidle-mvebu-v7.c36 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] = {
A Dcpuidle-psci.c61 u32 *states = data->psci_states; in __psci_enter_domain_idle_state() local
80 state = states[idx]; in __psci_enter_domain_idle_state()
197 drv->states[state_count - 1].enter = psci_enter_domain_idle_state; in psci_dt_cpu_init_topology()
198 drv->states[state_count - 1].enter_s2idle = psci_enter_s2idle_domain_idle_state; in psci_dt_cpu_init_topology()
313 drv->states[0].enter = psci_enter_idle_state; in psci_idle_init_cpu()
314 drv->states[0].exit_latency = 1; in psci_idle_init_cpu()
315 drv->states[0].target_residency = 1; in psci_idle_init_cpu()
316 drv->states[0].power_usage = UINT_MAX; in psci_idle_init_cpu()
317 strcpy(drv->states[0].name, "WFI"); in psci_idle_init_cpu()
318 strcpy(drv->states[0].desc, "ARM WFI"); in psci_idle_init_cpu()
A Dcpuidle.c71 if (drv->states[i].enter_dead) in cpuidle_play_dead()
72 return drv->states[i].enter_dead(dev, i); in cpuidle_play_dead()
87 struct cpuidle_state *s = &drv->states[i]; in find_deepest_state()
141 struct cpuidle_state *target_state = &drv->states[index]; in enter_s2idle_proper()
205 struct cpuidle_state *target_state = &drv->states[index]; in cpuidle_enter_state()
221 target_state = &drv->states[index]; in cpuidle_enter_state()
274 if (diff < drv->states[entered_state].target_residency_ns) { in cpuidle_enter_state()
292 if (diff - delay >= drv->states[i].target_residency_ns) in cpuidle_enter_state()
410 state_limit = drv->states[i].target_residency_ns; in cpuidle_poll_time()
606 if (drv->states[i].flags & CPUIDLE_FLAG_UNUSABLE) in __cpuidle_register_device()
[all …]
/linux/drivers/regulator/
A Dgpio-regulator.c39 struct gpio_regulator_state *states; member
52 return data->states[ptr].value; in gpio_regulator_get_value()
68 target = data->states[ptr].gpios; in gpio_regulator_set_voltage()
94 return data->states[selector].value; in gpio_regulator_list_voltage()
107 target = data->states[ptr].gpios; in gpio_regulator_set_current_limit()
196 config->states = devm_kcalloc(dev, in of_get_gpio_regulator_config()
200 if (!config->states) in of_get_gpio_regulator_config()
205 &config->states[i].value); in of_get_gpio_regulator_config()
207 &config->states[i].gpios); in of_get_gpio_regulator_config()
277 config->states, in gpio_regulator_probe()
[all …]
A Dirq_helpers.c107 stat = &rid->states[i]; in regulator_notifier_isr_work()
132 stat = &rid->states[i]; in regulator_notifier_isr_work()
214 rdev = rid->states[i].rdev; in regulator_notifier_isr()
240 stat = &rid->states[i]; in regulator_notifier_isr()
286 h->rdata.states = devm_kzalloc(dev, sizeof(*h->rdata.states) * in init_rdev_state()
288 if (!h->rdata.states) in init_rdev_state()
295 h->rdata.states[i].possible_errs = common_err; in init_rdev_state()
297 h->rdata.states[i].possible_errs |= *rdev_err++; in init_rdev_state()
298 h->rdata.states[i].rdev = *rdev++; in init_rdev_state()
309 if (h->rdata.states[i].possible_errs) in init_rdev_errors()
[all …]
/linux/Documentation/devicetree/bindings/arm/
A Didle-states.yaml7 title: ARM idle states binding description
33 The power states described in the SBSA document define the basic CPU states on
47 2 - idle-states definitions
163 states energy consumptions plots.
206 shallower states in a system with multiple idle states) is defined
208 IDLE1 and IDLE2 states breaks even.
214 3 - idle-states node
217 ARM processor idle states are defined within the idle-states node, which is
246 const: idle-states
479 idle-states {
[all …]
/linux/drivers/cpuidle/governors/
A Dladder.c40 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()
82 last_state = &ldev->states[last_idx]; in ladder_select_state()
90 drv->states[last_idx + 1].exit_latency_ns <= latency_req) { in ladder_select_state()
102 drv->states[last_idx].exit_latency_ns > latency_req)) { in ladder_select_state()
106 if (drv->states[i].exit_latency_ns <= latency_req) in ladder_select_state()
136 int first_idx = drv->states[0].flags & CPUIDLE_FLAG_POLLING ? 1 : 0; in ladder_enable_device()
144 state = &drv->states[i]; in ladder_enable_device()
[all …]
A Dmenu.c294 ((data->next_timer_ns < drv->states[1].target_residency_ns || in menu_select()
295 latency_req < drv->states[1].exit_latency_ns) && in menu_select()
302 *stop_tick = !(drv->states[0].flags & CPUIDLE_FLAG_POLLING); in menu_select()
344 struct cpuidle_state *s = &drv->states[i]; in menu_select()
357 if ((drv->states[idx].flags & CPUIDLE_FLAG_POLLING) && in menu_select()
374 predicted_ns = drv->states[idx].target_residency_ns; in menu_select()
384 if (drv->states[idx].target_residency_ns < TICK_NSEC && in menu_select()
403 if (((drv->states[idx].flags & CPUIDLE_FLAG_POLLING) || in menu_select()
419 if (drv->states[i].target_residency_ns <= delta_tick) in menu_select()
454 struct cpuidle_state *target = &drv->states[last_idx]; in menu_update()
[all …]
A Dteo.c174 u64 lat_ns = drv->states[dev->last_state_idx].exit_latency_ns; in teo_update()
204 s64 target_residency_ns = drv->states[i].target_residency_ns; in teo_update()
251 return (drv->states[idx].target_residency_ns + in teo_middle_of_bin()
252 drv->states[idx+1].target_residency_ns) / 2; in teo_middle_of_bin()
273 if (drv->states[i].target_residency_ns <= duration_ns) in teo_find_shallower_state()
320 if (drv->states[1].target_residency_ns > duration_ns) in teo_select()
333 struct cpuidle_state *s = &drv->states[i]; in teo_select()
460 if (((drv->states[idx].flags & CPUIDLE_FLAG_POLLING) || in teo_select()
471 drv->states[idx].target_residency_ns > delta_tick) in teo_select()
/linux/Documentation/admin-guide/pm/
A Dintel_idle.rst42 .. _intel-idle-enumeration-of-states:
50 as C-states (in the ACPI terminology) or idle states. The list of meaningful
56 subsystem (see :ref:`idle-states-representation` in
102 :ref:`idle-states-representation` in
136 driver, which determines the idle states enumeration method (see
148 available idle states is created as explained
181 after finding that number of usable idle states (the other idle states that
208 idle state; see :ref:`idle-states-representation` in
220 .. _intel-idle-core-and-package-idle-states:
226 least) two levels of idle states (or C-states). One level, referred to as
[all …]
A Dstrategies.rst15 One of them is based on using global low-power states of the whole system in
17 significantly reduced, referred to as :doc:`sleep states <sleep-states>`. The
18 kernel puts the system into one of these states when requested by user space
21 user space code can run. Because sleep states are global and the whole system
26 <working-state>`, is based on adjusting the power states of individual hardware
30 a metastate covering a range of different power states of the system in which
32 ``inactive`` (idle). If they are active, they have to be in power states
34 are inactive, ideally, they should be in low-power states in which they may not
43 for the same system in a sleep state. However, transitions from sleep states
47 sleep states than when they are runtime idle most of the time.
/linux/sound/usb/misc/
A Dua101.c90 unsigned long states; member
504 if (test_bit(DISCONNECTED, &ua->states)) in start_usb_capture()
521 set_bit(USB_CAPTURE_RUNNING, &ua->states); in start_usb_capture()
545 if (test_bit(DISCONNECTED, &ua->states)) in start_usb_playback()
572 test_bit(DISCONNECTED, &ua->states)); in start_usb_playback()
573 if (test_bit(DISCONNECTED, &ua->states)) { in start_usb_playback()
664 set_bit(ALSA_CAPTURE_OPEN, &ua->states); in capture_pcm_open()
692 set_bit(ALSA_PLAYBACK_OPEN, &ua->states); in playback_pcm_open()
769 if (test_bit(DISCONNECTED, &ua->states)) in capture_pcm_prepare()
796 if (test_bit(DISCONNECTED, &ua->states)) in playback_pcm_prepare()
[all …]
/linux/drivers/cpufreq/
A Dia64-acpi-cpufreq.c97 if (value == data->acpi_data.states[i].status) in extract_clock()
98 return data->acpi_data.states[i].core_frequency; in extract_clock()
100 return data->acpi_data.states[i-1].core_frequency; in extract_clock()
159 value = (u32) data->acpi_data.states[state].control; in processor_set_freq()
266 data->acpi_data.states[i].core_frequency * 1000; in acpi_cpufreq_cpu_init()
282 (u32) data->acpi_data.states[i].core_frequency, in acpi_cpufreq_cpu_init()
283 (u32) data->acpi_data.states[i].power, in acpi_cpufreq_cpu_init()
284 (u32) data->acpi_data.states[i].transition_latency, in acpi_cpufreq_cpu_init()
285 (u32) data->acpi_data.states[i].bus_master_latency, in acpi_cpufreq_cpu_init()
286 (u32) data->acpi_data.states[i].status, in acpi_cpufreq_cpu_init()
[all …]
/linux/Documentation/admin-guide/blockdev/drbd/
A Dfigures.rst20 .. kernel-figure:: conn-states-8.dot
21 :alt: conn-states-8.dot
24 .. kernel-figure:: disk-states-8.dot
25 :alt: disk-states-8.dot
28 .. kernel-figure:: peer-states-8.dot
29 :alt: peer-states-8.dot
/linux/drivers/acpi/
A Dprocessor_idle.c285 pr->power.states[ACPI_STATE_C0].valid = 1; in acpi_processor_get_power_info_default()
454 sort(&pr->power.states[1], max_cstate, in acpi_processor_power_verify()
475 memset(pr->power.states, 0, sizeof(pr->power.states)); in acpi_processor_get_cstate_info()
493 if (pr->power.states[i].valid) { in acpi_processor_get_cstate_info()
733 state = &acpi_idle_driver.states[count]; in acpi_processor_setup_cpuidle_cx()
734 cx = &pr->power.states[i]; in acpi_processor_setup_cpuidle_cx()
779 cx = &pr->power.states[i]; in acpi_processor_setup_cstates()
784 state = &drv->states[count]; in acpi_processor_setup_cstates()
1187 state = &drv->states[i]; in acpi_processor_setup_lpi_states()
1219 drv->states[i].name[0] = '\0'; in acpi_processor_setup_cpuidle_states()
[all …]
/linux/drivers/gpu/drm/
A Ddrm_blend.c448 struct drm_plane_state **states; in drm_atomic_helper_crtc_normalize_zpos() local
456 states = kmalloc_array(total_planes, sizeof(*states), GFP_KERNEL); in drm_atomic_helper_crtc_normalize_zpos()
457 if (!states) in drm_atomic_helper_crtc_normalize_zpos()
471 states[n++] = plane_state; in drm_atomic_helper_crtc_normalize_zpos()
477 sort(states, n, sizeof(*states), drm_atomic_state_zpos_cmp, NULL); in drm_atomic_helper_crtc_normalize_zpos()
480 plane = states[i]->plane; in drm_atomic_helper_crtc_normalize_zpos()
482 states[i]->normalized_zpos = i; in drm_atomic_helper_crtc_normalize_zpos()
489 kfree(states); in drm_atomic_helper_crtc_normalize_zpos()
/linux/arch/x86/kernel/acpi/
A Dcstate.c106 } states[ACPI_PROCESSOR_MAX_POWER]; member
174 percpu_entry->states[cx->index].eax = 0; in acpi_processor_ffh_cstate_probe()
175 percpu_entry->states[cx->index].ecx = 0; in acpi_processor_ffh_cstate_probe()
183 percpu_entry->states[cx->index].eax = cx->address; in acpi_processor_ffh_cstate_probe()
184 percpu_entry->states[cx->index].ecx = MWAIT_ECX_INTERRUPT_BREAK; in acpi_processor_ffh_cstate_probe()
205 mwait_idle_with_hints(percpu_entry->states[cx->index].eax, in acpi_processor_ffh_cstate_enter()
206 percpu_entry->states[cx->index].ecx); in acpi_processor_ffh_cstate_enter()
/linux/Documentation/devicetree/bindings/powerpc/opal/
A Dpower-mgt.txt5 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:
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.
88 kernel. For such idle states, the kernel would set the
[all …]
/linux/drivers/i2c/muxes/
A Di2c-mux-pinctrl.c19 struct pinctrl_state *states[]; member
26 return pinctrl_select_state(mux->pinctrl, mux->states[chan]); in i2c_mux_pinctrl_select()
96 struct_size(mux, states, num_names), in i2c_mux_pinctrl_probe()
121 mux->states[i] = pinctrl_lookup_state(mux->pinctrl, name); in i2c_mux_pinctrl_probe()
122 if (IS_ERR(mux->states[i])) { in i2c_mux_pinctrl_probe()
123 ret = PTR_ERR(mux->states[i]); in i2c_mux_pinctrl_probe()
144 if (root != i2c_mux_pinctrl_root_adapter(mux->states[i])) { in i2c_mux_pinctrl_probe()
/linux/arch/arm64/boot/dts/freescale/
A Dfsl-ls2088a.dtsi21 cpu-idle-states = <&CPU_PW20>;
31 cpu-idle-states = <&CPU_PW20>;
41 cpu-idle-states = <&CPU_PW20>;
51 cpu-idle-states = <&CPU_PW20>;
62 cpu-idle-states = <&CPU_PW20>;
71 cpu-idle-states = <&CPU_PW20>;
81 cpu-idle-states = <&CPU_PW20>;
91 cpu-idle-states = <&CPU_PW20>;
A Dfsl-ls2080a.dtsi21 cpu-idle-states = <&CPU_PW20>;
31 cpu-idle-states = <&CPU_PW20>;
41 cpu-idle-states = <&CPU_PW20>;
51 cpu-idle-states = <&CPU_PW20>;
61 cpu-idle-states = <&CPU_PW20>;
71 cpu-idle-states = <&CPU_PW20>;
82 cpu-idle-states = <&CPU_PW20>;
91 cpu-idle-states = <&CPU_PW20>;
/linux/Documentation/devicetree/bindings/power/
A Dpower-domain.yaml30 domain-idle-states:
33 Phandles of idle states that defines the available states for the
37 Note that, the domain-idle-state property reflects the idle states of this
38 PM domain and not the idle states of the devices or sub-domains in the PM
39 domain. Devices and sub-domains have their own idle states independent of
40 the parent domain's idle states. In the absence of this property, the
108 domain-idle-states = <&DOMAIN_RET>, <&DOMAIN_PWR_DN>;
116 domain-idle-states = <&DOMAIN_PWR_DN>;
119 domain-idle-states {
/linux/Documentation/devicetree/bindings/regulator/
A Dgpio-regulator.yaml35 voltage/current listed in "states".
39 gpios-states:
55 states:
58 no states in the "states" array, use a fixed regulator instead.
92 - states
109 states = <1800000 0x3>,

Completed in 43 milliseconds

12345678910>>...25