Searched refs:lastpos (Results 1 - 2 of 2) sorted by relevance
/linux-4.4.14/sound/pci/ |
H A D | via82xx_modem.c | 229 unsigned int lastpos; member in struct:viadev 475 viadev->lastpos = 0; snd_via82xx_channel_reset() 562 ((pos) < viadev->lastpos && ((pos) >= viadev->bufsize2 ||\ 563 viadev->lastpos < viadev->bufsize2)) 580 res = viadev->lastpos; calc_linear_pos() 584 "fail: idx = %i/%i, lastpos = 0x%x, bufsize2 = 0x%x, offsize = 0x%x, size = 0x%x, count = 0x%x\n", calc_linear_pos() 585 idx, viadev->tbl_entries, viadev->lastpos, calc_linear_pos() 592 res = viadev->lastpos; calc_linear_pos() 605 res = viadev->lastpos; calc_linear_pos() 609 viadev->lastpos = res; /* remember the last position */ calc_linear_pos()
|
H A D | via82xx.c | 334 unsigned int lastpos; member in struct:viadev 619 viadev->lastpos = 0; snd_via82xx_channel_reset() 779 ((pos) < viadev->lastpos && ((pos) >= viadev->bufsize2 ||\ 780 viadev->lastpos < viadev->bufsize2)) 800 res = viadev->lastpos; calc_linear_pos() 807 int delta = res - viadev->lastpos; calc_linear_pos() 816 "fail: idx = %i/%i, lastpos = 0x%x, bufsize2 = 0x%x, offsize = 0x%x, size = 0x%x, count = 0x%x\n", calc_linear_pos() 818 viadev->lastpos, viadev->bufsize2, calc_linear_pos() 827 res = viadev->lastpos; calc_linear_pos() 859 viadev->lastpos = res; /* remember the last position */ snd_via686_pcm_pointer() 901 res = viadev->lastpos; snd_via8233_pcm_pointer() 918 viadev->lastpos = res; snd_via8233_pcm_pointer()
|
Completed in 279 milliseconds