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

Go to the source code of this file.

Macros

#define OHCI1394_Version   0x000
 
#define OHCI1394_GUID_ROM   0x004
 
#define OHCI1394_ATRetries   0x008
 
#define OHCI1394_CSRData   0x00C
 
#define OHCI1394_CSRCompareData   0x010
 
#define OHCI1394_CSRControl   0x014
 
#define OHCI1394_ConfigROMhdr   0x018
 
#define OHCI1394_BusID   0x01C
 
#define OHCI1394_BusOptions   0x020
 
#define OHCI1394_GUIDHi   0x024
 
#define OHCI1394_GUIDLo   0x028
 
#define OHCI1394_ConfigROMmap   0x034
 
#define OHCI1394_PostedWriteAddressLo   0x038
 
#define OHCI1394_PostedWriteAddressHi   0x03C
 
#define OHCI1394_VendorID   0x040
 
#define OHCI1394_HCControlSet   0x050
 
#define OHCI1394_HCControlClear   0x054
 
#define OHCI1394_HCControl_BIBimageValid   0x80000000
 
#define OHCI1394_HCControl_noByteSwapData   0x40000000
 
#define OHCI1394_HCControl_programPhyEnable   0x00800000
 
#define OHCI1394_HCControl_aPhyEnhanceEnable   0x00400000
 
#define OHCI1394_HCControl_LPS   0x00080000
 
#define OHCI1394_HCControl_postedWriteEnable   0x00040000
 
#define OHCI1394_HCControl_linkEnable   0x00020000
 
#define OHCI1394_HCControl_softReset   0x00010000
 
#define OHCI1394_SelfIDBuffer   0x064
 
#define OHCI1394_SelfIDCount   0x068
 
#define OHCI1394_SelfIDCount_selfIDError   0x80000000
 
#define OHCI1394_IRMultiChanMaskHiSet   0x070
 
#define OHCI1394_IRMultiChanMaskHiClear   0x074
 
#define OHCI1394_IRMultiChanMaskLoSet   0x078
 
#define OHCI1394_IRMultiChanMaskLoClear   0x07C
 
#define OHCI1394_IntEventSet   0x080
 
#define OHCI1394_IntEventClear   0x084
 
#define OHCI1394_IntMaskSet   0x088
 
#define OHCI1394_IntMaskClear   0x08C
 
#define OHCI1394_IsoXmitIntEventSet   0x090
 
#define OHCI1394_IsoXmitIntEventClear   0x094
 
#define OHCI1394_IsoXmitIntMaskSet   0x098
 
#define OHCI1394_IsoXmitIntMaskClear   0x09C
 
#define OHCI1394_IsoRecvIntEventSet   0x0A0
 
#define OHCI1394_IsoRecvIntEventClear   0x0A4
 
#define OHCI1394_IsoRecvIntMaskSet   0x0A8
 
#define OHCI1394_IsoRecvIntMaskClear   0x0AC
 
#define OHCI1394_InitialBandwidthAvailable   0x0B0
 
#define OHCI1394_InitialChannelsAvailableHi   0x0B4
 
#define OHCI1394_InitialChannelsAvailableLo   0x0B8
 
#define OHCI1394_FairnessControl   0x0DC
 
#define OHCI1394_LinkControlSet   0x0E0
 
#define OHCI1394_LinkControlClear   0x0E4
 
#define OHCI1394_LinkControl_rcvSelfID   (1 << 9)
 
#define OHCI1394_LinkControl_rcvPhyPkt   (1 << 10)
 
#define OHCI1394_LinkControl_cycleTimerEnable   (1 << 20)
 
#define OHCI1394_LinkControl_cycleMaster   (1 << 21)
 
#define OHCI1394_LinkControl_cycleSource   (1 << 22)
 
#define OHCI1394_NodeID   0x0E8
 
#define OHCI1394_NodeID_idValid   0x80000000
 
#define OHCI1394_NodeID_root   0x40000000
 
#define OHCI1394_NodeID_nodeNumber   0x0000003f
 
#define OHCI1394_NodeID_busNumber   0x0000ffc0
 
