Home
last modified time | relevance | path

Searched refs:m_n (Results 1 – 9 of 9) sorted by relevance

/linux-6.6.21/drivers/gpu/drm/i915/display/
Dintel_display.h400 struct intel_link_m_n *m_n,
467 void intel_zero_m_n(struct intel_link_m_n *m_n);
469 const struct intel_link_m_n *m_n,
473 struct intel_link_m_n *m_n,
480 const struct intel_link_m_n *m_n);
483 const struct intel_link_m_n *m_n);
486 struct intel_link_m_n *m_n);
489 struct intel_link_m_n *m_n);
492 int intel_dotclock_calculate(int link_freq, const struct intel_link_m_n *m_n);
Dintel_pch_display.h39 struct intel_link_m_n *m_n);
41 struct intel_link_m_n *m_n);
Dintel_pch_display.c175 const struct intel_link_m_n *m_n) in intel_pch_transcoder_set_m1_n1() argument
180 intel_set_m_n(dev_priv, m_n, in intel_pch_transcoder_set_m1_n1()
186 const struct intel_link_m_n *m_n) in intel_pch_transcoder_set_m2_n2() argument
191 intel_set_m_n(dev_priv, m_n, in intel_pch_transcoder_set_m2_n2()
197 struct intel_link_m_n *m_n) in intel_pch_transcoder_get_m1_n1() argument
202 intel_get_m_n(dev_priv, m_n, in intel_pch_transcoder_get_m1_n1()
208 struct intel_link_m_n *m_n) in intel_pch_transcoder_get_m2_n2() argument
213 intel_get_m_n(dev_priv, m_n, in intel_pch_transcoder_get_m2_n2()
Dintel_crtc_state_dump.c32 const struct intel_link_m_n *m_n) in intel_dump_m_n_config() argument
39 m_n->data_m, m_n->data_n, in intel_dump_m_n_config()
40 m_n->link_m, m_n->link_n, m_n->tu); in intel_dump_m_n_config()
Dintel_display.c2382 struct intel_link_m_n *m_n, in intel_link_compute_m_n() argument
2397 m_n->tu = 64; in intel_link_compute_m_n()
2398 compute_m_n(&m_n->data_m, &m_n->data_n, in intel_link_compute_m_n()
2402 compute_m_n(&m_n->link_m, &m_n->link_n, in intel_link_compute_m_n()
2430 void intel_zero_m_n(struct intel_link_m_n *m_n) in intel_zero_m_n() argument
2433 memset(m_n, 0, sizeof(*m_n)); in intel_zero_m_n()
2434 m_n->tu = 1; in intel_zero_m_n()
2438 const struct intel_link_m_n *m_n, in intel_set_m_n() argument
2442 intel_de_write(i915, data_m_reg, TU_SIZE(m_n->tu) | m_n->data_m); in intel_set_m_n()
2443 intel_de_write(i915, data_n_reg, m_n->data_n); in intel_set_m_n()
[all …]
Dintel_drrs.c88 &crtc->drrs.m2_n2 : &crtc->drrs.m_n); in intel_drrs_set_refresh_rate_m_n()
156 crtc->drrs.m_n = crtc_state->dp_m_n; in intel_drrs_activate()
Dintel_display_types.h1478 struct intel_link_m_n m_n, m2_n2; member
/linux-6.6.21/drivers/gpu/drm/gma500/
Dcdv_intel_dp.c971 struct cdv_intel_dp_m_n *m_n) in cdv_intel_dp_compute_m_n() argument
973 m_n->tu = 64; in cdv_intel_dp_compute_m_n()
974 m_n->gmch_m = (pixel_clock * bpp + 7) >> 3; in cdv_intel_dp_compute_m_n()
975 m_n->gmch_n = link_clock * nlanes; in cdv_intel_dp_compute_m_n()
976 cdv_intel_reduce_ratio(&m_n->gmch_m, &m_n->gmch_n); in cdv_intel_dp_compute_m_n()
977 m_n->link_m = pixel_clock; in cdv_intel_dp_compute_m_n()
978 m_n->link_n = link_clock; in cdv_intel_dp_compute_m_n()
979 cdv_intel_reduce_ratio(&m_n->link_m, &m_n->link_n); in cdv_intel_dp_compute_m_n()
992 struct cdv_intel_dp_m_n m_n; in cdv_intel_dp_set_m_n() local
1023 mode->clock, adjusted_mode->clock, &m_n); in cdv_intel_dp_set_m_n()
[all …]
/linux-6.6.21/drivers/gpu/drm/hisilicon/kirin/
Ddw_drm_dsi.c131 u32 m_n = 0; in dsi_calc_phy_rate() local
161 m_n = (temp % (u64)1000000000) / (u64)100000000; in dsi_calc_phy_rate()
164 if (m_n * 6 >= 50) { in dsi_calc_phy_rate()
167 } else if (m_n * 6 >= 30) { in dsi_calc_phy_rate()
175 if (m_n * 6 >= 50) { in dsi_calc_phy_rate()
178 } else if (m_n * 6 >= 30) { in dsi_calc_phy_rate()
181 } else if (m_n * 6 >= 10) { in dsi_calc_phy_rate()