/linux-6.3-rc2/drivers/media/platform/ti/cal/ |
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() 79 struct v4l2_mbus_config_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-6.3-rc2/drivers/staging/media/imx/ |
A D | imx6-mipi-csi2.c | 328 if (mbus_config.bus.mipi_csi2.num_data_lanes > csi2->data_lanes) { in csi2_get_active_lanes() 331 mbus_config.bus.mipi_csi2.num_data_lanes); in csi2_get_active_lanes() 335 *lanes = mbus_config.bus.mipi_csi2.num_data_lanes; in csi2_get_active_lanes() 649 csi2->data_lanes = vep.bus.mipi_csi2.num_data_lanes; in csi2_async_register() 651 dev_dbg(csi2->dev, "data lanes: %d\n", vep.bus.mipi_csi2.num_data_lanes); in csi2_async_register() 652 dev_dbg(csi2->dev, "flags: 0x%08x\n", vep.bus.mipi_csi2.flags); in csi2_async_register()
|
A D | imx8mq-mipi-csi2.c | 655 for (i = 0; i < vep.bus.mipi_csi2.num_data_lanes; ++i) { in imx8mq_mipi_csi_async_register() 656 if (vep.bus.mipi_csi2.data_lanes[i] != i + 1) { in imx8mq_mipi_csi_async_register() 664 state->bus = vep.bus.mipi_csi2; in imx8mq_mipi_csi_async_register()
|
/linux-6.3-rc2/drivers/media/i2c/ |
A D | st-mipid02.c | 402 return pixel_clock * bpp / (2 * ep->bus.mipi_csi2.num_data_lanes); in mipid02_get_link_freq_from_cid_pixel_rate() 436 bool *polarities = ep->bus.mipi_csi2.lane_polarities; in mipid02_configure_clk_lane() 439 if (ep->bus.mipi_csi2.clock_lane != 0) { in mipid02_configure_clk_lane() 485 bool are_lanes_swap = ep->bus.mipi_csi2.data_lanes[0] == 2; in mipid02_configure_from_rx() 486 bool *polarities = ep->bus.mipi_csi2.lane_polarities; in mipid02_configure_from_rx() 487 int nb = ep->bus.mipi_csi2.num_data_lanes; in mipid02_configure_from_rx() 894 if (ep.bus.mipi_csi2.num_data_lanes > 2) { in mipid02_parse_rx_ep() 896 ep.bus.mipi_csi2.num_data_lanes); in mipid02_parse_rx_ep()
|
A D | ov8856.c | 2403 if (bus_cfg.bus.mipi_csi2.num_data_lanes != 2 && in ov8856_get_hwcfg() 2404 bus_cfg.bus.mipi_csi2.num_data_lanes != 4) { in ov8856_get_hwcfg() 2406 bus_cfg.bus.mipi_csi2.num_data_lanes); in ov8856_get_hwcfg() 2413 if (bus_cfg.bus.mipi_csi2.num_data_lanes == 2) in ov8856_get_hwcfg()
|
A D | imx415.c | 1094 switch (bus_cfg.bus.mipi_csi2.num_data_lanes) { in imx415_parse_hw_config() 1097 sensor->num_data_lanes = bus_cfg.bus.mipi_csi2.num_data_lanes; in imx415_parse_hw_config() 1102 bus_cfg.bus.mipi_csi2.num_data_lanes); in imx415_parse_hw_config()
|
A D | ov9282.c | 1165 bus_cfg.bus.mipi_csi2.flags & V4L2_MBUS_CSI2_NONCONTINUOUS_CLOCK; in ov9282_parse_hw_config() 1167 if (bus_cfg.bus.mipi_csi2.num_data_lanes != OV9282_NUM_DATA_LANES) { in ov9282_parse_hw_config() 1170 bus_cfg.bus.mipi_csi2.num_data_lanes); in ov9282_parse_hw_config()
|
A D | hi846.c | 2007 if (bus_cfg.bus.mipi_csi2.num_data_lanes != 2 && in hi846_parse_dt() 2008 bus_cfg.bus.mipi_csi2.num_data_lanes != 4) { in hi846_parse_dt() 2010 bus_cfg.bus.mipi_csi2.num_data_lanes); in hi846_parse_dt() 2015 hi846->nr_lanes = bus_cfg.bus.mipi_csi2.num_data_lanes; in hi846_parse_dt()
|
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 | 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 | 977 if (bus_cfg.bus.mipi_csi2.num_data_lanes != IMX412_NUM_DATA_LANES) { in imx412_parse_hw_config() 980 bus_cfg.bus.mipi_csi2.num_data_lanes); in imx412_parse_hw_config()
|
/linux-6.3-rc2/drivers/media/platform/qcom/camss/ |
A D | camss.c | 1038 struct v4l2_mbus_config_mipi_csi2 *mipi_csi2; in camss_of_parse_endpoint_node() local 1046 mipi_csi2 = &vep.bus.mipi_csi2; in camss_of_parse_endpoint_node() 1047 lncfg->clk.pos = mipi_csi2->clock_lane; in camss_of_parse_endpoint_node() 1048 lncfg->clk.pol = mipi_csi2->lane_polarities[0]; in camss_of_parse_endpoint_node() 1049 lncfg->num_data = mipi_csi2->num_data_lanes; in camss_of_parse_endpoint_node() 1058 lncfg->data[i].pos = mipi_csi2->data_lanes[i]; in camss_of_parse_endpoint_node() 1059 lncfg->data[i].pol = mipi_csi2->lane_polarities[i + 1]; in camss_of_parse_endpoint_node()
|
/linux-6.3-rc2/drivers/media/platform/cadence/ |
A D | cdns-csi2tx.c | 520 csi2tx->num_lanes = v4l2_ep.bus.mipi_csi2.num_data_lanes; in csi2tx_check_lanes() 529 if (v4l2_ep.bus.mipi_csi2.data_lanes[i] < 1) { in csi2tx_check_lanes() 531 i, v4l2_ep.bus.mipi_csi2.data_lanes[i]); in csi2tx_check_lanes() 537 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-6.3-rc2/include/media/ |
A D | v4l2-fwnode.h | 52 struct v4l2_mbus_config_mipi_csi2 mipi_csi2; member
|
A D | v4l2-mediabus.h | 168 struct v4l2_mbus_config_mipi_csi2 mipi_csi2; member
|
/linux-6.3-rc2/drivers/staging/media/max96712/ |
A D | max96712.c | 353 if (v4l2_ep.bus.mipi_csi2.num_data_lanes != 4) { in max96712_parse_dt() 358 priv->mipi = v4l2_ep.bus.mipi_csi2; in max96712_parse_dt()
|
/linux-6.3-rc2/Documentation/devicetree/bindings/media/ |
A D | allwinner,sun8i-a83t-mipi-csi2.yaml | 90 mipi_csi2: csi@1cb1000 {
|
A D | allwinner,sun6i-a31-mipi-csi2.yaml | 100 mipi_csi2: csi@1cb1000 {
|
A D | imx.txt | 24 mipi_csi2 node
|
/linux-6.3-rc2/drivers/media/platform/renesas/rcar-vin/ |
A D | rcar-csi2.c | 665 if (mbus_config.bus.mipi_csi2.num_data_lanes > priv->lanes) { in rcsi2_get_active_lanes() 668 mbus_config.bus.mipi_csi2.num_data_lanes); in rcsi2_get_active_lanes() 672 *lanes = mbus_config.bus.mipi_csi2.num_data_lanes; in rcsi2_get_active_lanes() 1024 priv->lanes = vep->bus.mipi_csi2.num_data_lanes; in rcsi2_parse_v4l2() 1033 vep->bus.mipi_csi2.data_lanes[i] : i; in rcsi2_parse_v4l2()
|
/linux-6.3-rc2/drivers/media/platform/rockchip/rkisp1/ |
A D | rkisp1-dev.c | 271 rk_asd->mbus_flags = vep.bus.mipi_csi2.flags; in rkisp1_subdev_notifier_register() 272 rk_asd->lanes = vep.bus.mipi_csi2.num_data_lanes; in rkisp1_subdev_notifier_register()
|
/linux-6.3-rc2/drivers/media/platform/sunxi/sun6i-mipi-csi2/ |
A D | sun6i_mipi_csi2.c | 103 csi2_dev->bridge.endpoint.bus.mipi_csi2.num_data_lanes; in sun6i_mipi_csi2_configure() 183 csi2_dev->bridge.endpoint.bus.mipi_csi2.num_data_lanes; in sun6i_mipi_csi2_s_stream()
|
/linux-6.3-rc2/drivers/media/i2c/adv748x/ |
A D | adv748x-csi2.c | 225 config->bus.mipi_csi2.num_data_lanes = tx->active_lanes; in adv748x_csi2_get_mbus_config()
|
/linux-6.3-rc2/drivers/media/platform/sunxi/sun8i-a83t-mipi-csi2/ |
A D | sun8i_a83t_mipi_csi2.c | 152 csi2_dev->bridge.endpoint.bus.mipi_csi2.num_data_lanes; in sun8i_a83t_mipi_csi2_configure() 215 csi2_dev->bridge.endpoint.bus.mipi_csi2.num_data_lanes; in sun8i_a83t_mipi_csi2_s_stream()
|