Home
last modified time | relevance | path

Searched refs:vsp1 (Results 1 – 29 of 29) sorted by relevance

/linux-4.1.27/drivers/media/platform/vsp1/
Dvsp1_drv.c39 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 …]
Dvsp1_wpf.c31 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 …]
DMakefile1 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
Dvsp1.h79 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()
Dvsp1_rpf.c31 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()
Dvsp1_lut.c32 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()
Dvsp1_lif.c31 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()
Dvsp1_uds.c34 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()
Dvsp1_entity.c180 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()
Dvsp1_hsit.c31 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()
Dvsp1_bru.c32 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()
Dvsp1_sru.c31 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()
Dvsp1_rwpf.h50 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);
Dvsp1_entity.h56 struct vsp1_device *vsp1; member
85 int vsp1_entity_init(struct vsp1_device *vsp1, struct vsp1_entity *entity,
Dvsp1_video.c510 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 …]
Dvsp1_lif.h35 struct vsp1_lif *vsp1_lif_create(struct vsp1_device *vsp1);
Dvsp1_sru.h38 struct vsp1_sru *vsp1_sru_create(struct vsp1_device *vsp1);
Dvsp1_lut.h36 struct vsp1_lut *vsp1_lut_create(struct vsp1_device *vsp1);
Dvsp1_hsit.h36 struct vsp1_hsit *vsp1_hsit_create(struct vsp1_device *vsp1, bool inverse);
Dvsp1_uds.h36 struct vsp1_uds *vsp1_uds_create(struct vsp1_device *vsp1, unsigned int index);
Dvsp1_bru.h44 struct vsp1_bru *vsp1_bru_create(struct vsp1_device *vsp1);
Dvsp1_video.h115 struct vsp1_device *vsp1; member
/linux-4.1.27/Documentation/devicetree/bindings/media/
Drenesas,vsp1.txt9 - compatible: Must contain "renesas,vsp1"
32 vsp1@fe928000 {
33 compatible = "renesas,vsp1";
/linux-4.1.27/drivers/media/platform/
DMakefile45 obj-$(CONFIG_VIDEO_RENESAS_VSP1) += vsp1/
DKconfig233 will be called vsp1.
/linux-4.1.27/arch/arm/boot/dts/
Dr8a7790.dtsi707 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";
Dr8a7791.dtsi749 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";
Dr8a7794.dtsi593 "tmu3", "tmu2", "cmt0", "tmu0", "vsp1-du0", "vsps";
/linux-4.1.27/Documentation/devicetree/bindings/iommu/
Drenesas,ipmmu-vmsa.txt37 vsp1@fe928000 {