Home
last modified time | relevance | path

Searched refs:nlanes (Results 1 – 13 of 13) sorted by relevance

/openbmc/linux/drivers/media/i2c/
H A Dimx290.c233 u8 nlanes; member
443 if (imx290->nlanes == 2) in imx290_link_freqs_ptr()
451 if (imx290->nlanes == 2) in imx290_link_freqs_num()
552 if (imx290->nlanes == 2) in imx290_modes_ptr()
560 if (imx290->nlanes == 2) in imx290_modes_num()
648 cci_write(imx290->regmap, IMX290_PHY_LANE_NUM, imx290->nlanes - 1, in imx290_set_data_lanes()
650 cci_write(imx290->regmap, IMX290_CSI_LANE_MODE, imx290->nlanes - 1, in imx290_set_data_lanes()
1484 imx290->nlanes = ep.bus.mipi_csi2.num_data_lanes; in imx290_parse_dt()
1485 if (imx290->nlanes != 2 && imx290->nlanes != 4) { in imx290_parse_dt()
1486 dev_err(imx290->dev, "Invalid data lanes: %d\n", imx290->nlanes); in imx290_parse_dt()
[all …]
H A Dds90ub953.c1139 unsigned char nlanes; in ub953_parse_dt() local
1155 nlanes = vep.bus.mipi_csi2.num_data_lanes; in ub953_parse_dt()
1156 if (nlanes != 1 && nlanes != 2 && nlanes != 4) in ub953_parse_dt()
1158 "bad number of data-lanes: %u\n", nlanes); in ub953_parse_dt()
1160 priv->num_data_lanes = nlanes; in ub953_parse_dt()
H A Dov08d10.c543 u8 nlanes; member
639 u32 f_index, u8 nlanes) in to_rate() argument
641 u64 pixel_rate = link_freq_menu[f_index] * 2 * nlanes; in to_rate()
649 u32 f_index, u8 nlanes) in to_pixels_per_line() argument
651 u64 ppl = hts * to_rate(link_freq_menu, f_index, nlanes); in to_pixels_per_line()
H A Dov8856.c1445 u8 nlanes; member
1606 u32 f_index, u8 nlanes) in to_rate() argument
1608 u64 pixel_rate = link_freq_menu_items[f_index] * 2 * nlanes; in to_rate()
1616 u32 f_index, u8 nlanes) in to_pixels_per_line() argument
1618 u64 ppl = hts * to_rate(link_freq_menu_items, f_index, nlanes); in to_pixels_per_line()
H A Ds5k5baf.c283 u8 nlanes; member
765 state->nlanes, en_pkts, 1); in s5k5baf_hw_set_video_bus()
1854 state->nlanes = ep.bus.mipi_csi2.num_data_lanes; in s5k5baf_parse_device_node()
/openbmc/linux/drivers/gpu/drm/msm/dp/
H A Ddp_ctrl.c48 int nlanes; /* no.of.lanes */ member
187 int nlanes; member
298 int nlanes = in->nlanes; in dp_panel_update_tu_timings() local
318 tu->nlanes = in->nlanes; in dp_panel_update_tu_timings()
367 eoc_bytes = dsc_num_bytes % nlanes; in dp_panel_update_tu_timings()
368 tot_num_eoc_symbols = nlanes * dsc_num_slices; in dp_panel_update_tu_timings()
431 temp1_fp = drm_fixp_from_fraction(tu->nlanes, 1); in _tu_valid_boundary_calc()
517 temp = tu->i_upper_boundary_count * tu->nlanes; in _tu_valid_boundary_calc()
641 temp1_fp = drm_fixp_from_fraction(tu->nlanes, 1); in _dp_ctrl_calc_tu()
662 temp1_fp = drm_fixp_from_fraction(tu->nlanes, 1); in _dp_ctrl_calc_tu()
[all …]
/openbmc/linux/drivers/gpu/drm/bridge/cadence/
H A Dcdns-dsi-core.c570 unsigned int nlanes = output->dev->lanes; in cdns_dsi_check_conf() local
579 nlanes, phy_cfg); in cdns_dsi_check_conf()
599 mode_to_dpi_hfp(mode, mode_valid_check) * nlanes < in cdns_dsi_check_conf()
765 int nlanes; in cdns_dsi_bridge_enable() local
774 nlanes = output->dev->lanes; in cdns_dsi_bridge_enable()
807 tmp = DIV_ROUND_UP(dsi_cfg.htotal, nlanes) - in cdns_dsi_bridge_enable()
808 DIV_ROUND_UP(dsi_cfg.hsa, nlanes); in cdns_dsi_bridge_enable()
811 tmp -= DIV_ROUND_UP(DSI_EOT_PKT_SIZE, nlanes); in cdns_dsi_bridge_enable()
H A Dcdns-mhdp8546-core.c494 int cdns_mhdp_adjust_lt(struct cdns_mhdp_device *mhdp, unsigned int nlanes, in cdns_mhdp_adjust_lt() argument
503 if (nlanes != 4 && nlanes != 2 && nlanes != 1) { in cdns_mhdp_adjust_lt()
504 dev_err(mhdp->dev, "invalid number of lanes: %u\n", nlanes); in cdns_mhdp_adjust_lt()
509 payload[0] = nlanes; in cdns_mhdp_adjust_lt()
511 memcpy(payload + 3, lanes_data, nlanes); in cdns_mhdp_adjust_lt()
/openbmc/linux/drivers/phy/cadence/
H A Dcdns-dphy.c82 unsigned int nlanes; member
/openbmc/linux/Documentation/driver-api/nvdimm/
H A Dbtt.rst158 concurrently, 'nlanes' is the number of IOs the BTT device as a whole can
161 nlanes = min(nfree, num_cpus)
/openbmc/linux/drivers/gpu/drm/i915/display/
H A Dintel_display.h398 void intel_link_compute_m_n(u16 bpp, int nlanes,
H A Dintel_display.c2380 intel_link_compute_m_n(u16 bits_per_pixel, int nlanes, in intel_link_compute_m_n() argument
2399 data_clock, link_clock * nlanes * 8, in intel_link_compute_m_n()
/openbmc/linux/drivers/gpu/drm/gma500/
H A Dcdv_intel_dp.c968 int nlanes, in cdv_intel_dp_compute_m_n() argument
975 m_n->gmch_n = link_clock * nlanes; in cdv_intel_dp_compute_m_n()