Lines Matching refs:spdif_slots
307 …ned short get_pslots(struct snd_ac97 *ac97, unsigned char *rate_table, unsigned short *spdif_slots) in get_pslots() argument
333 *spdif_slots = (1<<AC97_SLOT_SPDIF_LEFT)|(1<<AC97_SLOT_SPDIF_RIGHT); in get_pslots()
335 *spdif_slots = (1<<AC97_SLOT_SPDIF_LEFT1)|(1<<AC97_SLOT_SPDIF_RIGHT1); in get_pslots()
337 *spdif_slots = (1<<AC97_SLOT_SPDIF_LEFT2)|(1<<AC97_SLOT_SPDIF_RIGHT2); in get_pslots()
348 *spdif_slots = (1<<AC97_SLOT_SPDIF_LEFT1)|(1<<AC97_SLOT_SPDIF_RIGHT1); in get_pslots()
350 *spdif_slots = (1<<AC97_SLOT_SPDIF_LEFT2)|(1<<AC97_SLOT_SPDIF_RIGHT2); in get_pslots()
357 *spdif_slots = (1<<AC97_SLOT_SPDIF_LEFT2)|(1<<AC97_SLOT_SPDIF_RIGHT2); in get_pslots()
371 *spdif_slots = (1<<AC97_SLOT_SPDIF_LEFT)|(1<<AC97_SLOT_SPDIF_RIGHT); in get_pslots()
373 *spdif_slots = (1<<AC97_SLOT_SPDIF_LEFT1)|(1<<AC97_SLOT_SPDIF_RIGHT1); in get_pslots()
375 *spdif_slots = (1<<AC97_SLOT_SPDIF_LEFT2)|(1<<AC97_SLOT_SPDIF_RIGHT2); in get_pslots()
441 unsigned short spdif_slots[4]; in snd_ac97_pcm_assign() local
450 memset(spdif_slots, 0, sizeof(spdif_slots)); in snd_ac97_pcm_assign()
455 avail_slots[0][i] = get_pslots(codec, &rate_table[0][i], &spdif_slots[i]); in snd_ac97_pcm_assign()
485 tmp = spdif_slots[j]; in snd_ac97_pcm_assign()