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