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
26 #include "imx8-isi-core.h"
27 #include "imx8-isi-regs.h"
30 * While the ISI receives data from the gasket on a 3x12-bit bus, the pipeline
32 * subdev between the CSIS and the ISI. We thus need to expose media bus codes
237 struct mxc_isi_crossbar *xbar = &pipe->isi->crossbar; in mxc_isi_pipe_enable()
283 /* Configure the ISI channel. */ in mxc_isi_pipe_enable()
294 dev_err(pipe->isi->dev, "Failed to enable pipe %u\n", in mxc_isi_pipe_enable()
304 struct mxc_isi_crossbar *xbar = &pipe->isi->crossbar; in mxc_isi_pipe_disable()
310 dev_err(pipe->isi->dev, "Failed to disable pipe %u\n", in mxc_isi_pipe_disable()
418 * For RGB or YUV formats, the ISI supports format in mxc_isi_pipe_enum_mbus_code()
476 max_width = pipe->id == pipe->isi->pdata->num_channels - 1 in mxc_isi_pipe_set_fmt()
505 * For RGB or YUV formats, the ISI supports RGB <-> YUV format in mxc_isi_pipe_set_fmt()
539 dev_dbg(pipe->isi->dev, "pad%u: code: 0x%04x, %ux%u", in mxc_isi_pipe_set_fmt()
677 dev_dbg(pipe->isi->dev, "%s, target %#x: (%d,%d)/%dx%d", __func__, in mxc_isi_pipe_set_selection()
704 const struct mxc_isi_ier_reg *ier_reg = pipe->isi->pdata->ier_reg; in mxc_isi_pipe_irq_handler()
717 dev_dbg(pipe->isi->dev, "%s: IRQ AXI Error stat=0x%X\n", in mxc_isi_pipe_irq_handler()
723 dev_dbg(pipe->isi->dev, "%s: IRQ Panic OFLW Error stat=0x%X\n", in mxc_isi_pipe_irq_handler()
729 dev_dbg(pipe->isi->dev, "%s: IRQ OFLW Error stat=0x%X\n", in mxc_isi_pipe_irq_handler()
735 dev_dbg(pipe->isi->dev, "%s: IRQ EXCS OFLW Error stat=0x%X\n", in mxc_isi_pipe_irq_handler()
749 int mxc_isi_pipe_init(struct mxc_isi_dev *isi, unsigned int id) in mxc_isi_pipe_init() argument
751 struct mxc_isi_pipe *pipe = &isi->pipes[id]; in mxc_isi_pipe_init()
757 pipe->isi = isi; in mxc_isi_pipe_init()
758 pipe->regs = isi->regs + id * isi->pdata->reg_offset; in mxc_isi_pipe_init()
772 sd->dev = isi->dev; in mxc_isi_pipe_init()
792 irq = platform_get_irq(to_platform_device(isi->dev), id); in mxc_isi_pipe_init()
798 ret = devm_request_irq(isi->dev, irq, mxc_isi_pipe_irq_handler, in mxc_isi_pipe_init()
799 0, dev_name(isi->dev), pipe); in mxc_isi_pipe_init()
801 dev_err(isi->dev, "failed to request IRQ (%d)\n", ret); in mxc_isi_pipe_init()