• Home
  • Raw
  • Download

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()
636 u16 w; in omap_mcbsp_start() local
642 w = MCBSP_READ_CACHE(mcbsp, PCR0); in omap_mcbsp_start()
643 if (w & (FSXM | FSRM | CLKXM | CLKRM)) in omap_mcbsp_start()
649 w = MCBSP_READ_CACHE(mcbsp, SPCR2); in omap_mcbsp_start()
650 MCBSP_WRITE(mcbsp, SPCR2, w | (1 << 6)); in omap_mcbsp_start()
655 w = MCBSP_READ_CACHE(mcbsp, SPCR2); in omap_mcbsp_start()
656 MCBSP_WRITE(mcbsp, SPCR2, w | tx); in omap_mcbsp_start()
659 w = MCBSP_READ_CACHE(mcbsp, SPCR1); in omap_mcbsp_start()
660 MCBSP_WRITE(mcbsp, SPCR1, w | rx); in omap_mcbsp_start()
672 w = MCBSP_READ_CACHE(mcbsp, SPCR2); in omap_mcbsp_start()
673 MCBSP_WRITE(mcbsp, SPCR2, w | (1 << 7)); in omap_mcbsp_start()
678 w = MCBSP_READ_CACHE(mcbsp, XCCR); in omap_mcbsp_start()
679 w &= ~(tx ? XDISABLE : 0); in omap_mcbsp_start()
680 MCBSP_WRITE(mcbsp, XCCR, w); in omap_mcbsp_start()
681 w = MCBSP_READ_CACHE(mcbsp, RCCR); in omap_mcbsp_start()
682 w &= ~(rx ? RDISABLE : 0); in omap_mcbsp_start()
683 MCBSP_WRITE(mcbsp, RCCR, w); in omap_mcbsp_start()
693 u16 w; in omap_mcbsp_stop() local
698 w = MCBSP_READ_CACHE(mcbsp, XCCR); in omap_mcbsp_stop()
699 w |= (tx ? XDISABLE : 0); in omap_mcbsp_stop()
700 MCBSP_WRITE(mcbsp, XCCR, w); in omap_mcbsp_stop()
702 w = MCBSP_READ_CACHE(mcbsp, SPCR2); in omap_mcbsp_stop()
703 MCBSP_WRITE(mcbsp, SPCR2, w & ~tx); in omap_mcbsp_stop()
708 w = MCBSP_READ_CACHE(mcbsp, RCCR); in omap_mcbsp_stop()
709 w |= (rx ? RDISABLE : 0); in omap_mcbsp_stop()
710 MCBSP_WRITE(mcbsp, RCCR, w); in omap_mcbsp_stop()
712 w = MCBSP_READ_CACHE(mcbsp, SPCR1); in omap_mcbsp_stop()
713 MCBSP_WRITE(mcbsp, SPCR1, w & ~rx); in omap_mcbsp_stop()
720 w = MCBSP_READ_CACHE(mcbsp, SPCR2); in omap_mcbsp_stop()
721 MCBSP_WRITE(mcbsp, SPCR2, w & ~(1 << 6)); in omap_mcbsp_stop()