Home
last modified time | relevance | path

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

12345678910>>...33

/OK3568_Linux_fs/kernel/arch/h8300/lib/
H A Dmulsi3.S9 ; 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 …]
/OK3568_Linux_fs/kernel/drivers/cpuidle/governors/
H A Dteo.c105 struct teo_idle_state states[CPUIDLE_STATE_MAX]; member
131 u64 lat_ns = drv->states[dev->last_state_idx].exit_latency_ns; in teo_update()
158 unsigned int early_hits = cpu_data->states[i].early_hits; in teo_update()
160 cpu_data->states[i].early_hits -= early_hits >> DECAY_SHIFT; in teo_update()
162 if (drv->states[i].target_residency_ns <= cpu_data->sleep_length_ns) { in teo_update()
164 if (drv->states[i].target_residency_ns <= measured_ns) in teo_update()
178 unsigned int hits = cpu_data->states[idx_timer].hits; in teo_update()
179 unsigned int misses = cpu_data->states[idx_timer].misses; in teo_update()
187 cpu_data->states[idx_hit].early_hits += PULSE; in teo_update()
192 cpu_data->states[idx_timer].misses = misses; in teo_update()
[all …]
H 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()
84 last_residency = dev->last_residency_ns - drv->states[last_idx].exit_latency_ns; 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()
[all …]
H A Dmenu.c289 ((data->next_timer_ns < drv->states[1].target_residency_ns || in menu_select()
290 latency_req < drv->states[1].exit_latency_ns) && in menu_select()
297 *stop_tick = !(drv->states[0].flags & CPUIDLE_FLAG_POLLING); in menu_select()
339 struct cpuidle_state *s = &drv->states[i]; in menu_select()
352 if ((drv->states[idx].flags & CPUIDLE_FLAG_POLLING) && in menu_select()
369 predicted_ns = drv->states[idx].target_residency_ns; in menu_select()
379 if (drv->states[idx].target_residency_ns < TICK_NSEC && in menu_select()
398 if (((drv->states[idx].flags & CPUIDLE_FLAG_POLLING) || in menu_select()
402 if (idx > 0 && drv->states[idx].target_residency_ns > delta_next) { in menu_select()
414 if (drv->states[i].target_residency_ns <= delta_next) in menu_select()
[all …]
/OK3568_Linux_fs/kernel/drivers/cpuidle/
H A Dcpuidle-psci-domain.c34 struct genpd_power_state *state = &pd->states[pd->state_idx]; in psci_pd_power_off()
50 static int psci_pd_parse_state_nodes(struct genpd_power_state *states, in psci_pd_parse_state_nodes() argument
57 ret = psci_dt_parse_state_node(to_of_node(states[i].fwnode), in psci_pd_parse_state_nodes()
68 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
86 ret = of_genpd_parse_idle_states(np, states, state_count); in psci_pd_parse_states()
91 ret = psci_pd_parse_state_nodes(*states, *state_count); in psci_pd_parse_states()
93 kfree(*states); in psci_pd_parse_states()
98 static void psci_pd_free_states(struct genpd_power_state *states, in psci_pd_free_states() argument
[all …]
H 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] = {
H A Dcpuidle-psci.c62 u32 *states = data->psci_states; in __psci_enter_domain_idle_state() local
85 state = states[idx]; in __psci_enter_domain_idle_state()
205 drv->states[state_count - 1].enter = psci_enter_domain_idle_state; in psci_dt_cpu_init_topology()
206 drv->states[state_count - 1].enter_s2idle = psci_enter_s2idle_domain_idle_state; in psci_dt_cpu_init_topology()
321 drv->states[0].enter = psci_enter_idle_state; in psci_idle_init_cpu()
322 drv->states[0].exit_latency = 1; in psci_idle_init_cpu()
323 drv->states[0].target_residency = 1; in psci_idle_init_cpu()
324 drv->states[0].power_usage = UINT_MAX; in psci_idle_init_cpu()
325 strcpy(drv->states[0].name, "WFI"); in psci_idle_init_cpu()
326 strcpy(drv->states[0].desc, "ARM WFI"); in psci_idle_init_cpu()
H A Dcpuidle.c72 if (drv->states[i].enter_dead) in cpuidle_play_dead()
73 return drv->states[i].enter_dead(dev, i); in cpuidle_play_dead()
88 struct cpuidle_state *s = &drv->states[i]; in find_deepest_state()
142 struct cpuidle_state *target_state = &drv->states[index]; in enter_s2idle_proper()
218 target_state = &drv->states[index]; in cpuidle_enter_state()
233 target_state = &drv->states[index]; in cpuidle_enter_state()
273 s64 diff, delay = drv->states[entered_state].exit_latency_ns; in cpuidle_enter_state()
287 if (diff < drv->states[entered_state].target_residency_ns) { in cpuidle_enter_state()
305 if (diff - delay >= drv->states[i].target_residency_ns) in cpuidle_enter_state()
406 limit_ns = drv->states[i].target_residency_ns; in cpuidle_poll_time()
[all …]
/OK3568_Linux_fs/kernel/drivers/regulator/
H A Dgpio-regulator.c39 struct gpio_regulator_state *states; member
51 if (data->states[ptr].gpios == data->state) in gpio_regulator_get_value()
52 return data->states[ptr].value; in gpio_regulator_get_value()
65 if (data->states[ptr].value < best_val && in gpio_regulator_set_voltage()
66 data->states[ptr].value >= min_uV && in gpio_regulator_set_voltage()
67 data->states[ptr].value <= max_uV) { in gpio_regulator_set_voltage()
68 target = data->states[ptr].gpios; in gpio_regulator_set_voltage()
69 best_val = data->states[ptr].value; in gpio_regulator_set_voltage()
94 return data->states[selector].value; in gpio_regulator_list_voltage()
104 if (data->states[ptr].value > best_val && in gpio_regulator_set_current_limit()
[all …]
/OK3568_Linux_fs/kernel/Documentation/admin-guide/pm/
H A Dintel_idle.rst28 processor's functional blocks into low-power states. That instruction takes two
42 .. _intel-idle-enumeration-of-states:
50 as C-states (in the ACPI terminology) or idle states. The list of meaningful
51 ``MWAIT`` hint values and idle states (i.e. low-power configurations of the
55 In order to create a list of available idle states required by the ``CPUIdle``
56 subsystem (see :ref:`idle-states-representation` in :doc:`cpuidle`),
57 ``intel_idle`` can use two sources of information: static tables of idle states
68 states, ``intel_idle`` first looks for a ``_CST`` object under one of the ACPI
71 ``CPUIdle`` subsystem expects that the list of idle states supplied by the
75 state description and such that all of the idle states included in its return
[all …]
H 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.
/OK3568_Linux_fs/kernel/sound/usb/misc/
H A Dua101.c91 unsigned long states; member
159 if (test_and_clear_bit(USB_CAPTURE_RUNNING, &ua->states)) { in abort_usb_capture()
167 if (test_and_clear_bit(USB_PLAYBACK_RUNNING, &ua->states)) in abort_usb_playback()
186 if (test_bit(USB_PLAYBACK_RUNNING, &ua->states)) { in playback_urb_complete()
206 set_bit(PLAYBACK_URB_COMPLETED, &ua->states); in first_playback_urb_complete()
259 if (unlikely(!test_bit(USB_PLAYBACK_RUNNING, &ua->states))) in playback_work()
289 if (test_bit(ALSA_PLAYBACK_RUNNING, &ua->states)) in playback_work()
370 if (frames > 0 && test_bit(ALSA_CAPTURE_RUNNING, &ua->states)) in capture_urb_complete()
375 if (test_bit(USB_CAPTURE_RUNNING, &ua->states)) { in capture_urb_complete()
402 if (test_bit(USB_PLAYBACK_RUNNING, &ua->states) && in capture_urb_complete()
[all …]
/OK3568_Linux_fs/kernel/drivers/cpufreq/
H 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()
254 if ((data->acpi_data.states[i].transition_latency * 1000) > in acpi_cpufreq_cpu_init()
257 data->acpi_data.states[i].transition_latency * 1000; in acpi_cpufreq_cpu_init()
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()
[all …]
/OK3568_Linux_fs/buildroot/package/qt5/qt5wayland/
H A D0009-qwaylandxdgshell-Support-switching-between-fullscree.patch7 1/ The weston expected a commit to apply new window states.
28 …aWayland) << "Applied pending xdg_toplevel configure event:" << m_applied.size << m_applied.states;
30 @@ -162,6 +165,11 @@ void QWaylandXdgSurface::Toplevel::requestWindowStates(Qt::WindowStates states)
32 Qt::WindowStates changedStates = m_applied.states ^ states;
35 + if (!(states & Qt::WindowFullScreen))
40 if (states & Qt::WindowMaximized)
42 @@ -175,8 +183,7 @@ void QWaylandXdgSurface::Toplevel::requestWindowStates(Qt::WindowStates states)
/OK3568_Linux_fs/kernel/drivers/acpi/
H A Dprocessor_idle.c169 return cx - pr->power.states >= pr->power.timer_broadcast_on_state; in lapic_timer_needs_broadcast()
219 pr->power.states[ACPI_STATE_C2].type = ACPI_STATE_C2; in acpi_processor_get_power_info_fadt()
220 pr->power.states[ACPI_STATE_C3].type = ACPI_STATE_C3; in acpi_processor_get_power_info_fadt()
233 pr->power.states[ACPI_STATE_C2].address = pr->pblk + 4; in acpi_processor_get_power_info_fadt()
234 pr->power.states[ACPI_STATE_C3].address = pr->pblk + 5; in acpi_processor_get_power_info_fadt()
237 pr->power.states[ACPI_STATE_C2].latency = acpi_gbl_FADT.c2_latency; in acpi_processor_get_power_info_fadt()
238 pr->power.states[ACPI_STATE_C3].latency = acpi_gbl_FADT.c3_latency; in acpi_processor_get_power_info_fadt()
248 pr->power.states[ACPI_STATE_C2].address = 0; in acpi_processor_get_power_info_fadt()
259 pr->power.states[ACPI_STATE_C3].address = 0; in acpi_processor_get_power_info_fadt()
264 pr->power.states[ACPI_STATE_C2].address, in acpi_processor_get_power_info_fadt()
[all …]
/OK3568_Linux_fs/kernel/Documentation/admin-guide/blockdev/drbd/
H 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:: node-states-8.dot
29 :alt: node-states-8.dot
/OK3568_Linux_fs/kernel/drivers/gpu/drm/
H A Ddrm_blend.c441 struct drm_plane_state **states; in drm_atomic_helper_crtc_normalize_zpos() local
449 states = kmalloc_array(total_planes, sizeof(*states), GFP_KERNEL); in drm_atomic_helper_crtc_normalize_zpos()
450 if (!states) in drm_atomic_helper_crtc_normalize_zpos()
464 states[n++] = plane_state; in drm_atomic_helper_crtc_normalize_zpos()
470 sort(states, n, sizeof(*states), drm_atomic_state_zpos_cmp, NULL); in drm_atomic_helper_crtc_normalize_zpos()
473 plane = states[i]->plane; in drm_atomic_helper_crtc_normalize_zpos()
475 states[i]->normalized_zpos = i; in drm_atomic_helper_crtc_normalize_zpos()
482 kfree(states); in drm_atomic_helper_crtc_normalize_zpos()
/OK3568_Linux_fs/kernel/arch/x86/kernel/acpi/
H A Dcstate.c91 } states[ACPI_PROCESSOR_MAX_POWER]; member
159 percpu_entry->states[cx->index].eax = 0; in acpi_processor_ffh_cstate_probe()
160 percpu_entry->states[cx->index].ecx = 0; in acpi_processor_ffh_cstate_probe()
168 percpu_entry->states[cx->index].eax = cx->address; in acpi_processor_ffh_cstate_probe()
169 percpu_entry->states[cx->index].ecx = MWAIT_ECX_INTERRUPT_BREAK; in acpi_processor_ffh_cstate_probe()
190 mwait_idle_with_hints(percpu_entry->states[cx->index].eax, in acpi_processor_ffh_cstate_enter()
191 percpu_entry->states[cx->index].ecx); in acpi_processor_ffh_cstate_enter()
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/powerpc/opal/
H 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:
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 …]
/OK3568_Linux_fs/kernel/drivers/i2c/muxes/
H 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()
/OK3568_Linux_fs/kernel/arch/arm64/boot/dts/freescale/
H A Dfsl-ls2088a.dtsi20 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>;
H A Dfsl-ls2080a.dtsi20 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>;
/OK3568_Linux_fs/u-boot/drivers/power/regulator/
H A Dgpio-regulator.c23 int states[GPIO_REGULATOR_MAX_STATES]; member
67 dev_pdata->states[j] = states_array[i + 1]; in gpio_regulator_ofdata_to_platdata()
90 if (enable == dev_pdata->states[0]) in gpio_regulator_get_value()
106 enable = dev_pdata->states[0]; in gpio_regulator_set_value()
108 enable = dev_pdata->states[1]; in gpio_regulator_set_value()
/OK3568_Linux_fs/u-boot/common/
H A Dbootm.c687 int states, bootm_headers_t *images, int boot_progress) in do_bootm_states() argument
696 states &= ~unmask; in do_bootm_states()
698 images->state |= states; in do_bootm_states()
704 if (states & BOOTM_STATE_START) in do_bootm_states()
707 if (!ret && (states & BOOTM_STATE_FINDOS)) in do_bootm_states()
710 if (!ret && (states & BOOTM_STATE_FINDOTHER)) in do_bootm_states()
714 if (!ret && (states & BOOTM_STATE_LOADOS)) { in do_bootm_states()
730 if (!ret && ((states & BOOTM_STATE_RAMDISK) || in do_bootm_states()
731 (states & BOOTM_STATE_FDT))) in do_bootm_states()
736 if (!ret && (states & BOOTM_STATE_RAMDISK)) { in do_bootm_states()
[all …]
/OK3568_Linux_fs/kernel/Documentation/ABI/testing/
H A Dsysfs-devices-power15 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 …]

12345678910>>...33