Searched refs:dmalen (Results 1 – 4 of 4) sorted by relevance
/linux-6.1.9/drivers/infiniband/hw/cxgb4/ |
D | mem.c | 195 u32 dmalen; in _c4iw_write_mem_dma() local 208 dmalen = remain & ~(T4_ULPTX_MIN_IO-1); in _c4iw_write_mem_dma() 210 dmalen = remain; in _c4iw_write_mem_dma() 212 dmalen = T4_ULPTX_MAX_DMA; in _c4iw_write_mem_dma() 213 remain -= dmalen; in _c4iw_write_mem_dma() 214 ret = _c4iw_write_mem_dma_aligned(rdev, addr, dmalen, daddr, in _c4iw_write_mem_dma() 218 addr += dmalen >> 5; in _c4iw_write_mem_dma() 219 data += dmalen; in _c4iw_write_mem_dma() 220 daddr += dmalen; in _c4iw_write_mem_dma()
|
/linux-6.1.9/drivers/net/wireless/ath/wil6210/ |
D | txrx_edma.c | 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() [all …]
|
D | txrx.c | 176 u16 dmalen = le16_to_cpu(d->dma.length); in wil_txdesc_unmap() local 180 dma_unmap_single(dev, pa, dmalen, DMA_TO_DEVICE); in wil_txdesc_unmap() 183 dma_unmap_page(dev, pa, dmalen, DMA_TO_DEVICE); in wil_txdesc_unmap() 210 u16 dmalen; in wil_vring_free() local 239 dmalen = le16_to_cpu(d->dma.length); in wil_vring_free() 240 dma_unmap_single(dev, pa, dmalen, DMA_FROM_DEVICE); in wil_vring_free() 451 u16 dmalen; in wil_vring_reap_rx() local 482 dmalen = le16_to_cpu(d->dma.length); in wil_vring_reap_rx() 485 wil_dbg_txrx(wil, "Rx[%3d] : %d bytes\n", i, dmalen); in wil_vring_reap_rx() 499 if (unlikely(dmalen > sz)) { in wil_vring_reap_rx() [all …]
|
/linux-6.1.9/drivers/dma/ |
D | ste_dma40.c | 999 int dmalen; in d40_size_2_dmalen() local 1011 dmalen = 1; in d40_size_2_dmalen() 1013 dmalen = size / seg_max; in d40_size_2_dmalen() 1014 if (dmalen * seg_max < size) in d40_size_2_dmalen() 1015 dmalen++; in d40_size_2_dmalen() 1017 return dmalen; in d40_size_2_dmalen()
|