#define OHCI1394_PhyControl   0x0EC
 
#define OHCI1394_PhyControl_Read(addr)   (((addr) << 8) | 0x00008000)
 
#define OHCI1394_PhyControl_ReadDone   0x80000000
 
#define OHCI1394_PhyControl_ReadData(r)   (((r) & 0x00ff0000) >> 16)
 
#define OHCI1394_PhyControl_Write(addr, data)   (((addr) << 8) | (data) | 0x00004000)
 
#define OHCI1394_PhyControl_WritePending   0x00004000
 
#define OHCI1394_IsochronousCycleTimer   0x0F0
 
#define OHCI1394_AsReqFilterHiSet   0x100
 
#define OHCI1394_AsReqFilterHiClear   0x104
 
#define OHCI1394_AsReqFilterLoSet   0x108
 
#define OHCI1394_AsReqFilterLoClear   0x10C
 
#define OHCI1394_PhyReqFilterHiSet   0x110
 
#define OHCI1394_PhyReqFilterHiClear   0x114
 
#define OHCI1394_PhyReqFilterLoSet   0x118
 
#define OHCI1394_PhyReqFilterLoClear   0x11C
 
#define OHCI1394_PhyUpperBound   0x120
 
#define OHCI1394_AsReqTrContextBase   0x180
 
#define OHCI1394_AsReqTrContextControlSet   0x180
 
#define OHCI1394_AsReqTrContextControlClear   0x184
 
#define OHCI1394_AsReqTrCommandPtr   0x18C
 
#define OHCI1394_AsRspTrContextBase   0x1A0
 
#define OHCI1394_AsRspTrContextControlSet   0x1A0
 
#define OHCI1394_AsRspTrContextControlClear   0x1A4
 
#define OHCI1394_AsRspTrCommandPtr   0x1AC
 
#define OHCI1394_AsReqRcvContextBase   0x1C0
 
#define OHCI1394_AsReqRcvContextControlSet   0x1C0
 
#define OHCI1394_AsReqRcvContextControlClear   0x1C4
 
#define OHCI1394_AsReqRcvCommandPtr   0x1CC
 
#define OHCI1394_AsRspRcvContextBase   0x1E0
 
#define OHCI1394_AsRspRcvContextControlSet   0x1E0
 
#define OHCI1394_AsRspRcvContextControlClear   0x1E4
 
#define OHCI1394_AsRspRcvCommandPtr   0x1EC
 
#define OHCI1394_IsoXmitContextBase(n)   (0x200 + 16 * (n))
 
#define OHCI1394_IsoXmitContextControlSet(n)   (0x200 + 16 * (n))
 
#define OHCI1394_IsoXmitContextControlClear(n)   (0x204 + 16 * (n))
 
#define OHCI1394_IsoXmitCommandPtr(n)   (0x20C + 16 * (n))
 
#define OHCI1394_IsoRcvContextBase(n)   (0x400 + 32 * (n))
 
#define OHCI1394_IsoRcvContextControlSet(n)   (0x400 + 32 * (n))
 
#define OHCI1394_IsoRcvContextControlClear(n)   (0x404 + 32 * (n))
 
#define OHCI1394_IsoRcvCommandPtr(n)   (0x40C + 32 * (n))
 
#define OHCI1394_IsoRcvContextMatch(n)   (0x410 + 32 * (n))
 
#define OHCI1394_reqTxComplete   0x00000001
 
#define OHCI1394_respTxComplete   0x00000002
 
#define OHCI1394_ARRQ   0x00000004
 
#define OHCI1394_ARRS   0x00000008
 
#define OHCI1394_RQPkt   0x00000010
 
#define OHCI1394_RSPkt   0x00000020
 
#define OHCI1394_isochTx   0x00000040
 
#define OHCI1394_isochRx   0x00000080
 
#define OHCI1394_postedWriteErr   0x00000100
 
#define OHCI1394_lockRespErr   0x00000200
 
#define OHCI1394_selfIDComplete   0x00010000
 
#define OHCI1394_busReset   0x00020000
 
#define OHCI1394_regAccessFail   0x00040000
 
