Home
last modified time | relevance | path

Searched refs:enum_list (Results 1 – 5 of 5) sorted by relevance

/openbmc/bmcweb/scripts/
H A Dgenerate_schema_enums.py71 def write_enum_list(redfish_defs_file, enum_list, snake_case_namespace): argument
80 for element in enum_list:
91 for element in enum_list:
127 for namespace, enum_list in enum_by_namespace.items():
134 write_enum_list(redfish_defs, enum_list, snake_case_namespace)
149 enum_list = []
153 enum_list.extend(out)
157 generate_enums(enum_list)
/openbmc/linux/drivers/gpu/drm/
H A Ddrm_color_mgmt.c535 struct drm_prop_enum_list enum_list[max_t(int, DRM_COLOR_ENCODING_MAX, in drm_plane_create_color_properties() local
554 enum_list[len].type = i; in drm_plane_create_color_properties()
555 enum_list[len].name = color_encoding_name[i]; in drm_plane_create_color_properties()
560 enum_list, len); in drm_plane_create_color_properties()
573 enum_list[len].type = i; in drm_plane_create_color_properties()
574 enum_list[len].name = color_range_name[i]; in drm_plane_create_color_properties()
579 enum_list, len); in drm_plane_create_color_properties()
H A Ddrm_property.c128 INIT_LIST_HEAD(&property->enum_list); in drm_property_create()
410 list_for_each_entry(prop_enum, &property->enum_list, head) { in drm_property_add_enum()
427 list_add_tail(&prop_enum->head, &property->enum_list); in drm_property_add_enum()
444 list_for_each_entry_safe(prop_enum, pt, &property->enum_list, head) { in drm_property_destroy()
495 list_for_each_entry(prop_enum, &property->enum_list, head) { in drm_mode_getproperty_ioctl()
H A Ddrm_connector.c2164 struct drm_prop_enum_list enum_list[DRM_MODE_COLORIMETRY_COUNT]; in drm_mode_create_colorspace_property() local
2187 enum_list[len].type = i; in drm_mode_create_colorspace_property()
2188 enum_list[len].name = colorspace_names[i]; in drm_mode_create_colorspace_property()
2194 enum_list, in drm_mode_create_colorspace_property()
/openbmc/linux/include/drm/
H A Ddrm_property.h197 struct list_head enum_list; member