Home
last modified time | relevance | path

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

/linux/drivers/cpuidle/
H A 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 …]
H A Dcpuidle-psci.c257 struct device_node *state_node; in psci_dt_cpu_init_idle() local
267 state_node = of_get_cpu_state_node(cpu_node, i - 1); in psci_dt_cpu_init_idle()
268 if (!state_node) in psci_dt_cpu_init_idle()
271 ret = psci_dt_parse_state_node(state_node, &psci_states[i]); in psci_dt_cpu_init_idle()
272 of_node_put(state_node); in psci_dt_cpu_init_idle()
H A Dcpuidle-riscv-sbi.c239 struct device_node *state_node; in sbi_cpuidle_dt_init_states() local
253 state_node = of_get_cpu_state_node(cpu_node, i - 1); in sbi_cpuidle_dt_init_states()
254 if (!state_node) in sbi_cpuidle_dt_init_states()
257 ret = sbi_dt_parse_state_node(state_node, &states[i]); in sbi_cpuidle_dt_init_states()
258 of_node_put(state_node); in sbi_cpuidle_dt_init_states()
/linux/arch/arm/mach-omap2/
H A Dpm33xx-core.c381 struct device_node *state_node; in amx3_idle_init() local
387 state_node = of_parse_phandle(cpu_node, "cpu-idle-states", i); in amx3_idle_init()
388 if (!state_node) in amx3_idle_init()
391 if (!of_device_is_available(state_node)) in amx3_idle_init()
402 if (of_property_read_bool(state_node, "ti,idle-wkup-m3")) in amx3_idle_init()
/linux/drivers/of/
H A 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()
/linux/drivers/pmdomain/
H A Dcore.c3081 struct device_node *state_node) in genpd_parse_state() argument
3087 err = of_property_read_u32(state_node, "entry-latency-us", in genpd_parse_state()
3091 state_node); in genpd_parse_state()
3095 err = of_property_read_u32(state_node, "exit-latency-us", in genpd_parse_state()
3099 state_node); in genpd_parse_state()
3103 err = of_property_read_u32(state_node, "min-residency-us", &residency); in genpd_parse_state()
3109 genpd_state->fwnode = &state_node->fwnode; in genpd_parse_state()