Lines Matching refs:SPCR2
45 dev_dbg(mcbsp->dev, "SPCR2: 0x%04x\n", MCBSP_READ(mcbsp, SPCR2)); in omap_mcbsp_dump_reg()
138 irqst_spcr2 = MCBSP_READ(mcbsp, SPCR2); in omap_mcbsp_tx_irq_handler()
145 MCBSP_WRITE(mcbsp, SPCR2, MCBSP_READ_CACHE(mcbsp, SPCR2)); in omap_mcbsp_tx_irq_handler()
182 MCBSP_WRITE(mcbsp, SPCR2, config->spcr2); in omap_mcbsp_config()
319 MCBSP_WRITE(mcbsp, SPCR2, 0); in omap_mcbsp_request()
427 enable_srg = !((MCBSP_READ_CACHE(mcbsp, SPCR2) | in omap_mcbsp_start()
432 w = MCBSP_READ_CACHE(mcbsp, SPCR2); in omap_mcbsp_start()
433 MCBSP_WRITE(mcbsp, SPCR2, w | (1 << 6)); in omap_mcbsp_start()
438 w = MCBSP_READ_CACHE(mcbsp, SPCR2); in omap_mcbsp_start()
439 MCBSP_WRITE(mcbsp, SPCR2, w | tx); in omap_mcbsp_start()
455 w = MCBSP_READ_CACHE(mcbsp, SPCR2); in omap_mcbsp_start()
456 MCBSP_WRITE(mcbsp, SPCR2, w | (1 << 7)); in omap_mcbsp_start()
487 w = MCBSP_READ_CACHE(mcbsp, SPCR2); in omap_mcbsp_stop()
488 MCBSP_WRITE(mcbsp, SPCR2, w & ~tx); in omap_mcbsp_stop()
500 idle = !((MCBSP_READ_CACHE(mcbsp, SPCR2) | in omap_mcbsp_stop()
505 w = MCBSP_READ_CACHE(mcbsp, SPCR2); in omap_mcbsp_stop()
506 MCBSP_WRITE(mcbsp, SPCR2, w & ~(1 << 6)); in omap_mcbsp_stop()