Lines Matching refs:MCBSP_WRITE
127 MCBSP_WRITE(mcbsp, IRQST, irqst); in omap_mcbsp_irq_handler()
144 MCBSP_WRITE(mcbsp, SPCR2, MCBSP_READ_CACHE(mcbsp, SPCR2)); in omap_mcbsp_tx_irq_handler()
162 MCBSP_WRITE(mcbsp, SPCR1, MCBSP_READ_CACHE(mcbsp, SPCR1)); in omap_mcbsp_rx_irq_handler()
181 MCBSP_WRITE(mcbsp, SPCR2, config->spcr2); in omap_mcbsp_config()
182 MCBSP_WRITE(mcbsp, SPCR1, config->spcr1); in omap_mcbsp_config()
183 MCBSP_WRITE(mcbsp, RCR2, config->rcr2); in omap_mcbsp_config()
184 MCBSP_WRITE(mcbsp, RCR1, config->rcr1); in omap_mcbsp_config()
185 MCBSP_WRITE(mcbsp, XCR2, config->xcr2); in omap_mcbsp_config()
186 MCBSP_WRITE(mcbsp, XCR1, config->xcr1); in omap_mcbsp_config()
187 MCBSP_WRITE(mcbsp, SRGR2, config->srgr2); in omap_mcbsp_config()
188 MCBSP_WRITE(mcbsp, SRGR1, config->srgr1); in omap_mcbsp_config()
189 MCBSP_WRITE(mcbsp, MCR2, config->mcr2); in omap_mcbsp_config()
190 MCBSP_WRITE(mcbsp, MCR1, config->mcr1); in omap_mcbsp_config()
191 MCBSP_WRITE(mcbsp, PCR0, config->pcr0); in omap_mcbsp_config()
193 MCBSP_WRITE(mcbsp, XCCR, config->xccr); in omap_mcbsp_config()
194 MCBSP_WRITE(mcbsp, RCCR, config->rccr); in omap_mcbsp_config()
198 MCBSP_WRITE(mcbsp, WAKEUPEN, XRDYEN | RRDYEN); in omap_mcbsp_config()
202 MCBSP_WRITE(mcbsp, IRQEN, RSYNCERREN | XSYNCERREN | in omap_mcbsp_config()
242 MCBSP_WRITE(mcbsp, THRSH2, threshold - 1); in omap_mcbsp_set_tx_threshold()
253 MCBSP_WRITE(mcbsp, THRSH1, threshold - 1); in omap_mcbsp_set_rx_threshold()
317 MCBSP_WRITE(mcbsp, SPCR1, 0); in omap_mcbsp_request()
318 MCBSP_WRITE(mcbsp, SPCR2, 0); in omap_mcbsp_request()
352 MCBSP_WRITE(mcbsp, WAKEUPEN, 0); in omap_mcbsp_request()
373 MCBSP_WRITE(mcbsp, WAKEUPEN, 0); in omap_mcbsp_free()
377 MCBSP_WRITE(mcbsp, IRQEN, 0); in omap_mcbsp_free()
432 MCBSP_WRITE(mcbsp, SPCR2, w | (1 << 6)); in omap_mcbsp_start()
438 MCBSP_WRITE(mcbsp, SPCR2, w | tx); in omap_mcbsp_start()
442 MCBSP_WRITE(mcbsp, SPCR1, w | rx); in omap_mcbsp_start()
455 MCBSP_WRITE(mcbsp, SPCR2, w | (1 << 7)); in omap_mcbsp_start()
462 MCBSP_WRITE(mcbsp, XCCR, w); in omap_mcbsp_start()
465 MCBSP_WRITE(mcbsp, RCCR, w); in omap_mcbsp_start()
484 MCBSP_WRITE(mcbsp, XCCR, w); in omap_mcbsp_stop()
487 MCBSP_WRITE(mcbsp, SPCR2, w & ~tx); in omap_mcbsp_stop()
494 MCBSP_WRITE(mcbsp, RCCR, w); in omap_mcbsp_stop()
497 MCBSP_WRITE(mcbsp, SPCR1, w & ~rx); in omap_mcbsp_stop()
505 MCBSP_WRITE(mcbsp, SPCR2, w & ~(1 << 6)); in omap_mcbsp_stop()