• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/oss/

Lines Matching defs:swptr

52 * 12/05/00 trw - fixed polling (myth2), and added underrun swptr fix.
233 unsigned hwptr, swptr;
722 unsigned swptr;
741 if (d->hwptr != d->swptr) {
743 d->hwptr, d->swptr);
747 swptr = d->swptr;
748 d->hwptr = d->swptr = (d->swptr + 1) % d->ringsz;
751 descr = &d->descrtab[swptr];
752 data_p = &d->dma_buf[swptr * 4];
757 data_p, swptr, d->hwptr));
930 d->swptr, d->hwptr, hwptr, intflag));
935 s_ptr = (u32 *)&(d->dma_buf[d->swptr*4]);
936 descr = &d->descrtab[d->swptr];
985 d->swptr = (d->swptr + diff) % d->ringsz;
1007 descr = &d->descrtab[d->swptr];
1008 data_p = &d->dma_buf[d->swptr*4];
1016 printk(KERN_ERR "cs4297a: RX Bad address %d (%llx %lx)\n", d->swptr,
1035 d->swptr++;
1039 d->swptr = 0;
1047 printk(KERN_INFO "cs4297a: hw/sw %x/%x\n", d->hwptr, d->swptr));
1072 d->hwptr, hwptr, d->swptr, diff, d->count));
1111 d->swptr,
1621 s->dma_dac.hwptr = s->dma_dac.swptr = hwptr;
1663 "_read() count>0 count=%d .count=%d .swptr=%d .hwptr=%d \n",
1665 s->dma_adc.swptr, s->dma_adc.hwptr));
1720 // virtual address to copy from is dma_buf+swptr
1737 printk(KERN_INFO "cs4297a: upd_rcv sw->hw %x/%x\n", s->dma_adc.swptr, s->dma_adc.hwptr));
1761 unsigned swptr, hwptr;
1788 d->swptr = d->hwptr;
1794 d->swptr = d->hwptr = hwptr;
1796 swptr = d->swptr;
1797 cnt = d->sbufsz - (swptr * FRAME_SAMPLE_BYTES);
1818 t_tmpl = (u32 *)(d->dma_buf + (swptr * 4));
1844 *(u64 *)(d->dma_buf + (swptr * 4)) |=
1852 "cs4297a: copy in %d to swptr %x\n", cnt, swptr));
1854 swptr = (swptr + (cnt/FRAME_SAMPLE_BYTES)) % d->ringsz;
1857 d->swptr = swptr;
1991 s->dma_dac.swptr = s->dma_dac.hwptr =
2000 s->dma_adc.swptr = s->dma_adc.hwptr =
2527 s->dma_adc.swptr = s->dma_adc.hwptr = newptr;