Lines Matching refs:entity
351 pad = media_pad_remote_pad_first(&vcap->vdev.entity.pads[0]);
352 if (!pad || !is_media_entity_v4l2_subdev(pad->entity))
354 vcap->s_subdev = media_entity_to_v4l2_subdev(pad->entity);
396 struct media_entity *entity = &vcap->vdev.entity;
410 ret = media_pipeline_start(entity->pads, &vcap->pipe);
447 media_pipeline_stop(entity->pads);
488 media_pipeline_stop(vcap->vdev.entity.pads);
809 struct media_entity *entity = link->sink->entity;
810 struct video_device *vd = media_entity_to_video_device(entity);
814 media_entity_to_v4l2_subdev(link->source->entity);
871 /* Initialize the media entity */
872 vcap->vdev.entity.name = entity_name;
873 vcap->vdev.entity.function = MEDIA_ENT_F_IO_V4L;
874 vcap->vdev.entity.ops = &dcmipp_bytecap_entity_ops;
875 ret = media_entity_pads_init(&vcap->vdev.entity, 1, vcap->ved.pads);
917 vcap->ved.ent = &vcap->vdev.entity;
947 media_entity_cleanup(&vcap->vdev.entity);