Lines Matching defs:prop_enum
2807 struct drm_property_enum *prop_enum;
2820 list_for_each_entry(prop_enum, struct drm_property_enum, &property->enum_blob_list, head) {
2821 if (prop_enum->value == value) {
2822 (void) strncpy(prop_enum->name, name, DRM_PROP_NAME_LEN);
2823 prop_enum->name[DRM_PROP_NAME_LEN-1] = '\0';
2829 prop_enum = kzalloc(sizeof(struct drm_property_enum), GFP_KERNEL);
2830 if (!prop_enum)
2833 (void) strncpy(prop_enum->name, name, DRM_PROP_NAME_LEN);
2834 prop_enum->name[DRM_PROP_NAME_LEN-1] = '\0';
2835 prop_enum->value = value;
2838 list_add_tail(&prop_enum->head, &property->enum_blob_list, (caddr_t)prop_enum);
2844 struct drm_property_enum *prop_enum, *pt;
2846 list_for_each_entry_safe(prop_enum, pt, struct drm_property_enum, &property->enum_blob_list, head) {
2847 list_del(&prop_enum->head);
2848 kfree(prop_enum, sizeof(struct drm_property_enum));
2919 struct drm_property_enum *prop_enum;
2938 list_for_each_entry(prop_enum, struct drm_property_enum, &property->enum_blob_list, head)
2966 list_for_each_entry(prop_enum, struct drm_property_enum, &property->enum_blob_list, head) {
2968 if (DRM_COPY_TO_USER(&enum_ptr[copied].value, &prop_enum->value, sizeof(uint64_t))) {
2974 &prop_enum->name, DRM_PROP_NAME_LEN)) {