Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/cpuidle/
Ddt_idle_states.c23 struct device_node *state_node) in init_state_node() argument
41 err = of_property_read_u32(state_node, "wakeup-latency-us", in init_state_node()
46 err = of_property_read_u32(state_node, "entry-latency-us", in init_state_node()
50 state_node); in init_state_node()
54 err = of_property_read_u32(state_node, "exit-latency-us", in init_state_node()
58 state_node); in init_state_node()
68 err = of_property_read_u32(state_node, "min-residency-us", in init_state_node()
72 state_node); in init_state_node()
76 err = of_property_read_string(state_node, "idle-state-name", &desc); in init_state_node()
78 desc = state_node->name; in init_state_node()
[all …]
Dcpuidle-psci.c256 struct device_node *state_node; in psci_dt_cpu_init_idle() local
266 state_node = of_get_cpu_state_node(cpu_node, i - 1); in psci_dt_cpu_init_idle()
267 if (!state_node) in psci_dt_cpu_init_idle()
270 ret = psci_dt_parse_state_node(state_node, &psci_states[i]); in psci_dt_cpu_init_idle()
271 of_node_put(state_node); in psci_dt_cpu_init_idle()
Dcpuidle-riscv-sbi.c268 struct device_node *state_node; in sbi_cpuidle_dt_init_states() local
285 state_node = of_get_cpu_state_node(cpu_node, i - 1); in sbi_cpuidle_dt_init_states()
286 if (!state_node) in sbi_cpuidle_dt_init_states()
289 ret = sbi_dt_parse_state_node(state_node, &states[i]); in sbi_cpuidle_dt_init_states()
290 of_node_put(state_node); in sbi_cpuidle_dt_init_states()
/linux-6.1.9/arch/arm/mach-omap2/
Dpm33xx-core.c386 struct device_node *state_node; in amx3_idle_init() local
392 state_node = of_parse_phandle(cpu_node, "cpu-idle-states", i); in amx3_idle_init()
393 if (!state_node) in amx3_idle_init()
396 if (!of_device_is_available(state_node)) in amx3_idle_init()
407 if (of_property_read_bool(state_node, "ti,idle-wkup-m3")) in amx3_idle_init()
/linux-6.1.9/drivers/base/power/
Ddomain.c2905 struct device_node *state_node) in genpd_parse_state() argument
2911 err = of_property_read_u32(state_node, "entry-latency-us", in genpd_parse_state()
2915 state_node); in genpd_parse_state()
2919 err = of_property_read_u32(state_node, "exit-latency-us", in genpd_parse_state()
2923 state_node); in genpd_parse_state()
2927 err = of_property_read_u32(state_node, "min-residency-us", &residency); in genpd_parse_state()
2933 genpd_state->fwnode = &state_node->fwnode; in genpd_parse_state()
/linux-6.1.9/drivers/of/
Dbase.c464 struct device_node *state_node = in of_get_cpu_state_node() local
468 if (state_node) in of_get_cpu_state_node()
469 return state_node; in of_get_cpu_state_node()