Searched refs:rate_index (Results 1 – 4 of 4) sorted by relevance
175 out_le32(&chip->awacs->control, chip->control_mask | (chip->rate_index << 8)); in snd_pmac_pcm_set_format()215 int rate_index; in snd_pmac_pcm_prepare() local223 rate_index = snd_pmac_rate_index(chip, rec, runtime->rate); in snd_pmac_pcm_prepare()229 astr->cur_freqs = 1 << rate_index; in snd_pmac_pcm_prepare()231 chip->rate_index = rate_index; in snd_pmac_pcm_prepare()
124 int rate_index; member
124 chip->awacs_reg[1] |= chip->rate_index << 3; in snd_pmac_awacs_set_format()
433 int rate_index = snd_nm256_fixed_rate(runtime->rate); in snd_nm256_set_format() local434 unsigned char ratebits = (rate_index << 4) & NM_RATE_MASK; in snd_nm256_set_format()446 runtime->rate = samplerates[rate_index]; in snd_nm256_set_format()450 snd_nm256_load_coefficient(chip, 0, rate_index); /* 0 = playback */ in snd_nm256_set_format()456 snd_nm256_load_coefficient(chip, 1, rate_index); /* 1 = record */ in snd_nm256_set_format()