Home
last modified time | relevance | path

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

/linux/sound/soc/adi/
A Daxi-spdif.c45 struct snd_pcm_hw_constraint_ratnums rate_constraints; member
125 &spdif->rate_constraints); in axi_spdif_startup()
222 spdif->rate_constraints.rats = &spdif->ratnum; in axi_spdif_probe()
223 spdif->rate_constraints.nrats = 1; in axi_spdif_probe()
A Daxi-i2s.c54 struct snd_pcm_hw_constraint_ratnums rate_constraints; member
122 &i2s->rate_constraints); in axi_i2s_startup()
251 i2s->rate_constraints.rats = &i2s->ratnum; in axi_i2s_probe()
252 i2s->rate_constraints.nrats = 1; in axi_i2s_probe()
/linux/sound/soc/codecs/
A Dadau1372.c35 struct snd_pcm_hw_constraint_list rate_constraints; member
690 adau1372->rate_constraints.mask = ADAU1372_RATE_MASK_TDM2; in adau1372_set_tdm_slot()
713 adau1372->rate_constraints.mask = ADAU1372_RATE_MASK_TDM2; in adau1372_set_tdm_slot()
718 adau1372->rate_constraints.mask = ADAU1372_RATE_MASK_TDM4_MASTER; in adau1372_set_tdm_slot()
720 adau1372->rate_constraints.mask = ADAU1372_RATE_MASK_TDM4; in adau1372_set_tdm_slot()
724 adau1372->rate_constraints.mask = ADAU1372_RATE_MASK_TDM8; in adau1372_set_tdm_slot()
759 &adau1372->rate_constraints); in adau1372_startup()
938 adau1372->rate_constraints.list = adau1372_rates; in adau1372_probe()
939 adau1372->rate_constraints.count = ARRAY_SIZE(adau1372_rates); in adau1372_probe()
940 adau1372->rate_constraints.mask = ADAU1372_RATE_MASK_TDM2; in adau1372_probe()
A Dsigmadsp.c304 if (sigmadsp->rate_constraints.count) in sigma_fw_load_samplerates()
314 sigmadsp->rate_constraints.count = num_rates; in sigma_fw_load_samplerates()
315 sigmadsp->rate_constraints.list = rates; in sigma_fw_load_samplerates()
606 for (i = 0; i < sigmadsp->rate_constraints.count; i++) { in sigmadsp_rate_to_index()
607 if (sigmadsp->rate_constraints.list[i] == rate) in sigmadsp_rate_to_index()
622 if (sigmadsp->rate_constraints.count) { in sigmadsp_get_samplerate_mask()
818 if (sigmadsp->rate_constraints.count == 0) in sigmadsp_restrict_params()
822 SNDRV_PCM_HW_PARAM_RATE, &sigmadsp->rate_constraints); in sigmadsp_restrict_params()
A Dsigmadsp.h32 struct snd_pcm_hw_constraint_list rate_constraints; member
/linux/sound/pci/
A Dcmipci.c1576 static const unsigned int rate_constraints[] = { 5512, 8000, 11025, 16000, 22050, variable
1579 .count = ARRAY_SIZE(rate_constraints),
1580 .list = rate_constraints,

Completed in 18 milliseconds