Searched refs:mult (Results 1 – 8 of 8) sorted by relevance
| /sound/core/ |
| A D | pcm_timer.c | 21 unsigned long rate, mult, fsize, l, post; in snd_pcm_timer_resolution_change() local 24 mult = 1000000000; in snd_pcm_timer_resolution_change() 28 l = gcd(mult, rate); in snd_pcm_timer_resolution_change() 29 mult /= l; in snd_pcm_timer_resolution_change() 38 while ((mult * fsize) / fsize != mult) { in snd_pcm_timer_resolution_change() 39 mult /= 2; in snd_pcm_timer_resolution_change() 49 runtime->timer_resolution = (mult * fsize / rate) * post; in snd_pcm_timer_resolution_change()
|
| /sound/soc/codecs/ |
| A D | es8311.c | 328 unsigned int mult; member 383 unsigned int mult = coeff->mult; in es8311_cmp_adj_mclk_coeff() local 395 if (mult == 2 || mult == 4 || mult == 8) { in es8311_cmp_adj_mclk_coeff() 396 mult *= coeff->mult; in es8311_cmp_adj_mclk_coeff() 397 if (mult <= 8) in es8311_cmp_adj_mclk_coeff() 406 out_coeff->mult = mult; in es8311_cmp_adj_mclk_coeff() 562 unsigned int mult; in es8311_hw_params() local 566 mult = 0; in es8311_hw_params() 569 mult = 1; in es8311_hw_params() 572 mult = 2; in es8311_hw_params() [all …]
|
| A D | rk3308_codec.c | 873 u32 mult; in rk3308_codec_set_micbias_level() local 884 mult = (percent - 50) / 5; in rk3308_codec_set_micbias_level() 887 if (mult > RK3308_ADC_LEVEL_RANGE_MICBIAS_MAX || mult * 5 + 50 != percent) in rk3308_codec_set_micbias_level() 894 mult << RK3308_ADC_LEVEL_RANGE_MICBIAS_SFT); in rk3308_codec_set_micbias_level()
|
| /sound/soc/meson/ |
| A D | axg-pdm.c | 70 unsigned int mult; member 304 val |= PDM_HCIC_CTRL1_GAIN_MULT(hcic->mult); in axg_pdm_set_hcic_ctrl() 543 .mult = 0x80,
|
| /sound/hda/core/ |
| A D | device.c | 701 #define HDA_RATE(base, mult, div) \ argument 702 (AC_FMT_BASE_##base##K | (((mult) - 1) << AC_FMT_MULT_SHIFT) | \
|
| A D | stream.c | 658 clocks_calc_mult_shift(&cc->mult, &cc->shift, 24000000, in azx_timecounter_init()
|
| /sound/usb/qcom/ |
| A D | qc_audio_offload.c | 1028 u32 mult; in uaudio_transfer_buffer_setup() local 1037 mult = len / PAGE_SIZE; in uaudio_transfer_buffer_setup() 1039 len = mult * PAGE_SIZE; in uaudio_transfer_buffer_setup()
|
| /sound/pci/riptide/ |
| A D | riptide.c | 651 unsigned int mult = 1; in atoh() local 660 sum += mult * value; in atoh() 661 mult *= 16; in atoh()
|
Completed in 37 milliseconds