Searched refs:aud_ts (Results 1 – 1 of 1) sorted by relevance
/linux-6.6.21/drivers/gpu/drm/i915/display/ |
D | intel_audio.c | 984 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 986 aud_ts->m = 60; in get_aud_ts_cdclk_m_n() 987 aud_ts->n = cdclk * aud_ts->m / 24000; in get_aud_ts_cdclk_m_n() 992 struct aud_ts_cdclk_m_n aud_ts; in intel_audio_cdclk_change_post() local 995 get_aud_ts_cdclk_m_n(i915->display.cdclk.hw.ref, i915->display.cdclk.hw.cdclk, &aud_ts); in intel_audio_cdclk_change_post() 997 intel_de_write(i915, AUD_TS_CDCLK_N, aud_ts.n); in intel_audio_cdclk_change_post() 998 intel_de_write(i915, AUD_TS_CDCLK_M, aud_ts.m | AUD_TS_CDCLK_M_EN); in intel_audio_cdclk_change_post() 999 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()
|