Lines Matching refs:m_n
2382 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()
2444 intel_de_write(i915, link_m_reg, m_n->link_m); in intel_set_m_n()
2449 intel_de_write(i915, link_n_reg, m_n->link_n); in intel_set_m_n()
2463 const struct intel_link_m_n *m_n) in intel_cpu_transcoder_set_m1_n1() argument
2469 intel_set_m_n(dev_priv, m_n, in intel_cpu_transcoder_set_m1_n1()
2473 intel_set_m_n(dev_priv, m_n, in intel_cpu_transcoder_set_m1_n1()
2480 const struct intel_link_m_n *m_n) in intel_cpu_transcoder_set_m2_n2() argument
2487 intel_set_m_n(dev_priv, m_n, in intel_cpu_transcoder_set_m2_n2()
3209 struct intel_link_m_n *m_n, in intel_get_m_n() argument
3213 m_n->link_m = intel_de_read(i915, link_m_reg) & DATA_LINK_M_N_MASK; in intel_get_m_n()
3214 m_n->link_n = intel_de_read(i915, link_n_reg) & DATA_LINK_M_N_MASK; in intel_get_m_n()
3215 m_n->data_m = intel_de_read(i915, data_m_reg) & DATA_LINK_M_N_MASK; in intel_get_m_n()
3216 m_n->data_n = intel_de_read(i915, data_n_reg) & DATA_LINK_M_N_MASK; in intel_get_m_n()
3217 m_n->tu = REG_FIELD_GET(TU_SIZE_MASK, intel_de_read(i915, data_m_reg)) + 1; in intel_get_m_n()
3222 struct intel_link_m_n *m_n) in intel_cpu_transcoder_get_m1_n1() argument
3228 intel_get_m_n(dev_priv, m_n, in intel_cpu_transcoder_get_m1_n1()
3232 intel_get_m_n(dev_priv, m_n, in intel_cpu_transcoder_get_m1_n1()
3239 struct intel_link_m_n *m_n) in intel_cpu_transcoder_get_m2_n2() argument
3246 intel_get_m_n(dev_priv, m_n, in intel_cpu_transcoder_get_m2_n2()
3928 const struct intel_link_m_n *m_n) in intel_dotclock_calculate() argument
3940 if (!m_n->link_n) in intel_dotclock_calculate()
3943 return DIV_ROUND_UP_ULL(mul_u32_u32(m_n->link_m, link_freq), in intel_dotclock_calculate()
3944 m_n->link_n); in intel_dotclock_calculate()
4838 intel_compare_link_m_n(const struct intel_link_m_n *m_n, in intel_compare_link_m_n() argument
4841 return m_n->tu == m2_n2->tu && in intel_compare_link_m_n()
4842 m_n->data_m == m2_n2->data_m && in intel_compare_link_m_n()
4843 m_n->data_n == m2_n2->data_n && in intel_compare_link_m_n()
4844 m_n->link_m == m2_n2->link_m && in intel_compare_link_m_n()
4845 m_n->link_n == m2_n2->link_n; in intel_compare_link_m_n()