Lines Matching refs:state_count
228 unsigned int state_count, int cpu) in psci_dt_cpu_init_topology() argument
243 drv->states[state_count - 1].enter = psci_enter_domain_idle_state; in psci_dt_cpu_init_topology()
244 drv->states[state_count - 1].enter_s2idle = psci_enter_s2idle_domain_idle_state; in psci_dt_cpu_init_topology()
252 unsigned int state_count, int cpu) in psci_dt_cpu_init_idle() argument
259 state_count++; /* Add WFI state too */ in psci_dt_cpu_init_idle()
260 psci_states = devm_kcalloc(dev, state_count, sizeof(*psci_states), in psci_dt_cpu_init_idle()
265 for (i = 1; i < state_count; i++) { in psci_dt_cpu_init_idle()
279 if (i != state_count) in psci_dt_cpu_init_idle()
283 ret = psci_dt_cpu_init_topology(drv, data, state_count, cpu); in psci_dt_cpu_init_idle()
293 unsigned int cpu, unsigned int state_count) in psci_cpu_init_idle() argument
309 ret = psci_dt_cpu_init_idle(dev, drv, cpu_node, state_count, cpu); in psci_cpu_init_idle()