Searched refs:dma_limit (Results 1 – 5 of 5) sorted by relevance
245 int dma_limit = 16; in pci_esp_dma_length_limit() local253 dma_limit = 24; in pci_esp_dma_length_limit()255 if (dma_len > (1U << dma_limit)) in pci_esp_dma_length_limit()256 dma_len = (1U << dma_limit); in pci_esp_dma_length_limit()
474 size_t size, u64 dma_limit, struct device *dev) in iommu_dma_alloc_iova() argument496 dma_limit = min_not_zero(dma_limit, dev->bus_dma_limit); in iommu_dma_alloc_iova()499 dma_limit = min(dma_limit, (u64)domain->geometry.aperture_end); in iommu_dma_alloc_iova()502 if (dma_limit > DMA_BIT_MASK(32) && dev_is_pci(dev)) in iommu_dma_alloc_iova()507 iova = alloc_iova_fast(iovad, iova_len, dma_limit >> shift, in iommu_dma_alloc_iova()
2691 unsigned long dma_limit; in make_raw_rw_request() local2703 dma_limit = (MAX_DMA_ADDRESS - in make_raw_rw_request()2705 if ((unsigned long)max_size > dma_limit) in make_raw_rw_request()2706 max_size = dma_limit; in make_raw_rw_request()
7727 if (tp->dma_limit) { in tg3_tx_frag_set()7730 while (len > tp->dma_limit && *budget) { in tg3_tx_frag_set()7731 u32 frag_len = tp->dma_limit; in tg3_tx_frag_set()7732 len -= tp->dma_limit; in tg3_tx_frag_set()7736 len += tp->dma_limit / 2; in tg3_tx_frag_set()7737 frag_len = tp->dma_limit / 2; in tg3_tx_frag_set()10316 tp->dma_limit = 0; in tg3_reset_hw()10319 tp->dma_limit = TG3_TX_BD_DMA_MAX_2K; in tg3_reset_hw()13686 if (tp->dma_limit) in tg3_test_loopback()13687 jmb_pkt_sz = tp->dma_limit - ETH_HLEN; in tg3_test_loopback()[all …]
3199 u32 dma_limit; member