Searched refs:avail_slots (Results 1 – 3 of 3) sorted by relevance
129 int i, frame_size, avail_slots; in sti_uniperiph_set_tdm_slot() local143 for (i = 0, avail_slots = 0; i < uni->tdm_slot.slots; i++) { in sti_uniperiph_set_tdm_slot()145 avail_slots++; in sti_uniperiph_set_tdm_slot()147 uni->tdm_slot.avail_slots = avail_slots; in sti_uniperiph_set_tdm_slot()150 frame_size = uni->tdm_slot.avail_slots * uni->tdm_slot.slot_width / 8; in sti_uniperiph_set_tdm_slot()169 t.min = uni->tdm_slot.avail_slots; in sti_uniperiph_fix_tdm_chan()170 t.max = uni->tdm_slot.avail_slots; in sti_uniperiph_fix_tdm_chan()
1290 unsigned int avail_slots; member
438 unsigned short avail_slots[2][4]; in snd_ac97_pcm_assign() local448 memset(avail_slots, 0, sizeof(avail_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()456 avail_slots[1][i] = get_cslots(codec); in snd_ac97_pcm_assign()460 avail_slots[1][i] &= ~avail_slots[1][j]; in snd_ac97_pcm_assign()487 tmp = avail_slots[pcm->stream][j]; in snd_ac97_pcm_assign()508 avail_slots[pcm->stream][j] &= ~tmp; in snd_ac97_pcm_assign()526 avail_slots[pcm->stream][0] &= ~tmp; in snd_ac97_pcm_assign()