#define OHCI1394_phy   0x00080000
 
#define OHCI1394_cycleSynch   0x00100000
 
#define OHCI1394_cycle64Seconds   0x00200000
 
#define OHCI1394_cycleLost   0x00400000
 
#define OHCI1394_cycleInconsistent   0x00800000
 
#define OHCI1394_unrecoverableError   0x01000000
 
#define OHCI1394_cycleTooLong   0x02000000
 
#define OHCI1394_phyRegRcvd   0x04000000
 
#define OHCI1394_masterIntEnable   0x80000000
 
#define OHCI1394_evt_no_status   0x0
 
#define OHCI1394_evt_long_packet   0x2
 
#define OHCI1394_evt_missing_ack   0x3
 
#define OHCI1394_evt_underrun   0x4
 
#define OHCI1394_evt_overrun   0x5
 
#define OHCI1394_evt_descriptor_read   0x6
 
#define OHCI1394_evt_data_read   0x7
 
#define OHCI1394_evt_data_write   0x8
 
#define OHCI1394_evt_bus_reset   0x9
 
#define OHCI1394_evt_timeout   0xa
 
#define OHCI1394_evt_tcode_err   0xb
 
#define OHCI1394_evt_reserved_b   0xc
 
#define OHCI1394_evt_reserved_c   0xd
 
#define OHCI1394_evt_unknown   0xe
 
#define OHCI1394_evt_flushed   0xf
 
#define OHCI1394_phy_tcode   0xe
 

Macro Definition Documentation

#define OHCI1394_ARRQ   0x00000004

Definition at line 119 of file ohci.h.

#define OHCI1394_ARRS   0x00000008

Definition at line 120 of file ohci.h.

#define OHCI1394_AsReqFilterHiClear   0x104

Definition at line 74 of file ohci.h.

#define OHCI1394_AsReqFilterHiSet   0x100

Definition at line 73 of file ohci.h.

#define OHCI1394_AsReqFilterLoClear   0x10C

Definition at line 76 of file ohci.h.

#define OHCI1394_AsReqFilterLoSet   0x108

Definition at line 75 of file ohci.h.

#define OHCI1394_AsReqRcvCommandPtr   0x1CC

Definition at line 96 of file ohci.h.

#define OHCI1394_AsReqRcvContextBase   0x1C0

Definition at line 93 of file ohci.h.

#define OHCI1394_AsReqRcvContextControlClear   0x1C4

Definition at line 95 of file ohci.h.

#define OHCI1394_AsReqRcvContextControlSet   0x1C0

Definition at line 94 of file ohci.h.

#define OHCI1394_AsReqTrCommandPtr   0x18C

Definition at line 86 of file ohci.h.

#define OHCI1394_AsReqTrContextBase   0x180

Definition at line 83 of file ohci.h.

#define OHCI1394_AsReqTrContextControlClear   0x184

Definition at line 85 of file ohci.h.

#define OHCI1394_AsReqTrContextControlSet   0x180

Definition at line 84 of file ohci.h.

#define OHCI1394_AsRspRcvCommandPtr   0x1EC

Definition at line 101 of file ohci.h.

#define OHCI1394_AsRspRcvContextBase   0x1E0

Definition at line 98 of file ohci.h.

#define OHCI1394_AsRspRcvContextControlClear   0x1E4

Definition at line 100 of file ohci.h.

#define OHCI1394_AsRspRcvContextControlSet   0x1E0

Definition at line 99 of file ohci.h.

#define OHCI1394_AsRspTrCommandPtr   0x1AC

Definition at line 91 of file ohci.h.

#define OHCI1394_AsRspTrContextBase   0x1A0

Definition at line 88 of file ohci.h.

#define OHCI1394_AsRspTrContextControlClear   0x1A4

Definition at line 90 of file ohci.h.

#define OHCI1394_AsRspTrContextControlSet   0x1A0

Definition at line 89 of file ohci.h.

#define OHCI1394_ATRetries   0x008

Definition at line 8 of file ohci.h.

#define OHCI1394_BusID   0x01C

Definition at line 13 of file ohci.h.

