Searched refs:rate_constraints (Results 1 – 7 of 7) sorted by relevance
45 struct snd_pcm_hw_constraint_ratnums rate_constraints; member125 &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()
54 struct snd_pcm_hw_constraint_ratnums rate_constraints; member122 &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()
35 struct snd_pcm_hw_constraint_list rate_constraints; member690 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()939 adau1372->rate_constraints.list = adau1372_rates; in adau1372_probe()940 adau1372->rate_constraints.count = ARRAY_SIZE(adau1372_rates); in adau1372_probe()941 adau1372->rate_constraints.mask = ADAU1372_RATE_MASK_TDM2; in adau1372_probe()
302 if (sigmadsp->rate_constraints.count) in sigma_fw_load_samplerates()312 sigmadsp->rate_constraints.count = num_rates; in sigma_fw_load_samplerates()313 sigmadsp->rate_constraints.list = rates; in sigma_fw_load_samplerates()604 for (i = 0; i < sigmadsp->rate_constraints.count; i++) { in sigmadsp_rate_to_index()605 if (sigmadsp->rate_constraints.list[i] == rate) in sigmadsp_rate_to_index()620 if (sigmadsp->rate_constraints.count) { in sigmadsp_get_samplerate_mask()816 if (sigmadsp->rate_constraints.count == 0) in sigmadsp_restrict_params()820 SNDRV_PCM_HW_PARAM_RATE, &sigmadsp->rate_constraints); in sigmadsp_restrict_params()
32 struct snd_pcm_hw_constraint_list rate_constraints; member
35 struct snd_pcm_hw_constraint_ratnums rate_constraints; member71 drv_data->rate_constraints.rats = &drv_data->ratnum; in xlnx_i2s_set_sysclk()72 drv_data->rate_constraints.nrats = 1; in xlnx_i2s_set_sysclk()85 &drv_data->rate_constraints); in xlnx_i2s_startup()
1575 static const unsigned int rate_constraints[] = { 5512, 8000, 11025, 16000, 22050, variable1578 .count = ARRAY_SIZE(rate_constraints),1579 .list = rate_constraints,