Searched refs:param_get_int (Results 1 – 2 of 2) sorted by relevance
219 static unsigned int param_get_int(struct snd_pcm_hw_params *p, int n) in param_get_int() function981 config->period_size = param_get_int(¶ms, SNDRV_PCM_HW_PARAM_PERIOD_SIZE); in pcm_open()982 config->period_count = param_get_int(¶ms, SNDRV_PCM_HW_PARAM_PERIODS); in pcm_open()
226 static unsigned int param_get_int(struct snd_pcm_hw_params *p, int n) in param_get_int() function485 pcm->config.period_size = param_get_int(¶ms, SNDRV_PCM_HW_PARAM_PERIOD_SIZE); in pcm_set_config()486 pcm->config.period_count = param_get_int(¶ms, SNDRV_PCM_HW_PARAM_PERIODS); in pcm_set_config()