Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
nosy-dump.h File Reference
#include <stdint.h>

Go to the source code of this file.

Data Structures

struct  phy_packet
 
struct  link_packet
 
struct  subaction
 
struct  link_transaction
 

Macros

#define array_length(array)   (sizeof(array) / sizeof(array[0]))
 
#define ACK_NO_ACK   0x0
 
#define ACK_DONE(a)   ((a >> 2) == 0)
 
#define ACK_BUSY(a)   ((a >> 2) == 1)
 
#define ACK_ERROR(a)   ((a >> 2) == 3)
 
#define TCODE_PHY_PACKET   0x10
 
#define PHY_PACKET_CONFIGURATION   0x00
 
#define PHY_PACKET_LINK_ON   0x01
 
#define PHY_PACKET_SELF_ID   0x02
 

Functions

int decode_fcp (struct link_transaction *t)
 

Macro Definition Documentation

#define ACK_BUSY (   a)    ((a >> 2) == 1)

Definition at line 8 of file nosy-dump.h.

#define ACK_DONE (   a)    ((a >> 2) == 0)

Definition at line 7 of file nosy-dump.h.

#define ACK_ERROR (   a)    ((a >> 2) == 3)

Definition at line 9 of file nosy-dump.h.

#define ACK_NO_ACK   0x0

Definition at line 6 of file nosy-dump.h.

#define array_length (   array)    (sizeof(array) / sizeof(array[0]))

Definition at line 4 of file nosy-dump.h.

#define PHY_PACKET_CONFIGURATION   0x00

Definition at line 72 of file nosy-dump.h.

#define PHY_PACKET_LINK_ON   0x01

Definition at line 73 of file nosy-dump.h.

#define PHY_PACKET_SELF_ID   0x02

Definition at line 74 of file nosy-dump.h.

#define TCODE_PHY_PACKET   0x10

Definition at line 70 of file nosy-dump.h.

Function Documentation

int decode_fcp ( struct link_transaction t)

Definition at line 173 of file decode-fcp.c.