Home
last modified time | relevance | path

Searched refs:wpf (Results 1 – 7 of 7) sorted by relevance

/Linux-v4.19/drivers/media/platform/vsp1/
Dvsp1_wpf.c29 static inline void vsp1_wpf_write(struct vsp1_rwpf *wpf, in vsp1_wpf_write() argument
32 vsp1_dl_body_write(dlb, reg + wpf->entity.index * VI6_WPF_OFFSET, data); in vsp1_wpf_write()
44 static int vsp1_wpf_set_rotation(struct vsp1_rwpf *wpf, unsigned int rotation) in vsp1_wpf_set_rotation() argument
46 struct vsp1_video *video = wpf->video; in vsp1_wpf_set_rotation()
57 if (rotate == wpf->flip.rotate) in vsp1_wpf_set_rotation()
68 sink_format = vsp1_entity_get_pad_format(&wpf->entity, in vsp1_wpf_set_rotation()
69 wpf->entity.config, in vsp1_wpf_set_rotation()
71 source_format = vsp1_entity_get_pad_format(&wpf->entity, in vsp1_wpf_set_rotation()
72 wpf->entity.config, in vsp1_wpf_set_rotation()
75 mutex_lock(&wpf->entity.lock); in vsp1_wpf_set_rotation()
[all …]
Dvsp1_drv.c54 struct vsp1_rwpf *wpf = vsp1->wpf[i]; in vsp1_irq_handler() local
56 if (wpf == NULL) in vsp1_irq_handler()
63 vsp1_pipeline_frame_end(wpf->entity.pipe); in vsp1_irq_handler()
172 ret = media_create_pad_link(&vsp1->wpf[i]->entity.subdev.entity, in vsp1_uapi_create_links()
197 struct vsp1_rwpf *wpf = vsp1->wpf[i]; in vsp1_uapi_create_links() local
199 ret = media_create_pad_link(&wpf->entity.subdev.entity, in vsp1_uapi_create_links()
201 &wpf->video->video.entity, 0, in vsp1_uapi_create_links()
427 struct vsp1_rwpf *wpf; in vsp1_create_entities() local
429 wpf = vsp1_wpf_create(vsp1, i); in vsp1_create_entities()
430 if (IS_ERR(wpf)) { in vsp1_create_entities()
[all …]
Dvsp1_video.c1194 struct vsp1_rwpf *wpf = vsp1->wpf[i]; in vsp1_video_suspend() local
1197 if (wpf == NULL) in vsp1_video_suspend()
1200 pipe = wpf->entity.pipe; in vsp1_video_suspend()
1211 struct vsp1_rwpf *wpf = vsp1->wpf[i]; in vsp1_video_suspend() local
1214 if (wpf == NULL) in vsp1_video_suspend()
1217 pipe = wpf->entity.pipe; in vsp1_video_suspend()
1225 wpf->entity.index); in vsp1_video_suspend()
1236 struct vsp1_rwpf *wpf = vsp1->wpf[i]; in vsp1_video_resume() local
1239 if (wpf == NULL) in vsp1_video_resume()
1242 pipe = wpf->entity.pipe; in vsp1_video_resume()
Dvsp1_pipe.h80 struct vsp1_partition_window wpf; member
Dvsp1.h96 struct vsp1_rwpf *wpf[VSP1_MAX_WPF]; member
Dvsp1_drm.c907 pipe->output = vsp1->wpf[i]; in vsp1_drm_init()
/Linux-v4.19/sound/soc/omap/
Domap-mcbsp.c259 int wlen, channels, wpf; in omap_mcbsp_dai_hw_params() local
331 wpf = channels; in omap_mcbsp_dai_hw_params()
338 wpf--; in omap_mcbsp_dai_hw_params()
339 regs->rcr2 |= RFRLEN2(wpf - 1); in omap_mcbsp_dai_hw_params()
340 regs->xcr2 |= XFRLEN2(wpf - 1); in omap_mcbsp_dai_hw_params()
343 regs->rcr1 |= RFRLEN1(wpf - 1); in omap_mcbsp_dai_hw_params()
344 regs->xcr1 |= XFRLEN1(wpf - 1); in omap_mcbsp_dai_hw_params()