Home
last modified time | relevance | path

Searched refs:tx_req (Results 1 – 6 of 6) sorted by relevance

/drivers/infiniband/ulp/ipoib/
Dipoib_ib.c262 int ipoib_dma_map_tx(struct ib_device *ca, struct ipoib_tx_buf *tx_req) in ipoib_dma_map_tx() argument
264 struct sk_buff *skb = tx_req->skb; in ipoib_dma_map_tx()
265 u64 *mapping = tx_req->mapping; in ipoib_dma_map_tx()
304 struct ipoib_tx_buf *tx_req) in ipoib_dma_unmap_tx() argument
306 struct sk_buff *skb = tx_req->skb; in ipoib_dma_unmap_tx()
307 u64 *mapping = tx_req->mapping; in ipoib_dma_unmap_tx()
375 struct ipoib_tx_buf *tx_req; in ipoib_ib_handle_tx_wc() local
386 tx_req = &priv->tx_ring[wr_id]; in ipoib_ib_handle_tx_wc()
388 ipoib_dma_unmap_tx(priv, tx_req); in ipoib_ib_handle_tx_wc()
391 dev->stats.tx_bytes += tx_req->skb->len; in ipoib_ib_handle_tx_wc()
[all …]
Dipoib_cm.c698 struct ipoib_tx_buf *tx_req) in post_send() argument
702 ipoib_build_sge(priv, tx_req); in post_send()
712 struct ipoib_tx_buf *tx_req; in ipoib_cm_send() local
734 tx_req = &tx->tx_ring[tx->tx_head & (ipoib_sendq_size - 1)]; in ipoib_cm_send()
735 tx_req->skb = skb; in ipoib_cm_send()
737 if (unlikely(ipoib_dma_map_tx(priv->ca, tx_req))) { in ipoib_cm_send()
746 rc = post_send(priv, tx, tx->tx_head & (ipoib_sendq_size - 1), tx_req); in ipoib_cm_send()
750 ipoib_dma_unmap_tx(priv, tx_req); in ipoib_cm_send()
775 struct ipoib_tx_buf *tx_req; in ipoib_cm_handle_tx_wc() local
787 tx_req = &tx->tx_ring[wr_id]; in ipoib_cm_handle_tx_wc()
[all …]
Dipoib.h516 int ipoib_dma_map_tx(struct ib_device *ca, struct ipoib_tx_buf *tx_req);
518 struct ipoib_tx_buf *tx_req);
521 struct ipoib_tx_buf *tx_req) in ipoib_build_sge() argument
524 struct sk_buff *skb = tx_req->skb; in ipoib_build_sge()
527 u64 *mapping = tx_req->mapping; in ipoib_build_sge()
/drivers/usb/gadget/udc/
Dfsl_qe_udc.c1144 if (ep->tx_req != NULL) { in txcomplete()
1145 struct qe_req *req = ep->tx_req; in txcomplete()
1170 if (((ep->tx_req->req.length - ep->sent) <= 0) && !zlp) { in txcomplete()
1171 done(ep, ep->tx_req, 0); in txcomplete()
1172 ep->tx_req = NULL; in txcomplete()
1179 if (ep->tx_req == NULL) { in txcomplete()
1181 ep->tx_req = list_entry(ep->queue.next, struct qe_req, in txcomplete()
1198 size = min_t(u32, (ep->tx_req->req.length - ep->sent), in qe_usb_senddata()
1200 buf = (u8 *)ep->tx_req->req.buf + ep->sent; in qe_usb_senddata()
1203 ep->tx_req->req.actual += size; in qe_usb_senddata()
[all …]
Dfsl_qe_udc.h289 struct qe_req *tx_req; member
/drivers/mmc/host/
Domap_hsmmc.c2006 unsigned tx_req, rx_req; in omap_hsmmc_probe() local
2142 tx_req = res->start; in omap_hsmmc_probe()
2168 &tx_req, &pdev->dev, "tx"); in omap_hsmmc_probe()
2171 dev_err(mmc_dev(host->mmc), "unable to obtain TX DMA engine channel %u\n", tx_req); in omap_hsmmc_probe()