1 /* 2 * Copyright (c) 2016-2017 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 #ifndef _PHYRX_PKT_END_H_ 20 #define _PHYRX_PKT_END_H_ 21 #if !defined(__ASSEMBLER__) 22 #endif 23 24 #include "phyrx_pkt_end_info.h" 25 26 // ################ START SUMMARY ################# 27 // 28 // Dword Fields 29 // 0-32 struct phyrx_pkt_end_info rx_pkt_end_details; 30 // 31 // ################ END SUMMARY ################# 32 33 #define NUM_OF_DWORDS_PHYRX_PKT_END 33 34 35 struct phyrx_pkt_end { 36 struct phyrx_pkt_end_info rx_pkt_end_details; 37 }; 38 39 /* 40 41 struct phyrx_pkt_end_info rx_pkt_end_details 42 43 Overview of the final receive related parameters from 44 the PHY RX 45 */ 46 47 #define PHYRX_PKT_END_0_PHYRX_PKT_END_INFO_RX_PKT_END_DETAILS_OFFSET 0x00000000 48 #define PHYRX_PKT_END_0_PHYRX_PKT_END_INFO_RX_PKT_END_DETAILS_LSB 0 49 #define PHYRX_PKT_END_0_PHYRX_PKT_END_INFO_RX_PKT_END_DETAILS_MASK 0xffffffff 50 #define PHYRX_PKT_END_1_PHYRX_PKT_END_INFO_RX_PKT_END_DETAILS_OFFSET 0x00000004 51 #define PHYRX_PKT_END_1_PHYRX_PKT_END_INFO_RX_PKT_END_DETAILS_LSB 0 52 #define PHYRX_PKT_END_1_PHYRX_PKT_END_INFO_RX_PKT_END_DETAILS_MASK 0xffffffff 53 #define PHYRX_PKT_END_2_PHYRX_PKT_END_INFO_RX_PKT_END_DETAILS_OFFSET 0x00000008 54 #define PHYRX_PKT_END_2_PHYRX_PKT_END_INFO_RX_PKT_END_DETAILS_LSB 0 55 #define PHYRX_PKT_END_2_PHYRX_PKT_END_INFO_RX_PKT_END_DETAILS_MASK 0xffffffff 56 #define PHYRX_PKT_END_3_PHYRX_PKT_END_INFO_RX_PKT_END_DETAILS_OFFSET 0x0000000c 57 #define PHYRX_PKT_END_3_PHYRX_PKT_END_INFO_RX_PKT_END_DETAILS_LSB 0 58 #define PHYRX_PKT_END_3_PHYRX_PKT_END_INFO_RX_PKT_END_DETAILS_MASK 0xffffffff 59 #define PHYRX_PKT_END_4_PHYRX_PKT_END_INFO_RX_PKT_END_DETAILS_OFFSET 0x00000010 60 #define PHYRX_PKT_END_4_PHYRX_PKT_END_INFO_RX_PKT_END_DETAILS_LSB 0 61 #define PHYRX_PKT_END_4_PHYRX_PKT_END_INFO_RX_PKT_END_DETAILS_MASK 0xffffffff 62 #define PHYRX_PKT_END_5_PHYRX_PKT_END_INFO_RX_PKT_END_DETAILS_OFFSET 0x00000014 63 #define PHYRX_PKT_END_5_PHYRX_PKT_END_INFO_RX_PKT_END_DETAILS_LSB 0 64 #define PHYRX_PKT_END_5_PHYRX_PKT_END_INFO_RX_PKT_END_DETAILS_MASK 0xffffffff 65 #define PHYRX_PKT_END_6_PHYRX_PKT_END_INFO_RX_PKT_END_DETAILS_OFFSET 0x00000018 66 #define PHYRX_PKT_END_6_PHYRX_PKT_END_INFO_RX_PKT_END_DETAILS_LSB 0 67 #define PHYRX_PKT_END_6_PHYRX_PKT_END_INFO_RX_PKT_END_DETAILS_MASK 0xffffffff 68 #define PHYRX_PKT_END_7_PHYRX_PKT_END_INFO_RX_PKT_END_DETAILS_OFFSET 0x0000001c 69 #define PHYRX_PKT_END_7_PHYRX_PKT_END_INFO_RX_PKT_END_DETAILS_LSB 0 70 #define PHYRX_PKT_END_7_PHYRX_PKT_END_INFO_RX_PKT_END_DETAILS_MASK 0xffffffff 71 #define PHYRX_PKT_END_8_PHYRX_PKT_END_INFO_RX_PKT_END_DETAILS_OFFSET 0x00000020 72 #define PHYRX_PKT_END_8_PHYRX_PKT_END_INFO_RX_PKT_END_DETAILS_LSB 0 73 #define PHYRX_PKT_END_8_PHYRX_PKT_END_INFO_RX_PKT_END_DETAILS_MASK 0xffffffff 74 #define PHYRX_PKT_END_9_PHYRX_PKT_END_INFO_RX_PKT_END_DETAILS_OFFSET 0x00000024 75 #define PHYRX_PKT_END_9_PHYRX_PKT_END_INFO_RX_PKT_END_DETAILS_LSB 0 76 #define PHYRX_PKT_END_9_PHYRX_PKT_END_INFO_RX_PKT_END_DETAILS_MASK 0xffffffff 77 #define PHYRX_PKT_END_10_PHYRX_PKT_END_INFO_RX_PKT_END_DETAILS_OFFSET 0x00000028 78 #define PHYRX_PKT_END_10_PHYRX_PKT_END_INFO_RX_PKT_END_DETAILS_LSB 0 79 #define PHYRX_PKT_END_10_PHYRX_PKT_END_INFO_RX_PKT_END_DETAILS_MASK 0xffffffff 80 #define PHYRX_PKT_END_11_PHYRX_PKT_END_INFO_RX_PKT_END_DETAILS_OFFSET 0x0000002c 81 #define PHYRX_PKT_END_11_PHYRX_PKT_END_INFO_RX_PKT_END_DETAILS_LSB 0 82 #define PHYRX_PKT_END_11_PHYRX_PKT_END_INFO_RX_PKT_END_DETAILS_MASK 0xffffffff 83 #define PHYRX_PKT_END_12_PHYRX_PKT_END_INFO_RX_PKT_END_DETAILS_OFFSET 0x00000030 84 #define PHYRX_PKT_END_12_PHYRX_PKT_END_INFO_RX_PKT_END_DETAILS_LSB 0 85 #define PHYRX_PKT_END_12_PHYRX_PKT_END_INFO_RX_PKT_END_DETAILS_MASK 0xffffffff 86 #define PHYRX_PKT_END_13_PHYRX_PKT_END_INFO_RX_PKT_END_DETAILS_OFFSET 0x00000034 87 #define PHYRX_PKT_END_13_PHYRX_PKT_END_INFO_RX_PKT_END_DETAILS_LSB 0 88 #define PHYRX_PKT_END_13_PHYRX_PKT_END_INFO_RX_PKT_END_DETAILS_MASK 0xffffffff 89 #define PHYRX_PKT_END_14_PHYRX_PKT_END_INFO_RX_PKT_END_DETAILS_OFFSET 0x00000038 90 #define PHYRX_PKT_END_14_PHYRX_PKT_END_INFO_RX_PKT_END_DETAILS_LSB 0 91 #define PHYRX_PKT_END_14_PHYRX_PKT_END_INFO_RX_PKT_END_DETAILS_MASK 0xffffffff 92 #define PHYRX_PKT_END_15_PHYRX_PKT_END_INFO_RX_PKT_END_DETAILS_OFFSET 0x0000003c 93 #define PHYRX_PKT_END_15_PHYRX_PKT_END_INFO_RX_PKT_END_DETAILS_LSB 0 94 #define PHYRX_PKT_END_15_PHYRX_PKT_END_INFO_RX_PKT_END_DETAILS_MASK 0xffffffff 95 #define PHYRX_PKT_END_16_PHYRX_PKT_END_INFO_RX_PKT_END_DETAILS_OFFSET 0x00000040 96 #define PHYRX_PKT_END_16_PHYRX_PKT_END_INFO_RX_PKT_END_DETAILS_LSB 0 97 #define PHYRX_PKT_END_16_PHYRX_PKT_END_INFO_RX_PKT_END_DETAILS_MASK 0xffffffff 98 #define PHYRX_PKT_END_17_PHYRX_PKT_END_INFO_RX_PKT_END_DETAILS_OFFSET 0x00000044 99 #define PHYRX_PKT_END_17_PHYRX_PKT_END_INFO_RX_PKT_END_DETAILS_LSB 0 100 #define PHYRX_PKT_END_17_PHYRX_PKT_END_INFO_RX_PKT_END_DETAILS_MASK 0xffffffff 101 #define PHYRX_PKT_END_18_PHYRX_PKT_END_INFO_RX_PKT_END_DETAILS_OFFSET 0x00000048 102 #define PHYRX_PKT_END_18_PHYRX_PKT_END_INFO_RX_PKT_END_DETAILS_LSB 0 103 #define PHYRX_PKT_END_18_PHYRX_PKT_END_INFO_RX_PKT_END_DETAILS_MASK 0xffffffff 104 #define PHYRX_PKT_END_19_PHYRX_PKT_END_INFO_RX_PKT_END_DETAILS_OFFSET 0x0000004c 105 #define PHYRX_PKT_END_19_PHYRX_PKT_END_INFO_RX_PKT_END_DETAILS_LSB 0 106 #define PHYRX_PKT_END_19_PHYRX_PKT_END_INFO_RX_PKT_END_DETAILS_MASK 0xffffffff 107 #define PHYRX_PKT_END_20_PHYRX_PKT_END_INFO_RX_PKT_END_DETAILS_OFFSET 0x00000050 108 #define PHYRX_PKT_END_20_PHYRX_PKT_END_INFO_RX_PKT_END_DETAILS_LSB 0 109 #define PHYRX_PKT_END_20_PHYRX_PKT_END_INFO_RX_PKT_END_DETAILS_MASK 0xffffffff 110 #define PHYRX_PKT_END_21_PHYRX_PKT_END_INFO_RX_PKT_END_DETAILS_OFFSET 0x00000054 111 #define PHYRX_PKT_END_21_PHYRX_PKT_END_INFO_RX_PKT_END_DETAILS_LSB 0 112 #define PHYRX_PKT_END_21_PHYRX_PKT_END_INFO_RX_PKT_END_DETAILS_MASK 0xffffffff 113 #define PHYRX_PKT_END_22_PHYRX_PKT_END_INFO_RX_PKT_END_DETAILS_OFFSET 0x00000058 114 #define PHYRX_PKT_END_22_PHYRX_PKT_END_INFO_RX_PKT_END_DETAILS_LSB 0 115 #define PHYRX_PKT_END_22_PHYRX_PKT_END_INFO_RX_PKT_END_DETAILS_MASK 0xffffffff 116 #define PHYRX_PKT_END_23_PHYRX_PKT_END_INFO_RX_PKT_END_DETAILS_OFFSET 0x0000005c 117 #define PHYRX_PKT_END_23_PHYRX_PKT_END_INFO_RX_PKT_END_DETAILS_LSB 0 118 #define PHYRX_PKT_END_23_PHYRX_PKT_END_INFO_RX_PKT_END_DETAILS_MASK 0xffffffff 119 #define PHYRX_PKT_END_24_PHYRX_PKT_END_INFO_RX_PKT_END_DETAILS_OFFSET 0x00000060 120 #define PHYRX_PKT_END_24_PHYRX_PKT_END_INFO_RX_PKT_END_DETAILS_LSB 0 121 #define PHYRX_PKT_END_24_PHYRX_PKT_END_INFO_RX_PKT_END_DETAILS_MASK 0xffffffff 122 #define PHYRX_PKT_END_25_PHYRX_PKT_END_INFO_RX_PKT_END_DETAILS_OFFSET 0x00000064 123 #define PHYRX_PKT_END_25_PHYRX_PKT_END_INFO_RX_PKT_END_DETAILS_LSB 0 124 #define PHYRX_PKT_END_25_PHYRX_PKT_END_INFO_RX_PKT_END_DETAILS_MASK 0xffffffff 125 #define PHYRX_PKT_END_26_PHYRX_PKT_END_INFO_RX_PKT_END_DETAILS_OFFSET 0x00000068 126 #define PHYRX_PKT_END_26_PHYRX_PKT_END_INFO_RX_PKT_END_DETAILS_LSB 0 127 #define PHYRX_PKT_END_26_PHYRX_PKT_END_INFO_RX_PKT_END_DETAILS_MASK 0xffffffff 128 #define PHYRX_PKT_END_27_PHYRX_PKT_END_INFO_RX_PKT_END_DETAILS_OFFSET 0x0000006c 129 #define PHYRX_PKT_END_27_PHYRX_PKT_END_INFO_RX_PKT_END_DETAILS_LSB 0 130 #define PHYRX_PKT_END_27_PHYRX_PKT_END_INFO_RX_PKT_END_DETAILS_MASK 0xffffffff 131 #define PHYRX_PKT_END_28_PHYRX_PKT_END_INFO_RX_PKT_END_DETAILS_OFFSET 0x00000070 132 #define PHYRX_PKT_END_28_PHYRX_PKT_END_INFO_RX_PKT_END_DETAILS_LSB 0 133 #define PHYRX_PKT_END_28_PHYRX_PKT_END_INFO_RX_PKT_END_DETAILS_MASK 0xffffffff 134 #define PHYRX_PKT_END_29_PHYRX_PKT_END_INFO_RX_PKT_END_DETAILS_OFFSET 0x00000074 135 #define PHYRX_PKT_END_29_PHYRX_PKT_END_INFO_RX_PKT_END_DETAILS_LSB 0 136 #define PHYRX_PKT_END_29_PHYRX_PKT_END_INFO_RX_PKT_END_DETAILS_MASK 0xffffffff 137 #define PHYRX_PKT_END_30_PHYRX_PKT_END_INFO_RX_PKT_END_DETAILS_OFFSET 0x00000078 138 #define PHYRX_PKT_END_30_PHYRX_PKT_END_INFO_RX_PKT_END_DETAILS_LSB 0 139 #define PHYRX_PKT_END_30_PHYRX_PKT_END_INFO_RX_PKT_END_DETAILS_MASK 0xffffffff 140 #define PHYRX_PKT_END_31_PHYRX_PKT_END_INFO_RX_PKT_END_DETAILS_OFFSET 0x0000007c 141 #define PHYRX_PKT_END_31_PHYRX_PKT_END_INFO_RX_PKT_END_DETAILS_LSB 0 142 #define PHYRX_PKT_END_31_PHYRX_PKT_END_INFO_RX_PKT_END_DETAILS_MASK 0xffffffff 143 #define PHYRX_PKT_END_32_PHYRX_PKT_END_INFO_RX_PKT_END_DETAILS_OFFSET 0x00000080 144 #define PHYRX_PKT_END_32_PHYRX_PKT_END_INFO_RX_PKT_END_DETAILS_LSB 0 145 #define PHYRX_PKT_END_32_PHYRX_PKT_END_INFO_RX_PKT_END_DETAILS_MASK 0xffffffff 146 147 148 #endif // _PHYRX_PKT_END_H_ 149