Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/scsi/
Dam53c974.c245 int dma_limit = 16; in pci_esp_dma_length_limit() local
253 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()
/Linux-v6.1/drivers/iommu/
Ddma-iommu.c626 size_t size, u64 dma_limit, struct device *dev) in iommu_dma_alloc_iova() argument
640 dma_limit = min_not_zero(dma_limit, dev->bus_dma_limit); in iommu_dma_alloc_iova()
643 dma_limit = min(dma_limit, (u64)domain->geometry.aperture_end); in iommu_dma_alloc_iova()
646 if (dma_limit > DMA_BIT_MASK(32) && !iommu_dma_forcedac && dev_is_pci(dev)) in iommu_dma_alloc_iova()
651 iova = alloc_iova_fast(iovad, iova_len, dma_limit >> shift, in iommu_dma_alloc_iova()
1575 void iommu_setup_dma_ops(struct device *dev, u64 dma_base, u64 dma_limit) in iommu_setup_dma_ops() argument
1587 if (iommu_dma_init_domain(domain, dma_base, dma_limit, dev)) in iommu_setup_dma_ops()
/Linux-v6.1/kernel/dma/
Ddirect.c50 u64 dma_limit = min_not_zero(dma_mask, dev->bus_dma_limit); in dma_direct_optimal_gfp_mask() local
60 *phys_limit = dma_to_phys(dev, dma_limit); in dma_direct_optimal_gfp_mask()
/Linux-v6.1/include/linux/
Diommu.h1070 void iommu_setup_dma_ops(struct device *dev, u64 dma_base, u64 dma_limit);
1082 static inline void iommu_setup_dma_ops(struct device *dev, u64 dma_base, u64 dma_limit) in iommu_setup_dma_ops() argument
/Linux-v6.1/drivers/net/ethernet/broadcom/
Dtg3.c7709 if (tp->dma_limit) { in tg3_tx_frag_set()
7712 while (len > tp->dma_limit && *budget) { in tg3_tx_frag_set()
7713 u32 frag_len = tp->dma_limit; in tg3_tx_frag_set()
7714 len -= tp->dma_limit; in tg3_tx_frag_set()
7718 len += tp->dma_limit / 2; in tg3_tx_frag_set()
7719 frag_len = tp->dma_limit / 2; in tg3_tx_frag_set()
10287 tp->dma_limit = 0; in tg3_reset_hw()
10290 tp->dma_limit = TG3_TX_BD_DMA_MAX_2K; in tg3_reset_hw()
13600 if (tp->dma_limit) in tg3_test_loopback()
13601 jmb_pkt_sz = tp->dma_limit - ETH_HLEN; in tg3_test_loopback()
[all …]
Dtg3.h3197 u32 dma_limit; member