#define OHCI1394_BusOptions   0x020

Definition at line 14 of file ohci.h.

#define OHCI1394_busReset   0x00020000

Definition at line 128 of file ohci.h.

#define OHCI1394_ConfigROMhdr   0x018

Definition at line 12 of file ohci.h.

#define OHCI1394_ConfigROMmap   0x034

Definition at line 17 of file ohci.h.

#define OHCI1394_CSRCompareData   0x010

Definition at line 10 of file ohci.h.

#define OHCI1394_CSRControl   0x014

Definition at line 11 of file ohci.h.

#define OHCI1394_CSRData   0x00C

Definition at line 9 of file ohci.h.

#define OHCI1394_cycle64Seconds   0x00200000

Definition at line 132 of file ohci.h.

#define OHCI1394_cycleInconsistent   0x00800000

Definition at line 134 of file ohci.h.

#define OHCI1394_cycleLost   0x00400000

Definition at line 133 of file ohci.h.

#define OHCI1394_cycleSynch   0x00100000

Definition at line 131 of file ohci.h.

#define OHCI1394_cycleTooLong   0x02000000

Definition at line 136 of file ohci.h.

#define OHCI1394_evt_bus_reset   0x9

Definition at line 148 of file ohci.h.

#define OHCI1394_evt_data_read   0x7

Definition at line 146 of file ohci.h.

#define OHCI1394_evt_data_write   0x8

Definition at line 147 of file ohci.h.

#define OHCI1394_evt_descriptor_read   0x6

Definition at line 145 of file ohci.h.

#define OHCI1394_evt_flushed   0xf

Definition at line 154 of file ohci.h.

#define OHCI1394_evt_long_packet   0x2

Definition at line 141 of file ohci.h.

#define OHCI1394_evt_missing_ack   0x3

Definition at line 142 of file ohci.h.

#define OHCI1394_evt_no_status   0x0

Definition at line 140 of file ohci.h.

#define OHCI1394_evt_overrun   0x5

Definition at line 144 of file ohci.h.

#define OHCI1394_evt_reserved_b   0xc

Definition at line 151 of file ohci.h.

#define OHCI1394_evt_reserved_c   0xd

Definition at line 152 of file ohci.h.

#define OHCI1394_evt_tcode_err   0xb

Definition at line 150 of file ohci.h.

#define OHCI1394_evt_timeout   0xa

Definition at line 149 of file ohci.h.

#define OHCI1394_evt_underrun   0x4

Definition at line 143 of file ohci.h.

#define OHCI1394_evt_unknown   0xe

Definition at line 153 of file ohci.h.

#define OHCI1394_FairnessControl   0x0DC

Definition at line 53 of file ohci.h.

#define OHCI1394_GUID_ROM   0x004

Definition at line 7 of file ohci.h.

#define OHCI1394_GUIDHi   0x024

Definition at line 15 of file ohci.h.

#define OHCI1394_GUIDLo   0x028

Definition at line 16 of file ohci.h.

#define OHCI1394_HCControl_aPhyEnhanceEnable   0x00400000

Definition at line 26 of file ohci.h.

#define OHCI1394_HCControl_BIBimageValid   0x80000000

Definition at line 23 of file ohci.h.

#define OHCI1394_HCControl_linkEnable   0x00020000

Definition at line 29 of file ohci.h.

#define OHCI1394_HCControl_LPS   0x00080000

Definition at line 27 of file ohci.h.

#define OHCI1394_HCControl_noByteSwapData   0x40000000

Definition at line 24 of file ohci.h.

#define OHCI1394_HCControl_postedWriteEnable   0x00040000

Definition at line 28 of file ohci.h.

#define OHCI1394_HCControl_programPhyEnable   0x00800000

Definition at line 25 of file ohci.h.

#define OHCI1394_HCControl_softReset   0x00010000

Definition at line 30 of file ohci.h.

#define OHCI1394_HCControlClear   0x054

Definition at line 22 of file ohci.h.

#define OHCI1394_HCControlSet   0x050

Definition at line 21 of file ohci.h.

#define OHCI1394_InitialBandwidthAvailable   0x0B0

