Searched refs:aud_ts (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_audio.c | 904 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 906 aud_ts->m = 60; in get_aud_ts_cdclk_m_n() 907 aud_ts->n = cdclk * aud_ts->m / 24000; in get_aud_ts_cdclk_m_n() 912 struct aud_ts_cdclk_m_n aud_ts; in intel_audio_cdclk_change_post() local 915 get_aud_ts_cdclk_m_n(i915->display.cdclk.hw.ref, i915->display.cdclk.hw.cdclk, &aud_ts); in intel_audio_cdclk_change_post() 917 intel_de_write(i915, AUD_TS_CDCLK_N, aud_ts.n); in intel_audio_cdclk_change_post() 918 intel_de_write(i915, AUD_TS_CDCLK_M, aud_ts.m | AUD_TS_CDCLK_M_EN); in intel_audio_cdclk_change_post() 919 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()
|