Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
fc_fc2.h File Reference

Go to the source code of this file.

Data Structures

struct  fc_ssb
 
struct  fc_esb
 

Macros

#define PACKED   __attribute__ ((__packed__))
 
#define FC_SSB_SIZE   17 /* length of fc_ssb for assert */
 
#define SSB_ST_RESP   (1 << 15) /* sequence responder */
 
#define SSB_ST_ACTIVE   (1 << 14) /* sequence is active */
 
#define SSB_ST_ABNORMAL   (1 << 12) /* abnormal ending condition */
 
#define SSB_ST_REQ_MASK   (3 << 10) /* ACK, abort sequence condition */
 
#define SSB_ST_REQ_CONT   (0 << 10)
 
#define SSB_ST_REQ_ABORT   (1 << 10)
 
#define SSB_ST_REQ_STOP   (2 << 10)
 
#define SSB_ST_REQ_RETRANS   (3 << 10)
 
#define SSB_ST_ABTS   (1 << 9) /* ABTS protocol completed */
 
#define SSB_ST_RETRANS   (1 << 8) /* retransmission completed */
 
#define SSB_ST_TIMEOUT   (1 << 7) /* sequence timed out by recipient */
 
#define SSB_ST_P_RJT   (1 << 6) /* P_RJT transmitted */
 
#define SSB_ST_CLASS_BIT   4 /* class of service field LSB */
 
#define SSB_ST_CLASS_MASK   3 /* class of service mask */
 
#define SSB_ST_ACK   (1 << 3) /* ACK (EOFt or EOFdt) transmitted */
 
#define FC_ESB_SIZE   (1 + 5*4 + 112 + 8) /* expected size */
 
#define ESB_ST_RESP   (1 << 31) /* responder to exchange */
 
#define ESB_ST_SEQ_INIT   (1 << 30) /* port holds sequence initiaive */
 
#define ESB_ST_COMPLETE   (1 << 29) /* exchange is complete */
 
#define ESB_ST_ABNORMAL   (1 << 28) /* abnormal ending condition */
 
#define ESB_ST_REC_QUAL   (1 << 26) /* recovery qualifier active */
 
#define ESB_ST_ERRP_BIT   24 /* LSB for error policy */
 
#define ESB_ST_ERRP_MASK   (3 << 24) /* mask for error policy */
 
#define ESB_ST_ERRP_MULT   (0 << 24) /* abort, discard multiple sequences */
 
#define ESB_ST_ERRP_SING   (1 << 24) /* abort, discard single sequence */
 
#define ESB_ST_ERRP_INF   (2 << 24) /* process with infinite buffers */
 
#define ESB_ST_ERRP_IMM   (3 << 24) /* discard mult. with immed. retran. */
 
#define ESB_ST_OX_ID_INVL   (1 << 23) /* originator XID invalid */
 
#define ESB_ST_RX_ID_INVL   (1 << 22) /* responder XID invalid */
 
#define ESB_ST_PRI_INUSE   (1 << 21) /* priority / preemption in use */
 

Functions

struct fc_esb __attribute__ ((packed))
 

Variables

struct fc_ssb PACKED
 
__u8 esb_cs_ctl
 
__be16 esb_ox_id
 
__be16 esb_rx_id
 
__be32 esb_orig_fid
 
__be32 esb_resp_fid
 
__be32 esb_e_stat
 
__u8 _esb_resvd [4]
 
__u8 esb_service_params [112]
 
__u8 esb_seq_status [8]
 

Macro Definition Documentation

#define ESB_ST_ABNORMAL   (1 << 28) /* abnormal ending condition */

Definition at line 109 of file fc_fc2.h.

#define ESB_ST_COMPLETE   (1 << 29) /* exchange is complete */

Definition at line 108 of file fc_fc2.h.

#define ESB_ST_ERRP_BIT   24 /* LSB for error policy */

Definition at line 112 of file fc_fc2.h.

#define ESB_ST_ERRP_IMM   (3 << 24) /* discard mult. with immed. retran. */

Definition at line 117 of file fc_fc2.h.

#define ESB_ST_ERRP_INF   (2 << 24) /* process with infinite buffers */

Definition at line 116 of file fc_fc2.h.

#define ESB_ST_ERRP_MASK   (3 << 24) /* mask for error policy */

Definition at line 113 of file fc_fc2.h.

#define ESB_ST_ERRP_MULT   (0 << 24) /* abort, discard multiple sequences */

