···5050Entities are represented by a :c:type:`struct media_entity <media_entity>`5151instance, defined in ``include/media/media-entity.h``. The structure is usually5252embedded into a higher-level structure, such as5353-:ref:`v4l2_subdev` or :ref:`video_device`5353+:c:type:`v4l2_subdev` or :c:type:`video_device`5454instances, although drivers can allocate entities directly.55555656Drivers initialize entity pads by calling