Searched refs:csta (Results 1 – 2 of 2) sorted by relevance
1085 init_chan(int chan, struct IsdnCardState *csta) in init_chan() argument1087 struct Channel *chanp = csta->channel + chan; in init_chan()1090 chanp->cs = csta; in init_chan()1091 chanp->bcs = csta->bcs + chan; in init_chan()1108 if (!chan || (test_bit(FLG_TWO_DCHAN, &csta->HW_Flags) && chan < 2)) { in init_chan()1113 chanp->d_st = csta->channel->d_st; in init_chan()1120 CallcNewChan(struct IsdnCardState *csta) { in CallcNewChan() argument1124 err = init_chan(0, csta); in CallcNewChan()1127 err = init_chan(1, csta); in CallcNewChan()1133 err = init_chan(i + 2, csta); in CallcNewChan()[all …]
779 struct IsdnCardState *csta = cards[cardnr].cs; in closecard() local781 if (csta->bcs->BC_Close != NULL) { in closecard()782 csta->bcs->BC_Close(csta->bcs + 1); in closecard()783 csta->bcs->BC_Close(csta->bcs); in closecard()786 skb_queue_purge(&csta->rq); in closecard()787 skb_queue_purge(&csta->sq); in closecard()788 kfree(csta->rcvbuf); in closecard()789 csta->rcvbuf = NULL; in closecard()790 if (csta->tx_skb) { in closecard()791 dev_kfree_skb(csta->tx_skb); in closecard()[all …]