Lines Matching refs:w
258 unsigned int w; in omap_st_on() local
264 w = MCBSP_READ(mcbsp, SSELCR); in omap_st_on()
265 MCBSP_WRITE(mcbsp, SSELCR, w | SIDETONEEN); in omap_st_on()
268 w = MCBSP_ST_READ(mcbsp, SSELCR); in omap_st_on()
269 MCBSP_ST_WRITE(mcbsp, SSELCR, w | ST_SIDETONEEN); in omap_st_on()
274 unsigned int w; in omap_st_off() local
276 w = MCBSP_ST_READ(mcbsp, SSELCR); in omap_st_off()
277 MCBSP_ST_WRITE(mcbsp, SSELCR, w & ~(ST_SIDETONEEN)); in omap_st_off()
279 w = MCBSP_READ(mcbsp, SSELCR); in omap_st_off()
280 MCBSP_WRITE(mcbsp, SSELCR, w & ~(SIDETONEEN)); in omap_st_off()
314 u16 w; in omap_st_chgain() local
317 w = MCBSP_ST_READ(mcbsp, SSELCR); in omap_st_chgain()
635 u16 w; in omap_mcbsp_start() local
641 w = MCBSP_READ_CACHE(mcbsp, PCR0); in omap_mcbsp_start()
642 if (w & (FSXM | FSRM | CLKXM | CLKRM)) in omap_mcbsp_start()
648 w = MCBSP_READ_CACHE(mcbsp, SPCR2); in omap_mcbsp_start()
649 MCBSP_WRITE(mcbsp, SPCR2, w | (1 << 6)); in omap_mcbsp_start()
654 w = MCBSP_READ_CACHE(mcbsp, SPCR2); in omap_mcbsp_start()
655 MCBSP_WRITE(mcbsp, SPCR2, w | tx); in omap_mcbsp_start()
658 w = MCBSP_READ_CACHE(mcbsp, SPCR1); in omap_mcbsp_start()
659 MCBSP_WRITE(mcbsp, SPCR1, w | rx); in omap_mcbsp_start()
671 w = MCBSP_READ_CACHE(mcbsp, SPCR2); in omap_mcbsp_start()
672 MCBSP_WRITE(mcbsp, SPCR2, w | (1 << 7)); in omap_mcbsp_start()
677 w = MCBSP_READ_CACHE(mcbsp, XCCR); in omap_mcbsp_start()
678 w &= ~(tx ? XDISABLE : 0); in omap_mcbsp_start()
679 MCBSP_WRITE(mcbsp, XCCR, w); in omap_mcbsp_start()
680 w = MCBSP_READ_CACHE(mcbsp, RCCR); in omap_mcbsp_start()
681 w &= ~(rx ? RDISABLE : 0); in omap_mcbsp_start()
682 MCBSP_WRITE(mcbsp, RCCR, w); in omap_mcbsp_start()
692 u16 w; in omap_mcbsp_stop() local
697 w = MCBSP_READ_CACHE(mcbsp, XCCR); in omap_mcbsp_stop()
698 w |= (tx ? XDISABLE : 0); in omap_mcbsp_stop()
699 MCBSP_WRITE(mcbsp, XCCR, w); in omap_mcbsp_stop()
701 w = MCBSP_READ_CACHE(mcbsp, SPCR2); in omap_mcbsp_stop()
702 MCBSP_WRITE(mcbsp, SPCR2, w & ~tx); in omap_mcbsp_stop()
707 w = MCBSP_READ_CACHE(mcbsp, RCCR); in omap_mcbsp_stop()
708 w |= (rx ? RDISABLE : 0); in omap_mcbsp_stop()
709 MCBSP_WRITE(mcbsp, RCCR, w); in omap_mcbsp_stop()
711 w = MCBSP_READ_CACHE(mcbsp, SPCR1); in omap_mcbsp_stop()
712 MCBSP_WRITE(mcbsp, SPCR1, w & ~rx); in omap_mcbsp_stop()
719 w = MCBSP_READ_CACHE(mcbsp, SPCR2); in omap_mcbsp_stop()
720 MCBSP_WRITE(mcbsp, SPCR2, w & ~(1 << 6)); in omap_mcbsp_stop()