Home
last modified time | relevance | path

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

/linux-6.6.21/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-6.6.21/drivers/iommu/
Ddma-iommu.c660 size_t size, u64 dma_limit, struct device *dev) in iommu_dma_alloc_iova() argument
674 dma_limit = min_not_zero(dma_limit, dev->bus_dma_limit); in iommu_dma_alloc_iova()
677 dma_limit = min(dma_limit, (u64)domain->geometry.aperture_end); in iommu_dma_alloc_iova()
690 if (dma_limit > DMA_BIT_MASK(32) && dev->iommu->pci_32bit_workaround) { in iommu_dma_alloc_iova()
697 dev_notice(dev, "Using %d-bit DMA addresses\n", bits_per(dma_limit)); in iommu_dma_alloc_iova()
700 iova = alloc_iova_fast(iovad, iova_len, dma_limit >> shift, true); in iommu_dma_alloc_iova()
1633 void iommu_setup_dma_ops(struct device *dev, u64 dma_base, u64 dma_limit) in iommu_setup_dma_ops() argument
1645 if (iommu_dma_init_domain(domain, dma_base, dma_limit, dev)) in iommu_setup_dma_ops()
/linux-6.6.21/kernel/dma/
Ddirect.c49 u64 dma_limit = min_not_zero( in dma_direct_optimal_gfp_mask() local
61 *phys_limit = dma_to_phys(dev, dma_limit); in dma_direct_optimal_gfp_mask()
/linux-6.6.21/include/linux/
Diommu.h1131 void iommu_setup_dma_ops(struct device *dev, u64 dma_base, u64 dma_limit);
1143 static inline void iommu_setup_dma_ops(struct device *dev, u64 dma_base, u64 dma_limit) in iommu_setup_dma_ops() argument
/linux-6.6.21/drivers/net/ethernet/broadcom/
Dtg3.c7713 if (tp->dma_limit) { in tg3_tx_frag_set()
7716 while (len > tp->dma_limit && *budget) { in tg3_tx_frag_set()
7717 u32 frag_len = tp->dma_limit; in tg3_tx_frag_set()
7718 len -= tp->dma_limit; in tg3_tx_frag_set()
7722 len += tp->dma_limit / 2; in tg3_tx_frag_set()
7723 frag_len = tp->dma_limit / 2; in tg3_tx_frag_set()
10300 tp->dma_limit = 0; in tg3_reset_hw()
10303 tp->dma_limit = TG3_TX_BD_DMA_MAX_2K; in tg3_reset_hw()
13635 if (tp->dma_limit) in tg3_test_loopback()
13636 jmb_pkt_sz = tp->dma_limit - ETH_HLEN; in tg3_test_loopback()
[all …]
Dtg3.h3199 u32 dma_limit; member