Lines Matching refs:sp
1950 struct cpuhp_step *sp; in cpuhp_store_callbacks() local
1969 sp = cpuhp_get_step(state); in cpuhp_store_callbacks()
1970 if (name && sp->name) in cpuhp_store_callbacks()
1973 sp->startup.single = startup; in cpuhp_store_callbacks()
1974 sp->teardown.single = teardown; in cpuhp_store_callbacks()
1975 sp->name = name; in cpuhp_store_callbacks()
1976 sp->multi_instance = multi_instance; in cpuhp_store_callbacks()
1977 INIT_HLIST_HEAD(&sp->list); in cpuhp_store_callbacks()
1993 struct cpuhp_step *sp = cpuhp_get_step(state); in cpuhp_issue_call() local
2000 if (cpuhp_step_empty(bringup, sp)) in cpuhp_issue_call()
2046 struct cpuhp_step *sp; in __cpuhp_state_add_instance_cpuslocked() local
2052 sp = cpuhp_get_step(state); in __cpuhp_state_add_instance_cpuslocked()
2053 if (sp->multi_instance == false) in __cpuhp_state_add_instance_cpuslocked()
2058 if (!invoke || !sp->startup.multi) in __cpuhp_state_add_instance_cpuslocked()
2074 if (sp->teardown.multi) in __cpuhp_state_add_instance_cpuslocked()
2081 hlist_add_head(node, &sp->list); in __cpuhp_state_add_instance_cpuslocked()
2195 struct cpuhp_step *sp = cpuhp_get_step(state); in __cpuhp_state_remove_instance() local
2200 if (!sp->multi_instance) in __cpuhp_state_remove_instance()
2242 struct cpuhp_step *sp = cpuhp_get_step(state); in __cpuhp_remove_state_cpuslocked() local
2250 if (sp->multi_instance) { in __cpuhp_remove_state_cpuslocked()
2251 WARN(!hlist_empty(&sp->list), in __cpuhp_remove_state_cpuslocked()
2380 struct cpuhp_step *sp; in target_store() local
2400 sp = cpuhp_get_step(target); in target_store()
2401 ret = !sp->name || sp->cant_stop ? -EINVAL : 0; in target_store()
2430 struct cpuhp_step *sp; in fail_store() local
2464 sp = cpuhp_get_step(fail); in fail_store()
2465 if (!sp->startup.single && !sp->teardown.single) in fail_store()
2507 struct cpuhp_step *sp = cpuhp_get_step(i); in states_show() local
2509 if (sp->name) { in states_show()
2510 cur = sprintf(buf, "%3d: %s\n", i, sp->name); in states_show()