diff options
author | Matt Wagantall <mattw@codeaurora.org> | 2014-12-15 23:47:23 +0000 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2015-01-19 16:11:59 +0000 |
commit | 54c523127bcca986c6f9b04c7b56a949ea011899 (patch) | |
tree | 767e7fda0df1eddf25229c447bbe316bda4446b0 /samples/kfifo | |
parent | 3c8567d1cac0fa4c44ddcf0a956cae0bf2a348f3 (diff) | |
download | op-kernel-dev-54c523127bcca986c6f9b04c7b56a949ea011899.zip op-kernel-dev-54c523127bcca986c6f9b04c7b56a949ea011899.tar.gz |
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 'samples/kfifo')
0 files changed, 0 insertions, 0 deletions