Searched refs:rate_index (Results 1 – 5 of 5) sorted by relevance
/sound/firewire/ |
D | dice.c | 85 static unsigned int rate_index_to_mode(unsigned int rate_index) in rate_index_to_mode() argument 87 return ((int)rate_index - 1) / 2; in rate_index_to_mode() 551 unsigned int rate_index, mode, rate, channels, i; in dice_hw_params() local 564 rate_index = rate_to_index(rate); in dice_hw_params() 565 err = dice_change_rate(dice, rate_index << CLOCK_RATE_SHIFT); in dice_hw_params() 580 if (rate_index > 4) { in dice_hw_params() 593 mode = rate_index_to_mode(rate_index); in dice_hw_params() 596 if (rate_index > 4) { in dice_hw_params() 1234 int rate_index, err; in dice_read_mode_params() local 1236 rate_index = highest_supported_mode_rate(dice, mode); in dice_read_mode_params() [all …]
|
/sound/ppc/ |
D | pmac.c | 176 out_le32(&chip->awacs->control, chip->control_mask | (chip->rate_index << 8)); in snd_pmac_pcm_set_format() 216 int rate_index; in snd_pmac_pcm_prepare() local 224 rate_index = snd_pmac_rate_index(chip, rec, runtime->rate); in snd_pmac_pcm_prepare() 230 astr->cur_freqs = 1 << rate_index; in snd_pmac_pcm_prepare() 232 chip->rate_index = rate_index; in snd_pmac_pcm_prepare()
|
D | pmac.h | 124 int rate_index; member
|
D | awacs.c | 124 chip->awacs_reg[1] |= chip->rate_index << 3; in snd_pmac_awacs_set_format()
|
/sound/pci/nm256/ |
D | nm256.c | 433 int rate_index = snd_nm256_fixed_rate(runtime->rate); in snd_nm256_set_format() local 434 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()
|