MEDIA_ENT_F_IO_V4L
else if (ent->function != MEDIA_ENT_F_IO_V4L)
isc->video_dev.entity.function = MEDIA_ENT_F_IO_V4L;
vdev->entity.function = MEDIA_ENT_F_IO_V4L;
state->sd.entity.function = MEDIA_ENT_F_IO_V4L;
vcap->vdev.entity.function = MEDIA_ENT_F_IO_V4L;
if (function == MEDIA_ENT_F_IO_V4L) {
&func->source_pad, 1, MEDIA_ENT_F_IO_V4L,
&func->sink_pad, 1, MEDIA_ENT_F_IO_V4L,
if (pad->entity->function != MEDIA_ENT_F_IO_V4L)
vcapture->vdev.entity.function = MEDIA_ENT_F_IO_V4L;
case MEDIA_ENT_F_IO_V4L:
if (entity->function == MEDIA_ENT_F_IO_V4L ||
vdev->entity.function = MEDIA_ENT_F_IO_V4L;
vdev->entity.function = MEDIA_ENT_F_IO_V4L;
case MEDIA_ENT_F_IO_V4L:
MEM2MEM_ENT_TYPE_SOURCE, vdev, MEDIA_ENT_F_IO_V4L);
MEM2MEM_ENT_TYPE_SINK, vdev, MEDIA_ENT_F_IO_V4L);
#define MEDIA_ENT_T_DEVNODE_V4L MEDIA_ENT_F_IO_V4L
#define MEDIA_ENT_T_V4L2_VIDEO MEDIA_ENT_F_IO_V4L