Lines Matching refs:num_values
93 int num_values) in drm_property_create() argument
110 if (num_values) { in drm_property_create()
111 property->values = kcalloc(num_values, sizeof(uint64_t), in drm_property_create()
122 property->num_values = num_values; in drm_property_create()
160 int num_values) in drm_property_create_enum() argument
167 property = drm_property_create(dev, flags, name, num_values); in drm_property_create_enum()
171 for (i = 0; i < num_values; i++) { in drm_property_create_enum()
213 int num_values = hweight64(supported_bits); in drm_property_create_bitmask() local
217 property = drm_property_create(dev, flags, name, num_values); in drm_property_create_bitmask()
412 if (WARN_ON(index >= property->num_values)) in drm_property_add_enum()
446 if (property->num_values) in drm_property_destroy()
477 value_count = property->num_values; in drm_mode_getproperty_ioctl()
896 for (i = 0; i < property->num_values; i++) in drm_property_change_valid_get()
922 for (i = 0; i < property->num_values; i++) in drm_property_change_valid_get()