Lines Matching refs:dmalen
33 u16 dmalen = le16_to_cpu(d->dma.length); in wil_tx_desc_unmap_edma() local
37 dma_unmap_single(dev, pa, dmalen, DMA_TO_DEVICE); in wil_tx_desc_unmap_edma()
40 dma_unmap_page(dev, pa, dmalen, DMA_TO_DEVICE); in wil_tx_desc_unmap_edma()
862 u16 dmalen; in wil_sring_reap_rx_edma() local
934 dmalen = le16_to_cpu(wil_rx_status_get_length(msg)); in wil_sring_reap_rx_edma()
939 buff_id, sring_idx, dmalen); in wil_sring_reap_rx_edma()
960 if (unlikely(dmalen < ETH_HLEN)) { in wil_sring_reap_rx_edma()
961 wil_dbg_txrx(wil, "Short frame, len = %d\n", dmalen); in wil_sring_reap_rx_edma()
967 if (unlikely(dmalen > sz)) { in wil_sring_reap_rx_edma()
968 wil_err(wil, "Rx size too large: %d bytes!\n", dmalen); in wil_sring_reap_rx_edma()
997 skb_trim(skb, dmalen); in wil_sring_reap_rx_edma()
1229 u16 dmalen; in wil_tx_sring_handler() local
1236 dmalen = le16_to_cpu(d->dma.length); in wil_tx_sring_handler()
1237 trace_wil6210_tx_status(&msg, ring->swtail, dmalen); in wil_tx_sring_handler()
1240 ring_id, ring->swtail, dmalen, in wil_tx_sring_handler()