Home
last modified time | relevance | path

Searched refs:csi2 (Results 1 – 25 of 43) sorted by relevance

12

/Linux-v4.19/drivers/staging/media/imx/
Dimx6-mipi-csi2.c125 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 …]
DMakefile13 obj-$(CONFIG_VIDEO_IMX_CSI) += imx6-mipi-csi2.o
/Linux-v4.19/drivers/staging/media/omap4iss/
Diss_csi2.c28 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 …]
Diss_csiphy.c122 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 …]
Diss_csi2.h151 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,
Diss_csiphy.h33 struct iss_csi2_device *csi2; member
/Linux-v4.19/drivers/media/platform/omap3isp/
Dispcsi2.c31 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 …]
Dispcsi2.h148 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,
Dispcsiphy.c180 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()
Dispcsiphy.h28 struct isp_csi2_device *csi2; member
Domap3isp.h134 struct isp_csi2_cfg csi2; member
Disp.c2108 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/
Drenesas,rcar-csi2.txt11 - "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";
Dvideo-interfaces.txt158 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/
DMakefile4 adv748x-csi2.o \
/Linux-v4.19/drivers/media/platform/rcar-vin/
DMakefile4 obj-$(CONFIG_VIDEO_RCAR_CSI2) += rcar-csi2.o
DKconfig12 module will be called rcar-csi2.
/Linux-v4.19/drivers/media/platform/qcom/camss/
Dcamss-csiphy-2ph-1-0.c88 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()
Dcamss-csiphy.h42 struct csiphy_csi2_cfg *csi2; member
Dcamss.h91 struct csiphy_csi2_cfg csi2; member
/Linux-v4.19/include/linux/platform_data/media/
Domap4iss.h57 struct iss_csi2_platform_data csi2; member
/Linux-v4.19/drivers/media/pci/intel/ipu3/
Dipu3-cio2.c362 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/
Dsmiapp-pll.h43 } csi2; member
/Linux-v4.19/arch/arm64/boot/dts/renesas/
Dr8a7795-es1.dtsi108 csi21: csi2@fea90000 {
109 compatible = "renesas,r8a7795-csi2";
/Linux-v4.19/Documentation/media/
Dmedia_kapi.rst38 kapi/csi2

12