diff options
author | Robin Murphy <robin.murphy@arm.com> | 2018-03-26 13:35:12 +0100 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2018-03-27 14:12:05 +0100 |
commit | 7417b99c49e5bb77e04d64c915da2ee4bfcbf8a8 (patch) | |
tree | 4ce783032d9c68be4ae11b67e61767a4dcc5d9e6 /drivers/iommu/io-pgtable-arm.c | |
parent | ba08bdcbf7fd6c3b3a94496ca15b5b66dbea5034 (diff) | |
download | talos-op-linux-7417b99c49e5bb77e04d64c915da2ee4bfcbf8a8.tar.gz talos-op-linux-7417b99c49e5bb77e04d64c915da2ee4bfcbf8a8.zip |
iommu/arm-smmu-v3: Clean up queue definitions
As with registers and tables, use GENMASK and the bitfield accessors
consistently for queue fields, to save some lines and ease maintenance
a little. This now leaves everything in a nice state where all named
field definitions expect to be used with bitfield accessors (although
since single-bit fields can still be used directly we leave some of
those uses as-is to avoid unnecessary churn), while the few remaining
*_MASK definitions apply exclusively to in-place values.
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'drivers/iommu/io-pgtable-arm.c')
0 files changed, 0 insertions, 0 deletions