/linux/drivers/media/platform/ti-vpe/ |
A D | cal-camerarx.c | 50 struct v4l2_fwnode_bus_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() 79 struct v4l2_fwnode_bus_mipi_csi2 *mipi_csi2 = in cal_camerarx_lane_config() local 80 &phy->endpoint.bus.mipi_csi2; in cal_camerarx_lane_config() 83 cal_set_field(&val, mipi_csi2->clock_lane + 1, lane_mask); in cal_camerarx_lane_config() 85 for (lane = 0; lane < mipi_csi2->num_data_lanes; lane++) { in cal_camerarx_lane_config() 92 cal_set_field(&val, mipi_csi2->data_lanes[lane] + 1, lane_mask); in cal_camerarx_lane_config() 93 cal_set_field(&val, mipi_csi2->lane_polarities[lane + 1], in cal_camerarx_lane_config() 549 unsigned int lane = endpoint->bus.mipi_csi2.data_lanes[i]; in cal_camerarx_parse_dt() 566 endpoint->bus.mipi_csi2.clock_lane, data_lanes, in cal_camerarx_parse_dt() [all …]
|
/linux/drivers/media/i2c/ |
A D | st-mipid02.c | 378 return pixel_clock * bpp / (2 * ep->bus.mipi_csi2.num_data_lanes); in mipid02_get_link_freq_from_cid_pixel_rate() 412 bool *polarities = ep->bus.mipi_csi2.lane_polarities; in mipid02_configure_clk_lane() 415 if (ep->bus.mipi_csi2.clock_lane != 0) { in mipid02_configure_clk_lane() 461 bool are_lanes_swap = ep->bus.mipi_csi2.data_lanes[0] == 2; in mipid02_configure_from_rx() 462 bool *polarities = ep->bus.mipi_csi2.lane_polarities; in mipid02_configure_from_rx() 463 int nb = ep->bus.mipi_csi2.num_data_lanes; in mipid02_configure_from_rx() 868 if (ep.bus.mipi_csi2.num_data_lanes > 2) { in mipid02_parse_rx_ep() 870 ep.bus.mipi_csi2.num_data_lanes); in mipid02_parse_rx_ep()
|
A D | ov8856.c | 2397 if (bus_cfg.bus.mipi_csi2.num_data_lanes != 2 && in ov8856_get_hwcfg() 2398 bus_cfg.bus.mipi_csi2.num_data_lanes != 4) { in ov8856_get_hwcfg() 2400 bus_cfg.bus.mipi_csi2.num_data_lanes); in ov8856_get_hwcfg() 2407 if (bus_cfg.bus.mipi_csi2.num_data_lanes == 2) in ov8856_get_hwcfg()
|
A D | hi846.c | 2009 if (bus_cfg.bus.mipi_csi2.num_data_lanes != 2 && in hi846_parse_dt() 2010 bus_cfg.bus.mipi_csi2.num_data_lanes != 4) { in hi846_parse_dt() 2012 bus_cfg.bus.mipi_csi2.num_data_lanes); in hi846_parse_dt() 2017 hi846->nr_lanes = bus_cfg.bus.mipi_csi2.num_data_lanes; in hi846_parse_dt()
|
A D | imx335.c | 815 if (bus_cfg.bus.mipi_csi2.num_data_lanes != IMX335_NUM_DATA_LANES) { in imx335_parse_hw_config() 818 bus_cfg.bus.mipi_csi2.num_data_lanes); in imx335_parse_hw_config()
|
A D | imx412.c | 958 if (bus_cfg.bus.mipi_csi2.num_data_lanes != IMX412_NUM_DATA_LANES) { in imx412_parse_hw_config() 961 bus_cfg.bus.mipi_csi2.num_data_lanes); in imx412_parse_hw_config()
|
A D | imx334.c | 821 if (bus_cfg.bus.mipi_csi2.num_data_lanes != IMX334_NUM_DATA_LANES) { in imx334_parse_hw_config() 824 bus_cfg.bus.mipi_csi2.num_data_lanes); in imx334_parse_hw_config()
|
A D | ov9282.c | 821 if (bus_cfg.bus.mipi_csi2.num_data_lanes != OV9282_NUM_DATA_LANES) { in ov9282_parse_hw_config() 824 bus_cfg.bus.mipi_csi2.num_data_lanes); in ov9282_parse_hw_config()
|
A D | ov5675.c | 1106 if (bus_cfg.bus.mipi_csi2.num_data_lanes != OV5675_DATA_LANES) { in ov5675_check_hwcfg() 1108 bus_cfg.bus.mipi_csi2.num_data_lanes); in ov5675_check_hwcfg()
|
A D | hi556.c | 1058 if (bus_cfg.bus.mipi_csi2.num_data_lanes != 2) { in hi556_check_hwcfg() 1060 bus_cfg.bus.mipi_csi2.num_data_lanes); in hi556_check_hwcfg()
|
A D | ov2740.c | 1010 if (bus_cfg.bus.mipi_csi2.num_data_lanes != OV2740_DATA_LANES) { in ov2740_check_hwcfg() 1012 bus_cfg.bus.mipi_csi2.num_data_lanes); in ov2740_check_hwcfg()
|
A D | ov13b10.c | 1345 if (bus_cfg.bus.mipi_csi2.num_data_lanes != OV13B10_DATA_LANES) { in ov13b10_check_hwcfg() 1347 bus_cfg.bus.mipi_csi2.num_data_lanes); in ov13b10_check_hwcfg()
|
/linux/drivers/media/platform/qcom/camss/ |
A D | camss.c | 835 struct v4l2_fwnode_bus_mipi_csi2 *mipi_csi2; in camss_of_parse_endpoint_node() local 843 mipi_csi2 = &vep.bus.mipi_csi2; in camss_of_parse_endpoint_node() 844 lncfg->clk.pos = mipi_csi2->clock_lane; in camss_of_parse_endpoint_node() 845 lncfg->clk.pol = mipi_csi2->lane_polarities[0]; in camss_of_parse_endpoint_node() 846 lncfg->num_data = mipi_csi2->num_data_lanes; in camss_of_parse_endpoint_node() 855 lncfg->data[i].pos = mipi_csi2->data_lanes[i]; in camss_of_parse_endpoint_node() 856 lncfg->data[i].pol = mipi_csi2->lane_polarities[i + 1]; in camss_of_parse_endpoint_node()
|
/linux/drivers/media/platform/cadence/ |
A D | cdns-csi2tx.c | 519 csi2tx->num_lanes = v4l2_ep.bus.mipi_csi2.num_data_lanes; in csi2tx_check_lanes() 528 if (v4l2_ep.bus.mipi_csi2.data_lanes[i] < 1) { in csi2tx_check_lanes() 530 i, v4l2_ep.bus.mipi_csi2.data_lanes[i]); in csi2tx_check_lanes() 536 memcpy(csi2tx->lanes, v4l2_ep.bus.mipi_csi2.data_lanes, in csi2tx_check_lanes()
|
A D | cdns-csi2rx.c | 392 memcpy(csi2rx->lanes, v4l2_ep.bus.mipi_csi2.data_lanes, in csi2rx_parse_dt() 394 csi2rx->num_lanes = v4l2_ep.bus.mipi_csi2.num_data_lanes; in csi2rx_parse_dt()
|
/linux/include/media/ |
A D | v4l2-fwnode.h | 105 struct v4l2_fwnode_bus_mipi_csi2 mipi_csi2; member
|
/linux/drivers/staging/media/imx/ |
A D | imx6-mipi-csi2.c | 661 csi2->data_lanes = vep.bus.mipi_csi2.num_data_lanes; in csi2_async_register() 663 dev_dbg(csi2->dev, "data lanes: %d\n", vep.bus.mipi_csi2.num_data_lanes); in csi2_async_register() 664 dev_dbg(csi2->dev, "flags: 0x%08x\n", vep.bus.mipi_csi2.flags); in csi2_async_register()
|
A D | imx8mq-mipi-csi2.c | 657 for (i = 0; i < vep.bus.mipi_csi2.num_data_lanes; ++i) { in imx8mq_mipi_csi_async_register() 658 if (vep.bus.mipi_csi2.data_lanes[i] != i + 1) { in imx8mq_mipi_csi_async_register() 666 state->bus = vep.bus.mipi_csi2; in imx8mq_mipi_csi_async_register()
|
A D | imx7-mipi-csis.c | 1176 for (i = 0; i < vep.bus.mipi_csi2.num_data_lanes; ++i) { in mipi_csis_async_register() 1177 if (vep.bus.mipi_csi2.data_lanes[i] != i + 1) { in mipi_csis_async_register() 1185 state->bus = vep.bus.mipi_csi2; in mipi_csis_async_register()
|
/linux/drivers/media/platform/rockchip/rkisp1/ |
A D | rkisp1-dev.c | 284 rk_asd->mbus_flags = vep.bus.mipi_csi2.flags; in rkisp1_subdev_notifier() 285 rk_asd->lanes = vep.bus.mipi_csi2.num_data_lanes; in rkisp1_subdev_notifier()
|
/linux/Documentation/devicetree/bindings/media/ |
A D | imx.txt | 24 mipi_csi2 node
|
/linux/drivers/media/platform/omap3isp/ |
A D | isp.c | 2091 buscfg->bus.csi2.lanecfg.clk.pos = vep->bus.mipi_csi2.clock_lane; in isp_parse_of_csi2_endpoint() 2093 vep->bus.mipi_csi2.lane_polarities[0]; in isp_parse_of_csi2_endpoint() 2098 buscfg->bus.csi2.num_data_lanes = vep->bus.mipi_csi2.num_data_lanes; in isp_parse_of_csi2_endpoint() 2102 vep->bus.mipi_csi2.data_lanes[i]; in isp_parse_of_csi2_endpoint() 2104 vep->bus.mipi_csi2.lane_polarities[i + 1]; in isp_parse_of_csi2_endpoint()
|
/linux/drivers/media/platform/xilinx/ |
A D | xilinx-csi2rxss.c | 949 vep.bus.mipi_csi2.num_data_lanes); in xcsi2rxss_parse_of() 951 xcsi2rxss->max_num_lanes = vep.bus.mipi_csi2.num_data_lanes; in xcsi2rxss_parse_of()
|
/linux/include/video/ |
A D | imx-ipu-v3.h | 207 void ipu_set_csi_src_mux(struct ipu_soc *ipu, int csi_id, bool mipi_csi2);
|
/linux/drivers/media/platform/rcar-vin/ |
A D | rcar-csi2.c | 983 priv->lanes = vep->bus.mipi_csi2.num_data_lanes; in rcsi2_parse_v4l2() 992 vep->bus.mipi_csi2.data_lanes[i] : i; in rcsi2_parse_v4l2()
|