Lines Matching +full:0 +full:x18000
14 #define FM10K_MBMEM(_n) ((_n) + 0x18000)
15 #define FM10K_MBMEM_VF(_n, _m) (((_n) * 0x10) + (_m) + 0x18000)
16 #define FM10K_MBMEM_SM(_n) ((_n) + 0x18400)
17 #define FM10K_MBMEM_PF(_n) ((_n) + 0x18600)
19 #define FM10K_MBMEM_PF_XOR (FM10K_MBMEM_SM(0) ^ FM10K_MBMEM_PF(0))
20 #define FM10K_MBX(_n) ((_n) + 0x18800)
21 #define FM10K_MBX_REQ 0x00000002
22 #define FM10K_MBX_ACK 0x00000004
23 #define FM10K_MBX_REQ_INTERRUPT 0x00000008
24 #define FM10K_MBX_ACK_INTERRUPT 0x00000010
25 #define FM10K_MBX_INTERRUPT_ENABLE 0x00000020
26 #define FM10K_MBX_INTERRUPT_DISABLE 0x00000040
27 #define FM10K_MBX_GLOBAL_REQ_INTERRUPT 0x00000200
28 #define FM10K_MBX_GLOBAL_ACK_INTERRUPT 0x00000400
29 #define FM10K_MBICR(_n) ((_n) + 0x18840)
30 #define FM10K_GMBX 0x18842
33 #define FM10K_VFMBX 0x00010
34 #define FM10K_VFMBMEM(_n) ((_n) + 0x00020)
88 * 3 2 1 0
89 * 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0
97 * 0x8: Data header - used to transport message data
98 * 0xC: Connect header - used to establish connection
99 * 0xD: Disconnect header - used to tear down a connection
100 * 0xE: Error header - used to address message exceptions
103 * the head is a loop tracker, it is 0 on an even numbered
106 * is necessary to add bit 3 to bit 0 and clear bit 3. This
107 * gives us a valid range of 0x1 - 0xE.
110 * Rsvd0: Reserved 0 portion of the mailbox header
122 ((0x1u << FM10K_MSG_##name##_SIZE) - 1)
129 #define FM10K_MSG_TYPE_SHIFT 0
151 FM10K_MSG_DATA = 0x8,
152 FM10K_MSG_CONNECT = 0xC,
153 FM10K_MSG_DISCONNECT = 0xD,
154 FM10K_MSG_ERROR = 0xE,
158 * 3 2 1 0
159 * 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0
177 * Version: Version info for mailbox, only values of 0/1 are supported.
187 #define FM10K_MSG_SM_TAIL_SHIFT 0
197 * The value -511 is 0xFE01 in hex. The idea is to order the errors
198 * from 0xFE01 - 0xFEFF so error codes are easily visible in the mailbox
203 #define FM10K_MBX_ERR_NO_MBX FM10K_MBX_ERR(0x01)
204 #define FM10K_MBX_ERR_NO_SPACE FM10K_MBX_ERR(0x03)
205 #define FM10K_MBX_ERR_TAIL FM10K_MBX_ERR(0x05)
206 #define FM10K_MBX_ERR_HEAD FM10K_MBX_ERR(0x06)
207 #define FM10K_MBX_ERR_SRC FM10K_MBX_ERR(0x08)
208 #define FM10K_MBX_ERR_TYPE FM10K_MBX_ERR(0x09)
209 #define FM10K_MBX_ERR_SIZE FM10K_MBX_ERR(0x0B)
210 #define FM10K_MBX_ERR_BUSY FM10K_MBX_ERR(0x0C)
211 #define FM10K_MBX_ERR_RSVD0 FM10K_MBX_ERR(0x0E)
212 #define FM10K_MBX_ERR_CRC FM10K_MBX_ERR(0x0F)
214 #define FM10K_MBX_CRC_SEED 0xFFFF