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

/linux-4.1.27/sound/soc/pxa/
H A Dmmp-sspa.c65 unsigned int sspa_sp; mmp_sspa_tx_enable() local
67 sspa_sp = mmp_sspa_read_reg(sspa, SSPA_TXSP); mmp_sspa_tx_enable()
68 sspa_sp |= SSPA_SP_S_EN; mmp_sspa_tx_enable()
69 sspa_sp |= SSPA_SP_WEN; mmp_sspa_tx_enable()
70 mmp_sspa_write_reg(sspa, SSPA_TXSP, sspa_sp); mmp_sspa_tx_enable()
75 unsigned int sspa_sp; mmp_sspa_tx_disable() local
77 sspa_sp = mmp_sspa_read_reg(sspa, SSPA_TXSP); mmp_sspa_tx_disable()
78 sspa_sp &= ~SSPA_SP_S_EN; mmp_sspa_tx_disable()
79 sspa_sp |= SSPA_SP_WEN; mmp_sspa_tx_disable()
80 mmp_sspa_write_reg(sspa, SSPA_TXSP, sspa_sp); mmp_sspa_tx_disable()
85 unsigned int sspa_sp; mmp_sspa_rx_enable() local
87 sspa_sp = mmp_sspa_read_reg(sspa, SSPA_RXSP); mmp_sspa_rx_enable()
88 sspa_sp |= SSPA_SP_S_EN; mmp_sspa_rx_enable()
89 sspa_sp |= SSPA_SP_WEN; mmp_sspa_rx_enable()
90 mmp_sspa_write_reg(sspa, SSPA_RXSP, sspa_sp); mmp_sspa_rx_enable()
95 unsigned int sspa_sp; mmp_sspa_rx_disable() local
97 sspa_sp = mmp_sspa_read_reg(sspa, SSPA_RXSP); mmp_sspa_rx_disable()
98 sspa_sp &= ~SSPA_SP_S_EN; mmp_sspa_rx_disable()
99 sspa_sp |= SSPA_SP_WEN; mmp_sspa_rx_disable()
100 mmp_sspa_write_reg(sspa, SSPA_RXSP, sspa_sp); mmp_sspa_rx_disable()
186 u32 sspa_sp, sspa_ctrl; mmp_sspa_set_dai_fmt() local
201 sspa_sp = SSPA_SP_WEN | SSPA_SP_S_RST | SSPA_SP_FFLUSH; mmp_sspa_set_dai_fmt()
206 sspa_sp |= SSPA_SP_MSL; mmp_sspa_set_dai_fmt()
216 sspa_sp |= SSPA_SP_FSP; mmp_sspa_set_dai_fmt()
224 sspa_sp |= SSPA_TXSP_FPER(63); mmp_sspa_set_dai_fmt()
225 sspa_sp |= SSPA_SP_FWID(31); mmp_sspa_set_dai_fmt()
232 mmp_sspa_write_reg(sspa, SSPA_TXSP, sspa_sp); mmp_sspa_set_dai_fmt()
233 mmp_sspa_write_reg(sspa, SSPA_RXSP, sspa_sp); mmp_sspa_set_dai_fmt()
235 sspa_sp &= ~(SSPA_SP_S_RST | SSPA_SP_FFLUSH); mmp_sspa_set_dai_fmt()
236 mmp_sspa_write_reg(sspa, SSPA_TXSP, sspa_sp); mmp_sspa_set_dai_fmt()
237 mmp_sspa_write_reg(sspa, SSPA_RXSP, sspa_sp); mmp_sspa_set_dai_fmt()
246 sspa_sp &= ~SSPA_SP_MSL; mmp_sspa_set_dai_fmt()
247 mmp_sspa_write_reg(sspa, SSPA_TXSP, sspa_sp); mmp_sspa_set_dai_fmt()

Completed in 62 milliseconds