All of lore.kernel.org
 help / color / mirror / Atom feed
From: Shinya Kuribayashi <skuribay@pobox.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] in/out_le32, etc.
Date: Sun, 13 Feb 2011 23:41:29 +0900	[thread overview]
Message-ID: <4D57ED99.4040003@pobox.com> (raw)
In-Reply-To: <201102120323.59395.Aaron.Williams@caviumnetworks.com>

On 02/12/2011 08:23 PM, Aaron Williams wrote:
> There's in_xxx/out_xxx, __raw_readx/__raw_writex and readx/writex.  What 
> exactly is the difference between all of these?  It looks like the in/out was 
> added recently and is not present in the mips io.h file.

In the MIPS code, 'mips_io_port_base' makes in_xxx/out_xxx distinct
from readx/writex.  And raw operations are never swapped in software.
Check <asm/io.h> for more details.

> For example, on our platform the PCI BAR address space is mapped to different 
> 64-bit address spaces depending on the bus number. It would be very helpful if 
> different macros were used for different I/O devices. For example, one set of 
> macros for accessing PCI BAR address space.

      reply	other threads:[~2011-02-13 14:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-12 11:23 [U-Boot] in/out_le32, etc Aaron Williams
2011-02-13 14:41 ` Shinya Kuribayashi [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D57ED99.4040003@pobox.com \
    --to=skuribay@pobox.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.