Lines Matching refs:ved
17 struct vimc_ent_device ved;
66 static void vimc_capture_get_format(struct vimc_ent_device *ved,
69 struct vimc_capture_device *vcapture = container_of(ved, struct vimc_capture_device,
70 ved);
131 dev_dbg(vcapture->ved.dev, "%s: format update: "
255 ret = vimc_streamer_s_stream(&vcapture->stream, &vcapture->ved, 1);
273 vimc_streamer_s_stream(&vcapture->stream, &vcapture->ved, 0);
315 dev_err(vcapture->ved.dev, "%s: buffer too small (%lu < %lu)\n",
340 static void vimc_capture_release(struct vimc_ent_device *ved)
343 container_of(ved, struct vimc_capture_device, ved);
345 media_entity_cleanup(vcapture->ved.ent);
349 static void vimc_capture_unregister(struct vimc_ent_device *ved)
352 container_of(ved, struct vimc_capture_device, ved);
357 static void *vimc_capture_process_frame(struct vimc_ent_device *ved,
360 struct vimc_capture_device *vcapture = container_of(ved, struct vimc_capture_device,
361 ved);
458 vcapture->ved.ent = &vcapture->vdev.entity;
459 vcapture->ved.process_frame = vimc_capture_process_frame;
460 vcapture->ved.vdev_get_format = vimc_capture_get_format;
461 vcapture->ved.dev = vimc->mdev.dev;
476 video_set_drvdata(vdev, &vcapture->ved);
486 return &vcapture->ved;