Lines Matching refs:bchans
117 } *bchans; member
357 card->bchans[chan].plcip = plcip; in new_plci()
396 card->bchans[plcip->chan].plcip = 0; in free_plci()
397 card->bchans[plcip->chan].disconnecting = 0; in free_plci()
398 card->bchans[plcip->chan].incoming = 0; in free_plci()
431 card->bchans[plcip->chan].nccip = nccip; in new_ncci()
475 card->bchans[nccip->chan].nccip = 0; in free_ncci()
593 card->bchans[plci->chan].contr = 0; in p0()
784 if (card->bchans[i].plcip == 0) { in new_bchan()
785 card->bchans[i].disconnecting = 0; in new_bchan()
905 bchan = &card->bchans[chan]; in handle_incoming_call()
1045 card->bchans[plcip->chan].disconnecting = 1; in handle_plci()
1063 card->bchans[plcip->chan].disconnecting = 1; in handle_plci()
1104 if (card->bchans[plcip->chan].incoming) { in handle_plci()
1313 card->bchans[nccip->chan].disconnecting = 1; in handle_ncci()
1614 bchan = &card->bchans[c->arg % card->nbchan]; in capidrv_command()
1692 bchan = &card->bchans[c->arg % card->nbchan]; in capidrv_command()
1734 bchan = &card->bchans[c->arg % card->nbchan]; in capidrv_command()
1796 bchan = &card->bchans[(c->arg & 0xff) % card->nbchan]; in capidrv_command()
1805 bchan = &card->bchans[(c->arg & 0xff) % card->nbchan]; in capidrv_command()
1814 bchan = &card->bchans[c->arg % card->nbchan]; in capidrv_command()
1822 bchan = &card->bchans[c->arg % card->nbchan]; in capidrv_command()
1906 bchan = &card->bchans[channel % card->nbchan]; in if_sendbuf()
2084 card->bchans = (capidrv_bchan *) kmalloc(sizeof(capidrv_bchan) * card->nbchan, GFP_ATOMIC); in capidrv_addcontr()
2085 if (!card->bchans) { in capidrv_addcontr()
2121 kfree(card->bchans); in capidrv_addcontr()
2134 memset(card->bchans, 0, sizeof(capidrv_bchan) * card->nbchan); in capidrv_addcontr()
2136 card->bchans[i].contr = card; in capidrv_addcontr()
2199 if (card->bchans[card->nbchan-1].nccip) in capidrv_delcontr()
2200 free_ncci(card, card->bchans[card->nbchan-1].nccip); in capidrv_delcontr()
2201 if (card->bchans[card->nbchan-1].plcip) in capidrv_delcontr()
2202 free_plci(card, card->bchans[card->nbchan-1].plcip); in capidrv_delcontr()
2207 kfree(card->bchans); in capidrv_delcontr()
2208 card->bchans = 0; in capidrv_delcontr()