Lines Matching refs:ved

17 	struct vimc_ent_device ved;  member
66 static void vimc_cap_get_format(struct vimc_ent_device *ved, in vimc_cap_get_format() argument
69 struct vimc_cap_device *vcap = container_of(ved, struct vimc_cap_device, in vimc_cap_get_format()
70 ved); in vimc_cap_get_format()
131 dev_dbg(vcap->ved.dev, "%s: format update: " in vimc_cap_s_fmt_vid_cap()
256 ret = vimc_streamer_s_stream(&vcap->stream, &vcap->ved, 1); in vimc_cap_start_streaming()
274 vimc_streamer_s_stream(&vcap->stream, &vcap->ved, 0); in vimc_cap_stop_streaming()
316 dev_err(vcap->ved.dev, "%s: buffer too small (%lu < %lu)\n", in vimc_cap_buffer_prepare()
341 static void vimc_cap_release(struct vimc_ent_device *ved) in vimc_cap_release() argument
344 container_of(ved, struct vimc_cap_device, ved); in vimc_cap_release()
346 media_entity_cleanup(vcap->ved.ent); in vimc_cap_release()
350 static void vimc_cap_unregister(struct vimc_ent_device *ved) in vimc_cap_unregister() argument
353 container_of(ved, struct vimc_cap_device, ved); in vimc_cap_unregister()
358 static void *vimc_cap_process_frame(struct vimc_ent_device *ved, in vimc_cap_process_frame() argument
361 struct vimc_cap_device *vcap = container_of(ved, struct vimc_cap_device, in vimc_cap_process_frame()
362 ved); in vimc_cap_process_frame()
459 vcap->ved.ent = &vcap->vdev.entity; in vimc_cap_add()
460 vcap->ved.process_frame = vimc_cap_process_frame; in vimc_cap_add()
461 vcap->ved.vdev_get_format = vimc_cap_get_format; in vimc_cap_add()
462 vcap->ved.dev = vimc->mdev.dev; in vimc_cap_add()
477 video_set_drvdata(vdev, &vcap->ved); in vimc_cap_add()
487 return &vcap->ved; in vimc_cap_add()