Lines Matching refs:hwidx
1853 static void pcm_copy_in(vwsnd_port_t *rport, int swidx, int hwidx, int nb)
1855 char *src = rport->hwbuf + hwidx;
1859 DBGPV("swidx = %d, hwidx = %d\n", swidx, hwidx);
1863 ASSERT(swidx % 32 == 0 && hwidx % 32 == 0);
1865 ASSERT(hwidx >= 0 && hwidx + nb <= rport->hwbuf_size);
1878 static void pcm_copy_out(vwsnd_port_t *wport, int swidx, int hwidx, int nb)
1881 char *dst = wport->hwbuf + hwidx;
1887 ASSERT(swidx % 32 == 0 && hwidx % 32 == 0);
1889 ASSERT(hwidx >= 0 && hwidx + nb <= wport->hwbuf_size);