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 245 int64_t to_transfer = MIN(wpos - rpos, wanted_rpos - rpos); in hda_audio_input_timer() 270 int64_t wpos = st->wpos; in hda_audio_input_cb() local 273 int64_t to_transfer = MIN(B_SIZE - (wpos - rpos), avail); in hda_audio_input_cb() 276 uint32_t start = (uint32_t) (wpos & B_MASK); in hda_audio_input_cb() 279 wpos += read; in hda_audio_input_cb() 281 st->wpos += read; in hda_audio_input_cb() 287 hda_timer_sync_adjust(st, -((wpos - rpos) - (B_SIZE >> 1))); in hda_audio_input_cb() 297 int64_t wpos = st->wpos; in hda_audio_output_timer() local [all …]
|
/openbmc/linux/fs/ntfs3/ |
H A D | bitmap.c | 62 static size_t wnd_scan(const void *buf, size_t wbit, u32 wpos, u32 wend, in wnd_scan() argument 66 while (wpos < wend) { in wnd_scan() 69 u32 used = find_next_zero_bit_le(buf, wend, wpos); in wnd_scan() 81 if (used > wpos) { in wnd_scan() 82 wpos = used; in wnd_scan() 94 end = wpos + to_alloc - *prev_tail; in wnd_scan() 95 free_bits = find_next_bit_le(buf, min(end, wend), wpos); in wnd_scan() 97 free_len = *prev_tail + free_bits - wpos; in wnd_scan() 100 *b_pos = wbit + wpos - *prev_tail; in wnd_scan() 105 return wbit + wpos - *prev_tail; in wnd_scan() [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/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()
|
/openbmc/qemu/include/sysemu/ |
H A D | replay.h | 172 void replay_audio_in(size_t *recorded, void *samples, size_t *wpos, size_t size);
|