Searched refs:rate_index (Results 1 – 5 of 5) sorted by relevance
205 int rate_index = 0; in skl_get_ssp_clks() local280 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()
162 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() local210 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()
111 int rate_index; member
111 chip->awacs_reg[1] |= chip->rate_index << 3; in snd_pmac_awacs_set_format()
419 int rate_index = snd_nm256_fixed_rate(runtime->rate); in snd_nm256_set_format() local420 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()