Home
last modified time | relevance | path

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

1234

/linux/drivers/media/platform/ti/omap3isp/
H A Dispcsi2.c28 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 …]
H A Dispcsi2.h145 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,
H A Dispcsiphy.c182 lanes = &buscfg->bus.csi2.lanecfg; in omap3isp_csiphy_config()
183 num_data_lanes = buscfg->bus.csi2.num_data_lanes; in omap3isp_csiphy_config()
281 rval = omap3isp_csi2_reset(phy->csi2); in omap3isp_csiphy_acquire()
342 phy2->csi2 = &isp->isp_csi2a; in omap3isp_csiphy_init()
352 phy1->csi2 = &isp->isp_csi2c; in omap3isp_csiphy_init()
H A Dispcsiphy.h25 struct isp_csi2_device *csi2; member
/linux/drivers/media/platform/renesas/rzg2l-cru/
H A Drzg2l-csi2.c218 static u32 rzg2l_csi2_read(struct rzg2l_csi2 *csi2, unsigned int reg) in rzg2l_csi2_read() argument
220 return ioread32(csi2->base + reg); in rzg2l_csi2_read()
223 static void rzg2l_csi2_write(struct rzg2l_csi2 *csi2, unsigned int reg, in rzg2l_csi2_write() argument
226 iowrite32(data, csi2->base + reg); in rzg2l_csi2_write()
229 static void rzg2l_csi2_set(struct rzg2l_csi2 *csi2, unsigned int reg, u32 set) in rzg2l_csi2_set() argument
231 rzg2l_csi2_write(csi2, reg, rzg2l_csi2_read(csi2, reg) | set); in rzg2l_csi2_set()
234 static void rzg2l_csi2_clr(struct rzg2l_csi2 *csi2, unsigned int reg, u32 clr) in rzg2l_csi2_clr() argument
236 rzg2l_csi2_write(csi2, reg, rzg2l_csi2_read(csi2, reg) & ~clr); in rzg2l_csi2_clr()
239 static int rzg2l_csi2_calc_mbps(struct rzg2l_csi2 *csi2) in rzg2l_csi2_calc_mbps() argument
241 struct v4l2_subdev *source = csi2->remote_source; in rzg2l_csi2_calc_mbps()
[all …]
H A DMakefile3 obj-$(CONFIG_VIDEO_RZG2L_CSI2) += rzg2l-csi2.o
/linux/drivers/media/pci/intel/ipu6/
H A Dipu6-isys-csi2.c80 s64 ipu6_isys_csi2_get_link_freq(struct ipu6_isys_csi2 *csi2) in ipu6_isys_csi2_get_link_freq() argument
86 if (!csi2) in ipu6_isys_csi2_get_link_freq()
89 dev = &csi2->isys->adev->auxdev.dev; in ipu6_isys_csi2_get_link_freq()
90 src_pad = media_entity_remote_source_pad_unique(&csi2->asd.sd.entity); in ipu6_isys_csi2_get_link_freq()
93 csi2->asd.sd.name, PTR_ERR(src_pad)); in ipu6_isys_csi2_get_link_freq()
98 if (WARN(!ext_sd, "Failed to get subdev for %s\n", csi2->asd.sd.name)) in ipu6_isys_csi2_get_link_freq()
108 struct ipu6_isys_csi2 *csi2 = to_ipu6_isys_csi2(asd); in csi2_subscribe_event() local
109 struct device *dev = &csi2->isys->adev->auxdev.dev; in csi2_subscribe_event()
170 ipu6_isys_csi2_calc_timing(struct ipu6_isys_csi2 *csi2, in ipu6_isys_csi2_calc_timing() argument
173 struct device *dev = &csi2->isys->adev->auxdev.dev; in ipu6_isys_csi2_calc_timing()
[all …]
H A Dipu6-isys.c108 struct ipu6_isys_csi2_config *csi2) in isys_complete_ext_device_registration() argument
126 &isys->csi2[csi2->port].asd.sd.entity, in isys_complete_ext_device_registration()
134 isys->csi2[csi2->port].nlanes = csi2->nlanes; in isys_complete_ext_device_registration()
163 const struct ipu6_isys_internal_csi2_pdata *csi2 = in isys_csi2_unregister_subdevices() local
164 &isys->pdata->ipdata->csi2; in isys_csi2_unregister_subdevices()
167 for (i = 0; i < csi2->nports; i++) in isys_csi2_unregister_subdevices()
168 ipu6_isys_csi2_cleanup(&isys->csi2[i]); in isys_csi2_unregister_subdevices()
174 &isys->pdata->ipdata->csi2; in isys_csi2_register_subdevices()
179 ret = ipu6_isys_csi2_init(&isys->csi2[i], isys, in isys_csi2_register_subdevices()
192 ipu6_isys_csi2_cleanup(&isys->csi2[i]); in isys_csi2_register_subdevices()
[all …]
H A Dipu6-isys-csi2.h67 s64 ipu6_isys_csi2_get_link_freq(struct ipu6_isys_csi2 *csi2);
68 int ipu6_isys_csi2_init(struct ipu6_isys_csi2 *csi2, struct ipu6_isys *isys,
70 void ipu6_isys_csi2_cleanup(struct ipu6_isys_csi2 *csi2);
73 void ipu6_isys_register_errors(struct ipu6_isys_csi2 *csi2);
74 void ipu6_isys_csi2_error(struct ipu6_isys_csi2 *csi2);
76 struct ipu6_isys_csi2 *csi2,
H A Dipu6.c305 isys_ipdata.csi2.nports = IPU6_ISYS_CSI2_NPORTS; in ipu6_internal_pdata_init()
306 isys_ipdata.csi2.irq_mask = IPU6_CSI_RX_ERROR_IRQ_MASK; in ipu6_internal_pdata_init()
307 isys_ipdata.csi2.ctrl0_irq_edge = IPU6_REG_ISYS_CSI_TOP_CTRL0_IRQ_EDGE; in ipu6_internal_pdata_init()
308 isys_ipdata.csi2.ctrl0_irq_clear = in ipu6_internal_pdata_init()
310 isys_ipdata.csi2.ctrl0_irq_mask = IPU6_REG_ISYS_CSI_TOP_CTRL0_IRQ_MASK; in ipu6_internal_pdata_init()
311 isys_ipdata.csi2.ctrl0_irq_enable = in ipu6_internal_pdata_init()
313 isys_ipdata.csi2.ctrl0_irq_status = in ipu6_internal_pdata_init()
315 isys_ipdata.csi2.ctrl0_irq_lnp = in ipu6_internal_pdata_init()
319 isys_ipdata.csi2.fw_access_port_ofs = CSI_REG_HUB_FW_ACCESS_PORT_OFS; in ipu6_internal_pdata_init()
327 isys_ipdata.csi2.nports = IPU6_TGL_ISYS_CSI2_NPORTS; in ipu6_internal_pdata_init()
[all …]
H A Dipu6-isys-mcd-phy.c583 phy_id = s_asd->csi2.port / 4; in ipu6_isys_mcd_phy_common_init()
638 cfg.port = s_asd->csi2.port; in ipu6_isys_mcd_phy_config()
639 cfg.nlanes = s_asd->csi2.nlanes; in ipu6_isys_mcd_phy_config()
684 if (!isys_base || port >= isys->pdata->ipdata->csi2.nports) { in ipu6_isys_mcd_phy_set_power()
/linux/drivers/acpi/
H A Dmipi-disco-img.c112 struct crs_csi2 *csi2; in acpi_mipi_add_crs_csi2() local
114 csi2 = kzalloc(sizeof(*csi2), GFP_KERNEL); in acpi_mipi_add_crs_csi2()
115 if (!csi2) in acpi_mipi_add_crs_csi2()
118 csi2->handle = handle; in acpi_mipi_add_crs_csi2()
119 INIT_LIST_HEAD(&csi2->connections); in acpi_mipi_add_crs_csi2()
120 csi2->port_count = 1; in acpi_mipi_add_crs_csi2()
122 if (ACPI_FAILURE(acpi_attach_data(handle, acpi_mipi_data_tag, csi2))) { in acpi_mipi_add_crs_csi2()
123 kfree(csi2); in acpi_mipi_add_crs_csi2()
127 list_add(&csi2->entry, list); in acpi_mipi_add_crs_csi2()
129 return csi2; in acpi_mipi_add_crs_csi2()
[all …]
/linux/arch/arm64/boot/dts/ti/
H A DMakefile13 dtb-$(CONFIG_ARCH_K3) += k3-am625-beagleplay-csi2-ov5640.dtbo
14 dtb-$(CONFIG_ARCH_K3) += k3-am625-beagleplay-csi2-tevi-ov5640.dtbo
39 dtb-$(CONFIG_ARCH_K3) += k3-am62x-sk-csi2-ov5640.dtbo
40 dtb-$(CONFIG_ARCH_K3) += k3-am62x-sk-csi2-tevi-ov5640.dtbo
41 dtb-$(CONFIG_ARCH_K3) += k3-am62x-sk-csi2-imx219.dtbo
111 dtb-$(CONFIG_ARCH_K3) += k3-j721e-sk-csi2-dual-imx219.dtbo
136 k3-am625-beagleplay-csi2-ov5640-dtbs := k3-am625-beagleplay.dtb \
137 k3-am625-beagleplay-csi2-ov5640.dtbo
138 k3-am625-beagleplay-csi2-tevi-ov5640-dtbs := k3-am625-beagleplay.dtb \
139 k3-am625-beagleplay-csi2-tevi-ov5640.dtbo
[all …]
/linux/drivers/media/platform/nxp/imx8-isi/
H A Dimx8-isi-gasket.c37 val = GASKET_CTRL_DATA_TYPE(fd->entry[0].bus.csi2.dt); in mxc_imx8_gasket_enable()
38 if (fd->entry[0].bus.csi2.dt == MIPI_CSI2_DT_YUV422_8B) in mxc_imx8_gasket_enable()
71 val = DISP_MIX_CAMERA_MUX_DATA_TYPE(fd->entry[0].bus.csi2.dt); in mxc_imx93_gasket_enable()
/linux/Documentation/userspace-api/media/v4l/
H A Dmetafmt-generic.rst27 :ref:`V4L2_META_FMT_GENERIC_CSI2_16 <v4l2-meta-fmt-generic-csi2-16>`.
50 .. _v4l2-meta-fmt-generic-csi2-10:
67 <v4l2-meta-fmt-generic-csi2-20>`.
94 .. _v4l2-meta-fmt-generic-csi2-12:
111 <v4l2-meta-fmt-generic-csi2-24>`.
140 .. _v4l2-meta-fmt-generic-csi2-14:
183 .. _v4l2-meta-fmt-generic-csi2-16:
232 .. _v4l2-meta-fmt-generic-csi2-20:
248 :ref:`V4L2_META_FMT_GENERIC_CSI2_10 <v4l2-meta-fmt-generic-csi2-10>`.
285 .. _v4l2-meta-fmt-generic-csi2-24:
[all …]
/linux/drivers/media/platform/sunxi/sun6i-mipi-csi2/
H A DMakefile2 sun6i-mipi-csi2-y += sun6i_mipi_csi2.o
4 obj-$(CONFIG_VIDEO_SUN6I_MIPI_CSI2) += sun6i-mipi-csi2.o
/linux/drivers/media/platform/sunxi/sun8i-a83t-mipi-csi2/
H A DMakefile2 sun8i-a83t-mipi-csi2-y += sun8i_a83t_mipi_csi2.o sun8i_a83t_dphy.o
4 obj-$(CONFIG_VIDEO_SUN8I_A83T_MIPI_CSI2) += sun8i-a83t-mipi-csi2.o
/linux/drivers/media/platform/sunxi/
H A DMakefile5 obj-y += sun6i-mipi-csi2/
6 obj-y += sun8i-a83t-mipi-csi2/
H A DKconfig7 source "drivers/media/platform/sunxi/sun6i-mipi-csi2/Kconfig"
8 source "drivers/media/platform/sunxi/sun8i-a83t-mipi-csi2/Kconfig"
/linux/drivers/staging/media/imx/
H A Dimx-media-dev-common.c26 struct v4l2_subdev *sd, *csi2 = NULL; in imx_media_create_csi2_links() local
30 csi2 = sd; in imx_media_create_csi2_links()
34 if (!csi2) in imx_media_create_csi2_links()
43 v4l2_create_fwnode_links(csi2, sd); in imx_media_create_csi2_links()
/linux/arch/arm64/boot/dts/renesas/
H A Dr9a07g043u.dtsi97 csi2: csi2@10830400 { label
98 compatible = "renesas,r9a07g043-csi2", "renesas,rzg2l-csi2";
/linux/drivers/media/platform/qcom/camss/
H A Dcamss-csiphy-2ph-1-0.c101 struct csiphy_lanes_cfg *c = &cfg->csi2->lane_cfg; in csiphy_lanes_enable()
140 struct csiphy_lanes_cfg *c = &cfg->csi2->lane_cfg; in csiphy_lanes_disable()
/linux/drivers/media/pci/intel/ipu3/
H A Dipu3-cio2.c358 u8 lanes, csi2bus = q->csi2.port; in cio2_hw_init()
367 lanes = q->csi2.lanes; in cio2_hw_init()
495 base + CIO2_REG_PXM_FRF_CFG(q->csi2.port)); in cio2_hw_init()
1362 struct csi2_bus_info csi2; member
1378 if (cio2->queue[s_asd->csi2.port].sensor) in cio2_notifier_bound()
1385 q = &cio2->queue[s_asd->csi2.port]; in cio2_notifier_bound()
1387 q->csi2 = s_asd->csi2; in cio2_notifier_bound()
1389 q->csi_rx_base = cio2->base + CIO2_REG_PIPE_BASE(q->csi2.port); in cio2_notifier_bound()
1402 cio2->queue[s_asd->csi2.port].sensor = NULL; in cio2_notifier_unbind()
1416 q = &cio2->queue[s_asd->csi2.port]; in cio2_notifier_complete()
[all …]
/linux/drivers/media/i2c/adv748x/
H A DMakefile5 adv748x-csi2.o \
/linux/drivers/media/platform/nxp/
H A DMakefile8 obj-$(CONFIG_VIDEO_IMX8MQ_MIPI_CSI2) += imx8mq-mipi-csi2.o

1234