Lines Matching defs:state
41 void psci_set_domain_state(u32 state)
43 __this_cpu_write(domain_state, state);
58 u32 state;
71 state = psci_get_domain_state();
72 if (!state)
73 state = states[idx];
75 ret = psci_cpu_suspend_enter(state) ? -1 : idx;
84 /* Clear the domain state to start fresh when back from idle. */
118 /* Clear domain state to start fresh at next online. */
143 /* Clear domain state to re-start fresh. */
182 pr_warn("Failed %d while setup cpuhp state\n", err);
188 u32 *state = __this_cpu_read(psci_cpuidle_data.psci_states);
190 return CPU_PM_CPU_IDLE_ENTER_PARAM_RCU(psci_cpu_suspend_enter, idx, state[idx]);
194 { .compatible = "arm,idle-state",
199 int psci_dt_parse_state_node(struct device_node *np, u32 *state)
201 int err = of_property_read_u32(np, "arm,psci-suspend-param", state);
208 if (!psci_power_state_is_valid(*state)) {
209 pr_warn("Invalid PSCI power state %#x\n", *state);
232 * Using the deepest state for the CPU to trigger a potential selection
233 * of a shared state for the domain, assumes the domain states are all
253 state_count++; /* Add WFI state too */
270 pr_debug("psci-power-state %#x index %d\n", psci_states[i], i);
351 * state index 0.