Searched refs:sspa_ctrl (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/sound/soc/pxa/
H A Dmmp-sspa.c186 u32 sspa_sp, sspa_ctrl; mmp_sspa_set_dai_fmt() local
202 sspa_ctrl = 0; mmp_sspa_set_dai_fmt()
226 sspa_ctrl |= SSPA_CTL_XDATDLY(1); mmp_sspa_set_dai_fmt()
249 mmp_sspa_write_reg(sspa, SSPA_TXCTL, sspa_ctrl); mmp_sspa_set_dai_fmt()
250 mmp_sspa_write_reg(sspa, SSPA_RXCTL, sspa_ctrl); mmp_sspa_set_dai_fmt()
273 u32 sspa_ctrl; mmp_sspa_hw_params() local
276 sspa_ctrl = mmp_sspa_read_reg(sspa, SSPA_TXCTL); mmp_sspa_hw_params()
278 sspa_ctrl = mmp_sspa_read_reg(sspa, SSPA_RXCTL); mmp_sspa_hw_params()
280 sspa_ctrl &= ~SSPA_CTL_XFRLEN1_MASK; mmp_sspa_hw_params()
281 sspa_ctrl |= SSPA_CTL_XFRLEN1(params_channels(params) - 1); mmp_sspa_hw_params()
282 sspa_ctrl &= ~SSPA_CTL_XWDLEN1_MASK; mmp_sspa_hw_params()
283 sspa_ctrl |= SSPA_CTL_XWDLEN1(SSPA_CTL_32_BITS); mmp_sspa_hw_params()
284 sspa_ctrl &= ~SSPA_CTL_XSSZ1_MASK; mmp_sspa_hw_params()
288 sspa_ctrl |= SSPA_CTL_XSSZ1(SSPA_CTL_8_BITS); mmp_sspa_hw_params()
291 sspa_ctrl |= SSPA_CTL_XSSZ1(SSPA_CTL_16_BITS); mmp_sspa_hw_params()
294 sspa_ctrl |= SSPA_CTL_XSSZ1(SSPA_CTL_20_BITS); mmp_sspa_hw_params()
297 sspa_ctrl |= SSPA_CTL_XSSZ1(SSPA_CTL_24_BITS); mmp_sspa_hw_params()
300 sspa_ctrl |= SSPA_CTL_XSSZ1(SSPA_CTL_32_BITS); mmp_sspa_hw_params()
307 mmp_sspa_write_reg(sspa, SSPA_TXCTL, sspa_ctrl); mmp_sspa_hw_params()
310 mmp_sspa_write_reg(sspa, SSPA_RXCTL, sspa_ctrl); mmp_sspa_hw_params()

Completed in 42 milliseconds