• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/sound/oss/

Lines Matching refs:swptr

52 * 12/05/00 trw - fixed polling (myth2), and added underrun swptr fix.
231 unsigned hwptr, swptr;
720 unsigned swptr;
739 if (d->hwptr != d->swptr) {
741 d->hwptr, d->swptr);
745 swptr = d->swptr;
746 d->hwptr = d->swptr = (d->swptr + 1) % d->ringsz;
749 descr = &d->descrtab[swptr];
750 data_p = &d->dma_buf[swptr * 4];
755 data_p, swptr, d->hwptr));
928 d->swptr, d->hwptr, hwptr, intflag));
933 s_ptr = (u32 *)&(d->dma_buf[d->swptr*4]);
934 descr = &d->descrtab[d->swptr];
983 d->swptr = (d->swptr + diff) % d->ringsz;
1005 descr = &d->descrtab[d->swptr];
1006 data_p = &d->dma_buf[d->swptr*4];
1014 printk(KERN_ERR "cs4297a: RX Bad address %d (%llx %lx)\n", d->swptr,
1033 d->swptr++;
1037 d->swptr = 0;
1045 printk(KERN_INFO "cs4297a: hw/sw %x/%x\n", d->hwptr, d->swptr));
1070 d->hwptr, hwptr, d->swptr, diff, d->count));
1109 d->swptr,
1627 s->dma_dac.hwptr = s->dma_dac.swptr = hwptr;
1669 "_read() count>0 count=%d .count=%d .swptr=%d .hwptr=%d \n",
1671 s->dma_adc.swptr, s->dma_adc.hwptr));
1726 // virtual address to copy from is dma_buf+swptr
1743 printk(KERN_INFO "cs4297a: upd_rcv sw->hw %x/%x\n", s->dma_adc.swptr, s->dma_adc.hwptr));
1767 unsigned swptr, hwptr;
1794 d->swptr = d->hwptr;
1800 d->swptr = d->hwptr = hwptr;
1802 swptr = d->swptr;
1803 cnt = d->sbufsz - (swptr * FRAME_SAMPLE_BYTES);
1824 t_tmpl = (u32 *)(d->dma_buf + (swptr * 4));
1850 *(u64 *)(d->dma_buf + (swptr * 4)) |=
1858 "cs4297a: copy in %d to swptr %x\n", cnt, swptr));
1860 swptr = (swptr + (cnt/FRAME_SAMPLE_BYTES)) % d->ringsz;
1863 d->swptr = swptr;
1997 s->dma_dac.swptr = s->dma_dac.hwptr =
2006 s->dma_adc.swptr = s->dma_adc.hwptr =
2555 s->dma_adc.swptr = s->dma_adc.hwptr = newptr;