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()
164 int num_values) in drm_property_create_enum() argument
171 property = drm_property_create(dev, flags, name, num_values); in drm_property_create_enum()
175 for (i = 0; i < num_values; i++) { in drm_property_create_enum()
217 int num_values = hweight64(supported_bits); in drm_property_create_bitmask() local
221 property = drm_property_create(dev, flags, name, num_values); in drm_property_create_bitmask()
416 if (WARN_ON(index >= property->num_values)) in drm_property_add_enum()
449 if (property->num_values) in drm_property_destroy()
479 value_count = property->num_values; in drm_mode_getproperty_ioctl()
898 for (i = 0; i < property->num_values; i++) in drm_property_change_valid_get()
924 for (i = 0; i < property->num_values; i++) in drm_property_change_valid_get()