|
21 | 21 | #ifndef DMA_SDXI_HW_H |
22 | 22 | #define DMA_SDXI_HW_H |
23 | 23 |
|
24 | | -#include <linux/bitfield.h> |
25 | 24 | #include <linux/bits.h> |
26 | 25 | #include <linux/build_bug.h> |
27 | | -#include <linux/log2.h> |
28 | 26 | #include <linux/stddef.h> |
29 | 27 | #include <linux/types.h> |
30 | 28 | #include <asm/byteorder.h> |
@@ -113,12 +111,9 @@ struct sdxi_akey_ent { |
113 | 111 | __le16 intr_num; |
114 | 112 | #define SDXI_AKEY_ENT_VL BIT(0) |
115 | 113 | #define SDXI_AKEY_ENT_IV BIT(1) |
116 | | -#define SDXI_AKEY_ENT_PV BIT(2) |
117 | 114 | #define SDXI_AKEY_ENT_INTR_NUM GENMASK(14, 4) |
118 | 115 | __le16 tgt_sfunc; |
119 | 116 | __le32 pasid; |
120 | | -#define SDXI_AKEY_ENT_PASID GENMASK(19, 0) |
121 | | -#define SDXI_AKEY_ENT_PR BIT(29) |
122 | 117 | __le16 stag; |
123 | 118 | __u8 rsvd_0[2]; |
124 | 119 | __le16 rkey; |
@@ -151,10 +146,6 @@ struct sdxi_desc { |
151 | 146 | #define SDXI_DSC_VL BIT(0) |
152 | 147 | #define SDXI_DSC_SE BIT(1) |
153 | 148 | #define SDXI_DSC_FE BIT(2) |
154 | | -#define SDXI_DSC_CH BIT(3) |
155 | | -#define SDXI_DSC_CSR BIT(4) |
156 | | -#define SDXI_DSC_RB BIT(5) |
157 | | -#define SDXI_DSC_FLAGS GENMASK(5, 0) |
158 | 149 | #define SDXI_DSC_SUBTYPE GENMASK(15, 8) |
159 | 150 | #define SDXI_DSC_TYPE GENMASK(26, 16) |
160 | 151 |
|
@@ -218,9 +209,6 @@ struct sdxi_desc { |
218 | 209 | __le16 cxt_end; |
219 | 210 | __u8 rsvd_1[44]; |
220 | 211 | ); |
221 | | -/* For use with cxt_stop.vflags */ |
222 | | -#define SDXI_DSC_CXT_STOP_HS BIT(6) |
223 | | -#define SDXI_DSC_CXT_STOP_VF BIT(8) |
224 | 212 |
|
225 | 213 | /* SDXI 1.0 Table 6-22: DSC_SYNC Descriptor Format */ |
226 | 214 | define_sdxi_dsc(sdxi_dsc_sync, sync, |
@@ -259,7 +247,6 @@ enum sdxi_dsc_subtype { |
259 | 247 |
|
260 | 248 | /* Administrative */ |
261 | 249 | SDXI_DSC_OP_SUBTYPE_CXT_START_NM = 0x03, |
262 | | - SDXI_DSC_OP_SUBTYPE_CXT_START_RS = 0x08, |
263 | 250 | SDXI_DSC_OP_SUBTYPE_CXT_STOP = 0x04, |
264 | 251 | SDXI_DSC_OP_SUBTYPE_SYNC = 0x06, |
265 | 252 | }; |
|
0 commit comments