1/****************************************************************************
2 ****************************************************************************
3 ***
4 ***   This header was automatically generated from a Linux kernel header
5 ***   of the same name, to make information necessary for userspace to
6 ***   call into the kernel available to libc.  It contains only constants,
7 ***   structures, and macros generated from the original header, and thus,
8 ***   contains no copyrightable information.
9 ***
10 ***   To edit the content of this header, modify the corresponding
11 ***   source file (e.g. under external/kernel-headers/original/) then
12 ***   run bionic/libc/kernel/tools/update_all.py
13 ***
14 ***   Any manual change here will be lost the next time this script will
15 ***   be run. You've been warned!
16 ***
17 ****************************************************************************
18 ****************************************************************************/
19#ifndef _LINUX_FIREWIRE_CONSTANTS_H
20#define _LINUX_FIREWIRE_CONSTANTS_H
21#define TCODE_WRITE_QUADLET_REQUEST 0x0
22#define TCODE_WRITE_BLOCK_REQUEST 0x1
23/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
24#define TCODE_WRITE_RESPONSE 0x2
25#define TCODE_READ_QUADLET_REQUEST 0x4
26#define TCODE_READ_BLOCK_REQUEST 0x5
27#define TCODE_READ_QUADLET_RESPONSE 0x6
28/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
29#define TCODE_READ_BLOCK_RESPONSE 0x7
30#define TCODE_CYCLE_START 0x8
31#define TCODE_LOCK_REQUEST 0x9
32#define TCODE_STREAM_DATA 0xa
33/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
34#define TCODE_LOCK_RESPONSE 0xb
35#define EXTCODE_MASK_SWAP 0x1
36#define EXTCODE_COMPARE_SWAP 0x2
37#define EXTCODE_FETCH_ADD 0x3
38/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
39#define EXTCODE_LITTLE_ADD 0x4
40#define EXTCODE_BOUNDED_ADD 0x5
41#define EXTCODE_WRAP_ADD 0x6
42#define EXTCODE_VENDOR_DEPENDENT 0x7
43/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
44#define TCODE_LOCK_MASK_SWAP (0x10 | EXTCODE_MASK_SWAP)
45#define TCODE_LOCK_COMPARE_SWAP (0x10 | EXTCODE_COMPARE_SWAP)
46#define TCODE_LOCK_FETCH_ADD (0x10 | EXTCODE_FETCH_ADD)
47#define TCODE_LOCK_LITTLE_ADD (0x10 | EXTCODE_LITTLE_ADD)
48/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
49#define TCODE_LOCK_BOUNDED_ADD (0x10 | EXTCODE_BOUNDED_ADD)
50#define TCODE_LOCK_WRAP_ADD (0x10 | EXTCODE_WRAP_ADD)
51#define TCODE_LOCK_VENDOR_DEPENDENT (0x10 | EXTCODE_VENDOR_DEPENDENT)
52#define RCODE_COMPLETE 0x0
53/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
54#define RCODE_CONFLICT_ERROR 0x4
55#define RCODE_DATA_ERROR 0x5
56#define RCODE_TYPE_ERROR 0x6
57#define RCODE_ADDRESS_ERROR 0x7
58/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
59#define RCODE_SEND_ERROR 0x10
60#define RCODE_CANCELLED 0x11
61#define RCODE_BUSY 0x12
62#define RCODE_GENERATION 0x13
63/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
64#define RCODE_NO_ACK 0x14
65#define SCODE_100 0x0
66#define SCODE_200 0x1
67#define SCODE_400 0x2
68/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
69#define SCODE_800 0x3
70#define SCODE_1600 0x4
71#define SCODE_3200 0x5
72#define SCODE_BETA 0x3
73/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
74#define ACK_COMPLETE 0x1
75#define ACK_PENDING 0x2
76#define ACK_BUSY_X 0x4
77#define ACK_BUSY_A 0x5
78/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
79#define ACK_BUSY_B 0x6
80#define ACK_DATA_ERROR 0xd
81#define ACK_TYPE_ERROR 0xe
82#define RETRY_1 0x00
83/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
84#define RETRY_X 0x01
85#define RETRY_A 0x02
86#define RETRY_B 0x03
87#endif
88/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
89