Home
last modified time | relevance | path

Searched refs:dtpm_subsys (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.1/drivers/powercap/
Ddtpm.c449 for (i = 0; i < ARRAY_SIZE(dtpm_subsys); i++) { in dtpm_setup_dt()
451 if (!dtpm_subsys[i]->setup) in dtpm_setup_dt()
454 ret = dtpm_subsys[i]->setup(parent, np); in dtpm_setup_dt()
456 pr_err("Failed to setup '%s': %d\n", dtpm_subsys[i]->name, ret); in dtpm_setup_dt()
592 for (i = 0; i < ARRAY_SIZE(dtpm_subsys); i++) { in dtpm_create_hierarchy()
594 if (!dtpm_subsys[i]->init) in dtpm_create_hierarchy()
597 ret = dtpm_subsys[i]->init(); in dtpm_create_hierarchy()
600 dtpm_subsys[i]->name, ret); in dtpm_create_hierarchy()
644 for (i = 0; i < ARRAY_SIZE(dtpm_subsys); i++) { in dtpm_destroy_hierarchy()
646 if (!dtpm_subsys[i]->exit) in dtpm_destroy_hierarchy()
[all …]
Ddtpm_subsys.h13 struct dtpm_subsys_ops *dtpm_subsys[] = { variable