Lines Matching refs:bchans

116 	} *bchans;  member
348 card->bchans[chan].plcip = plcip; in new_plci()
387 card->bchans[plcip->chan].plcip = NULL; in free_plci()
388 card->bchans[plcip->chan].disconnecting = 0; in free_plci()
389 card->bchans[plcip->chan].incoming = 0; in free_plci()
420 card->bchans[plcip->chan].nccip = nccip; in new_ncci()
464 card->bchans[nccip->chan].nccip = NULL; in free_ncci()
570 card->bchans[plci->chan].contr = NULL; in p0()
761 if (card->bchans[i].plcip == NULL) { in new_bchan()
762 card->bchans[i].disconnecting = 0; in new_bchan()
1077 bchan = &card->bchans[chan]; in handle_incoming_call()
1218 card->bchans[plcip->chan].disconnecting = 1; in handle_plci()
1236 card->bchans[plcip->chan].disconnecting = 1; in handle_plci()
1277 if (card->bchans[plcip->chan].incoming) { in handle_plci()
1498 card->bchans[nccip->chan].disconnecting = 1; in handle_ncci()
1812 bchan = &card->bchans[c->arg % card->nbchan]; in capidrv_command()
1890 bchan = &card->bchans[c->arg % card->nbchan]; in capidrv_command()
1936 bchan = &card->bchans[c->arg % card->nbchan]; in capidrv_command()
1998 bchan = &card->bchans[(c->arg & 0xff) % card->nbchan]; in capidrv_command()
2007 bchan = &card->bchans[(c->arg & 0xff) % card->nbchan]; in capidrv_command()
2016 bchan = &card->bchans[c->arg % card->nbchan]; in capidrv_command()
2024 bchan = &card->bchans[c->arg % card->nbchan]; in capidrv_command()
2070 bchan = &card->bchans[channel % card->nbchan]; in if_sendbuf()
2272 card->bchans = kmalloc_array(card->nbchan, sizeof(capidrv_bchan), in capidrv_addcontr()
2274 if (!card->bchans) { in capidrv_addcontr()
2312 kfree(card->bchans); in capidrv_addcontr()
2318 memset(card->bchans, 0, sizeof(capidrv_bchan) * card->nbchan); in capidrv_addcontr()
2320 card->bchans[i].contr = card; in capidrv_addcontr()
2390 if (card->bchans[card->nbchan - 1].nccip) in capidrv_delcontr()
2391 free_ncci(card, card->bchans[card->nbchan - 1].nccip); in capidrv_delcontr()
2392 if (card->bchans[card->nbchan - 1].plcip) in capidrv_delcontr()
2393 free_plci(card, card->bchans[card->nbchan - 1].plcip); in capidrv_delcontr()
2398 kfree(card->bchans); in capidrv_delcontr()
2399 card->bchans = NULL; in capidrv_delcontr()