/Linux-v5.10/drivers/staging/media/imx/ |
D | imx6-mipi-csi2.c | 128 static void csi2_enable(struct csi2_dev *csi2, bool enable) in csi2_enable() argument 131 writel(0x1, csi2->base + CSI2_PHY_SHUTDOWNZ); in csi2_enable() 132 writel(0x1, csi2->base + CSI2_DPHY_RSTZ); in csi2_enable() 133 writel(0x1, csi2->base + CSI2_RESETN); in csi2_enable() 135 writel(0x0, csi2->base + CSI2_PHY_SHUTDOWNZ); in csi2_enable() 136 writel(0x0, csi2->base + CSI2_DPHY_RSTZ); in csi2_enable() 137 writel(0x0, csi2->base + CSI2_RESETN); in csi2_enable() 141 static void csi2_set_lanes(struct csi2_dev *csi2) in csi2_set_lanes() argument 143 int lanes = csi2->bus.num_data_lanes; in csi2_set_lanes() 145 writel(lanes - 1, csi2->base + CSI2_N_LANES); in csi2_set_lanes() [all …]
|
D | imx-media-dev-common.c | 40 struct v4l2_subdev *sd, *csi2 = NULL; in imx_media_create_csi2_links() local 44 csi2 = sd; in imx_media_create_csi2_links() 48 if (!csi2) in imx_media_create_csi2_links() 58 v4l2_create_fwnode_links(csi2, sd); in imx_media_create_csi2_links()
|
D | Makefile | 15 obj-$(CONFIG_VIDEO_IMX_CSI) += imx6-mipi-csi2.o
|
/Linux-v5.10/drivers/staging/media/omap4iss/ |
D | iss_csi2.c | 24 static void csi2_if_enable(struct iss_csi2_device *csi2, u8 enable) in csi2_if_enable() argument 26 struct iss_csi2_ctrl_cfg *currctrl = &csi2->ctrl; in csi2_if_enable() 28 iss_reg_update(csi2->iss, csi2->regs1, CSI2_CTRL, CSI2_CTRL_IF_EN, in csi2_if_enable() 39 static void csi2_recv_config(struct iss_csi2_device *csi2, in csi2_recv_config() argument 88 iss_reg_write(csi2->iss, csi2->regs1, CSI2_CTRL, reg); in csi2_recv_config() 194 static u16 csi2_ctx_map_format(struct iss_csi2_device *csi2) in csi2_ctx_map_format() argument 196 const struct v4l2_mbus_framefmt *fmt = &csi2->formats[CSI2_PAD_SINK]; in csi2_ctx_map_format() 228 if (!(csi2->output & CSI2_OUTPUT_IPIPEIF) && in csi2_ctx_map_format() 229 !(csi2->output & CSI2_OUTPUT_MEMORY)) { in csi2_ctx_map_format() 237 destidx = csi2->frame_skip ? 0 : !!(csi2->output & CSI2_OUTPUT_IPIPEIF); in csi2_ctx_map_format() [all …]
|
D | iss_csiphy.c | 118 struct iss_csi2_device *csi2 = v4l2_get_subdevdata(csi2_subdev); in omap4iss_csiphy_config() local 128 lanes = &subdevs->bus.csi2.lanecfg; in omap4iss_csiphy_config() 171 csi2->phy->used_data_lanes = 0; in omap4iss_csiphy_config() 174 for (i = 0; i < csi2->phy->max_data_lanes; i++) { in omap4iss_csiphy_config() 179 lanes->data[i].pos > (csi2->phy->max_data_lanes + 1)) in omap4iss_csiphy_config() 186 csi2->phy->used_data_lanes++; in omap4iss_csiphy_config() 190 lanes->clk.pos > (csi2->phy->max_data_lanes + 1)) in omap4iss_csiphy_config() 197 / (2 * csi2->phy->used_data_lanes) in omap4iss_csiphy_config() 210 mutex_lock(&csi2->phy->mutex); in omap4iss_csiphy_config() 211 csi2->phy->dphy = csi2phy; in omap4iss_csiphy_config() [all …]
|
D | iss_csi2.h | 147 void omap4iss_csi2_isr(struct iss_csi2_device *csi2); 148 int omap4iss_csi2_reset(struct iss_csi2_device *csi2); 152 void omap4iss_csi2_unregister_entities(struct iss_csi2_device *csi2); 153 int omap4iss_csi2_register_entities(struct iss_csi2_device *csi2,
|
D | iss_csiphy.h | 29 struct iss_csi2_device *csi2; member
|
/Linux-v5.10/drivers/media/platform/omap3isp/ |
D | ispcsi2.c | 28 struct isp_csi2_device *csi2, u8 enable) in csi2_if_enable() argument 30 struct isp_csi2_ctrl_cfg *currctrl = &csi2->ctrl; in csi2_if_enable() 32 isp_reg_clr_set(isp, csi2->regs1, ISPCSI2_CTRL, ISPCSI2_CTRL_IF_EN, in csi2_if_enable() 44 struct isp_csi2_device *csi2, in csi2_recv_config() argument 49 reg = isp_reg_readl(isp, csi2->regs1, ISPCSI2_CTRL); in csi2_recv_config() 74 isp_reg_writel(isp, reg, csi2->regs1, ISPCSI2_CTRL); in csi2_recv_config() 165 static u16 csi2_ctx_map_format(struct isp_csi2_device *csi2) in csi2_ctx_map_format() argument 167 const struct v4l2_mbus_framefmt *fmt = &csi2->formats[CSI2_PAD_SINK]; in csi2_ctx_map_format() 192 if (!(csi2->output & CSI2_OUTPUT_CCDC) && in csi2_ctx_map_format() 193 !(csi2->output & CSI2_OUTPUT_MEMORY)) { in csi2_ctx_map_format() [all …]
|
D | ispcsi2.h | 145 void omap3isp_csi2_isr(struct isp_csi2_device *csi2); 146 int omap3isp_csi2_reset(struct isp_csi2_device *csi2); 149 void omap3isp_csi2_unregister_entities(struct isp_csi2_device *csi2); 150 int omap3isp_csi2_register_entities(struct isp_csi2_device *csi2,
|
D | ispcsiphy.c | 177 lanes = &buscfg->bus.csi2.lanecfg; in omap3isp_csiphy_config() 178 num_data_lanes = buscfg->bus.csi2.num_data_lanes; in omap3isp_csiphy_config() 276 rval = omap3isp_csi2_reset(phy->csi2); in omap3isp_csiphy_acquire() 332 phy2->csi2 = &isp->isp_csi2a; in omap3isp_csiphy_init() 342 phy1->csi2 = &isp->isp_csi2c; in omap3isp_csiphy_init()
|
D | ispcsiphy.h | 25 struct isp_csi2_device *csi2; member
|
D | omap3isp.h | 126 struct isp_csi2_cfg csi2; member
|
D | isp.c | 2077 buscfg->bus.csi2.lanecfg.clk.pos = vep->bus.mipi_csi2.clock_lane; in isp_parse_of_csi2_endpoint() 2078 buscfg->bus.csi2.lanecfg.clk.pol = in isp_parse_of_csi2_endpoint() 2081 buscfg->bus.csi2.lanecfg.clk.pol, in isp_parse_of_csi2_endpoint() 2082 buscfg->bus.csi2.lanecfg.clk.pos); in isp_parse_of_csi2_endpoint() 2084 buscfg->bus.csi2.num_data_lanes = vep->bus.mipi_csi2.num_data_lanes; in isp_parse_of_csi2_endpoint() 2086 for (i = 0; i < buscfg->bus.csi2.num_data_lanes; i++) { in isp_parse_of_csi2_endpoint() 2087 buscfg->bus.csi2.lanecfg.data[i].pos = in isp_parse_of_csi2_endpoint() 2089 buscfg->bus.csi2.lanecfg.data[i].pol = in isp_parse_of_csi2_endpoint() 2093 buscfg->bus.csi2.lanecfg.data[i].pol, in isp_parse_of_csi2_endpoint() 2094 buscfg->bus.csi2.lanecfg.data[i].pos); in isp_parse_of_csi2_endpoint() [all …]
|
/Linux-v5.10/drivers/staging/media/atomisp/pci/ |
D | atomisp_csi2.c | 27 * csi2, in __csi2_get_format() 34 return v4l2_subdev_get_try_format(&csi2->subdev, cfg, pad); in __csi2_get_format() 36 return &csi2->formats[pad]; in __csi2_get_format() 76 struct atomisp_mipi_csi2_device *csi2 = v4l2_get_subdevdata(sd); in csi2_get_format() local 79 format = __csi2_get_format(csi2, cfg, fmt->which, fmt->pad); in csi2_get_format() 91 struct atomisp_mipi_csi2_device *csi2 = v4l2_get_subdevdata(sd); in atomisp_csi2_set_ffmt() local 92 struct v4l2_mbus_framefmt *actual_ffmt = __csi2_get_format(csi2, cfg, which, pad); in atomisp_csi2_set_ffmt() 118 *actual_ffmt = *ffmt = *__csi2_get_format(csi2, cfg, which, CSI2_PAD_SINK); in atomisp_csi2_set_ffmt() 188 struct atomisp_mipi_csi2_device *csi2 = v4l2_get_subdevdata(sd); in csi2_link_setup() local 198 if (csi2->output & ~CSI2_OUTPUT_ISP_SUBDEV) in csi2_link_setup() [all …]
|
D | atomisp_csi2.h | 53 struct atomisp_mipi_csi2_device *csi2); 54 int atomisp_mipi_csi2_register_entities(struct atomisp_mipi_csi2_device *csi2,
|
/Linux-v5.10/drivers/media/i2c/adv748x/ |
D | Makefile | 5 adv748x-csi2.o \
|
/Linux-v5.10/drivers/media/platform/rcar-vin/ |
D | Makefile | 4 obj-$(CONFIG_VIDEO_RCAR_CSI2) += rcar-csi2.o
|
D | Kconfig | 15 module will be called rcar-csi2.
|
/Linux-v5.10/drivers/media/platform/qcom/camss/ |
D | camss-csiphy-2ph-1-0.c | 88 struct csiphy_lanes_cfg *c = &cfg->csi2->lane_cfg; in csiphy_lanes_enable() 128 struct csiphy_lanes_cfg *c = &cfg->csi2->lane_cfg; in csiphy_lanes_disable()
|
D | camss-csiphy.h | 42 struct csiphy_csi2_cfg *csi2; member
|
/Linux-v5.10/include/linux/platform_data/media/ |
D | omap4iss.h | 57 struct iss_csi2_platform_data csi2; member
|
/Linux-v5.10/drivers/media/pci/intel/ipu3/ |
D | ipu3-cio2.c | 356 u8 lanes, csi2bus = q->csi2.port; in cio2_hw_init() 365 lanes = q->csi2.lanes; in cio2_hw_init() 493 base + CIO2_REG_PXM_FRF_CFG(q->csi2.port)); in cio2_hw_init() 1380 struct csi2_bus_info csi2; member 1394 if (cio2->queue[s_asd->csi2.port].sensor) in cio2_notifier_bound() 1397 q = &cio2->queue[s_asd->csi2.port]; in cio2_notifier_bound() 1399 q->csi2 = s_asd->csi2; in cio2_notifier_bound() 1401 q->csi_rx_base = cio2->base + CIO2_REG_PIPE_BASE(q->csi2.port); in cio2_notifier_bound() 1416 cio2->queue[s_asd->csi2.port].sensor = NULL; in cio2_notifier_unbind() 1432 q = &cio2->queue[s_asd->csi2.port]; in cio2_notifier_complete() [all …]
|
/Linux-v5.10/Documentation/devicetree/bindings/media/ |
D | imx7-mipi-csi2.txt | 12 - compatible : "fsl,imx7-mipi-csi2"; 60 compatible = "fsl,imx7-mipi-csi2";
|
/Linux-v5.10/Documentation/admin-guide/media/ |
D | imx.rst | 137 imx6-mipi-csi2 167 MIPI CSI-2 virtual channels from imx6-mipi-csi2 entity. They have a 360 sensor -> imx6-mipi-csi2 -> (ipuX_csiY_mux) -> ... 362 for mipi csi-2 sensors. The imx6-mipi-csi2 receiver may need to route 435 imx6-mipi-csi2 pad 2), is routed to ipu1_csi1. Both sensors are 446 media-ctl -l "'ov5640 1-0040':0 -> 'imx6-mipi-csi2':0[1]" 447 media-ctl -l "'imx6-mipi-csi2':2 -> 'ipu1_csi1':0[1]" 455 media-ctl -V "'imx6-mipi-csi2':2 [fmt:UYVY2X8/640x480 field:none]" 598 media-ctl -l "'ov5640 1-003c':0 -> 'imx6-mipi-csi2':0[1]" 599 media-ctl -l "'imx6-mipi-csi2':1 -> 'ipu1_csi0_mux':0[1]" [all …]
|
/Linux-v5.10/drivers/media/i2c/ |
D | smiapp-pll.h | 35 } csi2; member
|