Searched refs:ved (Results 1 – 6 of 6) sorted by relevance
/Linux-v4.19/drivers/media/platform/vimc/ |
D | vimc-common.c | 221 struct vimc_ent_device *ved = NULL; in vimc_propagate_frame() local 228 ved = v4l2_get_subdevdata(sd); in vimc_propagate_frame() 234 ved = video_get_drvdata(vdev); in vimc_propagate_frame() 236 if (ved && ved->process_frame) in vimc_propagate_frame() 237 ved->process_frame(ved, link->sink, frame); in vimc_propagate_frame() 312 struct vimc_ent_device *ved = video_get_drvdata(vdev); in vimc_get_mbus_format() local 316 if (!ved->vdev_get_format) in vimc_get_mbus_format() 319 ved->vdev_get_format(ved, &vdev_fmt); in vimc_get_mbus_format() 409 int vimc_ent_sd_register(struct vimc_ent_device *ved, in vimc_ent_sd_register() argument 421 ved->pads = vimc_pads_init(num_pads, pads_flag); in vimc_ent_sd_register() [all …]
|
D | vimc-capture.c | 31 struct vimc_ent_device ved; member 82 static void vimc_cap_get_format(struct vimc_ent_device *ved, in vimc_cap_get_format() argument 85 struct vimc_cap_device *vcap = container_of(ved, struct vimc_cap_device, in vimc_cap_get_format() 86 ved); in vimc_cap_get_format() 347 struct vimc_ent_device *ved = dev_get_drvdata(comp); in vimc_cap_comp_unbind() local 348 struct vimc_cap_device *vcap = container_of(ved, struct vimc_cap_device, in vimc_cap_comp_unbind() 349 ved); in vimc_cap_comp_unbind() 352 media_entity_cleanup(ved->ent); in vimc_cap_comp_unbind() 354 vimc_pads_cleanup(vcap->ved.pads); in vimc_cap_comp_unbind() 358 static void vimc_cap_process_frame(struct vimc_ent_device *ved, in vimc_cap_process_frame() argument [all …]
|
D | vimc-scaler.c | 39 struct vimc_ent_device ved; member 349 static void vimc_sca_process_frame(struct vimc_ent_device *ved, in vimc_sca_process_frame() argument 353 struct vimc_sca_device *vsca = container_of(ved, struct vimc_sca_device, in vimc_sca_process_frame() 354 ved); in vimc_sca_process_frame() 374 struct vimc_ent_device *ved = dev_get_drvdata(comp); in vimc_sca_comp_unbind() local 375 struct vimc_sca_device *vsca = container_of(ved, struct vimc_sca_device, in vimc_sca_comp_unbind() 376 ved); in vimc_sca_comp_unbind() 378 vimc_ent_sd_unregister(ved, &vsca->sd); in vimc_sca_comp_unbind() 397 ret = vimc_ent_sd_register(&vsca->ved, &vsca->sd, v4l2_dev, in vimc_sca_comp_bind() 408 vsca->ved.process_frame = vimc_sca_process_frame; in vimc_sca_comp_bind() [all …]
|
D | vimc-common.h | 116 void (*process_frame)(struct vimc_ent_device *ved, 118 void (*vdev_get_format)(struct vimc_ent_device *ved, 204 int vimc_ent_sd_register(struct vimc_ent_device *ved, 222 void vimc_ent_sd_unregister(struct vimc_ent_device *ved,
|
D | vimc-debayer.c | 52 struct vimc_ent_device ved; member 483 static void vimc_deb_process_frame(struct vimc_ent_device *ved, in vimc_deb_process_frame() argument 487 struct vimc_deb_device *vdeb = container_of(ved, struct vimc_deb_device, in vimc_deb_process_frame() 488 ved); in vimc_deb_process_frame() 513 struct vimc_ent_device *ved = dev_get_drvdata(comp); in vimc_deb_comp_unbind() local 514 struct vimc_deb_device *vdeb = container_of(ved, struct vimc_deb_device, in vimc_deb_comp_unbind() 515 ved); in vimc_deb_comp_unbind() 517 vimc_ent_sd_unregister(ved, &vdeb->sd); in vimc_deb_comp_unbind() 535 ret = vimc_ent_sd_register(&vdeb->ved, &vdeb->sd, v4l2_dev, in vimc_deb_comp_bind() 546 vdeb->ved.process_frame = vimc_deb_process_frame; in vimc_deb_comp_bind() [all …]
|
D | vimc-sensor.c | 36 struct vimc_ent_device ved; member 333 struct vimc_ent_device *ved = dev_get_drvdata(comp); in vimc_sen_comp_unbind() local 335 container_of(ved, struct vimc_sen_device, ved); in vimc_sen_comp_unbind() 337 vimc_ent_sd_unregister(ved, &vsen->sd); in vimc_sen_comp_unbind() 388 ret = vimc_ent_sd_register(&vsen->ved, &vsen->sd, v4l2_dev, in vimc_sen_comp_bind() 396 dev_set_drvdata(comp, &vsen->ved); in vimc_sen_comp_bind() 412 vimc_ent_sd_unregister(&vsen->ved, &vsen->sd); in vimc_sen_comp_bind()
|