Searched refs:states (Results 1 - 25 of 197) sorted by relevance

12345678

/linux-master/drivers/cpuidle/
H A Ddt_idle_genpd.c26 struct genpd_power_state *states, int state_count)
32 ret = parse_state(to_of_node(states[i].fwnode), &state);
42 states[i].data = state_buf;
50 kfree(states[i].data);
56 struct genpd_power_state **states,
61 /* Parse the domain idle states. */
62 ret = of_genpd_parse_idle_states(np, states, state_count);
67 ret = pd_parse_state_nodes(parse_state, *states, *state_count);
69 kfree(*states);
74 static void pd_free_states(struct genpd_power_state *states, argument
24 pd_parse_state_nodes( int (*parse_state)(struct device_node *, u32 *), struct genpd_power_state *states, int state_count) argument
54 pd_parse_states(struct device_node *np, int (*parse_state)(struct device_node *, u32 *), struct genpd_power_state **states, int *state_count) argument
95 struct genpd_power_state *states = NULL; local
[all...]
H A Dcpuidle-mvebu-v7.c36 if (drv->states[index].flags & MVEBU_V7_FLAG_DEEP_IDLE)
53 .states[0] = ARM_CPUIDLE_WFI_STATE,
54 .states[1] = {
63 .states[2] = {
77 .states[0] = ARM_CPUIDLE_WFI_STATE,
78 .states[1] = {
92 .states[0] = ARM_CPUIDLE_WFI_STATE,
93 .states[1] = {
H A Dcpuidle-riscv-sbi.c32 u32 *states; member in struct:sbi_cpuidle_data
79 u32 *states = __this_cpu_read(sbi_cpuidle_data.states); local
80 u32 state = states[idx];
94 u32 *states = data->states; local
114 state = states[idx];
220 * of a shared state for the domain, assumes the domain states are all
221 * deeper states.
223 drv->states[state_coun
240 u32 *states; local
[all...]
H A Dcpuidle-at91.c8 * to implement two idle states -
25 /* Actual code that puts the SoC in different idle states */
37 .states[0] = ARM_CPUIDLE_WFI_STATE,
38 .states[1] = {
48 /* Initialize CPU idle by registering the idle states */
H A Dcpuidle-zynq.c10 * to implement two idle states -
24 /* Actual code that puts the SoC in different idle states */
37 .states = {
51 /* Initialize CPU idle by registering the idle states */
H A Dcpuidle-big_little.c31 * index 1 states have to define exit_latency and target_residency for
35 * There is no notion of cluster states in the menu governor, so CPUs
36 * have to define CPU states where possibly the cluster will be shutdown
37 * depending on the state of other CPUs. idle states entry and exit happen
42 * To make this driver 100% generic the number of states and the exit_latency
62 .states[0] = ARM_CPUIDLE_WFI_STATE,
63 .states[1] = {
84 .states[0] = ARM_CPUIDLE_WFI_STATE,
85 .states[1] = {
H A Dcpuidle-psci.c56 u32 *states = data->psci_states; local
73 state = states[idx];
233 * of a shared state for the domain, assumes the domain states are all
234 * deeper states.
236 drv->states[state_count - 1].flags |= CPUIDLE_FLAG_RCU_IDLE;
237 drv->states[state_count - 1].enter = psci_enter_domain_idle_state;
238 drv->states[state_count - 1].enter_s2idle = psci_enter_s2idle_domain_idle_state;
281 /* Idle states parsed correctly, store them in the per-cpu struct. */
294 * idle states must not be enabled, so bail out
350 * PSCI idle states relie
[all...]
/linux-master/drivers/cpuidle/governors/
H A Dladder.c40 struct ladder_device_state states[CPUIDLE_STATE_MAX]; member in struct:ladder_device
55 ldev->states[old_idx].stats.promotion_count = 0;
56 ldev->states[old_idx].stats.demotion_count = 0;
72 int first_idx = drv->states[0].flags & CPUIDLE_FLAG_POLLING ? 1 : 0;
82 last_state = &ldev->states[last_idx];
84 last_residency = dev->last_residency_ns - drv->states[last_idx].exit_latency_ns;
90 drv->states[last_idx + 1].exit_latency_ns <= latency_req) {
102 drv->states[last_idx].exit_latency_ns > latency_req)) {
106 if (drv->states[i].exit_latency_ns <= latency_req)
136 int first_idx = drv->states[
[all...]
H A Dteo.c20 * wakeups from idle states. Moreover, information about what happened in the
25 * states to choose instead of it.
40 * idle states provided by the %CPUIdle driver in the ascending order. That is,
75 * and all of the deeper idle states (it represents the cases in which the
79 * - The sum of the "intercepts" metrics for all of the idle states shallower
84 * - The sum of the numbers of recent intercepts for all of the idle states
91 * - Traverse the idle states shallower than the candidate one in the
95 * of the numbers of recent intercepts over all of the idle states between
243 u64 lat_ns = drv->states[dev->last_state_idx].exit_latency_ns;
280 target_residency_ns = drv->states[
[all...]
H A Dmenu.c82 * C states, especially those with large exit latencies, can have a real
88 * The busier the system, the less impact of C states is acceptable
315 ((data->next_timer_ns < drv->states[1].target_residency_ns ||
316 latency_req < drv->states[1].exit_latency_ns) &&
323 *stop_tick = !(drv->states[0].flags & CPUIDLE_FLAG_POLLING);
355 struct cpuidle_state *s = &drv->states[i];
368 if ((drv->states[idx].flags & CPUIDLE_FLAG_POLLING) &&
385 predicted_ns = drv->states[idx].target_residency_ns;
395 if (drv->states[idx].target_residency_ns < TICK_NSEC &&
408 idx = 0; /* No states enable
[all...]
/linux-master/tools/verification/dot2/
H A Dautomata.py26 self.states, self.initial_state, self.final_states = self.__get_state_variables()
80 states = []
96 states.append(state)
107 states = sorted(set(states))
108 states.remove(initial_state)
110 # Insert the initial state at the bein og the states
111 states.insert(0, initial_state)
116 return states, initial_state, final_states
145 states
[all...]
H A Ddot2c.py20 enum_states_def = "states"
41 for state in self.states:
89 if self.states.__len__() > 255:
92 if self.states.__len__() > 65535:
95 if self.states.__len__() > 1000000:
96 raise Exception("Too many states: %d" % self.states.__len__())
134 return self.__get_string_vector_per_line_content(self.states)
152 max_state_name = max(self.states, key = len).__len__()
160 nr_states = self.states
[all...]
/linux-master/include/linux/regulator/
H A Dgpio-regulator.h29 * @gpios: bitfield of gpio target-states for the value
52 * states
54 * @states: Array of gpio_regulator_state entries describing
56 * @nr_states: Number of states available
74 struct gpio_regulator_state *states; member in struct:gpio_regulator_config
/linux-master/arch/arm/mach-imx/
H A Dcpuidle-imx5.c21 .states[0] = {
H A Dcpuidle-imx6sl.c33 .states = {
H A Dcpuidle-imx7ulp.c33 .states = {
/linux-master/arch/s390/mm/
H A Dpage-states.c11 #include <asm/page-states.h>
H A DMakefile7 obj-y += page-states.o pageattr.o pgtable.o pgalloc.o extable.o
/linux-master/arch/sh/kernel/cpu/shmobile/
H A Dcpuidle.c54 .states = {
89 cpuidle_driver.states[1].flags = CPUIDLE_FLAG_NONE;
92 cpuidle_driver.states[2].flags = CPUIDLE_FLAG_NONE;
/linux-master/drivers/regulator/
H A Dgpio-regulator.c39 struct gpio_regulator_state *states; member in struct:gpio_regulator_data
51 if (data->states[ptr].gpios == data->state)
52 return data->states[ptr].value;
65 if (data->states[ptr].value < best_val &&
66 data->states[ptr].value >= min_uV &&
67 data->states[ptr].value <= max_uV) {
68 target = data->states[ptr].gpios;
69 best_val = data->states[ptr].value;
94 return data->states[selector].value;
104 if (data->states[pt
[all...]
H A Dirq_helpers.c107 stat = &rid->states[i];
132 stat = &rid->states[i];
214 rdev = rid->states[i].rdev;
240 stat = &rid->states[i];
286 h->rdata.states = devm_kzalloc(dev, sizeof(*h->rdata.states) *
288 if (!h->rdata.states)
295 h->rdata.states[i].possible_errs = common_err;
297 h->rdata.states[i].possible_errs |= *rdev_err++;
298 h->rdata.states[
[all...]
/linux-master/drivers/i2c/muxes/
H A Di2c-mux-pinctrl.c19 struct pinctrl_state *states[]; member in struct:i2c_mux_pinctrl
26 return pinctrl_select_state(mux->pinctrl, mux->states[chan]);
96 struct_size(mux, states, num_names),
121 mux->states[i] = pinctrl_lookup_state(mux->pinctrl, name);
122 if (IS_ERR(mux->states[i])) {
123 ret = PTR_ERR(mux->states[i]);
144 if (root != i2c_mux_pinctrl_root_adapter(mux->states[i])) {
/linux-master/arch/x86/kernel/acpi/
H A Dcstate.c5 * - Added _PDC for SMP C-states on Intel CPUs
114 } states[ACPI_PROCESSOR_MAX_POWER]; member in struct:cstate_entry
140 /* If the HW does not support any sub-states in this C-state */
182 percpu_entry->states[cx->index].eax = 0;
183 percpu_entry->states[cx->index].ecx = 0;
191 percpu_entry->states[cx->index].eax = cx->address;
192 percpu_entry->states[cx->index].ecx = MWAIT_ECX_INTERRUPT_BREAK;
213 mwait_idle_with_hints(percpu_entry->states[cx->index].eax,
214 percpu_entry->states[cx->index].ecx);
/linux-master/drivers/gpu/drm/
H A Ddrm_blend.c448 struct drm_plane_state **states; local
456 states = kmalloc_array(total_planes, sizeof(*states), GFP_KERNEL);
457 if (!states)
461 * Normalization process might create new states for planes which
471 states[n++] = plane_state;
476 sort(states, n, sizeof(*states), drm_atomic_state_zpos_cmp, NULL);
479 plane = states[i]->plane;
481 states[
[all...]
/linux-master/sound/usb/misc/
H A Dua101.c65 /* bits in struct ua101::states */
90 unsigned long states; member in struct:ua101
158 if (test_and_clear_bit(USB_CAPTURE_RUNNING, &ua->states)) {
166 if (test_and_clear_bit(USB_PLAYBACK_RUNNING, &ua->states))
185 if (test_bit(USB_PLAYBACK_RUNNING, &ua->states)) {
205 set_bit(PLAYBACK_URB_COMPLETED, &ua->states);
258 if (unlikely(!test_bit(USB_PLAYBACK_RUNNING, &ua->states)))
288 if (test_bit(ALSA_PLAYBACK_RUNNING, &ua->states))
369 if (frames > 0 && test_bit(ALSA_CAPTURE_RUNNING, &ua->states))
374 if (test_bit(USB_CAPTURE_RUNNING, &ua->states)) {
[all...]

Completed in 210 milliseconds

12345678