/linux-4.1.27/drivers/media/platform/vsp1/ |
D | vsp1_drv.c | 39 struct vsp1_device *vsp1 = data; in vsp1_irq_handler() local 43 for (i = 0; i < vsp1->pdata.wpf_count; ++i) { in vsp1_irq_handler() 44 struct vsp1_rwpf *wpf = vsp1->wpf[i]; in vsp1_irq_handler() 52 status = vsp1_read(vsp1, VI6_WPF_IRQ_STA(i)); in vsp1_irq_handler() 53 vsp1_write(vsp1, VI6_WPF_IRQ_STA(i), ~status & mask); in vsp1_irq_handler() 78 static int vsp1_create_links(struct vsp1_device *vsp1, struct vsp1_entity *sink) in vsp1_create_links() argument 85 list_for_each_entry(source, &vsp1->entities, list_dev) { in vsp1_create_links() 118 static void vsp1_destroy_entities(struct vsp1_device *vsp1) in vsp1_destroy_entities() argument 123 list_for_each_entry_safe(entity, next, &vsp1->entities, list_dev) { in vsp1_destroy_entities() 128 v4l2_device_unregister(&vsp1->v4l2_dev); in vsp1_destroy_entities() [all …]
|
D | vsp1_wpf.c | 31 return vsp1_read(wpf->entity.vsp1, in vsp1_wpf_read() 37 vsp1_write(wpf->entity.vsp1, in vsp1_wpf_write() 78 struct vsp1_device *vsp1 = wpf->entity.vsp1; in wpf_s_stream() local 90 vsp1_write(vsp1, VI6_WPF_IRQ_ENB(wpf->entity.index), 0); in wpf_s_stream() 159 vsp1_write(vsp1, VI6_DPR_WPF_FPORCH(wpf->entity.index), in wpf_s_stream() 162 vsp1_write(vsp1, VI6_WPF_WRBCK_CTRL, 0); in wpf_s_stream() 165 vsp1_write(vsp1, VI6_WPF_IRQ_STA(wpf->entity.index), 0); in wpf_s_stream() 166 vsp1_write(vsp1, VI6_WPF_IRQ_ENB(wpf->entity.index), in wpf_s_stream() 218 struct vsp1_rwpf *vsp1_wpf_create(struct vsp1_device *vsp1, unsigned int index) in vsp1_wpf_create() argument 226 wpf = devm_kzalloc(vsp1->dev, sizeof(*wpf), GFP_KERNEL); in vsp1_wpf_create() [all …]
|
D | Makefile | 1 vsp1-y := vsp1_drv.o vsp1_entity.o vsp1_video.o 2 vsp1-y += vsp1_rpf.o vsp1_rwpf.o vsp1_wpf.o 3 vsp1-y += vsp1_hsit.o vsp1_lif.o vsp1_lut.o 4 vsp1-y += vsp1_bru.o vsp1_sru.o vsp1_uds.o 6 obj-$(CONFIG_VIDEO_RENESAS_VSP1) += vsp1.o
|
D | vsp1.h | 79 int vsp1_device_get(struct vsp1_device *vsp1); 80 void vsp1_device_put(struct vsp1_device *vsp1); 82 static inline u32 vsp1_read(struct vsp1_device *vsp1, u32 reg) in vsp1_read() argument 84 return ioread32(vsp1->mmio + reg); in vsp1_read() 87 static inline void vsp1_write(struct vsp1_device *vsp1, u32 reg, u32 data) in vsp1_write() argument 89 iowrite32(data, vsp1->mmio + reg); in vsp1_write()
|
D | vsp1_rpf.c | 31 return vsp1_read(rpf->entity.vsp1, in vsp1_rpf_read() 37 vsp1_write(rpf->entity.vsp1, in vsp1_rpf_write() 219 struct vsp1_rwpf *vsp1_rpf_create(struct vsp1_device *vsp1, unsigned int index) in vsp1_rpf_create() argument 226 rpf = devm_kzalloc(vsp1->dev, sizeof(*rpf), GFP_KERNEL); in vsp1_rpf_create() 236 ret = vsp1_entity_init(vsp1, &rpf->entity, 2); in vsp1_rpf_create() 247 dev_name(vsp1->dev), index); in vsp1_rpf_create() 261 dev_err(vsp1->dev, "rpf%u: failed to initialize controls\n", in vsp1_rpf_create() 271 video->vsp1 = vsp1; in vsp1_rpf_create()
|
D | vsp1_lut.c | 32 return vsp1_read(lut->entity.vsp1, reg); in vsp1_lut_read() 37 vsp1_write(lut->entity.vsp1, reg, data); in vsp1_lut_write() 46 memcpy_toio(lut->entity.vsp1->mmio + VI6_LUT_TABLE, config->lut, in lut_configure() 225 struct vsp1_lut *vsp1_lut_create(struct vsp1_device *vsp1) in vsp1_lut_create() argument 231 lut = devm_kzalloc(vsp1->dev, sizeof(*lut), GFP_KERNEL); in vsp1_lut_create() 237 ret = vsp1_entity_init(vsp1, &lut->entity, 2); in vsp1_lut_create() 248 dev_name(vsp1->dev)); in vsp1_lut_create()
|
D | vsp1_lif.c | 31 return vsp1_read(lif->entity.vsp1, reg); in vsp1_lif_read() 36 vsp1_write(lif->entity.vsp1, reg, data); in vsp1_lif_write() 211 struct vsp1_lif *vsp1_lif_create(struct vsp1_device *vsp1) in vsp1_lif_create() argument 217 lif = devm_kzalloc(vsp1->dev, sizeof(*lif), GFP_KERNEL); in vsp1_lif_create() 223 ret = vsp1_entity_init(vsp1, &lif->entity, 2); in vsp1_lif_create() 234 dev_name(vsp1->dev)); in vsp1_lif_create()
|
D | vsp1_uds.c | 34 return vsp1_read(uds->entity.vsp1, in vsp1_uds_read() 40 vsp1_write(uds->entity.vsp1, in vsp1_uds_write() 135 dev_dbg(uds->entity.vsp1->dev, "hscale %u vscale %u\n", hscale, vscale); in uds_s_stream() 326 struct vsp1_uds *vsp1_uds_create(struct vsp1_device *vsp1, unsigned int index) in vsp1_uds_create() argument 332 uds = devm_kzalloc(vsp1->dev, sizeof(*uds), GFP_KERNEL); in vsp1_uds_create() 339 ret = vsp1_entity_init(vsp1, &uds->entity, 2); in vsp1_uds_create() 350 dev_name(vsp1->dev), index); in vsp1_uds_create()
|
D | vsp1_entity.c | 180 int vsp1_entity_init(struct vsp1_device *vsp1, struct vsp1_entity *entity, in vsp1_entity_init() argument 198 entity->vsp1 = vsp1; in vsp1_entity_init() 202 entity->formats = devm_kzalloc(vsp1->dev, in vsp1_entity_init() 208 entity->pads = devm_kzalloc(vsp1->dev, num_pads * sizeof(*entity->pads), in vsp1_entity_init()
|
D | vsp1_hsit.c | 31 vsp1_write(hsit->entity.vsp1, reg, data); in vsp1_hsit_write() 181 struct vsp1_hsit *vsp1_hsit_create(struct vsp1_device *vsp1, bool inverse) in vsp1_hsit_create() argument 187 hsit = devm_kzalloc(vsp1->dev, sizeof(*hsit), GFP_KERNEL); in vsp1_hsit_create() 198 ret = vsp1_entity_init(vsp1, &hsit->entity, 2); in vsp1_hsit_create() 209 dev_name(vsp1->dev), inverse ? "hsi" : "hst"); in vsp1_hsit_create()
|
D | vsp1_bru.c | 32 return vsp1_read(bru->entity.vsp1, reg); in vsp1_bru_read() 37 vsp1_write(bru->entity.vsp1, reg, data); in vsp1_bru_write() 410 struct vsp1_bru *vsp1_bru_create(struct vsp1_device *vsp1) in vsp1_bru_create() argument 416 bru = devm_kzalloc(vsp1->dev, sizeof(*bru), GFP_KERNEL); in vsp1_bru_create() 422 ret = vsp1_entity_init(vsp1, &bru->entity, 5); in vsp1_bru_create() 433 dev_name(vsp1->dev)); in vsp1_bru_create() 447 dev_err(vsp1->dev, "bru: failed to initialize controls\n"); in vsp1_bru_create()
|
D | vsp1_sru.c | 31 return vsp1_read(sru->entity.vsp1, reg); in vsp1_sru_read() 36 vsp1_write(sru->entity.vsp1, reg, data); in vsp1_sru_write() 343 struct vsp1_sru *vsp1_sru_create(struct vsp1_device *vsp1) in vsp1_sru_create() argument 349 sru = devm_kzalloc(vsp1->dev, sizeof(*sru), GFP_KERNEL); in vsp1_sru_create() 355 ret = vsp1_entity_init(vsp1, &sru->entity, 2); in vsp1_sru_create() 366 dev_name(vsp1->dev)); in vsp1_sru_create() 379 dev_err(vsp1->dev, "sru: failed to initialize controls\n"); in vsp1_sru_create()
|
D | vsp1_rwpf.h | 50 struct vsp1_rwpf *vsp1_rpf_create(struct vsp1_device *vsp1, unsigned int index); 51 struct vsp1_rwpf *vsp1_wpf_create(struct vsp1_device *vsp1, unsigned int index);
|
D | vsp1_entity.h | 56 struct vsp1_device *vsp1; member 85 int vsp1_entity_init(struct vsp1_device *vsp1, struct vsp1_entity *entity,
|
D | vsp1_video.c | 510 struct vsp1_device *vsp1 = pipe->output->entity.vsp1; in vsp1_pipeline_run() local 512 vsp1_write(vsp1, VI6_CMD(pipe->output->entity.index), VI6_CMD_STRCMD); in vsp1_pipeline_run() 534 vsp1_write(entity->vsp1, entity->route->reg, in vsp1_pipeline_stop() 799 vsp1_write(source->vsp1, source->route->reg, in vsp1_entity_route_setup() 868 dev_err(video->vsp1->dev, "pipeline stop timeout\n"); in vsp1_video_stop_streaming() 917 dev_name(video->vsp1->dev)); in vsp1_video_querycap() 1068 ret = vsp1_device_get(video->vsp1); in vsp1_video_open() 1089 vsp1_device_put(video->vsp1); in vsp1_video_release() 1163 video->video.v4l2_dev = &video->vsp1->v4l2_dev; in vsp1_video_init() 1174 video->alloc_ctx = vb2_dma_contig_init_ctx(video->vsp1->dev); in vsp1_video_init() [all …]
|
D | vsp1_lif.h | 35 struct vsp1_lif *vsp1_lif_create(struct vsp1_device *vsp1);
|
D | vsp1_sru.h | 38 struct vsp1_sru *vsp1_sru_create(struct vsp1_device *vsp1);
|
D | vsp1_lut.h | 36 struct vsp1_lut *vsp1_lut_create(struct vsp1_device *vsp1);
|
D | vsp1_hsit.h | 36 struct vsp1_hsit *vsp1_hsit_create(struct vsp1_device *vsp1, bool inverse);
|
D | vsp1_uds.h | 36 struct vsp1_uds *vsp1_uds_create(struct vsp1_device *vsp1, unsigned int index);
|
D | vsp1_bru.h | 44 struct vsp1_bru *vsp1_bru_create(struct vsp1_device *vsp1);
|
D | vsp1_video.h | 115 struct vsp1_device *vsp1; member
|
/linux-4.1.27/Documentation/devicetree/bindings/media/ |
D | renesas,vsp1.txt | 9 - compatible: Must contain "renesas,vsp1" 32 vsp1@fe928000 { 33 compatible = "renesas,vsp1";
|
/linux-4.1.27/drivers/media/platform/ |
D | Makefile | 45 obj-$(CONFIG_VIDEO_RENESAS_VSP1) += vsp1/
|
D | Kconfig | 233 will be called vsp1.
|
/linux-4.1.27/arch/arm/boot/dts/ |
D | r8a7790.dtsi | 707 vsp1@fe920000 { 708 compatible = "renesas,vsp1"; 719 vsp1@fe928000 { 720 compatible = "renesas,vsp1"; 732 vsp1@fe930000 { 733 compatible = "renesas,vsp1"; 745 vsp1@fe938000 { 746 compatible = "renesas,vsp1"; 1121 "vsp1-du1", "vsp1-du0", "vsp1-rt", "vsp1-sy";
|
D | r8a7791.dtsi | 749 vsp1@fe928000 { 750 compatible = "renesas,vsp1"; 762 vsp1@fe930000 { 763 compatible = "renesas,vsp1"; 775 vsp1@fe938000 { 776 compatible = "renesas,vsp1"; 1125 "tmu0", "vsp1-du1", "vsp1-du0", "vsp1-sy";
|
D | r8a7794.dtsi | 593 "tmu3", "tmu2", "cmt0", "tmu0", "vsp1-du0", "vsps";
|
/linux-4.1.27/Documentation/devicetree/bindings/iommu/ |
D | renesas,ipmmu-vmsa.txt | 37 vsp1@fe928000 {
|