Skip to content

Commit 5f37bf1

Browse files
committed
dmaengine: sdxi: Drop unused bitmask constants and includes (hw.h)
Signed-off-by: Nathan Lynch <nathan.lynch@amd.com>
1 parent 727068b commit 5f37bf1

1 file changed

Lines changed: 0 additions & 13 deletions

File tree

  • drivers/dma/sdxi

drivers/dma/sdxi/hw.h

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,8 @@
2121
#ifndef DMA_SDXI_HW_H
2222
#define DMA_SDXI_HW_H
2323

24-
#include <linux/bitfield.h>
2524
#include <linux/bits.h>
2625
#include <linux/build_bug.h>
27-
#include <linux/log2.h>
2826
#include <linux/stddef.h>
2927
#include <linux/types.h>
3028
#include <asm/byteorder.h>
@@ -113,12 +111,9 @@ struct sdxi_akey_ent {
113111
__le16 intr_num;
114112
#define SDXI_AKEY_ENT_VL BIT(0)
115113
#define SDXI_AKEY_ENT_IV BIT(1)
116-
#define SDXI_AKEY_ENT_PV BIT(2)
117114
#define SDXI_AKEY_ENT_INTR_NUM GENMASK(14, 4)
118115
__le16 tgt_sfunc;
119116
__le32 pasid;
120-
#define SDXI_AKEY_ENT_PASID GENMASK(19, 0)
121-
#define SDXI_AKEY_ENT_PR BIT(29)
122117
__le16 stag;
123118
__u8 rsvd_0[2];
124119
__le16 rkey;
@@ -151,10 +146,6 @@ struct sdxi_desc {
151146
#define SDXI_DSC_VL BIT(0)
152147
#define SDXI_DSC_SE BIT(1)
153148
#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)
158149
#define SDXI_DSC_SUBTYPE GENMASK(15, 8)
159150
#define SDXI_DSC_TYPE GENMASK(26, 16)
160151

@@ -218,9 +209,6 @@ struct sdxi_desc {
218209
__le16 cxt_end;
219210
__u8 rsvd_1[44];
220211
);
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)
224212

225213
/* SDXI 1.0 Table 6-22: DSC_SYNC Descriptor Format */
226214
define_sdxi_dsc(sdxi_dsc_sync, sync,
@@ -259,7 +247,6 @@ enum sdxi_dsc_subtype {
259247

260248
/* Administrative */
261249
SDXI_DSC_OP_SUBTYPE_CXT_START_NM = 0x03,
262-
SDXI_DSC_OP_SUBTYPE_CXT_START_RS = 0x08,
263250
SDXI_DSC_OP_SUBTYPE_CXT_STOP = 0x04,
264251
SDXI_DSC_OP_SUBTYPE_SYNC = 0x06,
265252
};

0 commit comments

Comments
 (0)