Searched refs:wpos (Results 1 – 9 of 9) sorted by relevance
/openbmc/qemu/replay/ |
H A D | replay-audio.c | 38 void replay_audio_in(size_t *recorded, void *samples, size_t *wpos, size_t size) in replay_audio_in() argument 47 replay_put_qword(*wpos); in replay_audio_in() 48 for (pos = (*wpos - *recorded + size) % size ; pos != *wpos in replay_audio_in() 59 *wpos = replay_get_qword(); in replay_audio_in() 60 for (pos = (*wpos - *recorded + size) % size ; pos != *wpos in replay_audio_in()
|
H A D | stubs-system.c | 18 void replay_audio_in(size_t *recorded, void *samples, size_t *wpos, size_t size) in replay_audio_in() argument
|
/openbmc/qemu/hw/audio/ |
H A D | hda-codec.c | 172 int64_t wpos; member 227 int64_t wpos = st->wpos; in hda_audio_input_timer() local 270 int64_t wpos = st->wpos; in hda_audio_input_cb() local 279 wpos += read; in hda_audio_input_cb() 281 st->wpos += read; in hda_audio_input_cb() 297 int64_t wpos = st->wpos; in hda_audio_output_timer() local 315 int64_t to_transfer = MIN(B_SIZE - (wpos - rpos), wanted_wpos - wpos); in hda_audio_output_timer() 324 wpos += chunk; in hda_audio_output_timer() 340 int64_t wpos = st->wpos; in hda_audio_output_cb() local 348 st->wpos = 0; in hda_audio_output_cb() [all …]
|
/openbmc/linux/fs/ntfs3/ |
H A D | bitmap.c | 81 if (used > wpos) { in wnd_scan() 82 wpos = used; in wnd_scan() 568 wpos = 0; in wnd_rescan() 583 wpos = used; in wnd_rescan() 602 wpos = frb + 1; in wnd_rescan() 1174 wpos = 0; in wnd_find() 1206 wpos = 0; in wnd_find() 1216 wpos = 0; in wnd_find() 1247 wpos = 0; in wnd_find() 1263 wpos = 0; in wnd_find() [all …]
|
/openbmc/linux/net/9p/ |
H A D | trans_fd.c | 124 int wpos; member 475 m->wpos = 0; in p9_write_work() 482 m, m->wpos, m->wsize); in p9_write_work() 484 err = p9_fd_write(m->client, m->wbuf + m->wpos, m->wsize - m->wpos); in p9_write_work() 497 m->wpos += err; in p9_write_work() 498 if (m->wpos == m->wsize) { in p9_write_work() 499 m->wpos = m->wsize = 0; in p9_write_work()
|
/openbmc/qemu/audio/ |
H A D | dsoundaudio.c | 435 DWORD ppos, wpos; in dsound_buffer_get_free() local 438 dsb, &ppos, ds->first_time ? &wpos : NULL); in dsound_buffer_get_free() 445 hw->pos_emul = wpos; in dsound_buffer_get_free()
|
H A D | audio.c | 686 size_t live, wpos, frames_in, frames_out; in audio_pcm_sw_resample_out() local 689 wpos = (hw->mix_buf.pos + live) % hw->mix_buf.size; in audio_pcm_sw_resample_out() 694 dst = hw->mix_buf.buffer + wpos; in audio_pcm_sw_resample_out() 695 frames_out = MIN(frames_out_max, hw->mix_buf.size - wpos); in audio_pcm_sw_resample_out() 697 wpos += frames_out; in audio_pcm_sw_resample_out() 702 if (frames_in_max - frames_in > 0 && wpos == hw->mix_buf.size) { in audio_pcm_sw_resample_out()
|
/openbmc/qemu/include/sysemu/ |
H A D | replay.h | 174 void replay_audio_in(size_t *recorded, void *samples, size_t *wpos, size_t size);
|
/openbmc/linux/drivers/acpi/apei/ |
H A D | erst.c | 587 int i, wpos = 0; in __erst_record_id_cache_compact() local 597 if (wpos != i) in __erst_record_id_cache_compact() 598 entries[wpos] = entries[i]; in __erst_record_id_cache_compact() 599 wpos++; in __erst_record_id_cache_compact() 601 erst_record_id_cache.len = wpos; in __erst_record_id_cache_compact()
|