linux-spi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Interpretation of SPI debug output
@ 2008-03-14 13:34 CK Sim
       [not found] ` <!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAA33LEMKcTz06k3l6K9b/SmcKAAAAQAAAA3GVhRjpIl0iO5gj+NVEuJgEAAAAA-rdc5FV7LBygPGFelY5Zqew@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: CK Sim @ 2008-03-14 13:34 UTC (permalink / raw)
  To: spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f


[-- Attachment #1.1: Type: text/plain, Size: 613 bytes --]

Hi,

 

Below is a captured log of the console output with SPI interface on
AT91SAM9261 (SPI1):

 

xfer c038fe24: len 2 tx c02eb3b5/202eb3b5 rx c02eb3b7/202eb3b7 imr 018

at73c213 spi1.3: DEactivate 58

atmel_spi atmel_spi.1: xfer complete: 2 bytes transferred

ASoC version 0.13.1

ALSA device list:

  #0: AT73C213

TCP cubic registered

NET: Registered protocol family 1

NET: Registered protocol family 17

 

 

Can anyone help to give a brief description on how to interpret the first
statement, especially "tx c02eb3b5/202eb3b5 rx c02eb3b7/202eb3b7" ?

 

Thanks in advance.

 

Best Regards.

 

Sim CK


[-- Attachment #1.2: Type: text/html, Size: 4548 bytes --]

[-- Attachment #2: Type: text/plain, Size: 228 bytes --]

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

[-- Attachment #3: Type: text/plain, Size: 210 bytes --]

_______________________________________________
spi-devel-general mailing list
spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/spi-devel-general

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Interpretation of SPI debug output
       [not found] ` <!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAA33LEMKcTz06k3l6K9b/SmcKAAAAQAAAA3GVhRjpIl0iO5gj+NVEuJgEAAAAA-rdc5FV7LBygPGFelY5Zqew@public.gmane.org>
@ 2008-03-14 16:11   ` Haavard Skinnemoen
  0 siblings, 0 replies; 2+ messages in thread
From: Haavard Skinnemoen @ 2008-03-14 16:11 UTC (permalink / raw)
  To: cksim-rdc5FV7LBygPGFelY5Zqew
  Cc: spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

On Fri, 14 Mar 2008 21:34:14 +0800
"CK Sim" <cksim-rdc5FV7LBygPGFelY5Zqew@public.gmane.org> wrote:

> Can anyone help to give a brief description on how to interpret the first
> statement, especially "tx c02eb3b5/202eb3b5 rx c02eb3b7/202eb3b7" ?

Read the source ;-)

                dev_dbg(controller,
                        "  xfer %p: len %u tx %p/%08x rx %p/%08x\n",
                        xfer, xfer->len,
                        xfer->tx_buf, xfer->tx_dma,
                        xfer->rx_buf, xfer->rx_dma);

It's the virtual/physical addresses of the tx and rx buffers.

Haavard

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-03-14 16:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-14 13:34 Interpretation of SPI debug output CK Sim
     [not found] ` <!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAA33LEMKcTz06k3l6K9b/SmcKAAAAQAAAA3GVhRjpIl0iO5gj+NVEuJgEAAAAA-rdc5FV7LBygPGFelY5Zqew@public.gmane.org>
2008-03-14 16:11   ` Haavard Skinnemoen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).