Lines Matching defs:spk_mask
227 p->spk_mask = 0;
231 p->spk_mask |= p->speakers[j];
263 * eld->spk_alloc => (eld_speaker_allocation_bits[]) => spk_mask
264 * spk_mask => (channel_allocations[]) => ai->CA
273 int spk_mask = 0;
290 spk_mask |= eld_speaker_allocation_bits[i];
296 (spk_mask & channel_allocations[i].spk_mask) ==
297 channel_allocations[i].spk_mask) {
392 int spk_mask; /* speaker position bit mask */
423 return t->spk_mask;
457 if (t->spk_mask == spk)
483 int i, spks = 0, spk_mask = 0;
489 spk_mask |= mask;
497 (spk_mask & channel_allocations[i].spk_mask) ==
498 channel_allocations[i].spk_mask)
654 int spk_mask = eld_speaker_allocation_bits[0];
658 spk_mask |= eld_speaker_allocation_bits[i];
661 return spk_mask;
674 int spk_alloc, spk_mask;
684 spk_mask = spk_mask_from_spk_alloc(spk_alloc);
686 max_chs = hweight_long(spk_mask);
700 if (!(cap->spk_mask == (spk_mask & cap->spk_mask)))