Lines Matching defs:params

4039 				 struct snd_pcm_hw_params *params)
4071 if (params_rate(params) != hdsp->system_sample_rate) {
4073 _snd_pcm_hw_param_setempty(params, SNDRV_PCM_HW_PARAM_RATE);
4077 if (params_period_size(params) != hdsp->period_bytes / 4) {
4079 _snd_pcm_hw_param_setempty(params, SNDRV_PCM_HW_PARAM_PERIOD_SIZE);
4097 err = hdsp_set_rate(hdsp, params_rate(params), 0);
4100 _snd_pcm_hw_param_setempty(params, SNDRV_PCM_HW_PARAM_RATE);
4106 err = hdsp_set_interrupt_interval(hdsp, params_period_size(params));
4108 _snd_pcm_hw_param_setempty(params, SNDRV_PCM_HW_PARAM_PERIOD_SIZE);
4310 static int snd_hdsp_hw_rule_in_channels(struct snd_pcm_hw_params *params,
4314 struct snd_interval *c = hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS);
4329 static int snd_hdsp_hw_rule_out_channels(struct snd_pcm_hw_params *params,
4334 struct snd_interval *c = hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS);
4347 static int snd_hdsp_hw_rule_in_channels_rate(struct snd_pcm_hw_params *params,
4351 struct snd_interval *c = hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS);
4352 struct snd_interval *r = hw_param_interval(params, SNDRV_PCM_HW_PARAM_RATE);
4378 static int snd_hdsp_hw_rule_out_channels_rate(struct snd_pcm_hw_params *params,
4382 struct snd_interval *c = hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS);
4383 struct snd_interval *r = hw_param_interval(params, SNDRV_PCM_HW_PARAM_RATE);
4409 static int snd_hdsp_hw_rule_rate_out_channels(struct snd_pcm_hw_params *params,
4413 struct snd_interval *c = hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS);
4414 struct snd_interval *r = hw_param_interval(params, SNDRV_PCM_HW_PARAM_RATE);
4440 static int snd_hdsp_hw_rule_rate_in_channels(struct snd_pcm_hw_params *params,
4444 struct snd_interval *c = hw_param_interval(params, SNDRV_PCM_HW_PARAM_CHANNELS);
4445 struct snd_interval *r = hw_param_interval(params, SNDRV_PCM_HW_PARAM_RATE);