Lines Matching refs:num_values
104 int num_values) in drm_property_create() argument
121 if (num_values) { in drm_property_create()
122 property->values = kcalloc(num_values, sizeof(uint64_t), in drm_property_create()
133 property->num_values = num_values; in drm_property_create()
171 int num_values) in drm_property_create_enum() argument
178 property = drm_property_create(dev, flags, name, num_values); in drm_property_create_enum()
182 for (i = 0; i < num_values; i++) { in drm_property_create_enum()
224 int num_values = hweight64(supported_bits); in drm_property_create_bitmask() local
228 property = drm_property_create(dev, flags, name, num_values); in drm_property_create_bitmask()
423 if (WARN_ON(index >= property->num_values)) in drm_property_add_enum()
457 if (property->num_values) in drm_property_destroy()
488 value_count = property->num_values; in drm_mode_getproperty_ioctl()
907 for (i = 0; i < property->num_values; i++) in drm_property_change_valid_get()
933 for (i = 0; i < property->num_values; i++) in drm_property_change_valid_get()