Lines Matching refs:values
49 * Property values are only 64bit. To support bigger piles of data (like gamma
86 * @num_values: number of pre-defined values
116 property->values = kcalloc(num_values, sizeof(uint64_t),
118 if (!property->values)
137 kfree(property->values);
148 * @props: enumeration lists with property values
149 * @num_values: number of pre-defined values
156 * Userspace is only allowed to set one of the predefined values for enumeration
197 * @supported_bits: bitmask of all supported enumeration values
205 * or'ed together combination of the predefined property bitflag values
252 property->values[0] = min;
253 property->values[1] = max;
347 property->values[0] = type;
364 * This is implemented as a ranged property with only {0, 1} as valid values.
404 * Bitmask enum properties have the additional constraint of values
428 property->values[index] = value;
440 * enumeration values.
452 kfree(property->values);
487 put_user(property->values[i], values_ptr + i)) {
517 * property values. But nothing ever added them to the corresponding
520 * sense to return values here when everything else is just metadata for
888 if (value < property->values[0] || value > property->values[1])
894 if (svalue < U642I64(property->values[0]) ||
895 svalue > U642I64(property->values[1]))
902 valid_mask |= (1ULL << property->values[i]);
923 property->values[0]);
928 if (property->values[i] == value)