示例#1
0
int
hwsw_dma_mapping_error (dma_addr_t dma_addr)
{
	return hwiommu_dma_mapping_error (dma_addr) || swiotlb_dma_mapping_error(dma_addr);
}
示例#2
0
int
hwsw_dma_mapping_error(struct device *dev, dma_addr_t dma_addr)
{
	return hwiommu_dma_mapping_error(dev, dma_addr) ||
		swiotlb_dma_mapping_error(dev, dma_addr);
}