/linux-6.3-rc2/drivers/media/platform/ti/omap3isp/ |
A D | ispcsiphy.c | 169 unsigned int num_data_lanes, used_lanes = 0; in omap3isp_csiphy_config() local 176 num_data_lanes = 1; in omap3isp_csiphy_config() 179 num_data_lanes = buscfg->bus.csi2.num_data_lanes; in omap3isp_csiphy_config() 182 if (num_data_lanes > phy->num_data_lanes) in omap3isp_csiphy_config() 186 for (i = 0; i < num_data_lanes; i++) { in omap3isp_csiphy_config() 242 for (i = 0; i < num_data_lanes; i++) { in omap3isp_csiphy_config() 334 phy2->num_data_lanes = ISP_CSIPHY2_NUM_DATA_LANES; in omap3isp_csiphy_init() 344 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 | 120 u8 num_data_lanes; member
|
/linux-6.3-rc2/drivers/media/v4l2-core/ |
A D | v4l2-fwnode.c | 134 unsigned int num_data_lanes = 0; in v4l2_fwnode_endpoint_parse_csi2_bus() local 144 num_data_lanes = min_t(u32, bus->num_data_lanes, in v4l2_fwnode_endpoint_parse_csi2_bus() 151 for (i = 0; i < num_data_lanes; i++) { in v4l2_fwnode_endpoint_parse_csi2_bus() 163 num_data_lanes = in v4l2_fwnode_endpoint_parse_csi2_bus() 167 num_data_lanes); in v4l2_fwnode_endpoint_parse_csi2_bus() 176 for (i = 0; i < num_data_lanes; i++) { in v4l2_fwnode_endpoint_parse_csi2_bus() 193 1 + num_data_lanes, rval); in v4l2_fwnode_endpoint_parse_csi2_bus() 228 bus->num_data_lanes = num_data_lanes; in v4l2_fwnode_endpoint_parse_csi2_bus() 232 for (i = 0; i < num_data_lanes; i++) in v4l2_fwnode_endpoint_parse_csi2_bus() 236 for (i = 0; i < num_data_lanes; i++) in v4l2_fwnode_endpoint_parse_csi2_bus() [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/rcar-du/ |
A D | rzg2l_mipi_dsi.c | 45 unsigned int num_data_lanes; member 612 if (device->lanes > dsi->num_data_lanes) { in rzg2l_mipi_dsi_host_attach() 615 device->lanes, dsi->num_data_lanes); in rzg2l_mipi_dsi_host_attach() 700 unsigned int num_data_lanes; in rzg2l_mipi_dsi_probe() local 717 num_data_lanes = ret; in rzg2l_mipi_dsi_probe() 760 dsi->num_data_lanes = min(((txsetr >> 16) & 3) + 1, num_data_lanes); in rzg2l_mipi_dsi_probe()
|
A D | rcar_mipi_dsi.c | 75 unsigned int num_data_lanes; member 906 if (device->lanes > dsi->num_data_lanes) in rcar_mipi_dsi_host_attach() 957 dsi->num_data_lanes = ret; in rcar_mipi_dsi_parse_dt()
|
/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()
|
A D | imx8mq-mipi-csi2.c | 270 int lanes = state->bus.num_data_lanes; in imx8mq_mipi_csi_set_params() 317 state->bus.num_data_lanes * 2); in imx8mq_mipi_csi_calc_hs_settle() 655 for (i = 0; i < vep.bus.mipi_csi2.num_data_lanes; ++i) { in imx8mq_mipi_csi_async_register() 667 state->bus.num_data_lanes, in imx8mq_mipi_csi_async_register()
|
/linux-6.3-rc2/drivers/media/i2c/ |
A D | imx415.c | 367 unsigned int num_data_lanes; member 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() 1126 if (sensor->num_data_lanes != supported_modes[j].lanes) in imx415_parse_hw_config() 1160 inck, lane_rate, sensor->num_data_lanes); in imx415_parse_hw_config()
|
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() 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 | 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()
|
A D | og01a1b.c | 984 if (bus_cfg.bus.mipi_csi2.num_data_lanes != OG01A1B_DATA_LANES) { in og01a1b_check_hwcfg() 986 bus_cfg.bus.mipi_csi2.num_data_lanes); in og01a1b_check_hwcfg()
|
A D | imx219.c | 1405 if (ep_cfg.bus.mipi_csi2.num_data_lanes != 2 && in imx219_check_hwcfg() 1406 ep_cfg.bus.mipi_csi2.num_data_lanes != 4) { in imx219_check_hwcfg() 1410 imx219->lanes = ep_cfg.bus.mipi_csi2.num_data_lanes; in imx219_check_hwcfg()
|
/linux-6.3-rc2/drivers/staging/media/max96712/ |
A D | max96712.c | 140 for (i = 0; i < priv->mipi.num_data_lanes + 1; i++) in max96712_mipi_configure() 297 pixel_rate = MAX96712_DPLL_FREQ / priv->mipi.num_data_lanes * 1000000; in max96712_v4l2_register() 353 if (v4l2_ep.bus.mipi_csi2.num_data_lanes != 4) { in max96712_parse_dt()
|
/linux-6.3-rc2/drivers/media/platform/nxp/ |
A D | imx-mipi-csis.c | 552 mask = (1 << (csis->bus.num_data_lanes + 1)) - 1; in mipi_csis_system_enable() 602 csis->bus.num_data_lanes * 2); in mipi_csis_calculate_params() 647 int lanes = csis->bus.num_data_lanes; in mipi_csis_set_params() 1266 for (i = 0; i < vep.bus.mipi_csi2.num_data_lanes; ++i) { in mipi_csis_async_register() 1277 dev_dbg(csis->dev, "data lanes: %d\n", csis->bus.num_data_lanes); in mipi_csis_async_register() 1487 csis->bus.num_data_lanes, csis->clk_frequency); in mipi_csis_probe()
|
/linux-6.3-rc2/include/media/ |
A D | v4l2-mediabus.h | 89 unsigned char num_data_lanes; member
|
/linux-6.3-rc2/drivers/media/platform/ti/cal/ |
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-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()
|
/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()
|