Lines Matching refs:cdctl
921 u32 cdctl; in skl_get_cdclk() local
930 cdctl = intel_de_read(dev_priv, CDCLK_CTL); in skl_get_cdclk()
933 switch (cdctl & CDCLK_FREQ_SEL_MASK) { in skl_get_cdclk()
947 MISSING_CASE(cdctl & CDCLK_FREQ_SEL_MASK); in skl_get_cdclk()
951 switch (cdctl & CDCLK_FREQ_SEL_MASK) { in skl_get_cdclk()
965 MISSING_CASE(cdctl & CDCLK_FREQ_SEL_MASK); in skl_get_cdclk()
1145 u32 cdctl, expected; in skl_sanitize_cdclk() local
1169 cdctl = intel_de_read(dev_priv, CDCLK_CTL); in skl_sanitize_cdclk()
1170 expected = (cdctl & CDCLK_FREQ_SEL_MASK) | in skl_sanitize_cdclk()
1172 if (cdctl == expected) in skl_sanitize_cdclk()
1982 u32 cdctl, expected; in bxt_sanitize_cdclk() local
1998 cdctl = intel_de_read(dev_priv, CDCLK_CTL); in bxt_sanitize_cdclk()
2004 cdctl &= ~bxt_cdclk_cd2x_pipe(dev_priv, INVALID_PIPE); in bxt_sanitize_cdclk()
2035 if (cdctl == expected) in bxt_sanitize_cdclk()