Lines Matching refs:curRecPos
274 card->curRecPos = 0; in nm256_startRecording()
281 card->abuf2 + card->curRecPos); in nm256_startRecording()
296 endpos = card->abuf2 + ((card->curRecPos + amt) % ringsize); in nm256_startRecording()
338 card->curRecPos = 0; in stopRecord()
483 if (currptr < card->curRecPos) { in nm256_read_block()
484 u32 amt = MIN (ringsize - card->curRecPos, amtToRead); in nm256_read_block()
487 card->abuf2 + card->curRecPos, in nm256_read_block()
490 card->curRecPos += amt; in nm256_read_block()
492 if (card->curRecPos == ringsize) in nm256_read_block()
493 card->curRecPos = 0; in nm256_read_block()
496 if ((card->curRecPos < currptr) && (amtToRead > 0)) { in nm256_read_block()
497 u32 amt = MIN (currptr - card->curRecPos, amtToRead); in nm256_read_block()
499 card->abuf2 + card->curRecPos, amt); in nm256_read_block()
500 card->curRecPos = ((card->curRecPos + amt) % ringsize); in nm256_read_block()