summaryrefslogtreecommitdiff
path: root/drivers/iommu
diff options
context:
space:
mode:
authorMatt Wagantall <mattw@codeaurora.org>2014-12-15 23:47:23 (GMT)
committerWill Deacon <will.deacon@arm.com>2015-01-19 16:11:59 (GMT)
commit54c523127bcca986c6f9b04c7b56a949ea011899 (patch)
tree767e7fda0df1eddf25229c447bbe316bda4446b0 /drivers/iommu
parent3c8567d1cac0fa4c44ddcf0a956cae0bf2a348f3 (diff)
downloadlinux-54c523127bcca986c6f9b04c7b56a949ea011899.tar.xz
iopoll: Introduce memory-mapped IO polling macros
It is sometimes necessary to poll a memory-mapped register until its value satisfies some condition. Introduce a family of convenience macros that do this. Tight-looping, sleeping, and timing out can all be accomplished using these macros. Cc: Thierry Reding <thierry.reding@gmail.com> Cc: Andrew Morton <akpm@linux-foundation.org> Cc: Robert Elliott <elliott@hp.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Matt Wagantall <mattw@codeaurora.org> Signed-off-by: Mitchel Humpherys <mitchelh@codeaurora.org> Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'drivers/iommu')
0 files changed, 0 insertions, 0 deletions