Home | History | Annotate | Download | only in drm

Lines Matching refs:values

55  * Property values are only 64bit. To support bigger piles of data (like gamma
92 * @num_values: number of pre-defined values
122 property->values = kcalloc(num_values, sizeof(uint64_t),
124 if (!property->values)
143 kfree(property->values);
154 * @props: enumeration lists with property values
155 * @num_values: number of pre-defined values
162 * Userspace is only allowed to set one of the predefined values for enumeration
203 * @supported_bits: bitmask of all supported enumeration values
211 * or'ed together combination of the predefined property bitflag values
258 property->values[0] = min;
259 property->values[1] = max;
353 property->values[0] = type;
370 * This is implemented as a ranged property with only {0, 1} as valid values.
410 * Bitmask enum properties have the additional constraint of values
434 property->values[index] = value;
446 * enumeration values.
458 kfree(property->values);
493 put_user(property->values[i], values_ptr + i)) {
523 * property values. But nothing ever added them to the corresponding
526 * sense to return values here when everything else is just metadata for
894 if (value < property->values[0] || value > property->values[1])
900 if (svalue < U642I64(property->values[0]) ||
901 svalue > U642I64(property->values[1]))
908 valid_mask |= (1ULL << property->values[i]);
929 property->values[0]);
934 if (property->values[i] == value)