Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/sound/soc/adi/
Daxi-spdif.c45 struct snd_pcm_hw_constraint_ratnums rate_constraints; member
125 &spdif->rate_constraints); in axi_spdif_startup()
223 spdif->rate_constraints.rats = &spdif->ratnum; in axi_spdif_probe()
224 spdif->rate_constraints.nrats = 1; in axi_spdif_probe()
Daxi-i2s.c54 struct snd_pcm_hw_constraint_ratnums rate_constraints; member
122 &i2s->rate_constraints); in axi_i2s_startup()
252 i2s->rate_constraints.rats = &i2s->ratnum; in axi_i2s_probe()
253 i2s->rate_constraints.nrats = 1; in axi_i2s_probe()
/kernel/linux/linux-5.10/sound/soc/codecs/
Dsigmadsp.c290 if (sigmadsp->rate_constraints.count) in sigma_fw_load_samplerates()
300 sigmadsp->rate_constraints.count = num_rates; in sigma_fw_load_samplerates()
301 sigmadsp->rate_constraints.list = rates; in sigma_fw_load_samplerates()
592 for (i = 0; i < sigmadsp->rate_constraints.count; i++) { in sigmadsp_rate_to_index()
593 if (sigmadsp->rate_constraints.list[i] == rate) in sigmadsp_rate_to_index()
608 if (sigmadsp->rate_constraints.count) { in sigmadsp_get_samplerate_mask()
804 if (sigmadsp->rate_constraints.count == 0) in sigmadsp_restrict_params()
808 SNDRV_PCM_HW_PARAM_RATE, &sigmadsp->rate_constraints); in sigmadsp_restrict_params()
Dsigmadsp.h32 struct snd_pcm_hw_constraint_list rate_constraints; member
/kernel/linux/linux-5.10/sound/pci/
Dcmipci.c1575 static const unsigned int rate_constraints[] = { 5512, 8000, 11025, 16000, 22050, variable
1578 .count = ARRAY_SIZE(rate_constraints),
1579 .list = rate_constraints,