/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() 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() 555 unsigned int lane = endpoint->bus.mipi_csi2.data_lanes[i]; in cal_camerarx_parse_dt() 572 endpoint->bus.mipi_csi2.clock_lane, data_lanes, in cal_camerarx_parse_dt() [all …]
|
/linux/drivers/media/i2c/ |
H A D | st-mipid02.c | 322 2 * ep->bus.mipi_csi2.num_data_lanes); in mipid02_configure_from_rx_speed() 339 bool *polarities = ep->bus.mipi_csi2.lane_polarities; in mipid02_configure_clk_lane() 342 if (ep->bus.mipi_csi2.clock_lane != 0) { in mipid02_configure_clk_lane() 389 bool are_lanes_swap = ep->bus.mipi_csi2.data_lanes[0] == 2; in mipid02_configure_from_rx() 390 bool *polarities = ep->bus.mipi_csi2.lane_polarities; in mipid02_configure_from_rx() 391 int nb = ep->bus.mipi_csi2.num_data_lanes; in mipid02_configure_from_rx() 738 if (ep.bus.mipi_csi2.num_data_lanes > 2) { in mipid02_parse_rx_ep() 740 ep.bus.mipi_csi2.num_data_lanes); in mipid02_parse_rx_ep()
|
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 898 struct v4l2_mbus_config_mipi_csi2 *mipi = &priv->mipi_csi2; in max96717_init_csi_lanes() 1014 num_data_lanes = vep.bus.mipi_csi2.num_data_lanes; in max96717_parse_dt() 1019 priv->mipi_csi2 = vep.bus.mipi_csi2; in max96717_parse_dt()
|
H A D | ov5670.c | 2101 &ov5670->endpoint.bus.mipi_csi2; in ov5670_init_controls() 2294 &ov5670->endpoint.bus.mipi_csi2; in ov5670_set_pad_format() 2379 &ov5670->endpoint.bus.mipi_csi2; in ov5670_mipi_configure() 2697 ov5670->endpoint.bus.mipi_csi2.num_data_lanes = 2; in ov5670_probe()
|
H A D | ov8856.c | 2316 if (bus_cfg.bus.mipi_csi2.num_data_lanes != 2 && in ov8856_get_hwcfg() 2317 bus_cfg.bus.mipi_csi2.num_data_lanes != 4) { in ov8856_get_hwcfg() 2319 bus_cfg.bus.mipi_csi2.num_data_lanes); in ov8856_get_hwcfg() 2326 if (bus_cfg.bus.mipi_csi2.num_data_lanes == 2) in ov8856_get_hwcfg()
|
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 | imx219.c | 1057 if (ep_cfg.bus.mipi_csi2.num_data_lanes != 2 && in imx219_check_hwcfg() 1058 ep_cfg.bus.mipi_csi2.num_data_lanes != 4) { in imx219_check_hwcfg() 1063 imx219->lanes = ep_cfg.bus.mipi_csi2.num_data_lanes; in imx219_check_hwcfg()
|
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()
|
/linux/drivers/staging/media/imx/ |
H A D | imx6-mipi-csi2.c | 329 if (mbus_config.bus.mipi_csi2.num_data_lanes > csi2->data_lanes) { in csi2_get_active_lanes() 332 mbus_config.bus.mipi_csi2.num_data_lanes); in csi2_get_active_lanes() 336 *lanes = mbus_config.bus.mipi_csi2.num_data_lanes; in csi2_get_active_lanes() 694 csi2->data_lanes = vep.bus.mipi_csi2.num_data_lanes; in csi2_async_register() 696 dev_dbg(csi2->dev, "data lanes: %d\n", vep.bus.mipi_csi2.num_data_lanes); in csi2_async_register() 697 dev_dbg(csi2->dev, "flags: 0x%08x\n", vep.bus.mipi_csi2.flags); in csi2_async_register()
|
/linux/drivers/media/platform/cadence/ |
H 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()
|
/linux/drivers/media/platform/qcom/camss/ |
H A D | camss.c | 1695 struct v4l2_mbus_config_mipi_csi2 *mipi_csi2; in camss_of_parse_endpoint_node() local 1706 mipi_csi2 = &vep.bus.mipi_csi2; in camss_of_parse_endpoint_node() 1707 lncfg->clk.pos = mipi_csi2->clock_lane; in camss_of_parse_endpoint_node() 1708 lncfg->clk.pol = mipi_csi2->lane_polarities[0]; in camss_of_parse_endpoint_node() 1709 lncfg->num_data = mipi_csi2->num_data_lanes; in camss_of_parse_endpoint_node() 1718 lncfg->data[i].pos = mipi_csi2->data_lanes[i]; in camss_of_parse_endpoint_node() 1719 lncfg->data[i].pol = mipi_csi2->lane_polarities[i + 1]; in camss_of_parse_endpoint_node()
|
/linux/include/media/ |
H A D | v4l2-fwnode.h | 48 struct v4l2_mbus_config_mipi_csi2 mipi_csi2; member
|
H A D | v4l2-mediabus.h | 168 struct v4l2_mbus_config_mipi_csi2 mipi_csi2; member
|
/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/staging/media/max96712/ |
H A D | max96712.c | 397 if (v4l2_ep.bus.mipi_csi2.num_data_lanes != supported_lanes) { in max96712_parse_dt() 403 priv->mipi = v4l2_ep.bus.mipi_csi2; in max96712_parse_dt()
|
/linux/Documentation/devicetree/bindings/media/ |
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 {
|
H A D | imx.txt | 24 mipi_csi2 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()
|
/linux/drivers/media/platform/sunxi/sun6i-mipi-csi2/ |
H A D | sun6i_mipi_csi2.c | 102 csi2_dev->bridge.endpoint.bus.mipi_csi2.num_data_lanes; in sun6i_mipi_csi2_configure() 182 csi2_dev->bridge.endpoint.bus.mipi_csi2.num_data_lanes; in sun6i_mipi_csi2_s_stream()
|
/linux/drivers/media/platform/rockchip/rkisp1/ |
H A D | rkisp1-dev.c | 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()
|
/linux/drivers/media/platform/sunxi/sun8i-a83t-mipi-csi2/ |
H A D | sun8i_a83t_mipi_csi2.c | 151 csi2_dev->bridge.endpoint.bus.mipi_csi2.num_data_lanes; in sun8i_a83t_mipi_csi2_configure() 214 csi2_dev->bridge.endpoint.bus.mipi_csi2.num_data_lanes; in sun8i_a83t_mipi_csi2_s_stream()
|
/linux/drivers/media/platform/renesas/ |
H A D | rcar-csi2.c | 808 if (mbus_config.bus.mipi_csi2.num_data_lanes > priv->lanes) { in rcsi2_get_active_lanes() 811 mbus_config.bus.mipi_csi2.num_data_lanes); in rcsi2_get_active_lanes() 815 *lanes = mbus_config.bus.mipi_csi2.num_data_lanes; in rcsi2_get_active_lanes() 1346 priv->lanes = vep->bus.mipi_csi2.num_data_lanes; in rcsi2_parse_v4l2() 1386 vep->bus.mipi_csi2.data_lanes[i] : i; in rcsi2_parse_v4l2()
|
/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()
|