Joerg Roedel f37f7f33d5 iommu/amd: Introduce dir2prot() helper
This function converts dma_data_direction to
iommu-protection flags. This will be needed on multiple
places in the code, so this will save some code.

Signed-off-by: Joerg Roedel <jroedel@suse.de>
2016-07-13 12:48:35 +02:00
..
2015-06-23 18:27:19 -07:00
2016-05-27 15:26:11 -07:00
2015-02-03 18:47:18 +01:00
2016-02-16 08:04:06 -08:00
2015-11-26 14:41:01 +01:00