• Home
  • Raw
  • Download

Lines Matching refs:w

420 	u16 w;  in omap_mcbsp_start()  local
426 w = MCBSP_READ_CACHE(mcbsp, PCR0); in omap_mcbsp_start()
427 if (w & (FSXM | FSRM | CLKXM | CLKRM)) in omap_mcbsp_start()
433 w = MCBSP_READ_CACHE(mcbsp, SPCR2); in omap_mcbsp_start()
434 MCBSP_WRITE(mcbsp, SPCR2, w | (1 << 6)); in omap_mcbsp_start()
439 w = MCBSP_READ_CACHE(mcbsp, SPCR2); in omap_mcbsp_start()
440 MCBSP_WRITE(mcbsp, SPCR2, w | tx); in omap_mcbsp_start()
443 w = MCBSP_READ_CACHE(mcbsp, SPCR1); in omap_mcbsp_start()
444 MCBSP_WRITE(mcbsp, SPCR1, w | rx); in omap_mcbsp_start()
456 w = MCBSP_READ_CACHE(mcbsp, SPCR2); in omap_mcbsp_start()
457 MCBSP_WRITE(mcbsp, SPCR2, w | (1 << 7)); in omap_mcbsp_start()
462 w = MCBSP_READ_CACHE(mcbsp, XCCR); in omap_mcbsp_start()
463 w &= ~(tx ? XDISABLE : 0); in omap_mcbsp_start()
464 MCBSP_WRITE(mcbsp, XCCR, w); in omap_mcbsp_start()
465 w = MCBSP_READ_CACHE(mcbsp, RCCR); in omap_mcbsp_start()
466 w &= ~(rx ? RDISABLE : 0); in omap_mcbsp_start()
467 MCBSP_WRITE(mcbsp, RCCR, w); in omap_mcbsp_start()
479 u16 w; in omap_mcbsp_stop() local
484 w = MCBSP_READ_CACHE(mcbsp, XCCR); in omap_mcbsp_stop()
485 w |= (tx ? XDISABLE : 0); in omap_mcbsp_stop()
486 MCBSP_WRITE(mcbsp, XCCR, w); in omap_mcbsp_stop()
488 w = MCBSP_READ_CACHE(mcbsp, SPCR2); in omap_mcbsp_stop()
489 MCBSP_WRITE(mcbsp, SPCR2, w & ~tx); in omap_mcbsp_stop()
494 w = MCBSP_READ_CACHE(mcbsp, RCCR); in omap_mcbsp_stop()
495 w |= (rx ? RDISABLE : 0); in omap_mcbsp_stop()
496 MCBSP_WRITE(mcbsp, RCCR, w); in omap_mcbsp_stop()
498 w = MCBSP_READ_CACHE(mcbsp, SPCR1); in omap_mcbsp_stop()
499 MCBSP_WRITE(mcbsp, SPCR1, w & ~rx); in omap_mcbsp_stop()
506 w = MCBSP_READ_CACHE(mcbsp, SPCR2); in omap_mcbsp_stop()
507 MCBSP_WRITE(mcbsp, SPCR2, w & ~(1 << 6)); in omap_mcbsp_stop()