Definition at line 50 of file ohci.h.

#define OHCI1394_InitialChannelsAvailableHi   0x0B4

Definition at line 51 of file ohci.h.

#define OHCI1394_InitialChannelsAvailableLo   0x0B8

Definition at line 52 of file ohci.h.

#define OHCI1394_IntEventClear   0x084

Definition at line 39 of file ohci.h.

#define OHCI1394_IntEventSet   0x080

Definition at line 38 of file ohci.h.

#define OHCI1394_IntMaskClear   0x08C

Definition at line 41 of file ohci.h.

#define OHCI1394_IntMaskSet   0x088

Definition at line 40 of file ohci.h.

#define OHCI1394_IRMultiChanMaskHiClear   0x074

Definition at line 35 of file ohci.h.

#define OHCI1394_IRMultiChanMaskHiSet   0x070

Definition at line 34 of file ohci.h.

#define OHCI1394_IRMultiChanMaskLoClear   0x07C

Definition at line 37 of file ohci.h.

#define OHCI1394_IRMultiChanMaskLoSet   0x078

Definition at line 36 of file ohci.h.

#define OHCI1394_IsochronousCycleTimer   0x0F0

Definition at line 72 of file ohci.h.

#define OHCI1394_isochRx   0x00000080

Definition at line 124 of file ohci.h.

#define OHCI1394_isochTx   0x00000040

Definition at line 123 of file ohci.h.

#define OHCI1394_IsoRcvCommandPtr (   n)    (0x40C + 32 * (n))

Definition at line 113 of file ohci.h.

#define OHCI1394_IsoRcvContextBase (   n)    (0x400 + 32 * (n))

Definition at line 110 of file ohci.h.

#define OHCI1394_IsoRcvContextControlClear (   n)    (0x404 + 32 * (n))

Definition at line 112 of file ohci.h.

#define OHCI1394_IsoRcvContextControlSet (   n)    (0x400 + 32 * (n))

Definition at line 111 of file ohci.h.

#define OHCI1394_IsoRcvContextMatch (   n)    (0x410 + 32 * (n))

Definition at line 114 of file ohci.h.

#define OHCI1394_IsoRecvIntEventClear   0x0A4

Definition at line 47 of file ohci.h.

#define OHCI1394_IsoRecvIntEventSet   0x0A0

Definition at line 46 of file ohci.h.

#define OHCI1394_IsoRecvIntMaskClear   0x0AC

Definition at line 49 of file ohci.h.

#define OHCI1394_IsoRecvIntMaskSet   0x0A8

Definition at line 48 of file ohci.h.

#define OHCI1394_IsoXmitCommandPtr (   n)    (0x20C + 16 * (n))

Definition at line 107 of file ohci.h.

#define OHCI1394_IsoXmitContextBase (   n)    (0x200 + 16 * (n))

Definition at line 104 of file ohci.h.

#define OHCI1394_IsoXmitContextControlClear (   n)    (0x204 + 16 * (n))

Definition at line 106 of file ohci.h.

#define OHCI1394_IsoXmitContextControlSet (   n)    (0x200 + 16 * (n))

Definition at line 105 of file ohci.h.

#define OHCI1394_IsoXmitIntEventClear   0x094

Definition at line 43 of file ohci.h.

#define OHCI1394_IsoXmitIntEventSet   0x090

Definition at line 42 of file ohci.h.

#define OHCI1394_IsoXmitIntMaskClear   0x09C

Definition at line 45 of file ohci.h.

#define OHCI1394_IsoXmitIntMaskSet   0x098

Definition at line 44 of file ohci.h.

#define OHCI1394_LinkControl_cycleMaster   (1 << 21)

Definition at line 59 of file ohci.h.

#define OHCI1394_LinkControl_cycleSource   (1 << 22)

Definition at line 60 of file ohci.h.

#define OHCI1394_LinkControl_cycleTimerEnable   (1 << 20)

Definition at line 58 of file ohci.h.

#define OHCI1394_LinkControl_rcvPhyPkt   (1 << 10)

Definition at line 57 of file ohci.h.

