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)
136 kfree(property->values);
147 * @props: enumeration lists with property values
148 * @num_values: number of pre-defined values
155 * Userspace is only allowed to set one of the predefined values for enumeration
196 * @supported_bits: bitmask of all supported enumeration values
204 * or'ed together combination of the predefined property bitflag values
251 property->values[0] = min;
252 property->values[1] = max;
346 property->values[0] = type;
363 * This is implemented as a ranged property with only {0, 1} as valid values.
403 * Bitmask enum properties have the additional constraint of values
426 property->values[index] = value;
438 * enumeration values.
450 kfree(property->values);
484 put_user(property->values[i], values_ptr + i)) {
514 * property values. But nothing ever added them to the corresponding
517 * sense to return values here when everything else is just metadata for
885 if (value < property->values[0] || value > property->values[1])
891 if (svalue < U642I64(property->values[0]) ||
892 svalue > U642I64(property->values[1]))
899 valid_mask |= (1ULL << property->values[i]);
920 property->values[0]);
925 if (property->values[i] == value)