Searched refs:aud_ts (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_audio.c | 887 static void get_aud_ts_cdclk_m_n(int refclk, int cdclk, struct aud_ts_cdclk_m_n *aud_ts) in get_aud_ts_cdclk_m_n() argument 889 aud_ts->m = 60; in get_aud_ts_cdclk_m_n() 890 aud_ts->n = cdclk * aud_ts->m / 24000; in get_aud_ts_cdclk_m_n() 895 struct aud_ts_cdclk_m_n aud_ts; in intel_audio_cdclk_change_post() local 898 get_aud_ts_cdclk_m_n(i915->display.cdclk.hw.ref, i915->display.cdclk.hw.cdclk, &aud_ts); in intel_audio_cdclk_change_post() 900 intel_de_write(i915, AUD_TS_CDCLK_N, aud_ts.n); in intel_audio_cdclk_change_post() 901 intel_de_write(i915, AUD_TS_CDCLK_M, aud_ts.m | AUD_TS_CDCLK_M_EN); in intel_audio_cdclk_change_post() 902 drm_dbg_kms(&i915->drm, "aud_ts_cdclk set to M=%u, N=%u\n", aud_ts.m, aud_ts.n); in intel_audio_cdclk_change_post()
|