1  /*
2   * Copyright (c) 2018 The Linux Foundation. All rights reserved.
3   *
4   * Permission to use, copy, modify, and/or distribute this software for
5   * any purpose with or without fee is hereby granted, provided that the
6   * above copyright notice and this permission notice appear in all
7   * copies.
8   *
9   * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
10   * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
11   * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
12   * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
13   * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
14   * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
15   * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
16   * PERFORMANCE OF THIS SOFTWARE.
17   */
18  
19  // $ATH_LICENSE_HW_HDR_C$
20  //
21  // DO NOT EDIT!  This file is automatically generated
22  //               These definitions are tied to a particular hardware layout
23  
24  
25  #ifndef _MACRX_ABORT_REQUEST_INFO_H_
26  #define _MACRX_ABORT_REQUEST_INFO_H_
27  #if !defined(__ASSEMBLER__)
28  #endif
29  
30  
31  // ################ START SUMMARY #################
32  //
33  //	Dword	Fields
34  //	0	macrx_abort_reason[7:0], reserved_0[15:8]
35  //
36  // ################ END SUMMARY #################
37  
38  #define NUM_OF_WORDS_MACRX_ABORT_REQUEST_INFO 1
39  
40  struct macrx_abort_request_info {
41               uint16_t macrx_abort_reason              :  8, //[7:0]
42                        reserved_0                      :  8; //[15:8]
43  };
44  
45  /*
46  
47  macrx_abort_reason
48  
49  			<enum 0 macrx_abort_sw_initiated>
50  
51  			<enum 1 macrx_abort_other>
52  
53  
54  
55  			<legal 0-1>
56  
57  reserved_0
58  
59  			<legal 0>
60  */
61  
62  
63  /* Description		MACRX_ABORT_REQUEST_INFO_0_MACRX_ABORT_REASON
64  
65  			<enum 0 macrx_abort_sw_initiated>
66  
67  			<enum 1 macrx_abort_other>
68  
69  
70  
71  			<legal 0-1>
72  */
73  #define MACRX_ABORT_REQUEST_INFO_0_MACRX_ABORT_REASON_OFFSET         0x00000000
74  #define MACRX_ABORT_REQUEST_INFO_0_MACRX_ABORT_REASON_LSB            0
75  #define MACRX_ABORT_REQUEST_INFO_0_MACRX_ABORT_REASON_MASK           0x000000ff
76  
77  /* Description		MACRX_ABORT_REQUEST_INFO_0_RESERVED_0
78  
79  			<legal 0>
80  */
81  #define MACRX_ABORT_REQUEST_INFO_0_RESERVED_0_OFFSET                 0x00000000
82  #define MACRX_ABORT_REQUEST_INFO_0_RESERVED_0_LSB                    8
83  #define MACRX_ABORT_REQUEST_INFO_0_RESERVED_0_MASK                   0x0000ff00
84  
85  
86  #endif // _MACRX_ABORT_REQUEST_INFO_H_
87