Home
last modified time | relevance | path

Searched refs:cr1 (Results 1 – 2 of 2) sorted by relevance

/sound/soc/stm/
Dstm32_sai_sub.c338 int ret, cr1, mask; in stm32_sai_set_clk_div() local
346 cr1 = SAI_XCR1_MCKDIV_SET(div); in stm32_sai_set_clk_div()
347 ret = stm32_sai_sub_reg_up(sai, STM_SAI_CR1_REGX, mask, cr1); in stm32_sai_set_clk_div()
646 int cr1, frcr = 0; in stm32_sai_set_dai_fmt() local
653 cr1 = SAI_XCR1_NODIV; in stm32_sai_set_dai_fmt()
658 cr1 |= SAI_XCR1_PRTCFG_SET(SAI_SPDIF_PROTOCOL); in stm32_sai_set_dai_fmt()
662 cr1 |= SAI_XCR1_PRTCFG_SET(SAI_FREE_PROTOCOL); in stm32_sai_set_dai_fmt()
667 cr1 |= SAI_XCR1_CKSTR; in stm32_sai_set_dai_fmt()
699 cr1 ^= SAI_XCR1_CKSTR; in stm32_sai_set_dai_fmt()
706 cr1 ^= SAI_XCR1_CKSTR; in stm32_sai_set_dai_fmt()
[all …]
/sound/soc/pxa/
Dpxa-ssp.c47 uint32_t cr1; member
127 priv->cr1 = __raw_readl(ssp->mmio_base + SSCR1); in pxa_ssp_suspend()
146 __raw_writel(priv->cr1, ssp->mmio_base + SSCR1); in pxa_ssp_resume()