Lines Matching refs:num_values
99 int num_values) in drm_property_create() argument
116 if (num_values) { in drm_property_create()
117 property->values = kcalloc(num_values, sizeof(uint64_t), in drm_property_create()
128 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()
450 if (property->num_values) in drm_property_destroy()
480 value_count = property->num_values; in drm_mode_getproperty_ioctl()
957 for (i = 0; i < property->num_values; i++) in drm_property_change_valid_get()
983 for (i = 0; i < property->num_values; i++) in drm_property_change_valid_get()