Home
last modified time | relevance | path

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

123

/linux-5.19.10/drivers/media/platform/ti/omap3isp/
Dispcsiphy.c169 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()
Dispcsiphy.h34 u8 num_data_lanes; /* number of CSI2 Data Lanes supported */ member
Domap3isp.h120 u8 num_data_lanes; member
/linux-5.19.10/drivers/media/v4l2-core/
Dv4l2-fwnode.c132 unsigned int num_data_lanes = 0; in v4l2_fwnode_endpoint_parse_csi2_bus() local
142 num_data_lanes = min_t(u32, bus->num_data_lanes, in v4l2_fwnode_endpoint_parse_csi2_bus()
149 for (i = 0; i < num_data_lanes; i++) { in v4l2_fwnode_endpoint_parse_csi2_bus()
161 num_data_lanes = in v4l2_fwnode_endpoint_parse_csi2_bus()
165 num_data_lanes); in v4l2_fwnode_endpoint_parse_csi2_bus()
174 for (i = 0; i < num_data_lanes; i++) { in v4l2_fwnode_endpoint_parse_csi2_bus()
189 if (rval != 1 + num_data_lanes /* clock+data */) { in v4l2_fwnode_endpoint_parse_csi2_bus()
191 1 + num_data_lanes, rval); in v4l2_fwnode_endpoint_parse_csi2_bus()
226 bus->num_data_lanes = num_data_lanes; in v4l2_fwnode_endpoint_parse_csi2_bus()
230 for (i = 0; i < num_data_lanes; i++) in v4l2_fwnode_endpoint_parse_csi2_bus()
[all …]
/linux-5.19.10/drivers/staging/media/imx/
Dimx6-mipi-csi2.c328 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()
Dimx8mq-mipi-csi2.c270 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-5.19.10/drivers/staging/media/max96712/
Dmax96712.c140 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-5.19.10/drivers/media/platform/nxp/
Dimx-mipi-csis.c551 mask = (1 << (csis->bus.num_data_lanes + 1)) - 1; in mipi_csis_system_enable()
600 csis->bus.num_data_lanes * 2); in mipi_csis_calculate_params()
643 int lanes = csis->bus.num_data_lanes; in mipi_csis_set_params()
1274 for (i = 0; i < vep.bus.mipi_csi2.num_data_lanes; ++i) { in mipi_csis_async_register()
1285 dev_dbg(csis->dev, "data lanes: %d\n", csis->bus.num_data_lanes); in mipi_csis_async_register()
1488 csis->bus.num_data_lanes, csis->clk_frequency); in mipi_csis_probe()
/linux-5.19.10/include/media/
Dv4l2-mediabus.h88 unsigned char num_data_lanes; member
/linux-5.19.10/drivers/media/i2c/
Dst-mipid02.c378 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()
Dov8856.c2399 if (bus_cfg.bus.mipi_csi2.num_data_lanes != 2 && in ov8856_get_hwcfg()
2400 bus_cfg.bus.mipi_csi2.num_data_lanes != 4) { in ov8856_get_hwcfg()
2402 bus_cfg.bus.mipi_csi2.num_data_lanes); in ov8856_get_hwcfg()
2409 if (bus_cfg.bus.mipi_csi2.num_data_lanes == 2) in ov8856_get_hwcfg()
Dhi846.c2007 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()
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()
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()
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()
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()
Dhi556.c1070 if (bus_cfg.bus.mipi_csi2.num_data_lanes != 2) { in hi556_check_hwcfg()
1072 bus_cfg.bus.mipi_csi2.num_data_lanes); in hi556_check_hwcfg()
Dhi847.c2872 if (bus_cfg.bus.mipi_csi2.num_data_lanes != HI847_DATA_LANES) { in hi847_check_hwcfg()
2874 bus_cfg.bus.mipi_csi2.num_data_lanes); in hi847_check_hwcfg()
Dov5675.c1144 if (bus_cfg.bus.mipi_csi2.num_data_lanes != OV5675_DATA_LANES) { in ov5675_check_hwcfg()
1146 bus_cfg.bus.mipi_csi2.num_data_lanes); in ov5675_check_hwcfg()
/linux-5.19.10/drivers/gpu/drm/rcar-du/
Drcar_mipi_dsi.c48 unsigned int num_data_lanes; member
639 if (device->lanes > dsi->num_data_lanes) in rcar_mipi_dsi_host_attach()
701 dsi->num_data_lanes = ret; in rcar_mipi_dsi_parse_dt()
/linux-5.19.10/drivers/media/platform/ti/cal/
Dcal-camerarx.c51 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-5.19.10/drivers/media/platform/renesas/rcar-vin/
Drcar-csi2.c665 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-5.19.10/drivers/media/i2c/adv748x/
Dadv748x-csi2.c225 config->bus.mipi_csi2.num_data_lanes = tx->active_lanes; in adv748x_csi2_get_mbus_config()
/linux-5.19.10/drivers/media/platform/xilinx/
Dxilinx-csi2rxss.c933 vep.bus.mipi_csi2.num_data_lanes); in xcsi2rxss_parse_of()
935 xcsi2rxss->max_num_lanes = vep.bus.mipi_csi2.num_data_lanes; in xcsi2rxss_parse_of()

123