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)];
43 static_assert(ARRAY_SIZE(profile_names) == PLATFORM_PROFILE_LAST);
58 for_each_set_bit(i, choices, PLATFORM_PROFILE_LAST) { in _commmon_choices_show()
129 if (WARN_ON(val >= PLATFORM_PROFILE_LAST)) in get_class_profile()
182 enum platform_profile_option profile = PLATFORM_PROFILE_LAST; in profile_show()
256 unsigned long tmp[BITS_TO_LONGS(PLATFORM_PROFILE_LAST)]; in _aggregate_choices()
263 bitmap_or(tmp, handler->choices, handler->hidden_choices, 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()
322 if (bitmap_empty(data.aggregate, PLATFORM_PROFILE_LAST)) in platform_profile_choices_show()
345 if (*profile != PLATFORM_PROFILE_LAST && *profile != val) in _aggregate_profiles()
383 enum platform_profile_option profile = PLATFORM_PROFILE_LAST; in platform_profile_show()
394 if (profile == PLATFORM_PROFILE_LAST) in platform_profile_show()
414 .aggregate = { [0 ... BITS_TO_LONGS(PLATFORM_PROFILE_LAST) - 1] = ~0UL }, in platform_profile_store()
497 .aggregate = { [0 ... BITS_TO_LONGS(PLATFORM_PROFILE_LAST) - 1] = ~0UL }, in platform_profile_cycle()
500 enum platform_profile_option next = PLATFORM_PROFILE_LAST; in platform_profile_cycle()
501 enum platform_profile_option profile = PLATFORM_PROFILE_LAST; in platform_profile_cycle()
512 profile == PLATFORM_PROFILE_LAST) in platform_profile_cycle()
525 PLATFORM_PROFILE_LAST, in platform_profile_cycle()
573 if (bitmap_empty(pprof->choices, PLATFORM_PROFILE_LAST)) { in platform_profile_register()