/linux-6.6.21/drivers/media/platform/ti/omap3isp/ |
D | ispcsiphy.c | 169 unsigned int num_data_lanes, used_lanes = 0; in omap3isp_csiphy_config() local 180 num_data_lanes = 1; in omap3isp_csiphy_config() 183 num_data_lanes = buscfg->bus.csi2.num_data_lanes; in omap3isp_csiphy_config() 186 if (num_data_lanes > phy->num_data_lanes) in omap3isp_csiphy_config() 190 for (i = 0; i < num_data_lanes; i++) { in omap3isp_csiphy_config() 246 for (i = 0; i < num_data_lanes; i++) { in omap3isp_csiphy_config() 343 phy2->num_data_lanes = ISP_CSIPHY2_NUM_DATA_LANES; in omap3isp_csiphy_init() 353 phy1->num_data_lanes = ISP_CSIPHY1_NUM_DATA_LANES; in omap3isp_csiphy_init()
|
D | ispcsiphy.h | 34 u8 num_data_lanes; /* number of CSI2 Data Lanes supported */ member
|
D | omap3isp.h | 120 u8 num_data_lanes; member
|
/linux-6.6.21/drivers/media/v4l2-core/ |
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() 191 if (rval != 1 + num_data_lanes /* clock+data */) { 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() [all …]
|
/linux-6.6.21/drivers/gpu/drm/renesas/rcar-du/ |
D | rzg2l_mipi_dsi.c | 44 unsigned int num_data_lanes; member 611 if (device->lanes > dsi->num_data_lanes) { in rzg2l_mipi_dsi_host_attach() 614 device->lanes, dsi->num_data_lanes); in rzg2l_mipi_dsi_host_attach() 699 unsigned int num_data_lanes; in rzg2l_mipi_dsi_probe() local 716 num_data_lanes = ret; in rzg2l_mipi_dsi_probe() 759 dsi->num_data_lanes = min(((txsetr >> 16) & 3) + 1, num_data_lanes); in rzg2l_mipi_dsi_probe()
|
D | rcar_mipi_dsi.c | 74 unsigned int num_data_lanes; member 905 if (device->lanes > dsi->num_data_lanes) in rcar_mipi_dsi_host_attach() 956 dsi->num_data_lanes = ret; in rcar_mipi_dsi_parse_dt()
|
/linux-6.6.21/drivers/media/i2c/ |
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()
|
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() 919 if (ep.bus.mipi_csi2.num_data_lanes > 2) { in mipid02_parse_rx_ep() 921 ep.bus.mipi_csi2.num_data_lanes); in mipid02_parse_rx_ep()
|
D | ov5670.c | 2129 lanes_count = bus_mipi_csi2->num_data_lanes; in ov5670_init_controls() 2320 lanes_count = bus_mipi_csi2->num_data_lanes; in ov5670_set_pad_format() 2383 unsigned int lanes_count = bus_mipi_csi2->num_data_lanes; in ov5670_mipi_configure() 2727 ov5670->endpoint.bus.mipi_csi2.num_data_lanes = 2; in ov5670_probe()
|
D | ov8856.c | 2363 if (bus_cfg.bus.mipi_csi2.num_data_lanes != 2 && in ov8856_get_hwcfg() 2364 bus_cfg.bus.mipi_csi2.num_data_lanes != 4) { in ov8856_get_hwcfg() 2366 bus_cfg.bus.mipi_csi2.num_data_lanes); in ov8856_get_hwcfg() 2373 if (bus_cfg.bus.mipi_csi2.num_data_lanes == 2) in ov8856_get_hwcfg()
|
D | ds90ub953.c | 150 u32 num_data_lanes; member 1155 nlanes = vep.bus.mipi_csi2.num_data_lanes; in ub953_parse_dt() 1160 priv->num_data_lanes = nlanes; in ub953_parse_dt() 1234 ((priv->num_data_lanes - 1) << UB953_REG_GENERAL_CFG_CSI_LANE_SEL_SHIFT) | in ub953_hw_init()
|
D | hi846.c | 2013 if (bus_cfg.bus.mipi_csi2.num_data_lanes != 2 && in hi846_parse_dt() 2014 bus_cfg.bus.mipi_csi2.num_data_lanes != 4) { in hi846_parse_dt() 2016 bus_cfg.bus.mipi_csi2.num_data_lanes); in hi846_parse_dt() 2021 hi846->nr_lanes = bus_cfg.bus.mipi_csi2.num_data_lanes; in hi846_parse_dt()
|
D | imx219.c | 1201 if (ep_cfg.bus.mipi_csi2.num_data_lanes != 2 && in imx219_check_hwcfg() 1202 ep_cfg.bus.mipi_csi2.num_data_lanes != 4) { in imx219_check_hwcfg() 1206 imx219->lanes = ep_cfg.bus.mipi_csi2.num_data_lanes; in imx219_check_hwcfg()
|
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()
|
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()
|
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()
|
/linux-6.6.21/drivers/staging/media/max96712/ |
D | max96712.c | 149 for (i = 0; i < priv->mipi.num_data_lanes + 1; i++) in max96712_mipi_configure() 306 pixel_rate = MAX96712_DPLL_FREQ / priv->mipi.num_data_lanes * 1000000; in max96712_v4l2_register() 378 if (v4l2_ep.bus.mipi_csi2.num_data_lanes != supported_lanes) { in max96712_parse_dt()
|
/linux-6.6.21/drivers/staging/media/imx/ |
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()
|
/linux-6.6.21/drivers/media/platform/nxp/ |
D | imx8mq-mipi-csi2.c | 249 int lanes = state->bus.num_data_lanes; in imx8mq_mipi_csi_set_params() 304 state->bus.num_data_lanes * 2); in imx8mq_mipi_csi_calc_hs_settle() 605 for (i = 0; i < vep.bus.mipi_csi2.num_data_lanes; ++i) { in imx8mq_mipi_csi_async_register() 617 state->bus.num_data_lanes, in imx8mq_mipi_csi_async_register()
|
D | imx-mipi-csis.c | 551 mask = (1 << (csis->bus.num_data_lanes + 1)) - 1; in mipi_csis_system_enable() 601 csis->bus.num_data_lanes * 2); in mipi_csis_calculate_params() 646 int lanes = csis->bus.num_data_lanes; in mipi_csis_set_params() 1265 for (i = 0; i < vep.bus.mipi_csi2.num_data_lanes; ++i) { in mipi_csis_async_register() 1276 dev_dbg(csis->dev, "data lanes: %d\n", csis->bus.num_data_lanes); in mipi_csis_async_register() 1473 csis->bus.num_data_lanes, csis->clk_frequency); in mipi_csis_probe()
|
/linux-6.6.21/include/media/ |
D | v4l2-mediabus.h | 89 unsigned char num_data_lanes; member
|
/linux-6.6.21/drivers/media/platform/ti/cal/ |
D | cal-camerarx.c | 51 u32 num_lanes = mipi_csi2->num_data_lanes; in cal_camerarx_get_ext_link_freq() 91 for (lane = 0; lane < mipi_csi2->num_data_lanes; lane++) { in cal_camerarx_lane_config() 554 for (i = 0; i < endpoint->bus.mipi_csi2.num_data_lanes; i++) { in cal_camerarx_parse_dt()
|
/linux-6.6.21/drivers/media/platform/sunxi/sun6i-mipi-csi2/ |
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-6.6.21/drivers/media/i2c/adv748x/ |
D | adv748x-csi2.c | 225 config->bus.mipi_csi2.num_data_lanes = tx->active_lanes; in adv748x_csi2_get_mbus_config()
|
/linux-6.6.21/drivers/media/platform/sunxi/sun8i-a83t-mipi-csi2/ |
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()
|