Lines Matching refs:cur_profile
12 static struct platform_profile_handler *cur_profile; variable
36 if (!cur_profile) { in platform_profile_choices_show()
41 for_each_set_bit(i, cur_profile->choices, PLATFORM_PROFILE_LAST) { in platform_profile_choices_show()
63 if (!cur_profile) { in platform_profile_show()
68 err = cur_profile->profile_get(cur_profile, &profile); in platform_profile_show()
90 if (!cur_profile) { in platform_profile_store()
103 if (!test_bit(i, cur_profile->choices)) { in platform_profile_store()
108 err = cur_profile->profile_set(cur_profile, i); in platform_profile_store()
133 if (!cur_profile) in platform_profile_notify()
145 if (cur_profile) { in platform_profile_register()
163 cur_profile = pprof; in platform_profile_register()
174 cur_profile = NULL; in platform_profile_remove()