Lines Matching refs:nchannels
151 int nchannels; /* # of channels on this card */ member
416 for (i = 0; i < cosa->nchannels; i++) { in cosa_exit()
542 cosa->nchannels = 2; /* FIXME: how to determine this? */ in cosa_probe()
561 cosa->chan = kcalloc(cosa->nchannels, sizeof(struct channel_data), GFP_KERNEL); in cosa_probe()
567 for (i = 0; i < cosa->nchannels; i++) { in cosa_probe()
602 cosa->datareg, cosa->irq, cosa->dma, cosa->nchannels); in cosa_probe()
950 & ((1<<CARD_MINOR_BITS)-1)) >= cosa->nchannels) { in cosa_open()
1171 return cosa->nchannels; in cosa_ioctl_common()
1694 if (cosa->txchan >= cosa->nchannels) in tx_interrupt()
1701 if (i > cosa->nchannels) { in tx_interrupt()
1848 if (((cosa->rxsize & 0xe000) >> 13) >= cosa->nchannels) { in rx_interrupt()