Searched refs:dma_max_mapping_size (Results 1 – 15 of 15) sorted by relevance
44 #define dma_max_mapping_size(...) SIZE_MAX macro
97 dma_set_max_seg_size(dev->dev, dma_max_mapping_size(dev->dev) ?: UINT_MAX); in virtio_gpu_probe()
143 size_t max = min_t(size_t, UINT_MAX, dma_max_mapping_size(dev)); in i915_sg_segment_size()
922 size_t dma_max_mapping_size(struct device *dev) in dma_max_mapping_size() function936 EXPORT_SYMBOL_GPL(dma_max_mapping_size);948 return min(dma_max_mapping_size(dev), size); in dma_opt_mapping_size()
140 size_t dma_max_mapping_size(struct device *dev);247 static inline size_t dma_max_mapping_size(struct device *dev) in dma_max_mapping_size() function
303 max = min_t(size_t, max, dma_max_mapping_size(dev)); in xe_sg_segment_size()
127 lim->max_hw_sectors, dma_max_mapping_size(dev) >> SECTOR_SHIFT); in device_configure()
251 dma_max_mapping_size(dma_dev) >> SECTOR_SHIFT); in scsi_add_host_with_dma()
848 max_segment = dma_max_mapping_size(dev->dev); in drm_prime_pages_to_sg()
1177 dma_max_mapping_size(&pdev->dev)); in tmio_mmc_host_probe()
1306 mmc->max_req_size = min_t(size_t, 524288, dma_max_mapping_size(dev)); in bcm2835_add_host()
4697 dma_max_mapping_size(mmc_dev(mmc))); in sdhci_setup_host()
1054 dma_max_mapping_size(anv->dev) >> 9); in apple_nvme_reset_work()
201 dma_max_mapping_size(struct device *dev);
305 max_segment_size = dma_max_mapping_size(vdev->dev.parent); in virtio_max_dma_size()