Lines Matching full:entity

20 #include <media/media-entity.h>
26 * struct media_entity_notify - Media Entity Notify
40 void (*notify)(struct media_entity *entity, void *notify_data);
90 * @entity_internal_idx: Unique internal entity ID used by the graph traversal
92 * @entity_internal_idx_max: Allocated internal entity indices
121 * @enable_source is a handler to find source entity for the
122 * sink entity and activate the link between them if source
123 * entity is free. Drivers should call this handler before
126 * @disable_source is a handler to find source entity for the
127 * sink entity and deactivate the link between them. Drivers
130 * Use-case: find tuner entity connected to the decoder
131 * entity and check if it is available, and activate the
167 /* notify callback list invoked when a new entity is registered */
175 int (*enable_source)(struct media_entity *entity,
177 void (*disable_source)(struct media_entity *entity);
204 * So drivers need to first initialize the media device, register any entity
295 * media_device_register_entity() - registers a media entity inside a
299 * @entity: pointer to struct &media_entity to be registered
317 * Entities have flags that describe the entity capabilities and state:
320 * indicates the default entity for a given type.
326 * Drivers should set the entity function before calling this function.
331 struct media_entity *entity);
334 * media_device_unregister_entity() - unregisters a media entity.
336 * @entity: pointer to struct &media_entity to be unregistered
338 * All links associated with the entity and all PADs are automatically
341 * Unregistering an entity will not change the IDs of the other entities and
352 void media_device_unregister_entity(struct media_entity *entity);
363 * When a new entity is registered, all the registered
371 * media_device_unregister_entity_notify() - Unregister a media entity notify
382 #define media_device_for_each_entity(entity, mdev) \ argument
383 list_for_each_entry(entity, &(mdev)->entities, graph_obj.list)
446 struct media_entity *entity) in media_device_register_entity() argument
450 static inline void media_device_unregister_entity(struct media_entity *entity) in media_device_unregister_entity() argument