Home
last modified time | relevance | path

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

/Linux-v5.4/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.c80 struct device_node *state_node; in psci_dt_cpu_init_idle() local
83 while ((state_node = of_parse_phandle(cpu_node, "cpu-idle-states", in psci_dt_cpu_init_idle()
86 of_node_put(state_node); in psci_dt_cpu_init_idle()
97 state_node = of_parse_phandle(cpu_node, "cpu-idle-states", i); in psci_dt_cpu_init_idle()
98 ret = psci_dt_parse_state_node(state_node, &psci_states[i]); in psci_dt_cpu_init_idle()
99 of_node_put(state_node); in psci_dt_cpu_init_idle()
/Linux-v5.4/drivers/soc/qcom/
Dspm.c206 struct device_node *state_node; in qcom_cpuidle_init() local
218 state_node = of_parse_phandle(cpu_node, "cpu-idle-states", i); in qcom_cpuidle_init()
219 if (!state_node) in qcom_cpuidle_init()
222 if (!of_device_is_available(state_node)) in qcom_cpuidle_init()
231 match_id = of_match_node(qcom_idle_state_match, state_node); in qcom_cpuidle_init()
/Linux-v5.4/drivers/base/power/
Ddomain.c2575 struct device_node *state_node) in genpd_parse_state() argument
2581 err = of_property_read_u32(state_node, "entry-latency-us", in genpd_parse_state()
2585 state_node); in genpd_parse_state()
2589 err = of_property_read_u32(state_node, "exit-latency-us", in genpd_parse_state()
2593 state_node); in genpd_parse_state()
2597 err = of_property_read_u32(state_node, "min-residency-us", &residency); in genpd_parse_state()
2603 genpd_state->fwnode = &state_node->fwnode; in genpd_parse_state()