Searched refs:csta (Results 1 – 2 of 2) sorted by relevance
1095 init_chan(int chan, struct IsdnCardState *csta) in init_chan() argument1097 struct Channel *chanp = csta->channel + chan; in init_chan()1100 chanp->cs = csta; in init_chan()1101 chanp->bcs = csta->bcs + chan; in init_chan()1118 if (!chan || (test_bit(FLG_TWO_DCHAN, &csta->HW_Flags) && chan < 2)) { in init_chan()1123 chanp->d_st = csta->channel->d_st; in init_chan()1130 CallcNewChan(struct IsdnCardState *csta) { in CallcNewChan() argument1134 err = init_chan(0, csta); in CallcNewChan()1137 err = init_chan(1, csta); in CallcNewChan()1143 err = init_chan(i+2,csta); in CallcNewChan()[all …]
828 struct IsdnCardState *csta = cards[cardnr].cs; in closecard() local830 if (csta->bcs->BC_Close != NULL) { in closecard()831 csta->bcs->BC_Close(csta->bcs + 1); in closecard()832 csta->bcs->BC_Close(csta->bcs); in closecard()835 skb_queue_purge(&csta->rq); in closecard()836 skb_queue_purge(&csta->sq); in closecard()837 if (csta->rcvbuf) { in closecard()838 kfree(csta->rcvbuf); in closecard()839 csta->rcvbuf = NULL; in closecard()841 if (csta->tx_skb) { in closecard()[all …]