Home
last modified time | relevance | path

Searched refs:bytes_per_sec (Results 1 - 12 of 12) sorted by relevance

/kernel/linux/linux-5.10/sound/pci/asihpi/
H A Dasihpi.c143 unsigned int bytes_per_sec; member
439 unsigned int bytes_per_sec; in snd_card_asihpi_pcm_hw_params() local
477 bytes_per_sec = params_rate(params) * params_channels(params); in snd_card_asihpi_pcm_hw_params()
479 bytes_per_sec *= width; in snd_card_asihpi_pcm_hw_params()
480 bytes_per_sec /= 8; in snd_card_asihpi_pcm_hw_params()
481 if (width < 0 || bytes_per_sec == 0) in snd_card_asihpi_pcm_hw_params()
484 dpcm->bytes_per_sec = bytes_per_sec; in snd_card_asihpi_pcm_hw_params()
820 next_jiffies = ((on_card_bytes - dpcm->period_bytes) * HZ / dpcm->bytes_per_sec); in snd_card_asihpi_timer_function()
822 next_jiffies = ((dpcm->period_bytes - remdata) * HZ / dpcm->bytes_per_sec); in snd_card_asihpi_timer_function()
[all...]
/kernel/linux/linux-6.6/sound/pci/asihpi/
H A Dasihpi.c143 unsigned int bytes_per_sec; member
439 unsigned int bytes_per_sec; in snd_card_asihpi_pcm_hw_params() local
477 bytes_per_sec = params_rate(params) * params_channels(params); in snd_card_asihpi_pcm_hw_params()
479 bytes_per_sec *= width; in snd_card_asihpi_pcm_hw_params()
480 bytes_per_sec /= 8; in snd_card_asihpi_pcm_hw_params()
481 if (width < 0 || bytes_per_sec == 0) in snd_card_asihpi_pcm_hw_params()
484 dpcm->bytes_per_sec = bytes_per_sec; in snd_card_asihpi_pcm_hw_params()
818 next_jiffies = ((on_card_bytes - dpcm->period_bytes) * HZ / dpcm->bytes_per_sec); in snd_card_asihpi_timer_function()
820 next_jiffies = ((dpcm->period_bytes - remdata) * HZ / dpcm->bytes_per_sec); in snd_card_asihpi_timer_function()
[all...]
/kernel/linux/linux-5.10/sound/soc/qcom/qdsp6/
H A Dq6asm.h55 u32 bytes_per_sec; member
H A Dq6asm.c119 u32 bytes_per_sec; member
132 u32 bytes_per_sec; member
1201 fmt->bytes_per_sec = cfg->bytes_per_sec; in q6asm_stream_media_format_block_wma_v9()
1239 fmt->bytes_per_sec = cfg->bytes_per_sec; in q6asm_stream_media_format_block_wma_v10()
H A Dq6asm-dai.c763 wma_cfg.bytes_per_sec = codec->bit_rate / 8; in __q6asm_dai_compr_set_codec_params()
/kernel/linux/linux-6.6/sound/soc/qcom/qdsp6/
H A Dq6asm.h55 u32 bytes_per_sec; member
H A Dq6asm.c119 u32 bytes_per_sec; member
132 u32 bytes_per_sec; member
1201 fmt->bytes_per_sec = cfg->bytes_per_sec; in q6asm_stream_media_format_block_wma_v9()
1239 fmt->bytes_per_sec = cfg->bytes_per_sec; in q6asm_stream_media_format_block_wma_v10()
H A Dq6asm-dai.c749 wma_cfg.bytes_per_sec = codec->bit_rate / 8; in __q6asm_dai_compr_set_codec_params()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/
H A Dice_sched.c2060 s64 bytes_per_sec, wakeup_int, wakeup_a, wakeup_b, wakeup_f; in ice_sched_calc_wakeup() local
2065 bytes_per_sec = div64_long(((s64)bw * 1000), BITS_PER_BYTE); in ice_sched_calc_wakeup()
2066 wakeup_int = div64_long(ICE_RL_PROF_FREQUENCY, bytes_per_sec); in ice_sched_calc_wakeup()
2076 bytes_per_sec); in ice_sched_calc_wakeup()
2105 s64 bytes_per_sec, ts_rate, mv_tmp; in ice_sched_bw_to_rl_profile() local
2116 bytes_per_sec = div64_long(((s64)bw * 1000), BITS_PER_BYTE); in ice_sched_bw_to_rl_profile()
2128 mv_tmp = div64_long(bytes_per_sec * ICE_RL_PROF_MULTIPLIER, in ice_sched_bw_to_rl_profile()
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ice/
H A Dice_sched.c3100 s64 bytes_per_sec, wakeup_int, wakeup_a, wakeup_b, wakeup_f; in ice_sched_calc_wakeup() local
3105 bytes_per_sec = div64_long(((s64)bw * 1000), BITS_PER_BYTE); in ice_sched_calc_wakeup()
3106 wakeup_int = div64_long(hw->psm_clk_freq, bytes_per_sec); in ice_sched_calc_wakeup()
3115 hw->psm_clk_freq, bytes_per_sec); in ice_sched_calc_wakeup()
3145 s64 bytes_per_sec, ts_rate, mv_tmp; in ice_sched_bw_to_rl_profile() local
3157 bytes_per_sec = div64_long(((s64)bw * 1000), BITS_PER_BYTE); in ice_sched_bw_to_rl_profile()
3169 mv_tmp = div64_long(bytes_per_sec * ICE_RL_PROF_MULTIPLIER, in ice_sched_bw_to_rl_profile()
/kernel/linux/linux-5.10/sound/core/oss/
H A Dpcm_oss.c718 size_t bytes_per_sec = params_rate(oss_params) * snd_pcm_format_physical_width(params_format(oss_params)) * params_channels(oss_params) / 8; in snd_pcm_oss_period_size() local
723 } while (oss_period_size > bytes_per_sec); in snd_pcm_oss_period_size()
/kernel/linux/linux-6.6/sound/core/oss/
H A Dpcm_oss.c718 size_t bytes_per_sec = params_rate(oss_params) * snd_pcm_format_physical_width(params_format(oss_params)) * params_channels(oss_params) / 8; in snd_pcm_oss_period_size() local
723 } while (oss_period_size > bytes_per_sec); in snd_pcm_oss_period_size()

Completed in 32 milliseconds