/linux/drivers/media/platform/omap3isp/ |
A D | ispcsiphy.c | 168 unsigned int num_data_lanes, used_lanes = 0; in omap3isp_csiphy_config() local 175 num_data_lanes = 1; in omap3isp_csiphy_config() 178 num_data_lanes = buscfg->bus.csi2.num_data_lanes; in omap3isp_csiphy_config() 181 if (num_data_lanes > phy->num_data_lanes) in omap3isp_csiphy_config() 185 for (i = 0; i < num_data_lanes; i++) { in omap3isp_csiphy_config() 241 for (i = 0; i < num_data_lanes; i++) { in omap3isp_csiphy_config() 333 phy2->num_data_lanes = ISP_CSIPHY2_NUM_DATA_LANES; in omap3isp_csiphy_init() 343 phy1->num_data_lanes = ISP_CSIPHY1_NUM_DATA_LANES; in omap3isp_csiphy_init()
|
A D | ispcsiphy.h | 34 u8 num_data_lanes; /* number of CSI2 Data Lanes supported */ member
|
A D | omap3isp.h | 118 u8 num_data_lanes; member
|
/linux/drivers/media/v4l2-core/ |
A D | v4l2-fwnode.c | 128 unsigned int num_data_lanes = 0; in v4l2_fwnode_endpoint_parse_csi2_bus() local 138 num_data_lanes = min_t(u32, bus->num_data_lanes, in v4l2_fwnode_endpoint_parse_csi2_bus() 145 for (i = 0; i < num_data_lanes; i++) { in v4l2_fwnode_endpoint_parse_csi2_bus() 157 num_data_lanes = in v4l2_fwnode_endpoint_parse_csi2_bus() 161 num_data_lanes); in v4l2_fwnode_endpoint_parse_csi2_bus() 170 for (i = 0; i < num_data_lanes; i++) { in v4l2_fwnode_endpoint_parse_csi2_bus() 187 1 + num_data_lanes, rval); in v4l2_fwnode_endpoint_parse_csi2_bus() 224 bus->num_data_lanes = num_data_lanes; in v4l2_fwnode_endpoint_parse_csi2_bus() 228 for (i = 0; i < num_data_lanes; i++) in v4l2_fwnode_endpoint_parse_csi2_bus() 232 for (i = 0; i < num_data_lanes; i++) in v4l2_fwnode_endpoint_parse_csi2_bus() [all …]
|
/linux/drivers/staging/media/imx/ |
A D | imx7-mipi-csis.c | 487 mask = (1 << (state->bus.num_data_lanes + 1)) - 1; in mipi_csis_system_enable() 518 state->bus.num_data_lanes * 2); in mipi_csis_calculate_params() 549 int lanes = state->bus.num_data_lanes; in mipi_csis_set_params() 1176 for (i = 0; i < vep.bus.mipi_csi2.num_data_lanes; ++i) { in mipi_csis_async_register() 1187 dev_dbg(state->dev, "data lanes: %d\n", state->bus.num_data_lanes); in mipi_csis_async_register() 1424 state->bus.num_data_lanes, state->clk_frequency); in mipi_csis_probe()
|
A D | imx8mq-mipi-csi2.c | 269 int lanes = state->bus.num_data_lanes; in imx8mq_mipi_csi_set_params() 316 state->bus.num_data_lanes * 2); in imx8mq_mipi_csi_calc_hs_settle() 657 for (i = 0; i < vep.bus.mipi_csi2.num_data_lanes; ++i) { in imx8mq_mipi_csi_async_register() 669 state->bus.num_data_lanes, in imx8mq_mipi_csi_async_register()
|
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()
|
/linux/include/media/ |
A D | v4l2-fwnode.h | 43 unsigned char num_data_lanes; member
|
/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() 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/ti-vpe/ |
A D | cal-camerarx.c | 51 u32 num_lanes = mipi_csi2->num_data_lanes; in cal_camerarx_get_ext_link_freq() 85 for (lane = 0; lane < mipi_csi2->num_data_lanes; lane++) { in cal_camerarx_lane_config() 548 for (i = 0; i < endpoint->bus.mipi_csi2.num_data_lanes; i++) { in cal_camerarx_parse_dt()
|
/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/drivers/gpu/drm/msm/dsi/ |
A D | dsi_host.c | 170 int num_data_lanes; member 1576 if (dsi->lanes > msm_host->num_data_lanes) in dsi_host_attach() 1662 msm_host->num_data_lanes = 4; in dsi_host_parse_lane_data() 1673 msm_host->num_data_lanes = num_lanes; in dsi_host_parse_lane_data()
|
/linux/drivers/media/platform/cadence/ |
A D | cdns-csi2rx.c | 394 csi2rx->num_lanes = v4l2_ep.bus.mipi_csi2.num_data_lanes; in csi2rx_parse_dt()
|
A D | cdns-csi2tx.c | 519 csi2tx->num_lanes = v4l2_ep.bus.mipi_csi2.num_data_lanes; in csi2tx_check_lanes()
|
/linux/drivers/media/platform/rockchip/rkisp1/ |
A D | rkisp1-dev.c | 285 rk_asd->lanes = vep.bus.mipi_csi2.num_data_lanes; in rkisp1_subdev_notifier()
|