/linux/drivers/media/platform/ti/cal/ |
H A D | cal-camerarx.c | 50 struct v4l2_mbus_config_mipi_csi2 *mipi_csi2 = &phy->endpoint.bus.mipi_csi2; in cal_camerarx_get_ext_link_freq() local 51 u32 num_lanes = mipi_csi2->num_data_lanes; in cal_camerarx_get_ext_link_freq() 85 struct v4l2_mbus_config_mipi_csi2 *mipi_csi2 = in cal_camerarx_lane_config() local 86 &phy->endpoint.bus.mipi_csi2; in cal_camerarx_lane_config() 89 cal_set_field(&val, mipi_csi2->clock_lane + 1, lane_mask); in cal_camerarx_lane_config() 90 cal_set_field(&val, mipi_csi2->lane_polarities[0], polarity_mask); in cal_camerarx_lane_config() 91 for (lane = 0; lane < mipi_csi2->num_data_lanes; lane++) { in cal_camerarx_lane_config() 98 cal_set_field(&val, mipi_csi2->data_lanes[lane] + 1, lane_mask); in cal_camerarx_lane_config() 99 cal_set_field(&val, mipi_csi2->lane_polarities[lane + 1], in cal_camerarx_lane_config() 554 for (i = 0; i < endpoint->bus.mipi_csi2.num_data_lanes; i++) { in cal_camerarx_parse_dt() [all …]
|
/linux/drivers/media/platform/rockchip/rkisp1/ |
H A D | rkisp1-dev.c | 211 if (!rkisp1_has_feature(rkisp1, MIPI_CSI2)) { in rkisp1_subdev_notifier_register() 273 rk_asd->mbus_flags = vep.bus.mipi_csi2.flags; in rkisp1_subdev_notifier_register() 274 rk_asd->lanes = vep.bus.mipi_csi2.num_data_lanes; in rkisp1_subdev_notifier_register() 366 if (rkisp1_has_feature(rkisp1, MIPI_CSI2)) { in rkisp1_create_links() 418 if (rkisp1_has_feature(rkisp1, MIPI_CSI2)) in rkisp1_entities_unregister() 451 if (rkisp1_has_feature(rkisp1, MIPI_CSI2)) { in rkisp1_entities_register() 715 if (rkisp1_has_feature(rkisp1, MIPI_CSI2)) in rkisp1_probe() 736 if (rkisp1_has_feature(rkisp1, MIPI_CSI2)) in rkisp1_remove()
|
/linux/drivers/media/i2c/ |
H A D | max96714.c | 112 struct v4l2_mbus_config_mipi_csi2 mipi_csi2; member 688 mipi = &priv->mipi_csi2; in max96714_init_tx_port() 793 num_data_lanes = vep.bus.mipi_csi2.num_data_lanes; in max96714_parse_dt_txport() 801 priv->mipi_csi2 = vep.bus.mipi_csi2; in max96714_parse_dt_txport()
|
H A D | max96717.c | 123 struct v4l2_mbus_config_mipi_csi2 mipi_csi2; member 900 struct v4l2_mbus_config_mipi_csi2 *mipi = &priv->mipi_csi2; in max96717_init_csi_lanes() 1016 num_data_lanes = vep.bus.mipi_csi2.num_data_lanes; in max96717_parse_dt() 1021 priv->mipi_csi2 = vep.bus.mipi_csi2; in max96717_parse_dt()
|
H A D | tc358746.c | 486 bool non_cont_clk = !!(tc358746->csi_vep.bus.mipi_csi2.flags & in tc358746_apply_dphy_config() 985 config->bus.mipi_csi2 = tc358746->csi_vep.bus.mipi_csi2; in tc358746_get_mbus_config() 1333 csi_lanes = vep->bus.mipi_csi2.num_data_lanes; in tc358746_init_output_port()
|
H A D | tc358743.c | 1654 cfg->bus.mipi_csi2.flags = 0; in tc358743_get_mbus_config() 1655 cfg->bus.mipi_csi2.num_data_lanes = state->csi_lanes_in_use; in tc358743_get_mbus_config() 1947 endpoint.bus.mipi_csi2.num_data_lanes == 0 || in tc358743_probe_of() 1954 if (endpoint.bus.mipi_csi2.num_data_lanes > 4) { in tc358743_probe_of() 1960 state->bus = endpoint.bus.mipi_csi2; in tc358743_probe_of()
|
H A D | imx258.c | 1433 switch (ep.bus.mipi_csi2.num_data_lanes) { in imx258_probe() 1442 ep.bus.mipi_csi2.num_data_lanes); in imx258_probe() 1447 imx258->csi2_flags = ep.bus.mipi_csi2.flags; in imx258_probe()
|
H A D | ov9282.c | 1156 bus_cfg.bus.mipi_csi2.flags & V4L2_MBUS_CSI2_NONCONTINUOUS_CLOCK; in ov9282_parse_hw_config() 1158 if (bus_cfg.bus.mipi_csi2.num_data_lanes != OV9282_NUM_DATA_LANES) { in ov9282_parse_hw_config() 1161 bus_cfg.bus.mipi_csi2.num_data_lanes); in ov9282_parse_hw_config()
|
H A D | hi846.c | 1989 if (bus_cfg.bus.mipi_csi2.num_data_lanes != 2 && in hi846_parse_dt() 1990 bus_cfg.bus.mipi_csi2.num_data_lanes != 4) { in hi846_parse_dt() 1992 bus_cfg.bus.mipi_csi2.num_data_lanes); in hi846_parse_dt() 1997 hi846->nr_lanes = bus_cfg.bus.mipi_csi2.num_data_lanes; in hi846_parse_dt()
|
H A D | isl7998x.c | 1501 if (endpoint.bus.mipi_csi2.num_data_lanes == 0 || in isl7998x_probe() 1502 endpoint.bus.mipi_csi2.num_data_lanes > 2) in isl7998x_probe() 1506 isl7998x->nr_mipi_lanes = endpoint.bus.mipi_csi2.num_data_lanes; in isl7998x_probe()
|
H A D | og01a1b.c | 950 if (bus_cfg.bus.mipi_csi2.num_data_lanes != OG01A1B_DATA_LANES) { in og01a1b_check_hwcfg() 952 bus_cfg.bus.mipi_csi2.num_data_lanes); in og01a1b_check_hwcfg()
|
H A D | imx412.c | 967 if (bus_cfg.bus.mipi_csi2.num_data_lanes != IMX412_NUM_DATA_LANES) { in imx412_parse_hw_config() 970 bus_cfg.bus.mipi_csi2.num_data_lanes); in imx412_parse_hw_config()
|
H A D | ds90ub953.c | 1152 nlanes = vep.bus.mipi_csi2.num_data_lanes; in ub953_parse_dt() 1159 priv->non_continous_clk = vep.bus.mipi_csi2.flags & in ub953_parse_dt()
|
/linux/include/media/ |
H A D | v4l2-mediabus.h | 159 * @bus.mipi_csi2: embedded &struct v4l2_mbus_config_mipi_csi2. 168 struct v4l2_mbus_config_mipi_csi2 mipi_csi2; member
|
H A D | v4l2-fwnode.h | 36 * @bus.mipi_csi2: embedded &struct v4l2_mbus_config_mipi_csi2. 48 struct v4l2_mbus_config_mipi_csi2 mipi_csi2; member
|
/linux/Documentation/devicetree/bindings/media/ |
H A D | imx.txt | 24 mipi_csi2 node
|
H A D | allwinner,sun8i-a83t-mipi-csi2.yaml | 90 mipi_csi2: csi@1cb1000 {
|
H A D | allwinner,sun6i-a31-mipi-csi2.yaml | 100 mipi_csi2: csi@1cb1000 {
|
/linux/drivers/media/pci/intel/ivsc/ |
H A D | mei_csi.c | 621 csi->nr_of_lanes = v4l2_ep.bus.mipi_csi2.num_data_lanes; in mei_csi_parse_firmware() 637 if (csi->nr_of_lanes != v4l2_ep.bus.mipi_csi2.num_data_lanes) { in mei_csi_parse_firmware() 641 csi->nr_of_lanes, v4l2_ep.bus.mipi_csi2.num_data_lanes); in mei_csi_parse_firmware()
|
/linux/drivers/media/platform/qcom/camss/ |
H A D | camss.c | 1849 struct v4l2_mbus_config_mipi_csi2 *mipi_csi2; in camss_of_parse_endpoint_node() local 1860 mipi_csi2 = &vep.bus.mipi_csi2; in camss_of_parse_endpoint_node() 1861 lncfg->clk.pos = mipi_csi2->clock_lane; in camss_of_parse_endpoint_node() 1862 lncfg->clk.pol = mipi_csi2->lane_polarities[0]; in camss_of_parse_endpoint_node() 1863 lncfg->num_data = mipi_csi2->num_data_lanes; in camss_of_parse_endpoint_node() 1872 lncfg->data[i].pos = mipi_csi2->data_lanes[i]; in camss_of_parse_endpoint_node() 1873 lncfg->data[i].pol = mipi_csi2->lane_polarities[i + 1]; in camss_of_parse_endpoint_node()
|
/linux/drivers/media/platform/nxp/ |
H A D | imx8mq-mipi-csi2.c | 609 for (i = 0; i < vep.bus.mipi_csi2.num_data_lanes; ++i) { in imx8mq_mipi_csi_async_register() 610 if (vep.bus.mipi_csi2.data_lanes[i] != i + 1) { in imx8mq_mipi_csi_async_register() 618 state->bus = vep.bus.mipi_csi2; in imx8mq_mipi_csi_async_register()
|
H A D | imx-mipi-csis.c | 1309 for (i = 0; i < vep.bus.mipi_csi2.num_data_lanes; ++i) { in mipi_csis_async_register() 1310 if (vep.bus.mipi_csi2.data_lanes[i] != i + 1) { in mipi_csis_async_register() 1318 csis->bus = vep.bus.mipi_csi2; in mipi_csis_async_register()
|
/linux/drivers/media/platform/ti/omap3isp/ |
H A D | isp.c | 2086 buscfg->bus.csi2.lanecfg.clk.pos = vep->bus.mipi_csi2.clock_lane; in isp_parse_of_csi2_endpoint() 2088 vep->bus.mipi_csi2.lane_polarities[0]; in isp_parse_of_csi2_endpoint() 2093 buscfg->bus.csi2.num_data_lanes = vep->bus.mipi_csi2.num_data_lanes; in isp_parse_of_csi2_endpoint() 2097 vep->bus.mipi_csi2.data_lanes[i]; in isp_parse_of_csi2_endpoint() 2099 vep->bus.mipi_csi2.lane_polarities[i + 1]; in isp_parse_of_csi2_endpoint()
|
/linux/drivers/media/i2c/adv748x/ |
H A D | adv748x-csi2.c | 264 config->bus.mipi_csi2.num_data_lanes = tx->active_lanes; in adv748x_csi2_get_mbus_config()
|
/linux/include/video/ |
H A D | imx-ipu-v3.h | 207 void ipu_set_csi_src_mux(struct ipu_soc *ipu, int csi_id, bool mipi_csi2);
|