/linux-master/drivers/gpu/drm/renesas/rcar-du/ |
H A D | rcar_du_crtc.h | 20 #include <media/vsp1.h>
|
H A D | rcar_du_vsp.c | 30 #include <media/vsp1.h>
|
/linux-master/drivers/gpu/drm/renesas/rz-du/ |
H A D | rzg2l_du_crtc.h | 21 #include <media/vsp1.h>
|
H A D | rzg2l_du_vsp.c | 28 #include <media/vsp1.h>
|
/linux-master/drivers/media/platform/renesas/ |
H A D | Makefile | 8 obj-y += vsp1/
|
/linux-master/drivers/media/platform/renesas/vsp1/ |
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.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_brx.c | 15 #include "vsp1.h" 406 struct vsp1_brx *vsp1_brx_create(struct vsp1_device *vsp1, argument 414 brx = devm_kzalloc(vsp1->dev, sizeof(*brx), GFP_KERNEL); 423 num_pads = vsp1->info->num_bru_inputs + 1; 430 ret = vsp1_entity_init(vsp1, &brx->entity, name, num_pads, &brx_ops, 445 dev_err(vsp1->dev, "%s: failed to initialize controls\n", name);
|
H A D | vsp1_brx.h | 41 struct vsp1_brx *vsp1_brx_create(struct vsp1_device *vsp1,
|
H A D | vsp1_clu.c | 15 #include "vsp1.h" 237 struct vsp1_clu *vsp1_clu_create(struct vsp1_device *vsp1) argument 242 clu = devm_kzalloc(vsp1->dev, sizeof(*clu), GFP_KERNEL); 251 ret = vsp1_entity_init(vsp1, &clu->entity, "clu", 2, &clu_ops, 262 clu->pool = vsp1_dl_body_pool_create(clu->entity.vsp1, 3, CLU_SIZE + 1, 275 dev_err(vsp1->dev, "clu: failed to initialize controls\n");
|
H A D | vsp1_clu.h | 43 struct vsp1_clu *vsp1_clu_create(struct vsp1_device *vsp1);
|
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_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_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_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_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 | vsp1_entity.c | 17 #include "vsp1.h" 604 int vsp1_entity_init(struct vsp1_device *vsp1, struct vsp1_entity *entity, argument 626 entity->vsp1 = vsp1; 630 entity->pads = devm_kcalloc(vsp1->dev, 639 entity->sources = devm_kcalloc(vsp1->dev, max(num_pads - 1, 1U), 660 subdev->entity.ops = &vsp1->media_ops; 664 dev_name(vsp1->dev), name); 677 "vsp1:state->lock", &key);
|
H A D | vsp1_entity.h | 97 struct vsp1_device *vsp1; member in struct:vsp1_entity 128 int vsp1_entity_init(struct vsp1_device *vsp1, struct vsp1_entity *entity,
|
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_hgo.h | 38 struct vsp1_hgo *vsp1_hgo_create(struct vsp1_device *vsp1);
|
H A D | vsp1_hgt.c | 16 #include "vsp1.h" 28 return vsp1_read(hgt->histo.entity.vsp1, reg); 187 struct vsp1_hgt *vsp1_hgt_create(struct vsp1_device *vsp1) argument 192 hgt = devm_kzalloc(vsp1->dev, sizeof(*hgt), GFP_KERNEL); 203 ret = vsp1_histogram_init(vsp1, &hgt->histo, VSP1_ENTITY_HGT, "hgt",
|
H A D | vsp1_hgt.h | 35 struct vsp1_hgt *vsp1_hgt_create(struct vsp1_device *vsp1);
|
H A D | vsp1_histo.c | 18 #include "vsp1.h" 433 strscpy(cap->driver, "vsp1", sizeof(cap->driver)); 515 int vsp1_histogram_init(struct vsp1_device *vsp1, struct vsp1_histogram *histo, argument 540 ret = vsp1_entity_init(vsp1, &histo->entity, name, 2, &histo_ops, 551 histo->video.v4l2_dev = &vsp1->v4l2_dev; 571 histo->queue.dev = vsp1->dev; 574 dev_err(vsp1->dev, "failed to initialize vb2 queue\n"); 582 dev_err(vsp1->dev, "failed to register video device\n");
|
H A D | vsp1_histo.h | 64 int vsp1_histogram_init(struct vsp1_device *vsp1, struct vsp1_histogram *histo,
|
H A D | vsp1_hsit.c | 15 #include "vsp1.h" 151 struct vsp1_hsit *vsp1_hsit_create(struct vsp1_device *vsp1, bool inverse) argument 156 hsit = devm_kzalloc(vsp1->dev, sizeof(*hsit), GFP_KERNEL); 169 ret = vsp1_entity_init(vsp1, &hsit->entity, inverse ? "hsi" : "hst",
|