Lines Matching refs:Skb
426 tp->Rpl[i].Skb = dev_alloc_skb(tp->MaxPacketSize); in tms380tr_init_net_local()
430 if(tp->Rpl[i].Skb == NULL) in tms380tr_init_net_local()
438 tp->Rpl[i].Skb->dev = dev; in tms380tr_init_net_local()
439 skb_put(tp->Rpl[i].Skb, tp->MaxPacketSize); in tms380tr_init_net_local()
442 dmabuf = pci_map_single(tp->pdev, tp->Rpl[i].Skb->data, tp->MaxPacketSize, PCI_DMA_FROMDEVICE); in tms380tr_init_net_local()
453 tp->Rpl[i].MData = tp->Rpl[i].Skb->data; in tms380tr_init_net_local()
687 tpl->Skb = skb; in tms380tr_hardware_send_packet()
2020 pci_unmap_single(tp->pdev, tpl->DMABuff, tpl->Skb->len, PCI_DMA_TODEVICE); in tms380tr_cancel_tx_queue()
2021 dev_kfree_skb_any(tpl->Skb); in tms380tr_cancel_tx_queue()
2098 pci_unmap_single(tp->pdev, tpl->DMABuff, tpl->Skb->len, PCI_DMA_TODEVICE); in tms380tr_tx_status_irq()
2099 dev_kfree_skb_irq(tpl->Skb); in tms380tr_tx_status_irq()
2175 skb = rpl->Skb; in tms380tr_rcv_status_irq()
2200 rpl->Skb = NULL; in tms380tr_rcv_status_irq()
2209 if(rpl->Skb != NULL) in tms380tr_rcv_status_irq()
2210 dev_kfree_skb_irq(rpl->Skb); in tms380tr_rcv_status_irq()
2222 rpl->Skb = dev_alloc_skb(tp->MaxPacketSize); in tms380tr_rcv_status_irq()
2224 if(rpl->Skb == NULL) in tms380tr_rcv_status_irq()
2232 rpl->Skb->dev = dev; in tms380tr_rcv_status_irq()
2233 skb_put(rpl->Skb, tp->MaxPacketSize); in tms380tr_rcv_status_irq()
2236 dmabuf = pci_map_single(tp->pdev, rpl->Skb->data, tp->MaxPacketSize, PCI_DMA_FROMDEVICE); in tms380tr_rcv_status_irq()
2248 rpl->MData = rpl->Skb->data; in tms380tr_rcv_status_irq()