Home
last modified time | relevance | path

Searched refs:adsp_map (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/sound/core/oss/
H A Dpcm_oss.c36 static int adsp_map[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS-1)] = 1}; variable
44 module_param_array(adsp_map, int, NULL, 0444);
45 MODULE_PARM_DESC(adsp_map, "PCM device number assigned to 2nd OSS device.");
3141 if (adsp_map[pcm->card->number] == (int)pcm->device) { in snd_pcm_oss_register_minor()
3202 if (adsp_map[i] < 0 || adsp_map[i] >= SNDRV_PCM_DEVICES) { in alsa_pcm_oss_init()
3203 pr_err("ALSA: pcm_oss: invalid adsp_map[%d] = %d\n", in alsa_pcm_oss_init()
3204 i, adsp_map[i]); in alsa_pcm_oss_init()
3205 adsp_map[i] = 1; in alsa_pcm_oss_init()
/kernel/linux/linux-6.6/sound/core/oss/
H A Dpcm_oss.c36 static int adsp_map[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS-1)] = 1}; variable
44 module_param_array(adsp_map, int, NULL, 0444);
45 MODULE_PARM_DESC(adsp_map, "PCM device number assigned to 2nd OSS device.");
3165 if (adsp_map[pcm->card->number] == (int)pcm->device) { in snd_pcm_oss_register_minor()
3226 if (adsp_map[i] < 0 || adsp_map[i] >= SNDRV_PCM_DEVICES) { in alsa_pcm_oss_init()
3227 pr_err("ALSA: pcm_oss: invalid adsp_map[%d] = %d\n", in alsa_pcm_oss_init()
3228 i, adsp_map[i]); in alsa_pcm_oss_init()
3229 adsp_map[i] = 1; in alsa_pcm_oss_init()

Completed in 12 milliseconds