Lines Matching refs:rx_skb
337 if (dch->rx_skb) { in hfcusb_l2l1D()
338 dev_kfree_skb(dch->rx_skb); in hfcusb_l2l1D()
339 dch->rx_skb = NULL; in hfcusb_l2l1D()
385 if (dch->rx_skb) { in hfc_l1callback()
386 dev_kfree_skb(dch->rx_skb); in hfc_l1callback()
387 dch->rx_skb = NULL; in hfc_l1callback()
803 struct sk_buff *rx_skb = NULL; in hfcsusb_rx_frame() local
827 rx_skb = fifo->dch->rx_skb; in hfcsusb_rx_frame()
838 rx_skb = fifo->bch->rx_skb; in hfcsusb_rx_frame()
840 if (rx_skb) in hfcsusb_rx_frame()
841 skb_trim(rx_skb, 0); in hfcsusb_rx_frame()
851 rx_skb = fifo->ech->rx_skb; in hfcsusb_rx_frame()
857 if (!rx_skb) { in hfcsusb_rx_frame()
858 rx_skb = mI_alloc_skb(maxlen, GFP_ATOMIC); in hfcsusb_rx_frame()
859 if (rx_skb) { in hfcsusb_rx_frame()
861 fifo->dch->rx_skb = rx_skb; in hfcsusb_rx_frame()
863 fifo->ech->rx_skb = rx_skb; in hfcsusb_rx_frame()
864 skb_trim(rx_skb, 0); in hfcsusb_rx_frame()
873 if ((rx_skb->len + len) >= MAX_DFRAME_LEN_L1) { in hfcsusb_rx_frame()
877 skb_trim(rx_skb, 0); in hfcsusb_rx_frame()
883 skb_put_data(rx_skb, data, len); in hfcsusb_rx_frame()
888 if ((rx_skb->len > 3) && in hfcsusb_rx_frame()
889 (!(rx_skb->data[rx_skb->len - 1]))) { in hfcsusb_rx_frame()
894 rx_skb->len); in hfcsusb_rx_frame()
896 while (i < rx_skb->len) in hfcsusb_rx_frame()
898 rx_skb->data[i++]); in hfcsusb_rx_frame()
903 skb_trim(rx_skb, rx_skb->len - 3); in hfcsusb_rx_frame()
918 hw->name, fifon, rx_skb->len); in hfcsusb_rx_frame()
920 while (i < rx_skb->len) in hfcsusb_rx_frame()
922 rx_skb->data[i++]); in hfcsusb_rx_frame()
925 skb_trim(rx_skb, 0); in hfcsusb_rx_frame()