/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 | 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 | 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_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_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() 546 vsp1_write(entity->vsp1, entity->route->reg, in vsp1_pipeline_stop() 718 void vsp1_pipelines_suspend(struct vsp1_device *vsp1) in vsp1_pipelines_suspend() argument 728 for (i = 0; i < vsp1->pdata.wpf_count; ++i) { in vsp1_pipelines_suspend() 729 struct vsp1_rwpf *wpf = vsp1->wpf[i]; in vsp1_pipelines_suspend() 745 for (i = 0; i < vsp1->pdata.wpf_count; ++i) { in vsp1_pipelines_suspend() 746 struct vsp1_rwpf *wpf = vsp1->wpf[i]; in vsp1_pipelines_suspend() 759 dev_warn(vsp1->dev, "pipeline %u stop timeout\n", in vsp1_pipelines_suspend() 764 void vsp1_pipelines_resume(struct vsp1_device *vsp1) in vsp1_pipelines_resume() argument [all …]
|
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_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_entity.c | 182 int vsp1_entity_init(struct vsp1_device *vsp1, struct vsp1_entity *entity, in vsp1_entity_init() argument 200 entity->vsp1 = vsp1; in vsp1_entity_init() 204 entity->formats = devm_kzalloc(vsp1->dev, in vsp1_entity_init() 210 entity->pads = devm_kzalloc(vsp1->dev, num_pads * sizeof(*entity->pads), in vsp1_entity_init()
|
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() 344 struct vsp1_sru *vsp1_sru_create(struct vsp1_device *vsp1) in vsp1_sru_create() argument 350 sru = devm_kzalloc(vsp1->dev, sizeof(*sru), GFP_KERNEL); in vsp1_sru_create() 356 ret = vsp1_entity_init(vsp1, &sru->entity, 2); in vsp1_sru_create() 367 dev_name(vsp1->dev)); in vsp1_sru_create() 380 dev_err(vsp1->dev, "sru: failed to initialize controls\n"); in vsp1_sru_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_video.h | 115 struct vsp1_device *vsp1; member 152 void vsp1_pipelines_suspend(struct vsp1_device *vsp1); 153 void vsp1_pipelines_resume(struct vsp1_device *vsp1);
|
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_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);
|
/drivers/media/platform/ |
D | Makefile | 49 obj-$(CONFIG_VIDEO_RENESAS_VSP1) += vsp1/
|
D | Kconfig | 255 will be called vsp1.
|