Lines Matching full:entity
21 An entity is a basic media hardware building block. It can correspond to
27 A pad is a connection endpoint through which an entity can interact with
28 other entities. Data (not restricted to video) produced by an entity
29 flows from the entity's output to one or more entity inputs. Pads should
33 on the same entity or on different entities. Data flows from a source
60 instance, defined in ``include/media/media-entity.h``. The structure is usually
65 Drivers initialize entity pads by calling
78 ``include/media/media-entity.h``. Currently, only one type of interface is
90 defined in ``include/media/media-entity.h``. Each entity stores its pads in
91 a pads array managed by the entity driver. Drivers usually embed the array in
94 Pads are identified by their entity and their 0-based index in the pads
115 defined in ``include/media/media-entity.h``. There are two types of links:
119 Associate two entities via their PADs. Each entity has a list that points
121 A given link is thus stored twice, once in the source entity and once in
122 the target entity.
128 **2. interface to entity links**:
132 Drivers create interface to entity links by calling:
155 struct media_entity *entity;
157 media_device_for_each_entity(entity, mdev) {
158 // entity will point to each entity in turn
163 reached only through enabled links starting at a given entity. The media
177 traversal at the given entity.
179 Drivers can then retrieve the next entity by calling
200 can use to track the number of users of every entity for power management
205 touched by entity drivers. Access to the field must be protected by the
218 source devices (such as a sensors) and flowing through media entity pads
256 link is a streaming entity. Links that can be modified while streaming must
261 media_entity stream_count field to find out if an entity is streaming. This
268 for any entity which has sink pads in the pipeline. The
270 purpose. In ``link_validate()`` callback, entity driver should check
271 that the properties of the source pad of the connected entity and its own
272 sink pad match. It is up to the type of the entity (and in the end, the
322 .. kernel-doc:: include/media/media-entity.h