I915_OA_FORMAT_MAX
static const struct i915_oa_format oa_formats[I915_OA_FORMAT_MAX] = {
if (value == 0 || value >= I915_OA_FORMAT_MAX) {
i = array_index_nospec(props->oa_format, I915_OA_FORMAT_MAX);
#define FORMAT_MASK_SIZE DIV_ROUND_UP(I915_OA_FORMAT_MAX - 1, BITS_PER_LONG)