1
2
3
4
5
6
7
8
9#ifndef ROCKER_HW_H
10#define ROCKER_HW_H
11
12#define __le16 uint16_t
13#define __le32 uint32_t
14#define __le64 uint64_t
15
16
17
18
19
20enum {
21 ROCKER_OK = 0,
22 ROCKER_ENOENT = 2,
23 ROCKER_ENXIO = 6,
24 ROCKER_ENOMEM = 12,
25 ROCKER_EEXIST = 17,
26 ROCKER_EINVAL = 22,
27 ROCKER_EMSGSIZE = 90,
28 ROCKER_ENOTSUP = 95,
29 ROCKER_ENOBUFS = 105,
30};
31
32
33
34
35
36#define ROCKER_PCI_REVISION 0x1
37#define ROCKER_PCI_BAR0_IDX 0
38#define ROCKER_PCI_BAR0_SIZE 0x2000
39#define ROCKER_PCI_MSIX_BAR_IDX 1
40#define ROCKER_PCI_MSIX_BAR_SIZE 0x2000
41#define ROCKER_PCI_MSIX_TABLE_OFFSET 0x0000
42#define ROCKER_PCI_MSIX_PBA_OFFSET 0x1000
43
44
45
46
47
48enum {
49 ROCKER_MSIX_VEC_CMD,
50 ROCKER_MSIX_VEC_EVENT,
51 ROCKER_MSIX_VEC_TEST,
52 ROCKER_MSIX_VEC_RESERVED0,
53 __ROCKER_MSIX_VEC_TX,
54 __ROCKER_MSIX_VEC_RX,
55#define ROCKER_MSIX_VEC_TX(port) \
56 (__ROCKER_MSIX_VEC_TX + ((port) * 2))
57#define ROCKER_MSIX_VEC_RX(port) \
58 (__ROCKER_MSIX_VEC_RX + ((port) * 2))
59#define ROCKER_MSIX_VEC_COUNT(portcnt) \
60 (ROCKER_MSIX_VEC_RX((portcnt) - 1) + 1)
61};
62
63
64
65
66#define ROCKER_BOGUS_REG0 0x0000
67#define ROCKER_BOGUS_REG1 0x0004
68#define ROCKER_BOGUS_REG2 0x0008
69#define ROCKER_BOGUS_REG3 0x000c
70
71
72
73
74#define ROCKER_TEST_REG 0x0010
75#define ROCKER_TEST_REG64 0x0018
76#define ROCKER_TEST_IRQ 0x0020
77#define ROCKER_TEST_DMA_ADDR 0x0028
78#define ROCKER_TEST_DMA_SIZE 0x0030
79#define ROCKER_TEST_DMA_CTRL 0x0034
80
81
82
83
84#define ROCKER_TEST_DMA_CTRL_CLEAR (1 << 0)
85#define ROCKER_TEST_DMA_CTRL_FILL (1 << 1)
86#define ROCKER_TEST_DMA_CTRL_INVERT (1 << 2)
87
88
89
90
91#define ROCKER_DMA_DESC_BASE 0x1000
92#define ROCKER_DMA_DESC_SIZE 32
93#define ROCKER_DMA_DESC_MASK 0x1F
94#define ROCKER_DMA_DESC_TOTAL_SIZE \
95 (ROCKER_DMA_DESC_SIZE * 64)
96#define ROCKER_DMA_DESC_ADDR_OFFSET 0x00
97#define ROCKER_DMA_DESC_SIZE_OFFSET 0x08
98#define ROCKER_DMA_DESC_HEAD_OFFSET 0x0c
99#define ROCKER_DMA_DESC_TAIL_OFFSET 0x10
100#define ROCKER_DMA_DESC_CTRL_OFFSET 0x14
101#define ROCKER_DMA_DESC_CREDITS_OFFSET 0x18
102#define ROCKER_DMA_DESC_RSVD_OFFSET 0x1c
103
104
105
106
107#define ROCKER_DMA_DESC_CTRL_RESET (1 << 0)
108
109
110
111
112#define ROCKER_RING_CMD 0
113#define ROCKER_RING_EVENT 1
114
115
116
117
118
119
120#define ROCKER_RING_INDEX(reg) ((reg >> 5) & 0x7F)
121
122
123
124
125
126typedef struct rocker_desc {
127 __le64 buf_addr;
128 uint64_t cookie;
129 __le16 buf_size;
130 __le16 tlv_size;
131 __le16 rsvd[5];
132 __le16 comp_err;
133} __attribute__((packed, aligned(8))) RockerDesc;
134
135
136
137
138
139typedef struct rocker_tlv {
140 __le32 type;
141 __le16 len;
142 __le16 rsvd;
143} __attribute__((packed, aligned(8))) RockerTlv;
144
145
146enum {
147 ROCKER_TLV_CMD_UNSPEC,
148 ROCKER_TLV_CMD_TYPE,
149 ROCKER_TLV_CMD_INFO,
150
151 __ROCKER_TLV_CMD_MAX,
152 ROCKER_TLV_CMD_MAX = __ROCKER_TLV_CMD_MAX - 1,
153};
154
155enum {
156 ROCKER_TLV_CMD_TYPE_UNSPEC,
157 ROCKER_TLV_CMD_TYPE_GET_PORT_SETTINGS,
158 ROCKER_TLV_CMD_TYPE_SET_PORT_SETTINGS,
159 ROCKER_TLV_CMD_TYPE_OF_DPA_FLOW_ADD,
160 ROCKER_TLV_CMD_TYPE_OF_DPA_FLOW_MOD,
161 ROCKER_TLV_CMD_TYPE_OF_DPA_FLOW_DEL,
162 ROCKER_TLV_CMD_TYPE_OF_DPA_FLOW_GET_STATS,
163 ROCKER_TLV_CMD_TYPE_OF_DPA_GROUP_ADD,
164 ROCKER_TLV_CMD_TYPE_OF_DPA_GROUP_MOD,
165 ROCKER_TLV_CMD_TYPE_OF_DPA_GROUP_DEL,
166 ROCKER_TLV_CMD_TYPE_OF_DPA_GROUP_GET_STATS,
167
168 __ROCKER_TLV_CMD_TYPE_MAX,
169 ROCKER_TLV_CMD_TYPE_MAX = __ROCKER_TLV_CMD_TYPE_MAX - 1,
170};
171
172
173enum {
174 ROCKER_TLV_CMD_PORT_SETTINGS_UNSPEC,
175 ROCKER_TLV_CMD_PORT_SETTINGS_PPORT,
176 ROCKER_TLV_CMD_PORT_SETTINGS_SPEED,
177 ROCKER_TLV_CMD_PORT_SETTINGS_DUPLEX,
178 ROCKER_TLV_CMD_PORT_SETTINGS_AUTONEG,
179 ROCKER_TLV_CMD_PORT_SETTINGS_MACADDR,
180 ROCKER_TLV_CMD_PORT_SETTINGS_MODE,
181 ROCKER_TLV_CMD_PORT_SETTINGS_LEARNING,
182 ROCKER_TLV_CMD_PORT_SETTINGS_PHYS_NAME,
183
184 __ROCKER_TLV_CMD_PORT_SETTINGS_MAX,
185 ROCKER_TLV_CMD_PORT_SETTINGS_MAX = __ROCKER_TLV_CMD_PORT_SETTINGS_MAX - 1,
186};
187
188enum {
189 ROCKER_PORT_MODE_OF_DPA,
190};
191
192
193enum {
194 ROCKER_TLV_EVENT_UNSPEC,
195 ROCKER_TLV_EVENT_TYPE,
196 ROCKER_TLV_EVENT_INFO,
197
198 __ROCKER_TLV_EVENT_MAX,
199 ROCKER_TLV_EVENT_MAX = __ROCKER_TLV_EVENT_MAX - 1,
200};
201
202enum {
203 ROCKER_TLV_EVENT_TYPE_UNSPEC,
204 ROCKER_TLV_EVENT_TYPE_LINK_CHANGED,
205 ROCKER_TLV_EVENT_TYPE_MAC_VLAN_SEEN,
206
207 __ROCKER_TLV_EVENT_TYPE_MAX,
208 ROCKER_TLV_EVENT_TYPE_MAX = __ROCKER_TLV_EVENT_TYPE_MAX - 1,
209};
210
211
212enum {
213 ROCKER_TLV_EVENT_LINK_CHANGED_UNSPEC,
214 ROCKER_TLV_EVENT_LINK_CHANGED_PPORT,
215 ROCKER_TLV_EVENT_LINK_CHANGED_LINKUP,
216
217 __ROCKER_TLV_EVENT_LINK_CHANGED_MAX,
218 ROCKER_TLV_EVENT_LINK_CHANGED_MAX = __ROCKER_TLV_EVENT_LINK_CHANGED_MAX - 1,
219};
220
221
222enum {
223 ROCKER_TLV_EVENT_MAC_VLAN_UNSPEC,
224 ROCKER_TLV_EVENT_MAC_VLAN_PPORT,
225 ROCKER_TLV_EVENT_MAC_VLAN_MAC,
226 ROCKER_TLV_EVENT_MAC_VLAN_VLAN_ID,
227
228 __ROCKER_TLV_EVENT_MAC_VLAN_MAX,
229 ROCKER_TLV_EVENT_MAC_VLAN_MAX = __ROCKER_TLV_EVENT_MAC_VLAN_MAX - 1,
230};
231
232
233enum {
234 ROCKER_TLV_RX_UNSPEC,
235 ROCKER_TLV_RX_FLAGS,
236 ROCKER_TLV_RX_CSUM,
237 ROCKER_TLV_RX_FRAG_ADDR,
238 ROCKER_TLV_RX_FRAG_MAX_LEN,
239 ROCKER_TLV_RX_FRAG_LEN,
240
241 __ROCKER_TLV_RX_MAX,
242 ROCKER_TLV_RX_MAX = __ROCKER_TLV_RX_MAX - 1,
243};
244
245#define ROCKER_RX_FLAGS_IPV4 (1 << 0)
246#define ROCKER_RX_FLAGS_IPV6 (1 << 1)
247#define ROCKER_RX_FLAGS_CSUM_CALC (1 << 2)
248#define ROCKER_RX_FLAGS_IPV4_CSUM_GOOD (1 << 3)
249#define ROCKER_RX_FLAGS_IP_FRAG (1 << 4)
250#define ROCKER_RX_FLAGS_TCP (1 << 5)
251#define ROCKER_RX_FLAGS_UDP (1 << 6)
252#define ROCKER_RX_FLAGS_TCP_UDP_CSUM_GOOD (1 << 7)
253#define ROCKER_RX_FLAGS_FWD_OFFLOAD (1 << 8)
254
255
256enum {
257 ROCKER_TLV_TX_UNSPEC,
258 ROCKER_TLV_TX_OFFLOAD,
259 ROCKER_TLV_TX_L3_CSUM_OFF,
260 ROCKER_TLV_TX_TSO_MSS,
261 ROCKER_TLV_TX_TSO_HDR_LEN,
262 ROCKER_TLV_TX_FRAGS,
263
264 __ROCKER_TLV_TX_MAX,
265 ROCKER_TLV_TX_MAX = __ROCKER_TLV_TX_MAX - 1,
266};
267
268#define ROCKER_TX_OFFLOAD_NONE 0
269#define ROCKER_TX_OFFLOAD_IP_CSUM 1
270#define ROCKER_TX_OFFLOAD_TCP_UDP_CSUM 2
271#define ROCKER_TX_OFFLOAD_L3_CSUM 3
272#define ROCKER_TX_OFFLOAD_TSO 4
273
274#define ROCKER_TX_FRAGS_MAX 16
275
276enum {
277 ROCKER_TLV_TX_FRAG_UNSPEC,
278 ROCKER_TLV_TX_FRAG,
279
280 __ROCKER_TLV_TX_FRAG_MAX,
281 ROCKER_TLV_TX_FRAG_MAX = __ROCKER_TLV_TX_FRAG_MAX - 1,
282};
283
284enum {
285 ROCKER_TLV_TX_FRAG_ATTR_UNSPEC,
286 ROCKER_TLV_TX_FRAG_ATTR_ADDR,
287 ROCKER_TLV_TX_FRAG_ATTR_LEN,
288
289 __ROCKER_TLV_TX_FRAG_ATTR_MAX,
290 ROCKER_TLV_TX_FRAG_ATTR_MAX = __ROCKER_TLV_TX_FRAG_ATTR_MAX - 1,
291};
292
293
294
295
296
297enum {
298 ROCKER_TLV_OF_DPA_UNSPEC,
299 ROCKER_TLV_OF_DPA_TABLE_ID,
300 ROCKER_TLV_OF_DPA_PRIORITY,
301 ROCKER_TLV_OF_DPA_HARDTIME,
302 ROCKER_TLV_OF_DPA_IDLETIME,
303 ROCKER_TLV_OF_DPA_COOKIE,
304 ROCKER_TLV_OF_DPA_IN_PPORT,
305 ROCKER_TLV_OF_DPA_IN_PPORT_MASK,
306 ROCKER_TLV_OF_DPA_OUT_PPORT,
307 ROCKER_TLV_OF_DPA_GOTO_TABLE_ID,
308 ROCKER_TLV_OF_DPA_GROUP_ID,
309 ROCKER_TLV_OF_DPA_GROUP_ID_LOWER,
310 ROCKER_TLV_OF_DPA_GROUP_COUNT,
311 ROCKER_TLV_OF_DPA_GROUP_IDS,
312 ROCKER_TLV_OF_DPA_VLAN_ID,
313 ROCKER_TLV_OF_DPA_VLAN_ID_MASK,
314 ROCKER_TLV_OF_DPA_VLAN_PCP,
315 ROCKER_TLV_OF_DPA_VLAN_PCP_MASK,
316 ROCKER_TLV_OF_DPA_VLAN_PCP_ACTION,
317 ROCKER_TLV_OF_DPA_NEW_VLAN_ID,
318 ROCKER_TLV_OF_DPA_NEW_VLAN_PCP,
319 ROCKER_TLV_OF_DPA_TUNNEL_ID,
320 ROCKER_TLV_OF_DPA_TUNNEL_LPORT,
321 ROCKER_TLV_OF_DPA_ETHERTYPE,
322 ROCKER_TLV_OF_DPA_DST_MAC,
323 ROCKER_TLV_OF_DPA_DST_MAC_MASK,
324 ROCKER_TLV_OF_DPA_SRC_MAC,
325 ROCKER_TLV_OF_DPA_SRC_MAC_MASK,
326 ROCKER_TLV_OF_DPA_IP_PROTO,
327 ROCKER_TLV_OF_DPA_IP_PROTO_MASK,
328 ROCKER_TLV_OF_DPA_IP_DSCP,
329 ROCKER_TLV_OF_DPA_IP_DSCP_MASK,
330 ROCKER_TLV_OF_DPA_IP_DSCP_ACTION,
331 ROCKER_TLV_OF_DPA_NEW_IP_DSCP,
332 ROCKER_TLV_OF_DPA_IP_ECN,
333 ROCKER_TLV_OF_DPA_IP_ECN_MASK,
334 ROCKER_TLV_OF_DPA_DST_IP,
335 ROCKER_TLV_OF_DPA_DST_IP_MASK,
336 ROCKER_TLV_OF_DPA_SRC_IP,
337 ROCKER_TLV_OF_DPA_SRC_IP_MASK,
338 ROCKER_TLV_OF_DPA_DST_IPV6,
339 ROCKER_TLV_OF_DPA_DST_IPV6_MASK,
340 ROCKER_TLV_OF_DPA_SRC_IPV6,
341 ROCKER_TLV_OF_DPA_SRC_IPV6_MASK,
342 ROCKER_TLV_OF_DPA_SRC_ARP_IP,
343 ROCKER_TLV_OF_DPA_SRC_ARP_IP_MASK,
344 ROCKER_TLV_OF_DPA_L4_DST_PORT,
345 ROCKER_TLV_OF_DPA_L4_DST_PORT_MASK,
346 ROCKER_TLV_OF_DPA_L4_SRC_PORT,
347 ROCKER_TLV_OF_DPA_L4_SRC_PORT_MASK,
348 ROCKER_TLV_OF_DPA_ICMP_TYPE,
349 ROCKER_TLV_OF_DPA_ICMP_TYPE_MASK,
350 ROCKER_TLV_OF_DPA_ICMP_CODE,
351 ROCKER_TLV_OF_DPA_ICMP_CODE_MASK,
352 ROCKER_TLV_OF_DPA_IPV6_LABEL,
353 ROCKER_TLV_OF_DPA_IPV6_LABEL_MASK,
354 ROCKER_TLV_OF_DPA_QUEUE_ID_ACTION,
355 ROCKER_TLV_OF_DPA_NEW_QUEUE_ID,
356 ROCKER_TLV_OF_DPA_CLEAR_ACTIONS,
357 ROCKER_TLV_OF_DPA_POP_VLAN,
358 ROCKER_TLV_OF_DPA_TTL_CHECK,
359 ROCKER_TLV_OF_DPA_COPY_CPU_ACTION,
360
361 __ROCKER_TLV_OF_DPA_MAX,
362 ROCKER_TLV_OF_DPA_MAX = __ROCKER_TLV_OF_DPA_MAX - 1,
363};
364
365
366
367
368
369enum rocker_of_dpa_table_id {
370 ROCKER_OF_DPA_TABLE_ID_INGRESS_PORT = 0,
371 ROCKER_OF_DPA_TABLE_ID_VLAN = 10,
372 ROCKER_OF_DPA_TABLE_ID_TERMINATION_MAC = 20,
373 ROCKER_OF_DPA_TABLE_ID_UNICAST_ROUTING = 30,
374 ROCKER_OF_DPA_TABLE_ID_MULTICAST_ROUTING = 40,
375 ROCKER_OF_DPA_TABLE_ID_BRIDGING = 50,
376 ROCKER_OF_DPA_TABLE_ID_ACL_POLICY = 60,
377};
378
379
380
381
382
383enum {
384 ROCKER_TLV_OF_DPA_FLOW_STAT_UNSPEC,
385 ROCKER_TLV_OF_DPA_FLOW_STAT_DURATION,
386 ROCKER_TLV_OF_DPA_FLOW_STAT_RX_PKTS,
387 ROCKER_TLV_OF_DPA_FLOW_STAT_TX_PKTS,
388
389 __ROCKER_TLV_OF_DPA_FLOW_STAT_MAX,
390 ROCKER_TLV_OF_DPA_FLOW_STAT_MAX = __ROCKER_TLV_OF_DPA_FLOW_STAT_MAX - 1,
391};
392
393
394
395
396
397enum rocker_of_dpa_group_type {
398 ROCKER_OF_DPA_GROUP_TYPE_L2_INTERFACE = 0,
399 ROCKER_OF_DPA_GROUP_TYPE_L2_REWRITE,
400 ROCKER_OF_DPA_GROUP_TYPE_L3_UCAST,
401 ROCKER_OF_DPA_GROUP_TYPE_L2_MCAST,
402 ROCKER_OF_DPA_GROUP_TYPE_L2_FLOOD,
403 ROCKER_OF_DPA_GROUP_TYPE_L3_INTERFACE,
404 ROCKER_OF_DPA_GROUP_TYPE_L3_MCAST,
405 ROCKER_OF_DPA_GROUP_TYPE_L3_ECMP,
406 ROCKER_OF_DPA_GROUP_TYPE_L2_OVERLAY,
407};
408
409
410
411
412
413enum rocker_of_dpa_overlay_type {
414 ROCKER_OF_DPA_OVERLAY_TYPE_FLOOD_UCAST = 0,
415 ROCKER_OF_DPA_OVERLAY_TYPE_FLOOD_MCAST,
416 ROCKER_OF_DPA_OVERLAY_TYPE_MCAST_UCAST,
417 ROCKER_OF_DPA_OVERLAY_TYPE_MCAST_MCAST,
418};
419
420
421
422
423
424#define ROCKER_GROUP_TYPE_SHIFT 28
425#define ROCKER_GROUP_TYPE_MASK 0xf0000000
426#define ROCKER_GROUP_VLAN_ID_SHIFT 16
427#define ROCKER_GROUP_VLAN_ID_MASK 0x0fff0000
428#define ROCKER_GROUP_PORT_SHIFT 0
429#define ROCKER_GROUP_PORT_MASK 0x0000ffff
430#define ROCKER_GROUP_TUNNEL_ID_SHIFT 12
431#define ROCKER_GROUP_TUNNEL_ID_MASK 0x0ffff000
432#define ROCKER_GROUP_SUBTYPE_SHIFT 10
433#define ROCKER_GROUP_SUBTYPE_MASK 0x00000c00
434#define ROCKER_GROUP_INDEX_SHIFT 0
435#define ROCKER_GROUP_INDEX_MASK 0x0000ffff
436#define ROCKER_GROUP_INDEX_LONG_SHIFT 0
437#define ROCKER_GROUP_INDEX_LONG_MASK 0x0fffffff
438
439#define ROCKER_GROUP_TYPE_GET(group_id) \
440 (((group_id) & ROCKER_GROUP_TYPE_MASK) >> ROCKER_GROUP_TYPE_SHIFT)
441#define ROCKER_GROUP_TYPE_SET(type) \
442 (((type) << ROCKER_GROUP_TYPE_SHIFT) & ROCKER_GROUP_TYPE_MASK)
443#define ROCKER_GROUP_VLAN_GET(group_id) \
444 (((group_id) & ROCKER_GROUP_VLAN_ID_MASK) >> ROCKER_GROUP_VLAN_ID_SHIFT)
445#define ROCKER_GROUP_VLAN_SET(vlan_id) \
446 (((vlan_id) << ROCKER_GROUP_VLAN_ID_SHIFT) & ROCKER_GROUP_VLAN_ID_MASK)
447#define ROCKER_GROUP_PORT_GET(group_id) \
448 (((group_id) & ROCKER_GROUP_PORT_MASK) >> ROCKER_GROUP_PORT_SHIFT)
449#define ROCKER_GROUP_PORT_SET(port) \
450 (((port) << ROCKER_GROUP_PORT_SHIFT) & ROCKER_GROUP_PORT_MASK)
451#define ROCKER_GROUP_INDEX_GET(group_id) \
452 (((group_id) & ROCKER_GROUP_INDEX_MASK) >> ROCKER_GROUP_INDEX_SHIFT)
453#define ROCKER_GROUP_INDEX_SET(index) \
454 (((index) << ROCKER_GROUP_INDEX_SHIFT) & ROCKER_GROUP_INDEX_MASK)
455#define ROCKER_GROUP_INDEX_LONG_GET(group_id) \
456 (((group_id) & ROCKER_GROUP_INDEX_LONG_MASK) >> \
457 ROCKER_GROUP_INDEX_LONG_SHIFT)
458#define ROCKER_GROUP_INDEX_LONG_SET(index) \
459 (((index) << ROCKER_GROUP_INDEX_LONG_SHIFT) & \
460 ROCKER_GROUP_INDEX_LONG_MASK)
461
462#define ROCKER_GROUP_NONE 0
463#define ROCKER_GROUP_L2_INTERFACE(vlan_id, port) \
464 (ROCKER_GROUP_TYPE_SET(ROCKER_OF_DPA_GROUP_TYPE_L2_INTERFACE) |\
465 ROCKER_GROUP_VLAN_SET(ntohs(vlan_id)) | ROCKER_GROUP_PORT_SET(port))
466#define ROCKER_GROUP_L2_REWRITE(index) \
467 (ROCKER_GROUP_TYPE_SET(ROCKER_OF_DPA_GROUP_TYPE_L2_REWRITE) |\
468 ROCKER_GROUP_INDEX_LONG_SET(index))
469#define ROCKER_GROUP_L2_MCAST(vlan_id, index) \
470 (ROCKER_GROUP_TYPE_SET(ROCKER_OF_DPA_GROUP_TYPE_L2_MCAST) |\
471 ROCKER_GROUP_VLAN_SET(ntohs(vlan_id)) | ROCKER_GROUP_INDEX_SET(index))
472#define ROCKER_GROUP_L2_FLOOD(vlan_id, index) \
473 (ROCKER_GROUP_TYPE_SET(ROCKER_OF_DPA_GROUP_TYPE_L2_FLOOD) |\
474 ROCKER_GROUP_VLAN_SET(ntohs(vlan_id)) | ROCKER_GROUP_INDEX_SET(index))
475#define ROCKER_GROUP_L3_UNICAST(index) \
476 (ROCKER_GROUP_TYPE_SET(ROCKER_OF_DPA_GROUP_TYPE_L3_UCAST) |\
477 ROCKER_GROUP_INDEX_LONG_SET(index))
478
479
480
481
482#define ROCKER_CONTROL 0x0300
483#define ROCKER_PORT_PHYS_COUNT 0x0304
484#define ROCKER_PORT_PHYS_LINK_STATUS 0x0310
485#define ROCKER_PORT_PHYS_ENABLE 0x0318
486#define ROCKER_SWITCH_ID 0x0320
487
488
489
490
491#define ROCKER_CONTROL_RESET (1 << 0)
492
493#endif
494