File tree Expand file tree Collapse file tree 2 files changed +0
-14
lines changed Expand file tree Collapse file tree 2 files changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -134,18 +134,6 @@ struct xdma_hw_desc {
134
134
#define XDMA_SGDMA_DESC_ADJ 0x4088
135
135
#define XDMA_SGDMA_DESC_CREDIT 0x408c
136
136
137
- /* bits of the SG DMA control register */
138
- #define XDMA_CTRL_RUN_STOP BIT(0)
139
- #define XDMA_CTRL_IE_DESC_STOPPED BIT(1)
140
- #define XDMA_CTRL_IE_DESC_COMPLETED BIT(2)
141
- #define XDMA_CTRL_IE_DESC_ALIGN_MISMATCH BIT(3)
142
- #define XDMA_CTRL_IE_MAGIC_STOPPED BIT(4)
143
- #define XDMA_CTRL_IE_IDLE_STOPPED BIT(6)
144
- #define XDMA_CTRL_IE_READ_ERROR GENMASK(13, 9)
145
- #define XDMA_CTRL_IE_DESC_ERROR GENMASK(23, 19)
146
- #define XDMA_CTRL_NON_INCR_ADDR BIT(25)
147
- #define XDMA_CTRL_POLL_MODE_WB BIT(26)
148
-
149
137
/*
150
138
* interrupt registers
151
139
*/
Original file line number Diff line number Diff line change @@ -78,7 +78,6 @@ struct xdma_chan {
78
78
* @vdesc: Virtual DMA descriptor
79
79
* @chan: DMA channel pointer
80
80
* @dir: Transferring direction of the request
81
- * @dev_addr: Physical address on DMA device side
82
81
* @desc_blocks: Hardware descriptor blocks
83
82
* @dblk_num: Number of hardware descriptor blocks
84
83
* @desc_num: Number of hardware descriptors
@@ -91,7 +90,6 @@ struct xdma_desc {
91
90
struct virt_dma_desc vdesc ;
92
91
struct xdma_chan * chan ;
93
92
enum dma_transfer_direction dir ;
94
- u64 dev_addr ;
95
93
struct xdma_desc_block * desc_blocks ;
96
94
u32 dblk_num ;
97
95
u32 desc_num ;
You can’t perform that action at this time.
0 commit comments