Home
last modified time | relevance | path

Searched refs:state_node (Results 1 – 5 of 5) sorted by relevance

/drivers/cpuidle/
Ddt_idle_states.c22 struct device_node *state_node) in init_state_node() argument
40 err = of_property_read_u32(state_node, "wakeup-latency-us", in init_state_node()
45 err = of_property_read_u32(state_node, "entry-latency-us", in init_state_node()
49 state_node); in init_state_node()
53 err = of_property_read_u32(state_node, "exit-latency-us", in init_state_node()
57 state_node); in init_state_node()
67 err = of_property_read_u32(state_node, "min-residency-us", in init_state_node()
71 state_node); in init_state_node()
75 err = of_property_read_string(state_node, "idle-state-name", &desc); in init_state_node()
77 desc = state_node->name; in init_state_node()
[all …]
Dcpuidle-psci.c255 struct device_node *state_node; in psci_dt_cpu_init_idle() local
265 state_node = of_get_cpu_state_node(cpu_node, i - 1); in psci_dt_cpu_init_idle()
266 if (!state_node) in psci_dt_cpu_init_idle()
269 ret = psci_dt_parse_state_node(state_node, &psci_states[i]); in psci_dt_cpu_init_idle()
270 of_node_put(state_node); in psci_dt_cpu_init_idle()
Dcpuidle-riscv-sbi.c269 struct device_node *state_node; in sbi_cpuidle_dt_init_states() local
286 state_node = of_get_cpu_state_node(cpu_node, i - 1); in sbi_cpuidle_dt_init_states()
287 if (!state_node) in sbi_cpuidle_dt_init_states()
290 ret = sbi_dt_parse_state_node(state_node, &states[i]); in sbi_cpuidle_dt_init_states()
291 of_node_put(state_node); in sbi_cpuidle_dt_init_states()
/drivers/of/
Dcpu.c200 struct device_node *state_node = in of_get_cpu_state_node() local
204 if (state_node) in of_get_cpu_state_node()
205 return state_node; in of_get_cpu_state_node()
/drivers/base/power/
Ddomain.c2931 struct device_node *state_node) in genpd_parse_state() argument
2937 err = of_property_read_u32(state_node, "entry-latency-us", in genpd_parse_state()
2941 state_node); in genpd_parse_state()
2945 err = of_property_read_u32(state_node, "exit-latency-us", in genpd_parse_state()
2949 state_node); in genpd_parse_state()
2953 err = of_property_read_u32(state_node, "min-residency-us", &residency); in genpd_parse_state()
2959 genpd_state->fwnode = &state_node->fwnode; in genpd_parse_state()