Home
last modified time | relevance | path

Searched refs:pos_adj (Results 1 – 1 of 1) sorted by relevance

/linux/sound/hda/core/
H A Dstream.c506 int pos_adj, pos_align; in snd_hdac_stream_setup_bdle() local
521 pos_adj = bus->bdl_pos_adj; in snd_hdac_stream_setup_bdle()
522 if (runtime && !azx_dev->no_period_wakeup && pos_adj > 0) { in snd_hdac_stream_setup_bdle()
523 pos_align = pos_adj; in snd_hdac_stream_setup_bdle()
524 pos_adj = DIV_ROUND_UP(pos_adj * runtime->rate, 48000); in snd_hdac_stream_setup_bdle()
525 if (!pos_adj) in snd_hdac_stream_setup_bdle()
526 pos_adj = pos_align; in snd_hdac_stream_setup_bdle()
528 pos_adj = roundup(pos_adj, pos_align); in snd_hdac_stream_setup_bdle()
529 pos_adj = frames_to_bytes(runtime, pos_adj); in snd_hdac_stream_setup_bdle()
530 if (pos_adj >= period_bytes) { in snd_hdac_stream_setup_bdle()
[all …]