Lines Matching full:isi
3 * V4L2 Capture ISI subdev driver for i.MX8QXP/QM platform
5 * ISI is a Image Sensor Interface of i.MX8QXP/QM platform, which
33 #include "imx8-isi-core.h"
34 #include "imx8-isi-regs.h"
173 * The ISI shifts the 10-bit and 12-bit formats left by 6 and 4 bits
416 max_width = pipe->id == pipe->isi->pdata->num_channels - 1 in mxc_isi_format_try()
495 struct device *dev = pipe->isi->dev; in mxc_isi_video_frame_write_done()
503 * The ISI hardware handles buffers using a ping-pong mechanism with in mxc_isi_video_frame_write_done()
519 * | Start ISI | in mxc_isi_video_frame_write_done()
556 buf_id = pipe->isi->pdata->buf_active_reverse in mxc_isi_video_frame_write_done()
577 * addresses B1 and the ISI is now writing in B1 instead of B3. We in mxc_isi_video_frame_write_done()
614 * can't tell if the ISI has recorded the new address, or is still in mxc_isi_video_frame_write_done()
619 * interrupt, assume B2 has completed and the ISI has switched to BUF2 in mxc_isi_video_frame_write_done()
622 * time the ISI switches to BUF2. We can however handle this exactly as in mxc_isi_video_frame_write_done()
664 dma_free_coherent(video->pipe->isi->dev, buf->size, buf->addr, in mxc_isi_video_free_discard_buffers()
679 buf->addr = dma_alloc_coherent(video->pipe->isi->dev, buf->size, in mxc_isi_video_alloc_discard_buffers()
686 dev_dbg(video->pipe->isi->dev, in mxc_isi_video_alloc_discard_buffers()
721 dev_dbg(video->pipe->isi->dev, in mxc_isi_video_validate_format()
778 * Queue two ISI channel output buffers. We are not guaranteed to have in mxc_isi_video_queue_first_buffers()
860 int mxc_isi_video_buffer_prepare(struct mxc_isi_dev *isi, struct vb2_buffer *vb2, in mxc_isi_video_buffer_prepare() argument
870 dev_err(isi->dev, "User buffer too small (%ld < %ld)\n", in mxc_isi_video_buffer_prepare()
908 return mxc_isi_video_buffer_prepare(video->pipe->isi, vb2, in mxc_isi_vb2_buffer_prepare()
943 /* Initialize the ISI channel. */ in mxc_isi_vb2_start_streaming()
1151 struct media_device *mdev = &video->pipe->isi->media_dev; in mxc_isi_video_streamon()
1257 max_width = video->pipe->id == video->pipe->isi->pdata->num_channels - 1 in mxc_isi_video_enum_framesizes()
1316 ret = pm_runtime_resume_and_get(video->pipe->isi->dev); in mxc_isi_video_open()
1332 dev_err(video->pipe->isi->dev, "%s fail\n", __func__); in mxc_isi_video_release()
1338 pm_runtime_put(video->pipe->isi->dev); in mxc_isi_video_release()
1458 q->dev = pipe->isi->dev; in mxc_isi_video_register()