Lines Matching refs:PLATFORM_PROFILE_LAST
23 unsigned long choices[BITS_TO_LONGS(PLATFORM_PROFILE_LAST)];
24 unsigned long hidden_choices[BITS_TO_LONGS(PLATFORM_PROFILE_LAST)];
29 unsigned long aggregate[BITS_TO_LONGS(PLATFORM_PROFILE_LAST)];
42 static_assert(ARRAY_SIZE(profile_names) == PLATFORM_PROFILE_LAST);
57 for_each_set_bit(i, choices, PLATFORM_PROFILE_LAST) { in _commmon_choices_show()
128 if (WARN_ON(val >= PLATFORM_PROFILE_LAST)) in get_class_profile()
181 enum platform_profile_option profile = PLATFORM_PROFILE_LAST; in profile_show()
254 unsigned long tmp[BITS_TO_LONGS(PLATFORM_PROFILE_LAST)]; in _aggregate_choices()
260 bitmap_or(tmp, handler->choices, handler->hidden_choices, PLATFORM_PROFILE_LAST); in _aggregate_choices()
261 if (test_bit(PLATFORM_PROFILE_LAST, data->aggregate)) in _aggregate_choices()
262 bitmap_copy(data->aggregate, tmp, PLATFORM_PROFILE_LAST); in _aggregate_choices()
264 bitmap_and(data->aggregate, tmp, data->aggregate, PLATFORM_PROFILE_LAST); in _aggregate_choices()
285 handler->hidden_choices, PLATFORM_PROFILE_LAST); in _remove_hidden_choices()
303 .aggregate = { [0 ... BITS_TO_LONGS(PLATFORM_PROFILE_LAST) - 1] = ~0UL }, in platform_profile_choices_show()
308 set_bit(PLATFORM_PROFILE_LAST, data.aggregate); in platform_profile_choices_show()
323 if (bitmap_empty(data.aggregate, PLATFORM_PROFILE_LAST)) in platform_profile_choices_show()
346 if (*profile != PLATFORM_PROFILE_LAST && *profile != val) in _aggregate_profiles()
384 enum platform_profile_option profile = PLATFORM_PROFILE_LAST; in platform_profile_show()
395 if (profile == PLATFORM_PROFILE_LAST) in platform_profile_show()
415 .aggregate = { [0 ... BITS_TO_LONGS(PLATFORM_PROFILE_LAST) - 1] = ~0UL }, in platform_profile_store()
425 set_bit(PLATFORM_PROFILE_LAST, data.aggregate); in platform_profile_store()
498 .aggregate = { [0 ... BITS_TO_LONGS(PLATFORM_PROFILE_LAST) - 1] = ~0UL }, in platform_profile_cycle()
501 enum platform_profile_option next = PLATFORM_PROFILE_LAST; in platform_profile_cycle()
502 enum platform_profile_option profile = PLATFORM_PROFILE_LAST; in platform_profile_cycle()
505 set_bit(PLATFORM_PROFILE_LAST, data.aggregate); in platform_profile_cycle()
513 profile == PLATFORM_PROFILE_LAST) in platform_profile_cycle()
525 PLATFORM_PROFILE_LAST, in platform_profile_cycle()
574 if (bitmap_empty(pprof->choices, PLATFORM_PROFILE_LAST)) { in platform_profile_register()