Definition at line 114 of file fc_fc2.h.

#define ESB_ST_ERRP_SING   (1 << 24) /* abort, discard single sequence */

Definition at line 115 of file fc_fc2.h.

#define ESB_ST_OX_ID_INVL   (1 << 23) /* originator XID invalid */

Definition at line 119 of file fc_fc2.h.

#define ESB_ST_PRI_INUSE   (1 << 21) /* priority / preemption in use */

Definition at line 121 of file fc_fc2.h.

#define ESB_ST_REC_QUAL   (1 << 26) /* recovery qualifier active */

Definition at line 110 of file fc_fc2.h.

#define ESB_ST_RESP   (1 << 31) /* responder to exchange */

Definition at line 106 of file fc_fc2.h.

#define ESB_ST_RX_ID_INVL   (1 << 22) /* responder XID invalid */

Definition at line 120 of file fc_fc2.h.

#define ESB_ST_SEQ_INIT   (1 << 30) /* port holds sequence initiaive */

Definition at line 107 of file fc_fc2.h.

#define FC_ESB_SIZE   (1 + 5*4 + 112 + 8) /* expected size */

Definition at line 101 of file fc_fc2.h.

#define FC_SSB_SIZE   17 /* length of fc_ssb for assert */

Definition at line 56 of file fc_fc2.h.

#define PACKED   __attribute__ ((__packed__))

Definition at line 27 of file fc_fc2.h.

#define SSB_ST_ABNORMAL   (1 << 12) /* abnormal ending condition */

Definition at line 63 of file fc_fc2.h.

#define SSB_ST_ABTS   (1 << 9) /* ABTS protocol completed */

Definition at line 71 of file fc_fc2.h.

#define SSB_ST_ACK   (1 << 3) /* ACK (EOFt or EOFdt) transmitted */

Definition at line 78 of file fc_fc2.h.

#define SSB_ST_ACTIVE   (1 << 14) /* sequence is active */

Definition at line 62 of file fc_fc2.h.

#define SSB_ST_CLASS_BIT   4 /* class of service field LSB */

Definition at line 76 of file fc_fc2.h.

#define SSB_ST_CLASS_MASK   3 /* class of service mask */

Definition at line 77 of file fc_fc2.h.

#define SSB_ST_P_RJT   (1 << 6) /* P_RJT transmitted */

Definition at line 74 of file fc_fc2.h.

#define SSB_ST_REQ_ABORT   (1 << 10)

Definition at line 67 of file fc_fc2.h.

#define SSB_ST_REQ_CONT   (0 << 10)

Definition at line 66 of file fc_fc2.h.

#define SSB_ST_REQ_MASK   (3 << 10) /* ACK, abort sequence condition */

Definition at line 65 of file fc_fc2.h.

#define SSB_ST_REQ_RETRANS   (3 << 10)

Definition at line 69 of file fc_fc2.h.

#define SSB_ST_REQ_STOP   (2 << 10)

Definition at line 68 of file fc_fc2.h.

#define SSB_ST_RESP   (1 << 15) /* sequence responder */

Definition at line 61 of file fc_fc2.h.

#define SSB_ST_RETRANS   (1 << 8) /* retransmission completed */

Definition at line 72 of file fc_fc2.h.

#define SSB_ST_TIMEOUT   (1 << 7) /* sequence timed out by recipient */

Definition at line 73 of file fc_fc2.h.

Function Documentation

struct fc_esb __attribute__ ( (packed)  )
read

mcontroller : adapter info structure for old mimd_t apps

: base address : irq number : number of logical drives : pci bus : pci device : pci function : pci id : vendor id : slot number : unique id

Definition at line 171 of file esd_usb2.c.

Variable Documentation

__u8 _esb_resvd[4]

Definition at line 102 of file fc_fc2.h.

__u8 esb_cs_ctl

Definition at line 96 of file fc_fc2.h.

__be32 esb_e_stat

Definition at line 101 of file fc_fc2.h.

__be32 esb_orig_fid

Definition at line 99 of file fc_fc2.h.

__be16 esb_ox_id

Definition at line 97 of file fc_fc2.h.

__be32 esb_resp_fid

Definition at line 100 of file fc_fc2.h.

__be16 esb_rx_id

Definition at line 98 of file fc_fc2.h.

__u8 esb_seq_status[8]

Definition at line 104 of file fc_fc2.h.

__u8 esb_service_params[112]

Definition at line 103 of file fc_fc2.h.