Lines Matching refs:SendCtl
101 struct BufferControl *SendCtl; /* Send BufferControl structs */ member
400 priv->SendCtl = kcalloc(priv->tx_max_out, sizeof(struct BufferControl), in mpt_lan_open()
402 if (priv->SendCtl == NULL) in mpt_lan_open()
449 kfree(priv->SendCtl); in mpt_lan_open()
450 priv->SendCtl = NULL; in mpt_lan_open()
530 if (priv->SendCtl[i].skb != NULL) { in mpt_lan_close()
532 priv->SendCtl[i].dma, in mpt_lan_close()
533 priv->SendCtl[i].len, DMA_TO_DEVICE); in mpt_lan_close()
534 dev_kfree_skb(priv->SendCtl[i].skb); in mpt_lan_close()
538 kfree(priv->SendCtl); in mpt_lan_close()
575 sent = priv->SendCtl[ctx].skb; in mpt_lan_send_turbo()
584 priv->SendCtl[ctx].skb = NULL; in mpt_lan_send_turbo()
585 dma_unmap_single(&mpt_dev->pcidev->dev, priv->SendCtl[ctx].dma, in mpt_lan_send_turbo()
586 priv->SendCtl[ctx].len, DMA_TO_DEVICE); in mpt_lan_send_turbo()
643 sent = priv->SendCtl[ctx].skb; in mpt_lan_send_reply()
650 priv->SendCtl[ctx].skb = NULL; in mpt_lan_send_reply()
652 priv->SendCtl[ctx].dma, in mpt_lan_send_reply()
653 priv->SendCtl[ctx].len, DMA_TO_DEVICE); in mpt_lan_send_reply()
727 priv->SendCtl[ctx].skb = skb; in mpt_lan_sdu_send()
728 priv->SendCtl[ctx].dma = dma; in mpt_lan_sdu_send()
729 priv->SendCtl[ctx].len = skb->len; in mpt_lan_sdu_send()