Searched refs:hw_pos (Results 1 – 6 of 6) sorted by relevance
175 wiinst->buffer.hw_pos = 0; in emu10k1_wavein_open()302 buffer->pos = buffer->hw_pos; in emu10k1_wavein_getxfersize()358 u32 hw_pos; in emu10k1_wavein_update() local363 hw_pos = wiinst->buffer.hw_pos; in emu10k1_wavein_update()366 hw_pos = sblive_readptr(card, wiinst->buffer.idxreg, 0) / wiinst->buffer.cov; in emu10k1_wavein_update()369 diff = (wiinst->buffer.size + hw_pos - wiinst->buffer.hw_pos) % wiinst->buffer.size; in emu10k1_wavein_update()373 wiinst->buffer.hw_pos = hw_pos; in emu10k1_wavein_update()
246 buffer->hw_pos = 0; in emu10k1_waveout_open()385 buffer->silence_pos = buffer->hw_pos; in emu10k1_waveout_getxfersize()597 u32 hw_pos; in emu10k1_waveout_update() local602 hw_pos = woinst->buffer.hw_pos; in emu10k1_waveout_update()605 hw_pos = sblive_readptr(woinst->voice[0].card, CCCA_CURRADDR, woinst->voice[0].num); in emu10k1_waveout_update()607 if(hw_pos < woinst->voice[0].start) in emu10k1_waveout_update()608 hw_pos += woinst->buffer.size / woinst->format.bytespervoicesample - woinst->voice[0].start; in emu10k1_waveout_update()610 hw_pos -= woinst->voice[0].start; in emu10k1_waveout_update()612 hw_pos *= woinst->format.bytespervoicesample; in emu10k1_waveout_update()615 diff = (woinst->buffer.size + hw_pos - woinst->buffer.hw_pos) % woinst->buffer.size; in emu10k1_waveout_update()[all …]
57 u32 hw_pos; /* hardware cursor position */ member
42 u32 hw_pos; /* hardware cursor position */ member
238 woinst->buffer.hw_pos = pos; in emu10k1_pt_waveout_update()
786 cinfo.ptr = wiinst->buffer.hw_pos;827 cinfo.ptr = woinst->buffer.hw_pos;