Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/sound/hda/
H A Dhdac_stream.c493 int pos_adj, pos_align; in snd_hdac_stream_setup_periods() local
508 pos_adj = bus->bdl_pos_adj; in snd_hdac_stream_setup_periods()
510 pos_adj = 0; in snd_hdac_stream_setup_periods()
511 if (!azx_dev->no_period_wakeup && pos_adj > 0) { in snd_hdac_stream_setup_periods()
512 pos_align = pos_adj; in snd_hdac_stream_setup_periods()
513 pos_adj = (pos_adj * runtime->rate + 47999) / 48000; in snd_hdac_stream_setup_periods()
514 if (!pos_adj) in snd_hdac_stream_setup_periods()
515 pos_adj = pos_align; in snd_hdac_stream_setup_periods()
517 pos_adj in snd_hdac_stream_setup_periods()
[all...]
/kernel/linux/linux-6.6/sound/hda/
H A Dhdac_stream.c499 int pos_adj, pos_align; in snd_hdac_stream_setup_periods() local
523 pos_adj = bus->bdl_pos_adj; in snd_hdac_stream_setup_periods()
524 if (runtime && !azx_dev->no_period_wakeup && pos_adj > 0) { in snd_hdac_stream_setup_periods()
525 pos_align = pos_adj; in snd_hdac_stream_setup_periods()
526 pos_adj = DIV_ROUND_UP(pos_adj * runtime->rate, 48000); in snd_hdac_stream_setup_periods()
527 if (!pos_adj) in snd_hdac_stream_setup_periods()
528 pos_adj = pos_align; in snd_hdac_stream_setup_periods()
530 pos_adj = roundup(pos_adj, pos_alig in snd_hdac_stream_setup_periods()
[all...]

Completed in 3 milliseconds