Lines Matching refs:curPlayPos
323 card->curPlayPos = 0; in stopPlay()
369 card->curPlayPos %= ringsize; in nm256_write_block()
376 if ((card->curPlayPos + amt) >= ringsize) { in nm256_write_block()
377 u32 rem = ringsize - card->curPlayPos; in nm256_write_block()
380 card->abuf1 + card->curPlayPos, in nm256_write_block()
388 card->abuf1 + card->curPlayPos, in nm256_write_block()
409 card->abuf1 + card->curPlayPos); in nm256_write_block()
413 card->abuf1 + card->curPlayPos); in nm256_write_block()
415 endstop = (card->curPlayPos + amt - NM256_PLAY_WMARK_SIZE) % ringsize; in nm256_write_block()
436 if (amt < card->curPlayPos) in nm256_get_new_block()
437 amt = (card->playbackBufferSize - card->curPlayPos) + amt; in nm256_get_new_block()
439 amt -= card->curPlayPos; in nm256_get_new_block()
443 card->curPlayPos + card->requested_amt - NM256_PLAY_WMARK_SIZE; in nm256_get_new_block()
447 card->curPlayPos += card->requested_amt; in nm256_get_new_block()