Home
last modified time | relevance | path

Searched refs:ChanMap (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/sound/pci/trident/
H A Dtrident.h361 unsigned int ChanMap[2]; /* allocation map for hardware channels */ member
H A Dtrident_main.c339 if (!(trident->ChanMap[T4D_BANK_B] & (1 << idx))) { in snd_trident_allocate_pcm_channel()
340 trident->ChanMap[T4D_BANK_B] |= 1 << idx; in snd_trident_allocate_pcm_channel()
365 if (trident->ChanMap[T4D_BANK_B] & (1 << channel)) { in snd_trident_free_pcm_channel()
366 trident->ChanMap[T4D_BANK_B] &= ~(1 << channel); in snd_trident_free_pcm_channel()
387 if (!(trident->ChanMap[T4D_BANK_A] & (1 << idx))) { in snd_trident_allocate_synth_channel()
388 trident->ChanMap[T4D_BANK_A] |= 1 << idx; in snd_trident_allocate_synth_channel()
413 if (trident->ChanMap[T4D_BANK_A] & (1 << channel)) { in snd_trident_free_synth_channel()
414 trident->ChanMap[T4D_BANK_A] &= ~(1 << channel); in snd_trident_free_synth_channel()