From: leroy christophe
Many drivers use in_be16(), in_be32(), out_be16(), out_be32(), etc
to access to registrers in IO mapped memory.
What is the real purpose of those functions, and are they really needed ?
ioremap() maps the related areas as GUARDED, which means that accesses
On Mon, 2014-10-27 at 13:52 +0100, leroy christophe wrote:
Many drivers use in_be16(), in_be32(), out_be16(), out_be32(), etc
to access to registrers in IO mapped memory.
What is the real purpose of those functions, and are they really needed ?
ioremap() maps the related areas as
On Mon, 2014-10-27 at 15:05 +, David Laight wrote:
Unfortunately the functions sometimes contain additional (often
unneeded)
sequencing instructions - the driver may be able to perform multiple
operations between the sequencing instructions.
That's in part why some folks are working