Lines Matching refs:num_values
98 int num_values) in drm_property_create() argument
115 if (num_values) { in drm_property_create()
116 property->values = kcalloc(num_values, sizeof(uint64_t), in drm_property_create()
127 property->num_values = num_values; in drm_property_create()
165 int num_values) in drm_property_create_enum() argument
172 property = drm_property_create(dev, flags, name, num_values); in drm_property_create_enum()
176 for (i = 0; i < num_values; i++) { in drm_property_create_enum()
218 int num_values = hweight64(supported_bits); in drm_property_create_bitmask() local
222 property = drm_property_create(dev, flags, name, num_values); in drm_property_create_bitmask()
417 if (WARN_ON(index >= property->num_values)) in drm_property_add_enum()
451 if (property->num_values) in drm_property_destroy()
482 value_count = property->num_values; in drm_mode_getproperty_ioctl()
901 for (i = 0; i < property->num_values; i++) in drm_property_change_valid_get()
927 for (i = 0; i < property->num_values; i++) in drm_property_change_valid_get()