Lines Matching refs:num_values
3615 const char *name, int num_values) in drm_property_create() argument
3626 if (num_values) { in drm_property_create()
3627 property->values = kcalloc(num_values, sizeof(uint64_t), in drm_property_create()
3638 property->num_values = num_values; in drm_property_create()
3679 int num_values) in drm_property_create_enum() argument
3686 property = drm_property_create(dev, flags, name, num_values); in drm_property_create_enum()
3690 for (i = 0; i < num_values; i++) { in drm_property_create_enum()
3731 int num_values = hweight64(supported_bits); in drm_property_create_bitmask() local
3735 property = drm_property_create(dev, flags, name, num_values); in drm_property_create_bitmask()
3742 if (WARN_ON(index >= num_values)) { in drm_property_create_bitmask()
3962 if (property->num_values) in drm_property_destroy()
4114 value_count = property->num_values; in drm_mode_getproperty_ioctl()
4745 for (i = 0; i < property->num_values; i++) in drm_property_change_valid_get()
4781 for (i = 0; i < property->num_values; i++) in drm_property_change_valid_get()