Lines Matching refs:ved
16 struct vimc_ent_device ved;
65 static void vimc_cap_get_format(struct vimc_ent_device *ved,
68 struct vimc_cap_device *vcap = container_of(ved, struct vimc_cap_device,
69 ved);
130 dev_dbg(vcap->ved.dev, "%s: format update: "
255 ret = vimc_streamer_s_stream(&vcap->stream, &vcap->ved, 1);
273 vimc_streamer_s_stream(&vcap->stream, &vcap->ved, 0);
315 dev_err(vcap->ved.dev, "%s: buffer too small (%lu < %lu)\n",
340 static void vimc_cap_release(struct vimc_ent_device *ved)
343 container_of(ved, struct vimc_cap_device, ved);
345 media_entity_cleanup(vcap->ved.ent);
349 static void vimc_cap_unregister(struct vimc_ent_device *ved)
352 container_of(ved, struct vimc_cap_device, ved);
357 static void *vimc_cap_process_frame(struct vimc_ent_device *ved,
360 struct vimc_cap_device *vcap = container_of(ved, struct vimc_cap_device,
361 ved);
454 vcap->ved.ent = &vcap->vdev.entity;
455 vcap->ved.process_frame = vimc_cap_process_frame;
456 vcap->ved.vdev_get_format = vimc_cap_get_format;
457 vcap->ved.dev = vimc->mdev.dev;
472 video_set_drvdata(vdev, &vcap->ved);
482 return &vcap->ved;