Lines Matching defs:pos
452 int voice, unsigned long pos,
458 pos = (pos << 1) + rec->loop_start[voice];
460 LOOP_WRITE(rec, pos, src, count, COPY_USER);
465 int voice, unsigned long pos,
471 pos = (pos << 1) + rec->loop_start[voice];
473 LOOP_WRITE(rec, pos, src, count, COPY_KERNEL);
479 int voice, unsigned long pos, unsigned long count)
484 pos = (pos << 1) + rec->loop_start[voice];
486 LOOP_WRITE(rec, pos, NULL, count, FILL_SILENCE);
492 #define LOOP_WRITE(rec, pos, _buf, count, mode) \
497 EMU8000_SMALW_WRITE(emu, pos + rec->loop_start[0]); \
499 EMU8000_SMARW_WRITE(emu, pos + rec->loop_start[1]); \
520 int voice, unsigned long pos,
526 pos = bytes_to_frames(subs->runtime, pos);
528 LOOP_WRITE(rec, pos, src, count, COPY_USER);
533 int voice, unsigned long pos,
539 pos = bytes_to_frames(subs->runtime, pos);
541 LOOP_WRITE(rec, pos, src, count, COPY_KERNEL);
546 int voice, unsigned long pos, unsigned long count)
551 pos = bytes_to_frames(subs->runtime, pos);
553 LOOP_WRITE(rec, pos, NULL, count, FILL_SILENCE);