Home
last modified time | relevance | path

Searched full:mipi_csi2 (Results 1 – 25 of 84) sorted by relevance

1234

/linux-6.12.1/drivers/media/platform/ti/cal/
Dcal-camerarx.c50 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-6.12.1/drivers/media/i2c/
Dst-mipid02.c322 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()
Dmax96714.c112 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()
Dmax96717.c123 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()
Dtc358746.c486 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()
Dimx219.c1057 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()
Dtc358743.c1627 cfg->bus.mipi_csi2.flags = 0; in tc358743_get_mbus_config()
1628 cfg->bus.mipi_csi2.num_data_lanes = state->csi_lanes_in_use; in tc358743_get_mbus_config()
1920 endpoint.bus.mipi_csi2.num_data_lanes == 0 || in tc358743_probe_of()
1927 if (endpoint.bus.mipi_csi2.num_data_lanes > 4) { in tc358743_probe_of()
1933 state->bus = endpoint.bus.mipi_csi2; in tc358743_probe_of()
Dov9282.c1156 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()
Dimx258.c1433 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()
/linux-6.12.1/drivers/media/platform/rockchip/rkisp1/
Drkisp1-dev.c211 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-6.12.1/drivers/staging/media/imx/
Dimx6-mipi-csi2.c329 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-6.12.1/drivers/media/platform/cadence/
Dcdns-csi2tx.c519 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()
Dcdns-csi2rx.c635 memcpy(csi2rx->lanes, v4l2_ep.bus.mipi_csi2.data_lanes, in csi2rx_parse_dt()
637 csi2rx->num_lanes = v4l2_ep.bus.mipi_csi2.num_data_lanes; in csi2rx_parse_dt()
/linux-6.12.1/include/media/
Dv4l2-mediabus.h159 * @bus.mipi_csi2: embedded &struct v4l2_mbus_config_mipi_csi2.
168 struct v4l2_mbus_config_mipi_csi2 mipi_csi2; member
Dv4l2-fwnode.h36 * @bus.mipi_csi2: embedded &struct v4l2_mbus_config_mipi_csi2.
48 struct v4l2_mbus_config_mipi_csi2 mipi_csi2; member
/linux-6.12.1/Documentation/devicetree/bindings/media/
Dimx.txt24 mipi_csi2 node
Dallwinner,sun8i-a83t-mipi-csi2.yaml90 mipi_csi2: csi@1cb1000 {
Dallwinner,sun6i-a31-mipi-csi2.yaml100 mipi_csi2: csi@1cb1000 {
/linux-6.12.1/drivers/media/pci/intel/ivsc/
Dmei_csi.c621 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-6.12.1/drivers/staging/media/max96712/
Dmax96712.c397 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-6.12.1/drivers/media/platform/qcom/camss/
Dcamss.c1695 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-6.12.1/drivers/media/platform/nxp/
Dimx8mq-mipi-csi2.c609 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-6.12.1/drivers/media/platform/sunxi/sun6i-mipi-csi2/
Dsun6i_mipi_csi2.c102 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-6.12.1/drivers/media/platform/sunxi/sun8i-a83t-mipi-csi2/
Dsun8i_a83t_mipi_csi2.c151 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-6.12.1/drivers/media/i2c/adv748x/
Dadv748x-csi2.c264 config->bus.mipi_csi2.num_data_lanes = tx->active_lanes; in adv748x_csi2_get_mbus_config()

1234