Lines Matching defs:value

41  * value range, which is enforced by the drm core. See the documentation of the
45 * Properties don't store the current value directly, but need to be
263 * @min: minimum value of the property
264 * @max: maximum value of the property
271 * Userspace is allowed to set any unsigned integer value in the (min, max)
291 * @min: minimum value of the property
292 * @max: maximum value of the property
299 * Userspace is allowed to set any signed integer value in the (min, max)
326 * Userspace is only allowed to set this to any property value of the given
377 * drm_property_add_enum - add a possible value to an enumeration property
379 * @value: value of the new enumeration
391 uint64_t value, const char *name)
408 value > 63))
412 if (WARN_ON(prop_enum->value == value))
426 prop_enum->value = value;
428 property->values[index] = value;
503 if (copy_to_user(&enum_ptr[copied].value,
504 &prop_enum->value, sizeof(uint64_t)))
519 * read the value for a blob property. It also doesn't make a lot of
551 * data must be filled out before the blob is used as the value of any property.
555 * value on failure.
686 * of a blob property with the value of the MST path information. Calling this
871 * value doesn't become invalid part way through the property update due to
872 * race). The value returned by reference via 'obj' should be passed back
878 uint64_t value, struct drm_mode_object **ref)
888 if (value < property->values[0] || value > property->values[1])
892 int64_t svalue = U642I64(value);
903 return !(value & ~valid_mask);
907 if (value == 0)
910 blob = drm_property_lookup_blob(property->dev, value);
918 /* a zero value for an object property translates to null: */
919 if (value == 0)
922 *ref = __drm_mode_object_find(property->dev, NULL, value,
928 if (property->values[i] == value)