Searched refs:dma_limit (Results 1 – 6 of 6) 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()
403 size_t size, u64 dma_limit, struct device *dev) in iommu_dma_alloc_iova() argument425 dma_limit = min_not_zero(dma_limit, dev->bus_dma_limit); in iommu_dma_alloc_iova()428 dma_limit = min(dma_limit, (u64)domain->geometry.aperture_end); in iommu_dma_alloc_iova()431 if (dma_limit > DMA_BIT_MASK(32) && dev_is_pci(dev)) in iommu_dma_alloc_iova()436 iova = alloc_iova_fast(iovad, iova_len, dma_limit >> shift, in iommu_dma_alloc_iova()
50 u64 dma_limit = min_not_zero(dma_mask, dev->bus_dma_limit); in dma_direct_optimal_gfp_mask() local60 *phys_limit = dma_to_phys(dev, dma_limit); in dma_direct_optimal_gfp_mask()
2693 unsigned long dma_limit; in make_raw_rw_request() local2705 dma_limit = (MAX_DMA_ADDRESS - in make_raw_rw_request()2707 if ((unsigned long)max_size > dma_limit) in make_raw_rw_request()2708 max_size = dma_limit; in make_raw_rw_request()
7718 if (tp->dma_limit) { in tg3_tx_frag_set()7721 while (len > tp->dma_limit && *budget) { in tg3_tx_frag_set()7722 u32 frag_len = tp->dma_limit; in tg3_tx_frag_set()7723 len -= tp->dma_limit; in tg3_tx_frag_set()7727 len += tp->dma_limit / 2; in tg3_tx_frag_set()7728 frag_len = tp->dma_limit / 2; in tg3_tx_frag_set()10298 tp->dma_limit = 0; in tg3_reset_hw()10301 tp->dma_limit = TG3_TX_BD_DMA_MAX_2K; in tg3_reset_hw()13646 if (tp->dma_limit) in tg3_test_loopback()13647 jmb_pkt_sz = tp->dma_limit - ETH_HLEN; in tg3_test_loopback()[all …]
3197 u32 dma_limit; member