/kernel/linux/linux-6.6/drivers/media/platform/renesas/vsp1/ |
H A D | vsp1_drv.c | 24 #include "vsp1.h" 49 struct vsp1_device *vsp1 = data; in vsp1_irq_handler() local 54 for (i = 0; i < vsp1->info->wpf_count; ++i) { in vsp1_irq_handler() 55 struct vsp1_rwpf *wpf = vsp1->wpf[i]; in vsp1_irq_handler() 60 status = vsp1_read(vsp1, VI6_WPF_IRQ_STA(i)); in vsp1_irq_handler() 61 vsp1_write(vsp1, VI6_WPF_IRQ_STA(i), ~status & mask); in vsp1_irq_handler() 66 dev_warn_ratelimited(vsp1->dev, in vsp1_irq_handler() 98 static int vsp1_create_sink_links(struct vsp1_device *vsp1, in vsp1_create_sink_links() argument 106 list_for_each_entry(source, &vsp1->entities, list_dev) { in vsp1_create_sink_links() 141 static int vsp1_uapi_create_links(struct vsp1_device *vsp1) in vsp1_uapi_create_links() argument 220 vsp1_destroy_entities(struct vsp1_device *vsp1) vsp1_destroy_entities() argument 244 vsp1_create_entities(struct vsp1_device *vsp1) vsp1_create_entities() argument 490 vsp1_reset_wpf(struct vsp1_device *vsp1, unsigned int index) vsp1_reset_wpf() argument 516 vsp1_device_init(struct vsp1_device *vsp1) vsp1_device_init() argument 560 vsp1_mask_all_interrupts(struct vsp1_device *vsp1) vsp1_mask_all_interrupts() argument 577 vsp1_device_get(struct vsp1_device *vsp1) vsp1_device_get() argument 588 vsp1_device_put(struct vsp1_device *vsp1) vsp1_device_put() argument 599 struct vsp1_device *vsp1 = dev_get_drvdata(dev); vsp1_pm_suspend() local 615 struct vsp1_device *vsp1 = dev_get_drvdata(dev); vsp1_pm_resume() local 631 struct vsp1_device *vsp1 = dev_get_drvdata(dev); vsp1_pm_runtime_suspend() local 641 struct vsp1_device *vsp1 = dev_get_drvdata(dev); vsp1_pm_runtime_resume() local 853 vsp1_lookup_info(struct vsp1_device *vsp1) vsp1_lookup_info() argument 888 struct vsp1_device *vsp1; vsp1_probe() local 990 struct vsp1_device *vsp1 = platform_get_drvdata(pdev); vsp1_remove() local [all...] |
H A D | vsp1_drm.c | 16 #include <media/vsp1.h> 18 #include "vsp1.h" 63 static int vsp1_du_insert_uif(struct vsp1_device *vsp1, in vsp1_du_insert_uif() argument 99 dev_dbg(vsp1->dev, "%s: set format %ux%u (%x) on UIF sink\n", in vsp1_du_insert_uif() 115 static int vsp1_du_pipeline_setup_rpf(struct vsp1_device *vsp1, in vsp1_du_pipeline_setup_rpf() argument 134 crop = &vsp1->drm->inputs[rpf->entity.index].crop; in vsp1_du_pipeline_setup_rpf() 147 dev_dbg(vsp1->dev, in vsp1_du_pipeline_setup_rpf() 161 dev_dbg(vsp1->dev, in vsp1_du_pipeline_setup_rpf() 177 dev_dbg(vsp1->dev, in vsp1_du_pipeline_setup_rpf() 190 ret = vsp1_du_insert_uif(vsp1, pip in vsp1_du_pipeline_setup_rpf() 228 vsp1_du_pipeline_setup_brx(struct vsp1_device *vsp1, struct vsp1_pipeline *pipe) vsp1_du_pipeline_setup_brx() argument 361 rpf_zpos(struct vsp1_device *vsp1, struct vsp1_rwpf *rpf) rpf_zpos() argument 367 vsp1_du_pipeline_setup_inputs(struct vsp1_device *vsp1, struct vsp1_pipeline *pipe) vsp1_du_pipeline_setup_inputs() argument 480 vsp1_du_pipeline_setup_output(struct vsp1_device *vsp1, struct vsp1_pipeline *pipe) vsp1_du_pipeline_setup_output() argument 578 vsp1_du_pipeline_set_rwpf_format(struct vsp1_device *vsp1, struct vsp1_rwpf *rwpf, u32 pixelformat, unsigned int pitch) vsp1_du_pipeline_set_rwpf_format() argument 614 struct vsp1_device *vsp1 = dev_get_drvdata(dev); vsp1_du_init() local 647 struct vsp1_device *vsp1 = dev_get_drvdata(dev); vsp1_du_setup_lif() local 816 struct vsp1_device *vsp1 = dev_get_drvdata(dev); vsp1_du_atomic_update() local 884 struct vsp1_device *vsp1 = dev_get_drvdata(dev); vsp1_du_atomic_flush() local 918 struct vsp1_device *vsp1 = dev_get_drvdata(dev); vsp1_du_map_sg() local 932 struct vsp1_device *vsp1 = dev_get_drvdata(dev); vsp1_du_unmap_sg() local 943 vsp1_drm_init(struct vsp1_device *vsp1) vsp1_drm_init() argument 997 vsp1_drm_cleanup(struct vsp1_device *vsp1) vsp1_drm_cleanup() argument [all...] |
H A D | Makefile | 2 vsp1-y := vsp1_drv.o vsp1_entity.o vsp1_pipe.o 3 vsp1-y += vsp1_dl.o vsp1_drm.o vsp1_video.o 4 vsp1-y += vsp1_rpf.o vsp1_rwpf.o vsp1_wpf.o 5 vsp1-y += vsp1_clu.o vsp1_hsit.o vsp1_lut.o 6 vsp1-y += vsp1_brx.o vsp1_sru.o vsp1_uds.o 7 vsp1-y += vsp1_hgo.o vsp1_hgt.o vsp1_histo.o 8 vsp1-y += vsp1_lif.o vsp1_uif.o 10 obj-$(CONFIG_VIDEO_RENESAS_VSP1) += vsp1.o
|
H A D | vsp1_dl.c | 17 #include "vsp1.h" 128 * @vsp1: the VSP1 device 141 struct vsp1_device *vsp1; member 152 * @vsp1: the VSP1 device 165 struct vsp1_device *vsp1; member 207 * @vsp1: the VSP1 device 219 struct vsp1_device *vsp1; member 237 * @vsp1: The VSP1 device 248 vsp1_dl_body_pool_create(struct vsp1_device *vsp1, unsigned int num_bodies, in vsp1_dl_body_pool_create() argument 259 pool->vsp1 in vsp1_dl_body_pool_create() 423 vsp1_dl_cmd_pool_create(struct vsp1_device *vsp1, enum vsp1_extcmd_type type, unsigned int num_cmds) vsp1_dl_cmd_pool_create() argument 839 struct vsp1_device *vsp1 = dlm->vsp1; vsp1_dl_list_hw_update_pending() local 854 struct vsp1_device *vsp1 = dlm->vsp1; vsp1_dl_list_hw_enqueue() local 971 struct vsp1_device *vsp1 = dlm->vsp1; vsp1_dlm_irq_frame_end() local 1049 vsp1_dlm_setup(struct vsp1_device *vsp1) vsp1_dlm_setup() argument 1089 vsp1_dlm_create(struct vsp1_device *vsp1, unsigned int index, unsigned int prealloc) vsp1_dlm_create() argument [all...] |
H A D | vsp1_wpf.c | 14 #include "vsp1.h" 136 struct vsp1_device *vsp1 = wpf->entity.vsp1; in wpf_init_controls() local 144 } else if (vsp1_feature(vsp1, VSP1_HAS_WPF_HFLIP)) { in wpf_init_controls() 150 } else if (vsp1_feature(vsp1, VSP1_HAS_WPF_VFLIP)) { in wpf_init_controls() 180 dev_err(vsp1->dev, "wpf%u: failed to initialize controls\n", in wpf_init_controls() 195 struct vsp1_device *vsp1 = wpf->entity.vsp1; in wpf_s_stream() local 204 vsp1_write(vsp1, VI6_WPF_IRQ_ENB(wpf->entity.index), 0); in wpf_s_stream() 205 vsp1_write(vsp1, wp in wpf_s_stream() 262 struct vsp1_device *vsp1 = wpf->entity.vsp1; wpf_configure_stream() local 397 struct vsp1_device *vsp1 = wpf->entity.vsp1; wpf_configure_partition() local 563 vsp1_wpf_create(struct vsp1_device *vsp1, unsigned int index) vsp1_wpf_create() argument [all...] |
H A D | vsp1.h | 3 * vsp1.h -- R-Car VSP1 Driver 75 #define vsp1_feature(vsp1, f) ((vsp1)->info->features & (f)) 112 int vsp1_device_get(struct vsp1_device *vsp1); 113 void vsp1_device_put(struct vsp1_device *vsp1); 115 int vsp1_reset_wpf(struct vsp1_device *vsp1, unsigned int index); 117 static inline u32 vsp1_read(struct vsp1_device *vsp1, u32 reg) in vsp1_read() argument 119 return ioread32(vsp1->mmio + reg); in vsp1_read() 122 static inline void vsp1_write(struct vsp1_device *vsp1, u32 reg, u32 data) in vsp1_write() argument 124 iowrite32(data, vsp1 in vsp1_write() [all...] |
H A D | vsp1_video.c | 26 #include "vsp1.h" 119 info = vsp1_get_format_info(video->vsp1, pix->pixelformat); in __vsp1_video_try_format() 121 info = vsp1_get_format_info(video->vsp1, VSP1_VIDEO_DEF_FORMAT); in __vsp1_video_try_format() 255 struct vsp1_device *vsp1 = pipe->output->entity.vsp1; in vsp1_video_pipeline_setup_partitions() local 274 if (vsp1->info->gen >= 3) { in vsp1_video_pipeline_setup_partitions() 379 struct vsp1_device *vsp1 = pipe->output->entity.vsp1; in vsp1_video_pipeline_run() local 416 dev_err(vsp1->dev, "Failed to obtain a dl list. Frame will be incomplete\n"); in vsp1_video_pipeline_run() 434 struct vsp1_device *vsp1 in vsp1_video_pipeline_frame_end() local 1152 vsp1_video_suspend(struct vsp1_device *vsp1) vsp1_video_suspend() argument 1199 vsp1_video_resume(struct vsp1_device *vsp1) vsp1_video_resume() argument 1233 vsp1_video_create(struct vsp1_device *vsp1, struct vsp1_rwpf *rwpf) vsp1_video_create() argument [all...] |
H A D | vsp1_video.h | 33 struct vsp1_device *vsp1; member 54 void vsp1_video_suspend(struct vsp1_device *vsp1); 55 void vsp1_video_resume(struct vsp1_device *vsp1); 57 struct vsp1_video *vsp1_video_create(struct vsp1_device *vsp1,
|
H A D | vsp1_rpf.c | 14 #include "vsp1.h" 112 if (entity->vsp1->info->gen == 4) { in rpf_configure_stream() 210 if (entity->vsp1->info->gen >= 3) { in rpf_configure_stream() 300 struct vsp1_device *vsp1 = rpf->entity.vsp1; in rpf_configure_partition() local 359 if (vsp1->info->gen >= 3 && format->num_planes == 3 && in rpf_configure_partition() 396 struct vsp1_rwpf *vsp1_rpf_create(struct vsp1_device *vsp1, unsigned int index) in vsp1_rpf_create() argument 402 rpf = devm_kzalloc(vsp1->dev, sizeof(*rpf), GFP_KERNEL); in vsp1_rpf_create() 414 ret = vsp1_entity_init(vsp1, &rpf->entity, name, 2, &rpf_ops, in vsp1_rpf_create() 422 dev_err(vsp1 in vsp1_rpf_create() [all...] |
H A D | vsp1_hgo.c | 16 #include "vsp1.h" 28 return vsp1_read(hgo->histo.entity.vsp1, reg); in vsp1_hgo_read() 60 vsp1_write(hgo->histo.entity.vsp1, in vsp1_hgo_frame_end() 188 struct vsp1_hgo *vsp1_hgo_create(struct vsp1_device *vsp1) in vsp1_hgo_create() argument 193 hgo = devm_kzalloc(vsp1->dev, sizeof(*hgo), GFP_KERNEL); in vsp1_hgo_create() 199 vsp1->info->gen >= 3 ? 2 : 1); in vsp1_hgo_create() 202 if (vsp1->info->gen >= 3) in vsp1_hgo_create() 213 ret = vsp1_histogram_init(vsp1, &hgo->histo, VSP1_ENTITY_HGO, "hgo", in vsp1_hgo_create()
|
H A D | vsp1_lif.c | 15 #include "vsp1.h" 100 switch (entity->vsp1->version & VI6_IP_VERSION_MODEL_MASK) { in lif_configure_stream() 140 if (vsp1_feature(entity->vsp1, VSP1_HAS_NON_ZERO_LBA)) in lif_configure_stream() 154 struct vsp1_lif *vsp1_lif_create(struct vsp1_device *vsp1, unsigned int index) in vsp1_lif_create() argument 159 lif = devm_kzalloc(vsp1->dev, sizeof(*lif), GFP_KERNEL); in vsp1_lif_create() 172 ret = vsp1_entity_init(vsp1, &lif->entity, "lif", 2, &lif_ops, in vsp1_lif_create()
|
H A D | vsp1_drm.h | 16 #include <media/vsp1.h> 73 int vsp1_drm_init(struct vsp1_device *vsp1); 74 void vsp1_drm_cleanup(struct vsp1_device *vsp1);
|
/kernel/linux/linux-5.10/drivers/media/platform/vsp1/ |
H A D | vsp1_drv.c | 24 #include "vsp1.h" 48 struct vsp1_device *vsp1 = data; in vsp1_irq_handler() local 53 for (i = 0; i < vsp1->info->wpf_count; ++i) { in vsp1_irq_handler() 54 struct vsp1_rwpf *wpf = vsp1->wpf[i]; in vsp1_irq_handler() 59 status = vsp1_read(vsp1, VI6_WPF_IRQ_STA(i)); in vsp1_irq_handler() 60 vsp1_write(vsp1, VI6_WPF_IRQ_STA(i), ~status & mask); in vsp1_irq_handler() 89 static int vsp1_create_sink_links(struct vsp1_device *vsp1, in vsp1_create_sink_links() argument 97 list_for_each_entry(source, &vsp1->entities, list_dev) { in vsp1_create_sink_links() 132 static int vsp1_uapi_create_links(struct vsp1_device *vsp1) in vsp1_uapi_create_links() argument 138 list_for_each_entry(entity, &vsp1 in vsp1_uapi_create_links() 211 vsp1_destroy_entities(struct vsp1_device *vsp1) vsp1_destroy_entities() argument 235 vsp1_create_entities(struct vsp1_device *vsp1) vsp1_create_entities() argument 483 vsp1_reset_wpf(struct vsp1_device *vsp1, unsigned int index) vsp1_reset_wpf() argument 509 vsp1_device_init(struct vsp1_device *vsp1) vsp1_device_init() argument 560 vsp1_device_get(struct vsp1_device *vsp1) vsp1_device_get() argument 579 vsp1_device_put(struct vsp1_device *vsp1) vsp1_device_put() argument 590 struct vsp1_device *vsp1 = dev_get_drvdata(dev); vsp1_pm_suspend() local 606 struct vsp1_device *vsp1 = dev_get_drvdata(dev); vsp1_pm_resume() local 622 struct vsp1_device *vsp1 = dev_get_drvdata(dev); vsp1_pm_runtime_suspend() local 631 struct vsp1_device *vsp1 = dev_get_drvdata(dev); vsp1_pm_runtime_resume() local 793 struct vsp1_device *vsp1; vsp1_probe() local 895 struct vsp1_device *vsp1 = platform_get_drvdata(pdev); vsp1_remove() local [all...] |
H A D | vsp1_drm.c | 16 #include <media/vsp1.h> 18 #include "vsp1.h" 63 static int vsp1_du_insert_uif(struct vsp1_device *vsp1, in vsp1_du_insert_uif() argument 99 dev_dbg(vsp1->dev, "%s: set format %ux%u (%x) on UIF sink\n", in vsp1_du_insert_uif() 115 static int vsp1_du_pipeline_setup_rpf(struct vsp1_device *vsp1, in vsp1_du_pipeline_setup_rpf() argument 130 crop = &vsp1->drm->inputs[rpf->entity.index].crop; in vsp1_du_pipeline_setup_rpf() 145 dev_dbg(vsp1->dev, in vsp1_du_pipeline_setup_rpf() 161 dev_dbg(vsp1->dev, in vsp1_du_pipeline_setup_rpf() 177 dev_dbg(vsp1->dev, in vsp1_du_pipeline_setup_rpf() 190 ret = vsp1_du_insert_uif(vsp1, pip in vsp1_du_pipeline_setup_rpf() 228 vsp1_du_pipeline_setup_brx(struct vsp1_device *vsp1, struct vsp1_pipeline *pipe) vsp1_du_pipeline_setup_brx() argument 361 rpf_zpos(struct vsp1_device *vsp1, struct vsp1_rwpf *rpf) rpf_zpos() argument 367 vsp1_du_pipeline_setup_inputs(struct vsp1_device *vsp1, struct vsp1_pipeline *pipe) vsp1_du_pipeline_setup_inputs() argument 476 vsp1_du_pipeline_setup_output(struct vsp1_device *vsp1, struct vsp1_pipeline *pipe) vsp1_du_pipeline_setup_output() argument 573 vsp1_du_pipeline_set_rwpf_format(struct vsp1_device *vsp1, struct vsp1_rwpf *rwpf, u32 pixelformat, unsigned int pitch) vsp1_du_pipeline_set_rwpf_format() argument 609 struct vsp1_device *vsp1 = dev_get_drvdata(dev); vsp1_du_init() local 642 struct vsp1_device *vsp1 = dev_get_drvdata(dev); vsp1_du_setup_lif() local 808 struct vsp1_device *vsp1 = dev_get_drvdata(dev); vsp1_du_atomic_update() local 874 struct vsp1_device *vsp1 = dev_get_drvdata(dev); vsp1_du_atomic_flush() local 908 struct vsp1_device *vsp1 = dev_get_drvdata(dev); vsp1_du_map_sg() local 922 struct vsp1_device *vsp1 = dev_get_drvdata(dev); vsp1_du_unmap_sg() local 933 vsp1_drm_init(struct vsp1_device *vsp1) vsp1_drm_init() argument 987 vsp1_drm_cleanup(struct vsp1_device *vsp1) vsp1_drm_cleanup() argument [all...] |
H A D | Makefile | 2 vsp1-y := vsp1_drv.o vsp1_entity.o vsp1_pipe.o 3 vsp1-y += vsp1_dl.o vsp1_drm.o vsp1_video.o 4 vsp1-y += vsp1_rpf.o vsp1_rwpf.o vsp1_wpf.o 5 vsp1-y += vsp1_clu.o vsp1_hsit.o vsp1_lut.o 6 vsp1-y += vsp1_brx.o vsp1_sru.o vsp1_uds.o 7 vsp1-y += vsp1_hgo.o vsp1_hgt.o vsp1_histo.o 8 vsp1-y += vsp1_lif.o vsp1_uif.o 10 obj-$(CONFIG_VIDEO_RENESAS_VSP1) += vsp1.o
|
H A D | vsp1_dl.c | 17 #include "vsp1.h" 128 * @vsp1: the VSP1 device 141 struct vsp1_device *vsp1; member 152 * @vsp1: the VSP1 device 165 struct vsp1_device *vsp1; member 207 * @vsp1: the VSP1 device 219 struct vsp1_device *vsp1; member 237 * @vsp1: The VSP1 device 248 vsp1_dl_body_pool_create(struct vsp1_device *vsp1, unsigned int num_bodies, in vsp1_dl_body_pool_create() argument 259 pool->vsp1 in vsp1_dl_body_pool_create() 423 vsp1_dl_cmd_pool_create(struct vsp1_device *vsp1, enum vsp1_extcmd_type type, unsigned int num_cmds) vsp1_dl_cmd_pool_create() argument 839 struct vsp1_device *vsp1 = dlm->vsp1; vsp1_dl_list_hw_update_pending() local 854 struct vsp1_device *vsp1 = dlm->vsp1; vsp1_dl_list_hw_enqueue() local 971 struct vsp1_device *vsp1 = dlm->vsp1; vsp1_dlm_irq_frame_end() local 1049 vsp1_dlm_setup(struct vsp1_device *vsp1) vsp1_dlm_setup() argument 1089 vsp1_dlm_create(struct vsp1_device *vsp1, unsigned int index, unsigned int prealloc) vsp1_dlm_create() argument [all...] |
H A D | vsp1_wpf.c | 14 #include "vsp1.h" 136 struct vsp1_device *vsp1 = wpf->entity.vsp1; in wpf_init_controls() local 144 } else if (vsp1_feature(vsp1, VSP1_HAS_WPF_HFLIP)) { in wpf_init_controls() 150 } else if (vsp1_feature(vsp1, VSP1_HAS_WPF_VFLIP)) { in wpf_init_controls() 180 dev_err(vsp1->dev, "wpf%u: failed to initialize controls\n", in wpf_init_controls() 195 struct vsp1_device *vsp1 = wpf->entity.vsp1; in wpf_s_stream() local 204 vsp1_write(vsp1, VI6_WPF_IRQ_ENB(wpf->entity.index), 0); in wpf_s_stream() 205 vsp1_write(vsp1, wp in wpf_s_stream() 262 struct vsp1_device *vsp1 = wpf->entity.vsp1; wpf_configure_stream() local 397 struct vsp1_device *vsp1 = wpf->entity.vsp1; wpf_configure_partition() local 563 vsp1_wpf_create(struct vsp1_device *vsp1, unsigned int index) vsp1_wpf_create() argument [all...] |
H A D | vsp1.h | 3 * vsp1.h -- R-Car VSP1 Driver 72 #define vsp1_feature(vsp1, f) ((vsp1)->info->features & (f)) 108 int vsp1_device_get(struct vsp1_device *vsp1); 109 void vsp1_device_put(struct vsp1_device *vsp1); 111 int vsp1_reset_wpf(struct vsp1_device *vsp1, unsigned int index); 113 static inline u32 vsp1_read(struct vsp1_device *vsp1, u32 reg) in vsp1_read() argument 115 return ioread32(vsp1->mmio + reg); in vsp1_read() 118 static inline void vsp1_write(struct vsp1_device *vsp1, u32 reg, u32 data) in vsp1_write() argument 120 iowrite32(data, vsp1 in vsp1_write() [all...] |
H A D | vsp1_video.c | 26 #include "vsp1.h" 118 info = vsp1_get_format_info(video->vsp1, pix->pixelformat); in __vsp1_video_try_format() 120 info = vsp1_get_format_info(video->vsp1, VSP1_VIDEO_DEF_FORMAT); in __vsp1_video_try_format() 254 struct vsp1_device *vsp1 = pipe->output->entity.vsp1; in vsp1_video_pipeline_setup_partitions() local 273 if (vsp1->info->gen == 3) { in vsp1_video_pipeline_setup_partitions() 378 struct vsp1_device *vsp1 = pipe->output->entity.vsp1; in vsp1_video_pipeline_run() local 415 dev_err(vsp1->dev, "Failed to obtain a dl list. Frame will be incomplete\n"); in vsp1_video_pipeline_run() 433 struct vsp1_device *vsp1 in vsp1_video_pipeline_frame_end() local 1163 vsp1_video_suspend(struct vsp1_device *vsp1) vsp1_video_suspend() argument 1210 vsp1_video_resume(struct vsp1_device *vsp1) vsp1_video_resume() argument 1244 vsp1_video_create(struct vsp1_device *vsp1, struct vsp1_rwpf *rwpf) vsp1_video_create() argument [all...] |
H A D | vsp1_video.h | 33 struct vsp1_device *vsp1; member 54 void vsp1_video_suspend(struct vsp1_device *vsp1); 55 void vsp1_video_resume(struct vsp1_device *vsp1); 57 struct vsp1_video *vsp1_video_create(struct vsp1_device *vsp1,
|
H A D | vsp1_hgo.c | 16 #include "vsp1.h" 28 return vsp1_read(hgo->histo.entity.vsp1, reg); in vsp1_hgo_read() 60 vsp1_write(hgo->histo.entity.vsp1, in vsp1_hgo_frame_end() 188 struct vsp1_hgo *vsp1_hgo_create(struct vsp1_device *vsp1) in vsp1_hgo_create() argument 193 hgo = devm_kzalloc(vsp1->dev, sizeof(*hgo), GFP_KERNEL); in vsp1_hgo_create() 199 vsp1->info->gen == 3 ? 2 : 1); in vsp1_hgo_create() 202 if (vsp1->info->gen == 3) in vsp1_hgo_create() 213 ret = vsp1_histogram_init(vsp1, &hgo->histo, VSP1_ENTITY_HGO, "hgo", in vsp1_hgo_create()
|
H A D | vsp1_lif.c | 15 #include "vsp1.h" 99 switch (entity->vsp1->version & VI6_IP_VERSION_MODEL_MASK) { in lif_configure_stream() 137 if ((entity->vsp1->version & VI6_IP_VERSION_MASK) == in lif_configure_stream() 152 struct vsp1_lif *vsp1_lif_create(struct vsp1_device *vsp1, unsigned int index) in vsp1_lif_create() argument 157 lif = devm_kzalloc(vsp1->dev, sizeof(*lif), GFP_KERNEL); in vsp1_lif_create() 170 ret = vsp1_entity_init(vsp1, &lif->entity, "lif", 2, &lif_ops, in vsp1_lif_create()
|
H A D | vsp1_drm.h | 16 #include <media/vsp1.h> 73 int vsp1_drm_init(struct vsp1_device *vsp1); 74 void vsp1_drm_cleanup(struct vsp1_device *vsp1);
|
H A D | vsp1_rpf.c | 14 #include "vsp1.h" 158 if (entity->vsp1->info->gen == 3) { in rpf_configure_stream() 248 struct vsp1_device *vsp1 = rpf->entity.vsp1; in rpf_configure_partition() local 307 if (vsp1->info->gen == 3 && format->num_planes == 3 && in rpf_configure_partition() 344 struct vsp1_rwpf *vsp1_rpf_create(struct vsp1_device *vsp1, unsigned int index) in vsp1_rpf_create() argument 350 rpf = devm_kzalloc(vsp1->dev, sizeof(*rpf), GFP_KERNEL); in vsp1_rpf_create() 362 ret = vsp1_entity_init(vsp1, &rpf->entity, name, 2, &rpf_ops, in vsp1_rpf_create() 370 dev_err(vsp1->dev, "rpf%u: failed to initialize controls\n", in vsp1_rpf_create()
|
H A D | vsp1_pipe.c | 18 #include "vsp1.h" 209 * @vsp1: the VSP1 device 215 const struct vsp1_format_info *vsp1_get_format_info(struct vsp1_device *vsp1, in vsp1_get_format_info() argument 221 if (vsp1->info->gen != 2) { in vsp1_get_format_info() 289 struct vsp1_device *vsp1 = pipe->output->entity.vsp1; in vsp1_pipeline_run() local 292 vsp1_write(vsp1, VI6_CMD(pipe->output->entity.index), in vsp1_pipeline_run() 314 struct vsp1_device *vsp1 = pipe->output->entity.vsp1; in vsp1_pipeline_stop() local 324 ret = vsp1_reset_wpf(vsp1, pip in vsp1_pipeline_stop() [all...] |