/linux-master/drivers/media/platform/renesas/vsp1/ |
H A D | vsp1_drv.c | 24 #include "vsp1.h" 49 struct vsp1_device *vsp1 = data; local 54 for (i = 0; i < vsp1->info->wpf_count; ++i) { 55 struct vsp1_rwpf *wpf = vsp1->wpf[i]; 60 status = vsp1_read(vsp1, VI6_WPF_IRQ_STA(i)); 61 vsp1_write(vsp1, VI6_WPF_IRQ_STA(i), ~status & mask); 66 dev_warn_ratelimited(vsp1->dev, 98 static int vsp1_create_sink_links(struct vsp1_device *vsp1, argument 106 list_for_each_entry(source, &vsp1->entities, list_dev) { 141 static int vsp1_uapi_create_links(struct vsp1_device *vsp1) argument 220 vsp1_destroy_entities(struct vsp1_device *vsp1) argument 244 vsp1_create_entities(struct vsp1_device *vsp1) argument 490 vsp1_reset_wpf(struct vsp1_device *vsp1, unsigned int index) argument 516 vsp1_device_init(struct vsp1_device *vsp1) argument 560 vsp1_mask_all_interrupts(struct vsp1_device *vsp1) argument 577 vsp1_device_get(struct vsp1_device *vsp1) argument 588 vsp1_device_put(struct vsp1_device *vsp1) argument 599 struct vsp1_device *vsp1 = dev_get_drvdata(dev); local 615 struct vsp1_device *vsp1 = dev_get_drvdata(dev); local 631 struct vsp1_device *vsp1 = dev_get_drvdata(dev); local 641 struct vsp1_device *vsp1 = dev_get_drvdata(dev); local 853 vsp1_lookup_info(struct vsp1_device *vsp1) argument 888 struct vsp1_device *vsp1; local 990 struct vsp1_device *vsp1 = platform_get_drvdata(pdev); local [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_drm.c | 16 #include <media/vsp1.h> 18 #include "vsp1.h" 63 static int vsp1_du_insert_uif(struct vsp1_device *vsp1, argument 99 dev_dbg(vsp1->dev, "%s: set format %ux%u (%x) on UIF sink\n", 115 static int vsp1_du_pipeline_setup_rpf(struct vsp1_device *vsp1, argument 134 crop = &vsp1->drm->inputs[rpf->entity.index].crop; 147 dev_dbg(vsp1->dev, 161 dev_dbg(vsp1->dev, 177 dev_dbg(vsp1->dev, 190 ret = vsp1_du_insert_uif(vsp1, pip 228 vsp1_du_pipeline_setup_brx(struct vsp1_device *vsp1, struct vsp1_pipeline *pipe) argument 361 rpf_zpos(struct vsp1_device *vsp1, struct vsp1_rwpf *rpf) argument 367 vsp1_du_pipeline_setup_inputs(struct vsp1_device *vsp1, struct vsp1_pipeline *pipe) argument 480 vsp1_du_pipeline_setup_output(struct vsp1_device *vsp1, struct vsp1_pipeline *pipe) argument 578 vsp1_du_pipeline_set_rwpf_format(struct vsp1_device *vsp1, struct vsp1_rwpf *rwpf, u32 pixelformat, unsigned int pitch) argument 614 struct vsp1_device *vsp1 = dev_get_drvdata(dev); local 647 struct vsp1_device *vsp1 = dev_get_drvdata(dev); local 816 struct vsp1_device *vsp1 = dev_get_drvdata(dev); local 884 struct vsp1_device *vsp1 = dev_get_drvdata(dev); local 918 struct vsp1_device *vsp1 = dev_get_drvdata(dev); local 932 struct vsp1_device *vsp1 = dev_get_drvdata(dev); local 943 vsp1_drm_init(struct vsp1_device *vsp1) argument 997 vsp1_drm_cleanup(struct vsp1_device *vsp1) argument [all...] |
H A D | vsp1_video.h | 33 struct vsp1_device *vsp1; member in struct:vsp1_video 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.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) argument 119 return ioread32(vsp1->mmio + reg); 122 static inline void vsp1_write(struct vsp1_device *vsp1, u32 reg, u32 data) argument 124 iowrite32(data, vsp1 [all...] |
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_hsit.h | 32 struct vsp1_hsit *vsp1_hsit_create(struct vsp1_device *vsp1, bool inverse);
|
H A D | vsp1_lif.h | 31 struct vsp1_lif *vsp1_lif_create(struct vsp1_device *vsp1, unsigned int index);
|
H A D | vsp1_uif.h | 29 struct vsp1_uif *vsp1_uif_create(struct vsp1_device *vsp1, unsigned int index);
|
H A D | vsp1_hgt.h | 35 struct vsp1_hgt *vsp1_hgt_create(struct vsp1_device *vsp1);
|
H A D | vsp1_sru.h | 36 struct vsp1_sru *vsp1_sru_create(struct vsp1_device *vsp1);
|
H A D | vsp1_uds.h | 32 struct vsp1_uds *vsp1_uds_create(struct vsp1_device *vsp1, unsigned int index);
|
H A D | vsp1_dl.h | 20 /* Keep these flags in sync with VSP1_DU_STATUS_* in include/media/vsp1.h. */ 52 void vsp1_dlm_setup(struct vsp1_device *vsp1); 54 struct vsp1_dl_manager *vsp1_dlm_create(struct vsp1_device *vsp1, 69 vsp1_dl_body_pool_create(struct vsp1_device *vsp1, unsigned int num_bodies,
|
H A D | vsp1_lif.c | 15 #include "vsp1.h" 99 switch (entity->vsp1->version & VI6_IP_VERSION_MODEL_MASK) { 139 if (vsp1_feature(entity->vsp1, VSP1_HAS_NON_ZERO_LBA)) 153 struct vsp1_lif *vsp1_lif_create(struct vsp1_device *vsp1, unsigned int index) argument 158 lif = devm_kzalloc(vsp1->dev, sizeof(*lif), GFP_KERNEL); 171 ret = vsp1_entity_init(vsp1, &lif->entity, "lif", 2, &lif_ops,
|
H A D | vsp1_dl.c | 17 #include "vsp1.h" 128 * @vsp1: the VSP1 device 141 struct vsp1_device *vsp1; member in struct:vsp1_dl_body_pool 152 * @vsp1: the VSP1 device 165 struct vsp1_device *vsp1; member in struct:vsp1_dl_cmd_pool 207 * @vsp1: the VSP1 device 219 struct vsp1_device *vsp1; member in struct:vsp1_dl_manager 237 * @vsp1: The VSP1 device 248 vsp1_dl_body_pool_create(struct vsp1_device *vsp1, unsigned int num_bodies, argument 259 pool->vsp1 423 vsp1_dl_cmd_pool_create(struct vsp1_device *vsp1, enum vsp1_extcmd_type type, unsigned int num_cmds) argument 839 struct vsp1_device *vsp1 = dlm->vsp1; local 854 struct vsp1_device *vsp1 = dlm->vsp1; local 971 struct vsp1_device *vsp1 = dlm->vsp1; local 1049 vsp1_dlm_setup(struct vsp1_device *vsp1) argument 1089 vsp1_dlm_create(struct vsp1_device *vsp1, unsigned int index, unsigned int prealloc) argument [all...] |
H A D | vsp1_brx.h | 41 struct vsp1_brx *vsp1_brx_create(struct vsp1_device *vsp1,
|
H A D | vsp1_clu.h | 43 struct vsp1_clu *vsp1_clu_create(struct vsp1_device *vsp1);
|
H A D | vsp1_hgo.h | 38 struct vsp1_hgo *vsp1_hgo_create(struct vsp1_device *vsp1);
|
H A D | vsp1_lut.h | 40 struct vsp1_lut *vsp1_lut_create(struct vsp1_device *vsp1);
|
H A D | vsp1_wpf.c | 14 #include "vsp1.h" 136 struct vsp1_device *vsp1 = wpf->entity.vsp1; local 144 } else if (vsp1_feature(vsp1, VSP1_HAS_WPF_HFLIP)) { 150 } else if (vsp1_feature(vsp1, VSP1_HAS_WPF_VFLIP)) { 180 dev_err(vsp1->dev, "wpf%u: failed to initialize controls\n", 194 struct vsp1_device *vsp1 = wpf->entity.vsp1; local 200 vsp1_write(vsp1, VI6_WPF_IRQ_ENB(wpf->entity.index), 0); 201 vsp1_write(vsp1, wp 239 struct vsp1_device *vsp1 = wpf->entity.vsp1; local 374 struct vsp1_device *vsp1 = wpf->entity.vsp1; local 540 vsp1_wpf_create(struct vsp1_device *vsp1, unsigned int index) argument [all...] |
H A D | vsp1_rwpf.h | 18 #include "vsp1.h" 79 struct vsp1_rwpf *vsp1_rpf_create(struct vsp1_device *vsp1, unsigned int index); 80 struct vsp1_rwpf *vsp1_wpf_create(struct vsp1_device *vsp1, unsigned int index);
|
H A D | vsp1_lut.c | 15 #include "vsp1.h" 197 struct vsp1_lut *vsp1_lut_create(struct vsp1_device *vsp1) argument 202 lut = devm_kzalloc(vsp1->dev, sizeof(*lut), GFP_KERNEL); 211 ret = vsp1_entity_init(vsp1, &lut->entity, "lut", 2, &lut_ops, 221 lut->pool = vsp1_dl_body_pool_create(vsp1, 3, LUT_SIZE, 0); 232 dev_err(vsp1->dev, "lut: failed to initialize controls\n");
|
H A D | vsp1_hgo.c | 16 #include "vsp1.h" 28 return vsp1_read(hgo->histo.entity.vsp1, reg); 60 vsp1_write(hgo->histo.entity.vsp1, 188 struct vsp1_hgo *vsp1_hgo_create(struct vsp1_device *vsp1) argument 193 hgo = devm_kzalloc(vsp1->dev, sizeof(*hgo), GFP_KERNEL); 199 vsp1->info->gen >= 3 ? 2 : 1); 202 if (vsp1->info->gen >= 3) 213 ret = vsp1_histogram_init(vsp1, &hgo->histo, VSP1_ENTITY_HGO, "hgo",
|
H A D | vsp1_rpf.c | 14 #include "vsp1.h" 104 if (entity->vsp1->info->gen == 4) { 202 if (entity->vsp1->info->gen >= 3) { 292 struct vsp1_device *vsp1 = rpf->entity.vsp1; local 351 if (vsp1->info->gen >= 3 && format->num_planes == 3 && 388 struct vsp1_rwpf *vsp1_rpf_create(struct vsp1_device *vsp1, unsigned int index) argument 394 rpf = devm_kzalloc(vsp1->dev, sizeof(*rpf), GFP_KERNEL); 406 ret = vsp1_entity_init(vsp1, &rpf->entity, name, 2, &vsp1_rwpf_subdev_ops, 414 dev_err(vsp1 [all...] |
/linux-master/drivers/media/platform/renesas/ |
H A D | Makefile | 8 obj-y += vsp1/
|