Home
last modified time | relevance | path

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

/Linux-v4.19/sound/pci/asihpi/
Dasihpi.c157 unsigned int bytes_per_sec; member
462 unsigned int bytes_per_sec; in snd_card_asihpi_pcm_hw_params() local
503 bytes_per_sec = params_rate(params) * params_channels(params); in snd_card_asihpi_pcm_hw_params()
505 bytes_per_sec *= width; in snd_card_asihpi_pcm_hw_params()
506 bytes_per_sec /= 8; in snd_card_asihpi_pcm_hw_params()
507 if (width < 0 || bytes_per_sec == 0) in snd_card_asihpi_pcm_hw_params()
510 dpcm->bytes_per_sec = bytes_per_sec; in snd_card_asihpi_pcm_hw_params()
855 next_jiffies = ((on_card_bytes - dpcm->period_bytes) * HZ / dpcm->bytes_per_sec); in snd_card_asihpi_timer_function()
857 next_jiffies = ((dpcm->period_bytes - remdata) * HZ / dpcm->bytes_per_sec); in snd_card_asihpi_timer_function()
/Linux-v4.19/sound/core/oss/
Dpcm_oss.c725 …size_t bytes_per_sec = params_rate(oss_params) * snd_pcm_format_physical_width(params_format(oss_p… in snd_pcm_oss_period_size() local
730 } while (oss_period_size > bytes_per_sec); in snd_pcm_oss_period_size()