Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/media/platform/renesas/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 = v4l2_subdev_state_get_format(wpf->entity.state, in vsp1_wpf_set_rotation()
70 source_format = v4l2_subdev_state_get_format(wpf->entity.state, in vsp1_wpf_set_rotation()
73 mutex_lock(&wpf->entity.lock); in vsp1_wpf_set_rotation()
83 wpf->flip.rotate = rotate; in vsp1_wpf_set_rotation()
85 mutex_unlock(&wpf->entity.lock); in vsp1_wpf_set_rotation()
[all …]
Dvsp1_drv.c55 struct vsp1_rwpf *wpf = vsp1->wpf[i]; in vsp1_irq_handler() local
57 if (wpf == NULL) in vsp1_irq_handler()
63 if ((status & VI6_WPF_IRQ_STA_UND) && wpf->entity.pipe) { in vsp1_irq_handler()
64 wpf->entity.pipe->underrun_count++; in vsp1_irq_handler()
68 i, wpf->entity.pipe->underrun_count); in vsp1_irq_handler()
72 vsp1_pipeline_frame_end(wpf->entity.pipe); in vsp1_irq_handler()
181 ret = media_create_pad_link(&vsp1->wpf[i]->entity.subdev.entity, in vsp1_uapi_create_links()
206 struct vsp1_rwpf *wpf = vsp1->wpf[i]; in vsp1_uapi_create_links() local
208 ret = media_create_pad_link(&wpf->entity.subdev.entity, in vsp1_uapi_create_links()
210 &wpf->video->video.entity, 0, in vsp1_uapi_create_links()
[all …]
Dvsp1_video.c1121 struct vsp1_rwpf *wpf = vsp1->wpf[i]; in vsp1_video_suspend() local
1124 if (wpf == NULL) in vsp1_video_suspend()
1127 pipe = wpf->entity.pipe; in vsp1_video_suspend()
1138 struct vsp1_rwpf *wpf = vsp1->wpf[i]; in vsp1_video_suspend() local
1141 if (wpf == NULL) in vsp1_video_suspend()
1144 pipe = wpf->entity.pipe; in vsp1_video_suspend()
1152 wpf->entity.index); in vsp1_video_suspend()
1163 struct vsp1_rwpf *wpf = vsp1->wpf[i]; in vsp1_video_resume() local
1166 if (wpf == NULL) in vsp1_video_resume()
1169 pipe = wpf->entity.pipe; in vsp1_video_resume()
Dvsp1_rwpf.h82 void vsp1_wpf_stop(struct vsp1_rwpf *wpf);
Dvsp1.h100 struct vsp1_rwpf *wpf[VSP1_MAX_WPF]; member
Dvsp1_pipe.h70 struct v4l2_rect wpf; member
Dvsp1_drm.c985 pipe->output = vsp1->wpf[i]; in vsp1_drm_init()
/linux-6.12.1/sound/soc/ti/
Domap-mcbsp.c921 int wlen, channels, wpf; in omap_mcbsp_dai_hw_params() local
993 wpf = channels; in omap_mcbsp_dai_hw_params()
1000 wpf--; in omap_mcbsp_dai_hw_params()
1001 regs->rcr2 |= RFRLEN2(wpf - 1); in omap_mcbsp_dai_hw_params()
1002 regs->xcr2 |= XFRLEN2(wpf - 1); in omap_mcbsp_dai_hw_params()
1005 regs->rcr1 |= RFRLEN1(wpf - 1); in omap_mcbsp_dai_hw_params()
1006 regs->xcr1 |= XFRLEN1(wpf - 1); in omap_mcbsp_dai_hw_params()