Lines Matching refs:bc
736 cp->isdn.bc[u].cp = cp; in auerisdn_init_dev()
737 cp->isdn.bc[u].mode = L1_MODE_NULL; in auerisdn_init_dev()
738 cp->isdn.bc[u].channel = u; in auerisdn_init_dev()
739 spin_lock_init(&cp->isdn.bc[u].txskb_lock); in auerisdn_init_dev()
760 if (!cp->isdn.bc[u].rxbuf) { in auerisdn_probe()
761 cp->isdn.bc[u].rxbuf = in auerisdn_probe()
763 if (!cp->isdn.bc[u].rxbuf) { in auerisdn_probe()
792 cp->isdn.bc[u].ofsize = ret; in auerisdn_probe()
793 cp->isdn.bc[u].txfree = ret; in auerisdn_probe()
797 dbg("B%d buffer size is %d", u, cp->isdn.bc[u].ofsize); in auerisdn_probe()
1006 kfree(cp->isdn.bc[u].rxbuf); in auerisdn_disconnect()
1007 cp->isdn.bc[u].rxbuf = NULL; in auerisdn_disconnect()
1008 spin_lock_irqsave(&cp->isdn.bc[u].txskb_lock, flags); in auerisdn_disconnect()
1009 if (cp->isdn.bc[u].txskb) { in auerisdn_disconnect()
1010 skb_pull(cp->isdn.bc[u].txskb, in auerisdn_disconnect()
1011 cp->isdn.bc[u].txskb->len); in auerisdn_disconnect()
1012 dev_kfree_skb_any(cp->isdn.bc[u].txskb); in auerisdn_disconnect()
1013 cp->isdn.bc[u].txskb = NULL; in auerisdn_disconnect()
1015 spin_unlock_irqrestore(&cp->isdn.bc[u].txskb_lock, flags); in auerisdn_disconnect()