Searched refs:dma_limit (Results 1 – 6 of 6) sorted by relevance
/linux-6.3-rc2/drivers/scsi/ |
A D | am53c974.c | 245 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-6.3-rc2/drivers/iommu/ |
A D | dma-iommu.c | 629 size_t size, u64 dma_limit, struct device *dev) in iommu_dma_alloc_iova() argument 643 dma_limit = min_not_zero(dma_limit, dev->bus_dma_limit); in iommu_dma_alloc_iova() 646 dma_limit = min(dma_limit, (u64)domain->geometry.aperture_end); in iommu_dma_alloc_iova() 649 if (dma_limit > DMA_BIT_MASK(32) && !iommu_dma_forcedac && dev_is_pci(dev)) in iommu_dma_alloc_iova() 654 iova = alloc_iova_fast(iovad, iova_len, dma_limit >> shift, in iommu_dma_alloc_iova() 1583 void iommu_setup_dma_ops(struct device *dev, u64 dma_base, u64 dma_limit) in iommu_setup_dma_ops() argument 1595 if (iommu_dma_init_domain(domain, dma_base, dma_limit, dev)) in iommu_setup_dma_ops()
|
/linux-6.3-rc2/kernel/dma/ |
A D | direct.c | 50 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-6.3-rc2/include/linux/ |
A D | iommu.h | 1122 void iommu_setup_dma_ops(struct device *dev, u64 dma_base, u64 dma_limit); 1134 static inline void iommu_setup_dma_ops(struct device *dev, u64 dma_base, u64 dma_limit) in iommu_setup_dma_ops() argument
|
/linux-6.3-rc2/drivers/net/ethernet/broadcom/ |
A D | tg3.c | 7701 if (tp->dma_limit) { in tg3_tx_frag_set() 7704 while (len > tp->dma_limit && *budget) { in tg3_tx_frag_set() 7705 u32 frag_len = tp->dma_limit; in tg3_tx_frag_set() 7706 len -= tp->dma_limit; in tg3_tx_frag_set() 7710 len += tp->dma_limit / 2; in tg3_tx_frag_set() 7711 frag_len = tp->dma_limit / 2; in tg3_tx_frag_set() 10279 tp->dma_limit = 0; in tg3_reset_hw() 10282 tp->dma_limit = TG3_TX_BD_DMA_MAX_2K; in tg3_reset_hw() 13592 if (tp->dma_limit) in tg3_test_loopback() 13593 jmb_pkt_sz = tp->dma_limit - ETH_HLEN; in tg3_test_loopback() [all …]
|
A D | tg3.h | 3197 u32 dma_limit; member
|
Completed in 57 milliseconds