Lines Matching defs:params

60 			 struct snd_pcm_hw_params *params);
227 typedef int (*snd_pcm_hw_rule_func_t)(struct snd_pcm_hw_params *params,
361 /* -- HW params -- */
379 /* -- SW params; see struct snd_pcm_sw_params for comments -- */
946 static inline struct snd_mask *hw_param_mask(struct snd_pcm_hw_params *params,
949 return &params->masks[var - SNDRV_PCM_HW_PARAM_FIRST_MASK];
952 static inline struct snd_interval *hw_param_interval(struct snd_pcm_hw_params *params,
955 return &params->intervals[var - SNDRV_PCM_HW_PARAM_FIRST_INTERVAL];
958 static inline const struct snd_mask *hw_param_mask_c(const struct snd_pcm_hw_params *params,
961 return &params->masks[var - SNDRV_PCM_HW_PARAM_FIRST_MASK];
964 static inline const struct snd_interval *hw_param_interval_c(const struct snd_pcm_hw_params *params,
967 return &params->intervals[var - SNDRV_PCM_HW_PARAM_FIRST_INTERVAL];
971 * params_channels - Get the number of channels from the hw params
972 * @p: hw params
982 * params_rate - Get the sample rate from the hw params
983 * @p: hw params
993 * params_period_size - Get the period size (in frames) from the hw params
994 * @p: hw params
1004 * params_periods - Get the number of periods from the hw params
1005 * @p: hw params
1015 * params_buffer_size - Get the buffer size (in frames) from the hw params
1016 * @p: hw params
1026 * params_buffer_bytes - Get the buffer size (in bytes) from the hw params
1027 * @p: hw params
1045 void _snd_pcm_hw_params_any(struct snd_pcm_hw_params *params);
1046 void _snd_pcm_hw_param_setempty(struct snd_pcm_hw_params *params, snd_pcm_hw_param_t var);
1048 int snd_pcm_hw_refine(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params);