Home
last modified time | relevance | path

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

/sound/soc/intel/skylake/
Dskl-nhlt.c205 int rate_index = 0; in skl_get_ssp_clks() local
280 sclk[id].rate_cfg[rate_index].rate = rate; in skl_get_ssp_clks()
281 sclk[id].rate_cfg[rate_index].config = fmt_cfg; in skl_get_ssp_clks()
282 sclkfs[id].rate_cfg[rate_index].rate = rate; in skl_get_ssp_clks()
283 sclkfs[id].rate_cfg[rate_index].config = fmt_cfg; in skl_get_ssp_clks()
287 rate_index++; in skl_get_ssp_clks()
/sound/ppc/
Dpmac.c162 out_le32(&chip->awacs->control, chip->control_mask | (chip->rate_index << 8)); in snd_pmac_pcm_set_format()
202 int rate_index; in snd_pmac_pcm_prepare() local
210 rate_index = snd_pmac_rate_index(chip, rec, runtime->rate); in snd_pmac_pcm_prepare()
216 astr->cur_freqs = 1 << rate_index; in snd_pmac_pcm_prepare()
218 chip->rate_index = rate_index; in snd_pmac_pcm_prepare()
Dpmac.h111 int rate_index; member
Dawacs.c111 chip->awacs_reg[1] |= chip->rate_index << 3; in snd_pmac_awacs_set_format()
/sound/pci/nm256/
Dnm256.c419 int rate_index = snd_nm256_fixed_rate(runtime->rate); in snd_nm256_set_format() local
420 unsigned char ratebits = (rate_index << 4) & NM_RATE_MASK; in snd_nm256_set_format()
432 runtime->rate = samplerates[rate_index]; in snd_nm256_set_format()
436 snd_nm256_load_coefficient(chip, 0, rate_index); /* 0 = playback */ in snd_nm256_set_format()
442 snd_nm256_load_coefficient(chip, 1, rate_index); /* 1 = record */ in snd_nm256_set_format()