/Linux-v4.19/drivers/staging/media/imx/ |
D | imx6-mipi-csi2.c | 125 static void csi2_enable(struct csi2_dev *csi2, bool enable) in csi2_enable() argument 128 writel(0x1, csi2->base + CSI2_PHY_SHUTDOWNZ); in csi2_enable() 129 writel(0x1, csi2->base + CSI2_DPHY_RSTZ); in csi2_enable() 130 writel(0x1, csi2->base + CSI2_RESETN); in csi2_enable() 132 writel(0x0, csi2->base + CSI2_PHY_SHUTDOWNZ); in csi2_enable() 133 writel(0x0, csi2->base + CSI2_DPHY_RSTZ); in csi2_enable() 134 writel(0x0, csi2->base + CSI2_RESETN); in csi2_enable() 138 static void csi2_set_lanes(struct csi2_dev *csi2) in csi2_set_lanes() argument 140 int lanes = csi2->bus.num_data_lanes; in csi2_set_lanes() 142 writel(lanes - 1, csi2->base + CSI2_N_LANES); in csi2_set_lanes() [all …]
|
D | Makefile | 13 obj-$(CONFIG_VIDEO_IMX_CSI) += imx6-mipi-csi2.o
|
/Linux-v4.19/drivers/staging/media/omap4iss/ |
D | iss_csi2.c | 28 static void csi2_if_enable(struct iss_csi2_device *csi2, u8 enable) in csi2_if_enable() argument 30 struct iss_csi2_ctrl_cfg *currctrl = &csi2->ctrl; in csi2_if_enable() 32 iss_reg_update(csi2->iss, csi2->regs1, CSI2_CTRL, CSI2_CTRL_IF_EN, in csi2_if_enable() 43 static void csi2_recv_config(struct iss_csi2_device *csi2, in csi2_recv_config() argument 92 iss_reg_write(csi2->iss, csi2->regs1, CSI2_CTRL, reg); in csi2_recv_config() 198 static u16 csi2_ctx_map_format(struct iss_csi2_device *csi2) in csi2_ctx_map_format() argument 200 const struct v4l2_mbus_framefmt *fmt = &csi2->formats[CSI2_PAD_SINK]; in csi2_ctx_map_format() 232 if (!(csi2->output & CSI2_OUTPUT_IPIPEIF) && in csi2_ctx_map_format() 233 !(csi2->output & CSI2_OUTPUT_MEMORY)) { in csi2_ctx_map_format() 241 destidx = csi2->frame_skip ? 0 : !!(csi2->output & CSI2_OUTPUT_IPIPEIF); in csi2_ctx_map_format() [all …]
|
D | iss_csiphy.c | 122 struct iss_csi2_device *csi2 = v4l2_get_subdevdata(csi2_subdev); in omap4iss_csiphy_config() local 132 lanes = &subdevs->bus.csi2.lanecfg; in omap4iss_csiphy_config() 175 csi2->phy->used_data_lanes = 0; in omap4iss_csiphy_config() 178 for (i = 0; i < csi2->phy->max_data_lanes; i++) { in omap4iss_csiphy_config() 183 lanes->data[i].pos > (csi2->phy->max_data_lanes + 1)) in omap4iss_csiphy_config() 190 csi2->phy->used_data_lanes++; in omap4iss_csiphy_config() 194 lanes->clk.pos > (csi2->phy->max_data_lanes + 1)) in omap4iss_csiphy_config() 201 / (2 * csi2->phy->used_data_lanes) in omap4iss_csiphy_config() 214 mutex_lock(&csi2->phy->mutex); in omap4iss_csiphy_config() 215 csi2->phy->dphy = csi2phy; in omap4iss_csiphy_config() [all …]
|
D | iss_csi2.h | 151 void omap4iss_csi2_isr(struct iss_csi2_device *csi2); 152 int omap4iss_csi2_reset(struct iss_csi2_device *csi2); 156 void omap4iss_csi2_unregister_entities(struct iss_csi2_device *csi2); 157 int omap4iss_csi2_register_entities(struct iss_csi2_device *csi2,
|
D | iss_csiphy.h | 33 struct iss_csi2_device *csi2; member
|
/Linux-v4.19/drivers/media/platform/omap3isp/ |
D | ispcsi2.c | 31 struct isp_csi2_device *csi2, u8 enable) in csi2_if_enable() argument 33 struct isp_csi2_ctrl_cfg *currctrl = &csi2->ctrl; in csi2_if_enable() 35 isp_reg_clr_set(isp, csi2->regs1, ISPCSI2_CTRL, ISPCSI2_CTRL_IF_EN, in csi2_if_enable() 47 struct isp_csi2_device *csi2, in csi2_recv_config() argument 52 reg = isp_reg_readl(isp, csi2->regs1, ISPCSI2_CTRL); in csi2_recv_config() 77 isp_reg_writel(isp, reg, csi2->regs1, ISPCSI2_CTRL); in csi2_recv_config() 168 static u16 csi2_ctx_map_format(struct isp_csi2_device *csi2) in csi2_ctx_map_format() argument 170 const struct v4l2_mbus_framefmt *fmt = &csi2->formats[CSI2_PAD_SINK]; in csi2_ctx_map_format() 195 if (!(csi2->output & CSI2_OUTPUT_CCDC) && in csi2_ctx_map_format() 196 !(csi2->output & CSI2_OUTPUT_MEMORY)) { in csi2_ctx_map_format() [all …]
|
D | ispcsi2.h | 148 void omap3isp_csi2_isr(struct isp_csi2_device *csi2); 149 int omap3isp_csi2_reset(struct isp_csi2_device *csi2); 152 void omap3isp_csi2_unregister_entities(struct isp_csi2_device *csi2); 153 int omap3isp_csi2_register_entities(struct isp_csi2_device *csi2,
|
D | ispcsiphy.c | 180 lanes = &buscfg->bus.csi2.lanecfg; in omap3isp_csiphy_config() 181 num_data_lanes = buscfg->bus.csi2.num_data_lanes; in omap3isp_csiphy_config() 279 rval = omap3isp_csi2_reset(phy->csi2); in omap3isp_csiphy_acquire() 335 phy2->csi2 = &isp->isp_csi2a; in omap3isp_csiphy_init() 345 phy1->csi2 = &isp->isp_csi2c; in omap3isp_csiphy_init()
|
D | ispcsiphy.h | 28 struct isp_csi2_device *csi2; member
|
D | omap3isp.h | 134 struct isp_csi2_cfg csi2; member
|
D | isp.c | 2108 buscfg->bus.csi2.lanecfg.clk.pos = in isp_fwnode_parse() 2110 buscfg->bus.csi2.lanecfg.clk.pol = in isp_fwnode_parse() 2113 buscfg->bus.csi2.lanecfg.clk.pol, in isp_fwnode_parse() 2114 buscfg->bus.csi2.lanecfg.clk.pos); in isp_fwnode_parse() 2116 buscfg->bus.csi2.num_data_lanes = in isp_fwnode_parse() 2119 for (i = 0; i < buscfg->bus.csi2.num_data_lanes; i++) { in isp_fwnode_parse() 2120 buscfg->bus.csi2.lanecfg.data[i].pos = in isp_fwnode_parse() 2122 buscfg->bus.csi2.lanecfg.data[i].pol = in isp_fwnode_parse() 2126 buscfg->bus.csi2.lanecfg.data[i].pol, in isp_fwnode_parse() 2127 buscfg->bus.csi2.lanecfg.data[i].pos); in isp_fwnode_parse() [all …]
|
/Linux-v4.19/Documentation/devicetree/bindings/media/ |
D | renesas,rcar-csi2.txt | 11 - "renesas,r8a7795-csi2" for the R8A7795 device. 12 - "renesas,r8a7796-csi2" for the R8A7796 device. 13 - "renesas,r8a77965-csi2" for the R8A77965 device. 14 - "renesas,r8a77970-csi2" for the R8A77970 device. 35 csi20: csi2@fea80000 { 36 compatible = "renesas,r8a7796-csi2";
|
D | video-interfaces.txt | 158 imx074 is linked to ceu0 through the MIPI CSI-2 receiver (csi2). ceu0 has a 161 pipelines can be active: ov772x -> ceu0 or imx074 -> csi2 -> ceu0. 248 csi2: csi2@ffc90000 { 249 compatible = "renesas,sh-mobile-csi2";
|
/Linux-v4.19/drivers/media/i2c/adv748x/ |
D | Makefile | 4 adv748x-csi2.o \
|
/Linux-v4.19/drivers/media/platform/rcar-vin/ |
D | Makefile | 4 obj-$(CONFIG_VIDEO_RCAR_CSI2) += rcar-csi2.o
|
D | Kconfig | 12 module will be called rcar-csi2.
|
/Linux-v4.19/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
|
D | camss.h | 91 struct csiphy_csi2_cfg csi2; member
|
/Linux-v4.19/include/linux/platform_data/media/ |
D | omap4iss.h | 57 struct iss_csi2_platform_data csi2; member
|
/Linux-v4.19/drivers/media/pci/intel/ipu3/ |
D | ipu3-cio2.c | 362 u8 lanes, csi2bus = q->csi2.port; in cio2_hw_init() 371 lanes = q->csi2.lanes; in cio2_hw_init() 500 base + CIO2_REG_PXM_FRF_CFG(q->csi2.port)); in cio2_hw_init() 1393 struct csi2_bus_info csi2; member 1407 if (cio2->queue[s_asd->csi2.port].sensor) in cio2_notifier_bound() 1410 q = &cio2->queue[s_asd->csi2.port]; in cio2_notifier_bound() 1412 q->csi2 = s_asd->csi2; in cio2_notifier_bound() 1414 q->csi_rx_base = cio2->base + CIO2_REG_PIPE_BASE(q->csi2.port); in cio2_notifier_bound() 1429 cio2->queue[s_asd->csi2.port].sensor = NULL; in cio2_notifier_unbind() 1445 q = &cio2->queue[s_asd->csi2.port]; in cio2_notifier_complete() [all …]
|
/Linux-v4.19/drivers/media/i2c/ |
D | smiapp-pll.h | 43 } csi2; member
|
/Linux-v4.19/arch/arm64/boot/dts/renesas/ |
D | r8a7795-es1.dtsi | 108 csi21: csi2@fea90000 { 109 compatible = "renesas,r8a7795-csi2";
|
/Linux-v4.19/Documentation/media/ |
D | media_kapi.rst | 38 kapi/csi2
|