Lines Matching refs:csta
828 struct IsdnCardState *csta = cards[cardnr].cs; in closecard() local
830 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()
842 dev_kfree_skb(csta->tx_skb); in closecard()
843 csta->tx_skb = NULL; in closecard()
845 if (csta->DC_Close != NULL) { in closecard()
846 csta->DC_Close(csta); in closecard()
848 if (csta->cardmsg) in closecard()
849 csta->cardmsg(csta, CARD_RELEASE, NULL); in closecard()
850 if (csta->dbusytimer.function != NULL) // FIXME? in closecard()
851 del_timer(&csta->dbusytimer); in closecard()
852 ll_unload(csta); in closecard()