Home
last modified time | relevance | path

Searched refs:num_data_lanes (Results 1 – 25 of 70) sorted by relevance

123

/linux-6.6.21/drivers/media/platform/ti/omap3isp/
Dispcsiphy.c169 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()
Dispcsiphy.h34 u8 num_data_lanes; /* number of CSI2 Data Lanes supported */ member
Domap3isp.h120 u8 num_data_lanes; member
/linux-6.6.21/drivers/media/v4l2-core/
Dv4l2-fwnode.c134 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/
Drzg2l_mipi_dsi.c44 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()
Drcar_mipi_dsi.c74 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/
Dimx415.c367 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()
Dst-mipid02.c402 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()
Dov5670.c2129 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()
Dov8856.c2363 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()
Dds90ub953.c150 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()
Dhi846.c2013 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()
Dimx219.c1201 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()
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()
Dimx412.c977 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()
Dog01a1b.c984 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/
Dmax96712.c149 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/
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()
/linux-6.6.21/drivers/media/platform/nxp/
Dimx8mq-mipi-csi2.c249 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()
Dimx-mipi-csis.c551 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/
Dv4l2-mediabus.h89 unsigned char num_data_lanes; member
/linux-6.6.21/drivers/media/platform/ti/cal/
Dcal-camerarx.c51 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/
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.6.21/drivers/media/i2c/adv748x/
Dadv748x-csi2.c225 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/
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()

123