#define OHCI1394_LinkControl_rcvSelfID   (1 << 9)

Definition at line 56 of file ohci.h.

#define OHCI1394_LinkControlClear   0x0E4

Definition at line 55 of file ohci.h.

#define OHCI1394_LinkControlSet   0x0E0

Definition at line 54 of file ohci.h.

#define OHCI1394_lockRespErr   0x00000200

Definition at line 126 of file ohci.h.

#define OHCI1394_masterIntEnable   0x80000000

Definition at line 138 of file ohci.h.

#define OHCI1394_NodeID   0x0E8

Definition at line 61 of file ohci.h.

#define OHCI1394_NodeID_busNumber   0x0000ffc0

Definition at line 65 of file ohci.h.

#define OHCI1394_NodeID_idValid   0x80000000

Definition at line 62 of file ohci.h.

#define OHCI1394_NodeID_nodeNumber   0x0000003f

Definition at line 64 of file ohci.h.

#define OHCI1394_NodeID_root   0x40000000

Definition at line 63 of file ohci.h.

#define OHCI1394_phy   0x00080000

Definition at line 130 of file ohci.h.

#define OHCI1394_phy_tcode   0xe

Definition at line 156 of file ohci.h.

#define OHCI1394_PhyControl   0x0EC

Definition at line 66 of file ohci.h.

#define OHCI1394_PhyControl_Read (   addr)    (((addr) << 8) | 0x00008000)

Definition at line 67 of file ohci.h.

#define OHCI1394_PhyControl_ReadData (   r)    (((r) & 0x00ff0000) >> 16)

Definition at line 69 of file ohci.h.

#define OHCI1394_PhyControl_ReadDone   0x80000000

Definition at line 68 of file ohci.h.

#define OHCI1394_PhyControl_Write (   addr,
  data 
)    (((addr) << 8) | (data) | 0x00004000)

Definition at line 70 of file ohci.h.

#define OHCI1394_PhyControl_WritePending   0x00004000

Definition at line 71 of file ohci.h.

#define OHCI1394_phyRegRcvd   0x04000000

Definition at line 137 of file ohci.h.

#define OHCI1394_PhyReqFilterHiClear   0x114

Definition at line 78 of file ohci.h.

#define OHCI1394_PhyReqFilterHiSet   0x110

Definition at line 77 of file ohci.h.

#define OHCI1394_PhyReqFilterLoClear   0x11C

Definition at line 80 of file ohci.h.

#define OHCI1394_PhyReqFilterLoSet   0x118

Definition at line 79 of file ohci.h.

#define OHCI1394_PhyUpperBound   0x120

Definition at line 81 of file ohci.h.

#define OHCI1394_PostedWriteAddressHi   0x03C

Definition at line 19 of file ohci.h.

#define OHCI1394_PostedWriteAddressLo   0x038

Definition at line 18 of file ohci.h.

#define OHCI1394_postedWriteErr   0x00000100

Definition at line 125 of file ohci.h.

#define OHCI1394_regAccessFail   0x00040000

Definition at line 129 of file ohci.h.

#define OHCI1394_reqTxComplete   0x00000001

Definition at line 117 of file ohci.h.

#define OHCI1394_respTxComplete   0x00000002

Definition at line 118 of file ohci.h.

#define OHCI1394_RQPkt   0x00000010

Definition at line 121 of file ohci.h.

#define OHCI1394_RSPkt   0x00000020

Definition at line 122 of file ohci.h.

#define OHCI1394_SelfIDBuffer   0x064

Definition at line 31 of file ohci.h.

#define OHCI1394_selfIDComplete   0x00010000

Definition at line 127 of file ohci.h.

#define OHCI1394_SelfIDCount   0x068

Definition at line 32 of file ohci.h.

#define OHCI1394_SelfIDCount_selfIDError   0x80000000

Definition at line 33 of file ohci.h.

#define OHCI1394_unrecoverableError   0x01000000

Definition at line 135 of file ohci.h.

#define OHCI1394_VendorID   0x040

Definition at line 20 of file ohci.h.

#define OHCI1394_Version   0x000

Definition at line 6 of file ohci.h.