Home
last modified time | relevance | path

Searched refs:mipi_csi2 (Results 1 – 25 of 45) sorted by relevance

12

/linux/drivers/media/platform/ti-vpe/
A Dcal-camerarx.c50 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 Dst-mipid02.c378 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 Dov8856.c2397 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 Dhi846.c2009 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 Dimx335.c815 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 Dimx412.c958 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 Dimx334.c821 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 Dov9282.c821 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 Dov5675.c1106 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 Dhi556.c1058 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 Dov2740.c1010 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 Dov13b10.c1345 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 Dcamss.c835 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 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()
A Dcdns-csi2rx.c392 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 Dv4l2-fwnode.h105 struct v4l2_fwnode_bus_mipi_csi2 mipi_csi2; member
/linux/drivers/staging/media/imx/
A Dimx6-mipi-csi2.c661 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 Dimx8mq-mipi-csi2.c657 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 Dimx7-mipi-csis.c1176 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 Drkisp1-dev.c284 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 Dimx.txt24 mipi_csi2 node
/linux/drivers/media/platform/omap3isp/
A Disp.c2091 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 Dxilinx-csi2rxss.c949 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 Dimx-ipu-v3.h207 void ipu_set_csi_src_mux(struct ipu_soc *ipu, int csi_id, bool mipi_csi2);
/linux/drivers/media/platform/rcar-vin/
A Drcar-csi2.c983 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()

Completed in 60 milliseconds

12