/linux/drivers/media/test-drivers/vimc/ |
H A D | vimc-streamer.c | 40 * vimc_streamer_pipeline_terminate - Disable stream in all ved in stream 50 struct vimc_ent_device *ved; in vimc_streamer_pipeline_terminate() local 55 ved = stream->ved_pipeline[stream->pipe_size]; in vimc_streamer_pipeline_terminate() 58 if (!is_media_entity_v4l2_subdev(ved->ent)) in vimc_streamer_pipeline_terminate() 61 sd = media_entity_to_v4l2_subdev(ved->ent); in vimc_streamer_pipeline_terminate() 70 * @ved: the pointer to the vimc entity initializing the stream 80 struct vimc_ent_device *ved) in vimc_streamer_pipeline_init() argument 89 if (!ved) { in vimc_streamer_pipeline_init() 93 stream->ved_pipeline[stream->pipe_size++] = ved; in vimc_streamer_pipeline_init() 95 if (is_media_entity_v4l2_subdev(ved->ent)) { in vimc_streamer_pipeline_init() [all …]
|
H A D | vimc-lens.c | 18 struct vimc_ent_device ved; member 71 vlens->ved.dev = vimc->mdev.dev; in vimc_lens_add() 73 ret = vimc_ent_sd_register(&vlens->ved, &vlens->sd, v4l2_dev, in vimc_lens_add() 79 return &vlens->ved; in vimc_lens_add() 89 static void vimc_lens_release(struct vimc_ent_device *ved) in vimc_lens_release() argument 92 container_of(ved, struct vimc_lens_device, ved); in vimc_lens_release() 96 media_entity_cleanup(vlens->ved.ent); in vimc_lens_release()
|
H A D | vimc-debayer.c | 33 struct vimc_ent_device ved; member 265 dev_dbg(vdebayer->ved.dev, "%s: sink format update: " in vimc_debayer_set_fmt() 424 dev_dbg(vdebayer->ved.dev, in vimc_debayer_calc_rgb_sink() 457 dev_dbg(vdebayer->ved.dev, in vimc_debayer_calc_rgb_sink() 469 dev_dbg(vdebayer->ved.dev, "deb: %s: RGB CALC: val %d, n %d\n", in vimc_debayer_calc_rgb_sink() 476 dev_dbg(vdebayer->ved.dev, in vimc_debayer_calc_rgb_sink() 483 dev_dbg(vdebayer->ved.dev, in vimc_debayer_calc_rgb_sink() 489 static void *vimc_debayer_process_frame(struct vimc_ent_device *ved, in vimc_debayer_process_frame() argument 493 container_of(ved, struct vimc_debayer_device, ved); in vimc_debayer_process_frame() 530 static void vimc_debayer_release(struct vimc_ent_device *ved) in vimc_debayer_release() argument [all …]
|
H A D | vimc-scaler.c | 27 struct vimc_ent_device ved; member 362 static void *vimc_scaler_process_frame(struct vimc_ent_device *ved, in vimc_scaler_process_frame() argument 365 struct vimc_scaler_device *vscaler = container_of(ved, struct vimc_scaler_device, in vimc_scaler_process_frame() 366 ved); in vimc_scaler_process_frame() 377 static void vimc_scaler_release(struct vimc_ent_device *ved) in vimc_scaler_release() argument 380 container_of(ved, struct vimc_scaler_device, ved); in vimc_scaler_release() 383 media_entity_cleanup(vscaler->ved.ent); in vimc_scaler_release() 399 /* Initialize ved and sd */ in vimc_scaler_add() 403 ret = vimc_ent_sd_register(&vscaler->ved, &vscaler->sd, v4l2_dev, in vimc_scaler_add() 413 vscaler->ved.process_frame = vimc_scaler_process_frame; in vimc_scaler_add() [all …]
|
H A D | vimc-sensor.c | 24 struct vimc_ent_device ved; member 153 dev_dbg(vsensor->ved.dev, "%s: format update: " in vimc_sensor_set_fmt() 177 static void *vimc_sensor_process_frame(struct vimc_ent_device *ved, in vimc_sensor_process_frame() argument 181 container_of(ved, struct vimc_sensor_device, ved); in vimc_sensor_process_frame() 332 static void vimc_sensor_release(struct vimc_ent_device *ved) in vimc_sensor_release() argument 335 container_of(ved, struct vimc_sensor_device, ved); in vimc_sensor_release() 340 media_entity_cleanup(vsensor->ved.ent); in vimc_sensor_release() 418 /* Initialize ved and sd */ in vimc_sensor_add() 420 ret = vimc_ent_sd_register(&vsensor->ved, &vsensor->sd, v4l2_dev, in vimc_sensor_add() 427 vsensor->ved.process_frame = vimc_sensor_process_frame; in vimc_sensor_add() [all …]
|
H A D | vimc-common.h | 111 void * (*process_frame)(struct vimc_ent_device *ved, 113 void (*vdev_get_format)(struct vimc_ent_device *ved, 145 void (*unregister)(struct vimc_ent_device *ved); 146 void (*release)(struct vimc_ent_device *ved); 209 * @ved: the vimc_ent_device struct to be initialize 224 int vimc_ent_sd_register(struct vimc_ent_device *ved,
|
H A D | vimc-common.c | 264 struct vimc_ent_device *ved = video_get_drvdata(vdev); in vimc_get_pix_format() local 266 if (!ved->vdev_get_format) in vimc_get_pix_format() 269 ved->vdev_get_format(ved, fmt); in vimc_get_pix_format() 356 int vimc_ent_sd_register(struct vimc_ent_device *ved, in vimc_ent_sd_register() argument 369 ved->ent = &sd->entity; in vimc_ent_sd_register() 378 v4l2_set_subdevdata(sd, ved); in vimc_ent_sd_register()
|
H A D | vimc-streamer.h | 42 struct vimc_ent_device *ved,
|
/linux/drivers/media/platform/st/stm32/stm32-dcmipp/ |
H A D | dcmipp-common.c | 40 int dcmipp_ent_sd_register(struct dcmipp_ent_device *ved, in dcmipp_ent_sd_register() argument 55 ved->pads = dcmipp_pads_init(num_pads, pads_flag); in dcmipp_ent_sd_register() 56 if (IS_ERR(ved->pads)) in dcmipp_ent_sd_register() 57 return PTR_ERR(ved->pads); in dcmipp_ent_sd_register() 60 ved->ent = &sd->entity; in dcmipp_ent_sd_register() 69 v4l2_set_subdevdata(sd, ved); in dcmipp_ent_sd_register() 77 ret = media_entity_pads_init(&sd->entity, num_pads, ved->pads); in dcmipp_ent_sd_register() 94 ved->handler = handler; in dcmipp_ent_sd_register() 95 ved->thread_fn = thread_fn; in dcmipp_ent_sd_register() 102 dcmipp_pads_cleanup(ved->pads); in dcmipp_ent_sd_register() [all …]
|
H A D | dcmipp-parallel.c | 128 struct dcmipp_ent_device ved; member 212 par->ved.bus_type == V4L2_MBUS_BT656) in dcmipp_par_adjust_fmt() 280 if (par->ved.bus.flags & V4L2_MBUS_VSYNC_ACTIVE_HIGH) in dcmipp_par_configure() 284 if (par->ved.bus.flags & V4L2_MBUS_HSYNC_ACTIVE_HIGH) in dcmipp_par_configure() 288 if (par->ved.bus.flags & V4L2_MBUS_PCLK_SAMPLE_RISING) in dcmipp_par_configure() 298 if (par->ved.bus_type == V4L2_MBUS_BT656) { in dcmipp_par_configure() 400 void dcmipp_par_ent_release(struct dcmipp_ent_device *ved) in dcmipp_par_ent_release() argument 403 container_of(ved, struct dcmipp_par_device, ved); in dcmipp_par_ent_release() 405 dcmipp_ent_sd_unregister(ved, &par->sd); in dcmipp_par_ent_release() 426 /* Initialize ved and sd */ in dcmipp_par_ent_init() [all …]
|
H A D | dcmipp-common.h | 123 * @ved: the dcmipp_ent_device struct to be initialize 139 int dcmipp_ent_sd_register(struct dcmipp_ent_device *ved, 154 * @ved: the dcmipp_ent_device struct to be cleaned up 160 void dcmipp_ent_sd_unregister(struct dcmipp_ent_device *ved, 206 void dcmipp_par_ent_release(struct dcmipp_ent_device *ved); 210 void dcmipp_byteproc_ent_release(struct dcmipp_ent_device *ved); 215 void dcmipp_bytecap_ent_release(struct dcmipp_ent_device *ved);
|
H A D | dcmipp-byteproc.c | 77 struct dcmipp_ent_device ved; member 524 void dcmipp_byteproc_ent_release(struct dcmipp_ent_device *ved) in dcmipp_byteproc_ent_release() argument 527 container_of(ved, struct dcmipp_byteproc_device, ved); in dcmipp_byteproc_ent_release() 529 dcmipp_ent_sd_unregister(ved, &byteproc->sd); in dcmipp_byteproc_ent_release() 549 /* Initialize ved and sd */ in dcmipp_byteproc_ent_init() 550 ret = dcmipp_ent_sd_register(&byteproc->ved, &byteproc->sd, in dcmipp_byteproc_ent_init() 564 return &byteproc->ved; in dcmipp_byteproc_ent_init()
|
/linux/arch/x86/platform/atom/ |
H A D | punit_atom_debug.c | 54 { "VED", VED_SS_PM0, SSS_SHIFT }, 64 { "VED", VED_SS_PM0, SSS_SHIFT }, 74 { "VED", VED_SS_PM0, SSS_SHIFT },
|
/linux/arch/sparc/include/asm/ |
H A D | sbi.h | 61 * SLOT # |3|2|1|0|3|2|1|0|3|2|1|0|3|2|1|0|3|2|1|0|3|2|1|0|3|2|1|0| ved |
|
/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_lpe_audio.c | 26 * based on VED patches
|
H A D | intel_display_power.c | 1880 "VED not power gated\n"); in assert_ved_power_gated()
|
/linux/Documentation/arch/riscv/ |
H A D | hwprobe.rst | 188 manual starting from commit 95cf1f9 ("Add changes requested by Ved
|
/linux/Documentation/devicetree/bindings/riscv/ |
H A D | extensions.yaml | 439 ("Add changes requested by Ved during signoff") of riscv-zicond.
|