Lines Matching defs:params
1928 struct snd_pcm_hw_params *params)
1954 if ((int)params_rate(params) !=
1957 _snd_pcm_hw_param_setempty(params, SNDRV_PCM_HW_PARAM_RATE);
1961 if (params_period_size(params) != rme9652->period_bytes / 4) {
1963 _snd_pcm_hw_param_setempty(params, SNDRV_PCM_HW_PARAM_PERIOD_SIZE);
1979 err = rme9652_set_rate(rme9652, params_rate(params));
1981 _snd_pcm_hw_param_setempty(params, SNDRV_PCM_HW_PARAM_RATE);
1985 err = rme9652_set_interrupt_interval(rme9652, params_period_size(params));
1987 _snd_pcm_hw_param_setempty(params, SNDRV_PCM_HW_PARAM_PERIOD_SIZE);
2168 static int snd_rme9652_hw_rule_channels(struct snd_pcm_hw_params *params,
2172 struct snd_interval *c = hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS);
2177 static int snd_rme9652_hw_rule_channels_rate(struct snd_pcm_hw_params *params,
2181 struct snd_interval *c = hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS);
2182 struct snd_interval *r = hw_param_interval(params, SNDRV_PCM_HW_PARAM_RATE);
2201 static int snd_rme9652_hw_rule_rate_channels(struct snd_pcm_hw_params *params,
2205 struct snd_interval *c = hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS);
2206 struct snd_interval *r = hw_param_interval(params, SNDRV_PCM_HW_PARAM_RATE);