|
RTEMS 6.1-rc2
|
Loading...
Searching...
No Matches
Go to the documentation of this file.
49#include "xparameters.h"
61#define XQSPIPS_BASEADDR 0XF1030000U
63#define XQSPIPS_BASEADDR 0XFF0F0000U
67#define XQSPIPSU_BASEADDR 0XF1030100U
69#define XQSPIPSU_BASEADDR 0xFF0F0100U
71#define XQSPIPSU_OFFSET 0x100U
82#define XQSPIPS_EN_REG ( ( XQSPIPS_BASEADDR ) + 0X00000014U )
83#define XQSPIPS_EN_SHIFT 0U
84#define XQSPIPS_EN_WIDTH 1U
85#define XQSPIPS_EN_MASK 0X00000001U
96#define XQSPIPSU_CFG_OFFSET 0X00000000U
98#define XQSPIPSU_CFG_MODE_EN_SHIFT 30U
99#define XQSPIPSU_CFG_MODE_EN_WIDTH 2U
100#define XQSPIPSU_CFG_MODE_EN_MASK 0XC0000000U
101#define XQSPIPSU_CFG_MODE_EN_DMA_MASK 0X80000000U
103#define XQSPIPSU_CFG_GEN_FIFO_START_MODE_SHIFT 29U
104#define XQSPIPSU_CFG_GEN_FIFO_START_MODE_WIDTH 1U
105#define XQSPIPSU_CFG_GEN_FIFO_START_MODE_MASK 0X20000000U
107#define XQSPIPSU_CFG_START_GEN_FIFO_SHIFT 28U
108#define XQSPIPSU_CFG_START_GEN_FIFO_WIDTH 1U
109#define XQSPIPSU_CFG_START_GEN_FIFO_MASK 0X10000000U
111#define XQSPIPSU_CFG_ENDIAN_SHIFT 26U
112#define XQSPIPSU_CFG_ENDIAN_WIDTH 1U
113#define XQSPIPSU_CFG_ENDIAN_MASK 0X04000000U
115#define XQSPIPSU_CFG_EN_POLL_TO_SHIFT 20U
116#define XQSPIPSU_CFG_EN_POLL_TO_WIDTH 1U
117#define XQSPIPSU_CFG_EN_POLL_TO_MASK 0X00100000U
119#define XQSPIPSU_CFG_WP_HOLD_SHIFT 19U
120#define XQSPIPSU_CFG_WP_HOLD_WIDTH 1U
121#define XQSPIPSU_CFG_WP_HOLD_MASK 0X00080000U
123#define XQSPIPSU_CFG_BAUD_RATE_DIV_SHIFT 3U
124#define XQSPIPSU_CFG_BAUD_RATE_DIV_WIDTH 3U
125#define XQSPIPSU_CFG_BAUD_RATE_DIV_MASK 0X00000038U
127#define XQSPIPSU_CFG_CLK_PHA_SHIFT 2U
128#define XQSPIPSU_CFG_CLK_PHA_WIDTH 1U
129#define XQSPIPSU_CFG_CLK_PHA_MASK 0X00000004U
131#define XQSPIPSU_CFG_CLK_POL_SHIFT 1U
132#define XQSPIPSU_CFG_CLK_POL_WIDTH 1U
133#define XQSPIPSU_CFG_CLK_POL_MASK 0X00000002U
145#define XQSPIPSU_LQSPI_CR_OFFSET 0X000000A0U
146#define XQSPIPSU_LQSPI_CR_LINEAR_MASK 0x80000000U
147#define XQSPIPSU_LQSPI_CR_TWO_MEM_MASK 0x40000000U
148#define XQSPIPSU_LQSPI_CR_SEP_BUS_MASK 0x20000000U
149#define XQSPIPSU_LQSPI_CR_U_PAGE_MASK 0x10000000U
150#define XQSPIPSU_LQSPI_CR_ADDR_32BIT_MASK 0x01000000U
151#define XQSPIPSU_LQSPI_CR_MODE_EN_MASK 0x02000000U
152#define XQSPIPSU_LQSPI_CR_MODE_ON_MASK 0x01000000U
153#define XQSPIPSU_LQSPI_CR_MODE_BITS_MASK 0x00FF0000U
155#define XQSPIPS_LQSPI_CR_INST_MASK 0x000000FFU
156#define XQSPIPS_LQSPI_CR_RST_STATE 0x80000003U
157#define XQSPIPS_LQSPI_CR_4_BYTE_STATE 0x88000013U
158#define XQSPIPS_LQSPI_CFG_RST_STATE 0x800238C1U
170#define XQSPIPSU_ISR_OFFSET 0X00000004U
172#define XQSPIPSU_ISR_RXEMPTY_SHIFT 11U
173#define XQSPIPSU_ISR_RXEMPTY_WIDTH 1U
174#define XQSPIPSU_ISR_RXEMPTY_MASK 0X00000800U
176#define XQSPIPSU_ISR_GENFIFOFULL_SHIFT 10U
177#define XQSPIPSU_ISR_GENFIFOFULL_WIDTH 1U
178#define XQSPIPSU_ISR_GENFIFOFULL_MASK 0X00000400U
180#define XQSPIPSU_ISR_GENFIFONOT_FULL_SHIFT 9U
181#define XQSPIPSU_ISR_GENFIFONOT_FULL_WIDTH 1U
182#define XQSPIPSU_ISR_GENFIFONOT_FULL_MASK 0X00000200U
184#define XQSPIPSU_ISR_TXEMPTY_SHIFT 8U
185#define XQSPIPSU_ISR_TXEMPTY_WIDTH 1U
186#define XQSPIPSU_ISR_TXEMPTY_MASK 0X00000100U
188#define XQSPIPSU_ISR_GENFIFOEMPTY_SHIFT 7U
189#define XQSPIPSU_ISR_GENFIFOEMPTY_WIDTH 1U
190#define XQSPIPSU_ISR_GENFIFOEMPTY_MASK 0X00000080U
192#define XQSPIPSU_ISR_RXFULL_SHIFT 5U
193#define XQSPIPSU_ISR_RXFULL_WIDTH 1U
194#define XQSPIPSU_ISR_RXFULL_MASK 0X00000020U
196#define XQSPIPSU_ISR_RXNEMPTY_SHIFT 4U
197#define XQSPIPSU_ISR_RXNEMPTY_WIDTH 1U
198#define XQSPIPSU_ISR_RXNEMPTY_MASK 0X00000010U
200#define XQSPIPSU_ISR_TXFULL_SHIFT 3U
201#define XQSPIPSU_ISR_TXFULL_WIDTH 1U
202#define XQSPIPSU_ISR_TXFULL_MASK 0X00000008U
204#define XQSPIPSU_ISR_TXNOT_FULL_SHIFT 2U
205#define XQSPIPSU_ISR_TXNOT_FULL_WIDTH 1U
206#define XQSPIPSU_ISR_TXNOT_FULL_MASK 0X00000004U
208#define XQSPIPSU_ISR_POLL_TIME_EXPIRE_SHIFT 1U
209#define XQSPIPSU_ISR_POLL_TIME_EXPIRE_WIDTH 1U
210#define XQSPIPSU_ISR_POLL_TIME_EXPIRE_MASK 0X00000002U
212#define XQSPIPSU_ISR_WR_TO_CLR_MASK 0X00000002U
223#define XQSPIPSU_IER_OFFSET 0X00000008U
225#define XQSPIPSU_IER_RXEMPTY_SHIFT 11U
226#define XQSPIPSU_IER_RXEMPTY_WIDTH 1U
227#define XQSPIPSU_IER_RXEMPTY_MASK 0X00000800U
229#define XQSPIPSU_IER_GENFIFOFULL_SHIFT 10U
230#define XQSPIPSU_IER_GENFIFOFULL_WIDTH 1U
231#define XQSPIPSU_IER_GENFIFOFULL_MASK 0X00000400U
233#define XQSPIPSU_IER_GENFIFONOT_FULL_SHIFT 9U
234#define XQSPIPSU_IER_GENFIFONOT_FULL_WIDTH 1U
235#define XQSPIPSU_IER_GENFIFONOT_FULL_MASK 0X00000200U
237#define XQSPIPSU_IER_TXEMPTY_SHIFT 8U
238#define XQSPIPSU_IER_TXEMPTY_WIDTH 1U
239#define XQSPIPSU_IER_TXEMPTY_MASK 0X00000100U
241#define XQSPIPSU_IER_GENFIFOEMPTY_SHIFT 7U
242#define XQSPIPSU_IER_GENFIFOEMPTY_WIDTH 1U
243#define XQSPIPSU_IER_GENFIFOEMPTY_MASK 0X00000080U
245#define XQSPIPSU_IER_RXFULL_SHIFT 5U
246#define XQSPIPSU_IER_RXFULL_WIDTH 1U
247#define XQSPIPSU_IER_RXFULL_MASK 0X00000020U
249#define XQSPIPSU_IER_RXNEMPTY_SHIFT 4U
250#define XQSPIPSU_IER_RXNEMPTY_WIDTH 1U
251#define XQSPIPSU_IER_RXNEMPTY_MASK 0X00000010U
253#define XQSPIPSU_IER_TXFULL_SHIFT 3U
254#define XQSPIPSU_IER_TXFULL_WIDTH 1U
255#define XQSPIPSU_IER_TXFULL_MASK 0X00000008U
257#define XQSPIPSU_IER_TXNOT_FULL_SHIFT 2U
258#define XQSPIPSU_IER_TXNOT_FULL_WIDTH 1U
259#define XQSPIPSU_IER_TXNOT_FULL_MASK 0X00000004U
261#define XQSPIPSU_IER_POLL_TIME_EXPIRE_SHIFT 1U
262#define XQSPIPSU_IER_POLL_TIME_EXPIRE_WIDTH 1U
263#define XQSPIPSU_IER_POLL_TIME_EXPIRE_MASK 0X00000002U
274#define XQSPIPSU_IDR_OFFSET 0X0000000CU
276#define XQSPIPSU_IDR_RXEMPTY_SHIFT 11U
277#define XQSPIPSU_IDR_RXEMPTY_WIDTH 1U
278#define XQSPIPSU_IDR_RXEMPTY_MASK 0X00000800U
280#define XQSPIPSU_IDR_GENFIFOFULL_SHIFT 10U
281#define XQSPIPSU_IDR_GENFIFOFULL_WIDTH 1U
282#define XQSPIPSU_IDR_GENFIFOFULL_MASK 0X00000400U
284#define XQSPIPSU_IDR_GENFIFONOT_FULL_SHIFT 9U
285#define XQSPIPSU_IDR_GENFIFONOT_FULL_WIDTH 1U
286#define XQSPIPSU_IDR_GENFIFONOT_FULL_MASK 0X00000200U
288#define XQSPIPSU_IDR_TXEMPTY_SHIFT 8U
289#define XQSPIPSU_IDR_TXEMPTY_WIDTH 1U
290#define XQSPIPSU_IDR_TXEMPTY_MASK 0X00000100U
292#define XQSPIPSU_IDR_GENFIFOEMPTY_SHIFT 7U
293#define XQSPIPSU_IDR_GENFIFOEMPTY_WIDTH 1U
294#define XQSPIPSU_IDR_GENFIFOEMPTY_MASK 0X00000080U
296#define XQSPIPSU_IDR_RXFULL_SHIFT 5U
297#define XQSPIPSU_IDR_RXFULL_WIDTH 1U
298#define XQSPIPSU_IDR_RXFULL_MASK 0X00000020U
300#define XQSPIPSU_IDR_RXNEMPTY_SHIFT 4U
301#define XQSPIPSU_IDR_RXNEMPTY_WIDTH 1U
302#define XQSPIPSU_IDR_RXNEMPTY_MASK 0X00000010U
304#define XQSPIPSU_IDR_TXFULL_SHIFT 3U
305#define XQSPIPSU_IDR_TXFULL_WIDTH 1U
306#define XQSPIPSU_IDR_TXFULL_MASK 0X00000008U
308#define XQSPIPSU_IDR_TXNOT_FULL_SHIFT 2U
309#define XQSPIPSU_IDR_TXNOT_FULL_WIDTH 1U
310#define XQSPIPSU_IDR_TXNOT_FULL_MASK 0X00000004U
312#define XQSPIPSU_IDR_POLL_TIME_EXPIRE_SHIFT 1U
313#define XQSPIPSU_IDR_POLL_TIME_EXPIRE_WIDTH 1U
314#define XQSPIPSU_IDR_POLL_TIME_EXPIRE_MASK 0X00000002U
316#define XQSPIPSU_IDR_ALL_MASK 0X0FBEU
327#define XQSPIPSU_IMR_OFFSET 0X00000010U
329#define XQSPIPSU_IMR_RXEMPTY_SHIFT 11U
330#define XQSPIPSU_IMR_RXEMPTY_WIDTH 1U
331#define XQSPIPSU_IMR_RXEMPTY_MASK 0X00000800U
333#define XQSPIPSU_IMR_GENFIFOFULL_SHIFT 10U
334#define XQSPIPSU_IMR_GENFIFOFULL_WIDTH 1U
335#define XQSPIPSU_IMR_GENFIFOFULL_MASK 0X00000400U
337#define XQSPIPSU_IMR_GENFIFONOT_FULL_SHIFT 9U
338#define XQSPIPSU_IMR_GENFIFONOT_FULL_WIDTH 1U
339#define XQSPIPSU_IMR_GENFIFONOT_FULL_MASK 0X00000200U
341#define XQSPIPSU_IMR_TXEMPTY_SHIFT 8U
342#define XQSPIPSU_IMR_TXEMPTY_WIDTH 1U
343#define XQSPIPSU_IMR_TXEMPTY_MASK 0X00000100U
345#define XQSPIPSU_IMR_GENFIFOEMPTY_SHIFT 7U
346#define XQSPIPSU_IMR_GENFIFOEMPTY_WIDTH 1U
347#define XQSPIPSU_IMR_GENFIFOEMPTY_MASK 0X00000080U
349#define XQSPIPSU_IMR_RXFULL_SHIFT 5U
350#define XQSPIPSU_IMR_RXFULL_WIDTH 1U
351#define XQSPIPSU_IMR_RXFULL_MASK 0X00000020U
353#define XQSPIPSU_IMR_RXNEMPTY_SHIFT 4U
354#define XQSPIPSU_IMR_RXNEMPTY_WIDTH 1U
355#define XQSPIPSU_IMR_RXNEMPTY_MASK 0X00000010U
357#define XQSPIPSU_IMR_TXFULL_SHIFT 3U
358#define XQSPIPSU_IMR_TXFULL_WIDTH 1U
359#define XQSPIPSU_IMR_TXFULL_MASK 0X00000008U
361#define XQSPIPSU_IMR_TXNOT_FULL_SHIFT 2U
362#define XQSPIPSU_IMR_TXNOT_FULL_WIDTH 1U
363#define XQSPIPSU_IMR_TXNOT_FULL_MASK 0X00000004U
365#define XQSPIPSU_IMR_POLL_TIME_EXPIRE_SHIFT 1U
366#define XQSPIPSU_IMR_POLL_TIME_EXPIRE_WIDTH 1U
367#define XQSPIPSU_IMR_POLL_TIME_EXPIRE_MASK 0X00000002U
378#define XQSPIPSU_EN_OFFSET 0X00000014U
380#define XQSPIPSU_EN_SHIFT 0U
381#define XQSPIPSU_EN_WIDTH 1U
382#define XQSPIPSU_EN_MASK 0X00000001U
393#define XQSPIPSU_TXD_OFFSET 0X0000001CU
395#define XQSPIPSU_TXD_SHIFT 0U
396#define XQSPIPSU_TXD_WIDTH 32U
397#define XQSPIPSU_TXD_MASK 0XFFFFFFFFU
399#define XQSPIPSU_TXD_DEPTH 64
410#define XQSPIPSU_RXD_OFFSET 0X00000020U
412#define XQSPIPSU_RXD_SHIFT 0U
413#define XQSPIPSU_RXD_WIDTH 32U
414#define XQSPIPSU_RXD_MASK 0XFFFFFFFFU
425#define XQSPIPSU_TX_THRESHOLD_OFFSET 0X00000028U
427#define XQSPIPSU_TX_FIFO_THRESHOLD_SHIFT 0U
428#define XQSPIPSU_TX_FIFO_THRESHOLD_WIDTH 6U
429#define XQSPIPSU_TX_FIFO_THRESHOLD_MASK 0X0000003FU
430#define XQSPIPSU_TX_FIFO_THRESHOLD_RESET_VAL 0X01U
432#define XQSPIPSU_RX_THRESHOLD_OFFSET 0X0000002CU
434#define XQSPIPSU_RX_FIFO_THRESHOLD_SHIFT 0U
435#define XQSPIPSU_RX_FIFO_THRESHOLD_WIDTH 6U
436#define XQSPIPSU_RX_FIFO_THRESHOLD_MASK 0X0000003FU
437#define XQSPIPSU_RX_FIFO_THRESHOLD_RESET_VAL 0X01U
439#define XQSPIPSU_RXFIFO_THRESHOLD_OPT 32U
449#define XQSPIPSU_GPIO_OFFSET 0X00000030U
451#define XQSPIPSU_GPIO_WP_N_SHIFT 0U
452#define XQSPIPSU_GPIO_WP_N_WIDTH 1U
453#define XQSPIPSU_GPIO_WP_N_MASK 0X00000001U
464#define XQSPIPSU_LPBK_DLY_ADJ_OFFSET 0X00000038U
466#define XQSPIPSU_LPBK_DLY_ADJ_USE_LPBK_SHIFT 5U
467#define XQSPIPSU_LPBK_DLY_ADJ_USE_LPBK_WIDTH 1U
468#define XQSPIPSU_LPBK_DLY_ADJ_USE_LPBK_MASK 0X00000020U
470#define XQSPIPSU_LPBK_DLY_ADJ_DLY1_SHIFT 3U
471#define XQSPIPSU_LPBK_DLY_ADJ_DLY1_WIDTH 2U
472#define XQSPIPSU_LPBK_DLY_ADJ_DLY1_MASK 0X00000018U
474#define XQSPIPSU_LPBK_DLY_ADJ_DLY0_SHIFT 0U
475#define XQSPIPSU_LPBK_DLY_ADJ_DLY0_WIDTH 3U
476#define XQSPIPSU_LPBK_DLY_ADJ_DLY0_MASK 0X00000007U
487#define XQSPIPSU_GEN_FIFO_OFFSET 0X00000040U
489#define XQSPIPSU_GEN_FIFO_DATA_SHIFT 0U
490#define XQSPIPSU_GEN_FIFO_DATA_WIDTH 20U
491#define XQSPIPSU_GEN_FIFO_DATA_MASK 0X000FFFFFU
502#define XQSPIPSU_SEL_OFFSET 0X00000044U
504#define XQSPIPSU_SEL_SHIFT 0U
505#define XQSPIPSU_SEL_WIDTH 1U
507#define XQSPIPSU_SEL_LQSPI_MASK 0X0U
509#define XQSPIPSU_SEL_GQSPI_MASK 0X00000001U
520#define XQSPIPSU_FIFO_CTRL_OFFSET 0X0000004CU
522#define XQSPIPSU_FIFO_CTRL_RST_RX_FIFO_SHIFT 2U
523#define XQSPIPSU_FIFO_CTRL_RST_RX_FIFO_WIDTH 1U
524#define XQSPIPSU_FIFO_CTRL_RST_RX_FIFO_MASK 0X00000004U
526#define XQSPIPSU_FIFO_CTRL_RST_TX_FIFO_SHIFT 1U
527#define XQSPIPSU_FIFO_CTRL_RST_TX_FIFO_WIDTH 1U
528#define XQSPIPSU_FIFO_CTRL_RST_TX_FIFO_MASK 0X00000002U
530#define XQSPIPSU_FIFO_CTRL_RST_GEN_FIFO_SHIFT 0U
531#define XQSPIPSU_FIFO_CTRL_RST_GEN_FIFO_WIDTH 1U
532#define XQSPIPSU_FIFO_CTRL_RST_GEN_FIFO_MASK 0X00000001U
543#define XQSPIPSU_GF_THRESHOLD_OFFSET 0X00000050U
545#define XQSPIPSU_GEN_FIFO_THRESHOLD_SHIFT 0U
546#define XQSPIPSU_GEN_FIFO_THRESHOLD_WIDTH 5U
547#define XQSPIPSU_GEN_FIFO_THRESHOLD_MASK 0X0000001FU
548#define XQSPIPSU_GEN_FIFO_THRESHOLD_RESET_VAL 0X10U
559#define XQSPIPSU_POLL_CFG_OFFSET 0X00000054U
561#define XQSPIPSU_POLL_CFG_EN_MASK_UPPER_SHIFT 31U
562#define XQSPIPSU_POLL_CFG_EN_MASK_UPPER_WIDTH 1U
563#define XQSPIPSU_POLL_CFG_EN_MASK_UPPER_MASK 0X80000000U
565#define XQSPIPSU_POLL_CFG_EN_MASK_LOWER_SHIFT 30U
566#define XQSPIPSU_POLL_CFG_EN_MASK_LOWER_WIDTH 1U
567#define XQSPIPSU_POLL_CFG_EN_MASK_LOWER_MASK 0X40000000U
569#define XQSPIPSU_POLL_CFG_MASK_EN_SHIFT 8U
570#define XQSPIPSU_POLL_CFG_MASK_EN_WIDTH 8U
571#define XQSPIPSU_POLL_CFG_MASK_EN_MASK 0X0000FF00U
573#define XQSPIPSU_POLL_CFG_DATA_VALUE_SHIFT 0U
574#define XQSPIPSU_POLL_CFG_DATA_VALUE_WIDTH 8U
575#define XQSPIPSU_POLL_CFG_DATA_VALUE_MASK 0X000000FFU
577#define XQSPIPSU_P_TO_OFFSET 0X00000058U
579#define XQSPIPSU_P_TO_VALUE_SHIFT 0U
580#define XQSPIPSU_P_TO_VALUE_WIDTH 32U
581#define XQSPIPSU_P_TO_VALUE_MASK 0XFFFFFFFFU
592#define XQSPIPSU_XFER_STS_OFFSET 0X0000005CU
594#define XQSPIPSU_XFER_STS_PEND_BYTES_SHIFT 0U
595#define XQSPIPSU_XFER_STS_PEND_BYTES_WIDTH 32U
596#define XQSPIPSU_XFER_STS_PEND_BYTES_MASK 0XFFFFFFFFU
607#define XQSPIPSU_GF_SNAPSHOT_OFFSET 0X00000060U
609#define XQSPIPSU_GF_SNAPSHOT_SHIFT 0U
610#define XQSPIPSU_GF_SNAPSHOT_WIDTH 20U
611#define XQSPIPSU_GF_SNAPSHOT_MASK 0X000FFFFFU
621#define XQSPIPSU_RX_COPY_OFFSET 0X00000064U
623#define XQSPIPSU_RX_COPY_UPPER_SHIFT 8U
624#define XQSPIPSU_RX_COPY_UPPER_WIDTH 8U
625#define XQSPIPSU_RX_COPY_UPPER_MASK 0X0000FF00U
627#define XQSPIPSU_RX_COPY_LOWER_SHIFT 0U
628#define XQSPIPSU_RX_COPY_LOWER_WIDTH 8U
629#define XQSPIPSU_RX_COPY_LOWER_MASK 0X000000FFU
639#define XQSPIPSU_MOD_ID_OFFSET 0X000000FCU
641#define XQSPIPSU_MOD_ID_SHIFT 0U
642#define XQSPIPSU_MOD_ID_WIDTH 32U
643#define XQSPIPSU_MOD_ID_MASK 0XFFFFFFFFU
654#define XQSPIPSU_QSPIDMA_DST_ADDR_OFFSET 0X00000700U
656#define XQSPIPSU_QSPIDMA_DST_ADDR_SHIFT 2U
657#define XQSPIPSU_QSPIDMA_DST_ADDR_WIDTH 30U
658#define XQSPIPSU_QSPIDMA_DST_ADDR_MASK 0XFFFFFFFCU
660#define XQSPIPSU_QSPIDMA_DST_SIZE_OFFSET 0X00000704U
662#define XQSPIPSU_QSPIDMA_DST_SIZE_SHIFT 2U
663#define XQSPIPSU_QSPIDMA_DST_SIZE_WIDTH 27U
664#define XQSPIPSU_QSPIDMA_DST_SIZE_MASK 0X1FFFFFFCU
666#define XQSPIPSU_QSPIDMA_DST_STS_OFFSET 0X00000708U
668#define XQSPIPSU_QSPIDMA_DST_STS_DONE_CNT_SHIFT 13U
669#define XQSPIPSU_QSPIDMA_DST_STS_DONE_CNT_WIDTH 3U
670#define XQSPIPSU_QSPIDMA_DST_STS_DONE_CNT_MASK 0X0000E000U
672#define XQSPIPSU_QSPIDMA_DST_STS_DST_FIFO_LEVEL_SHIFT 5U
673#define XQSPIPSU_QSPIDMA_DST_STS_DST_FIFO_LEVEL_WIDTH 8U
674#define XQSPIPSU_QSPIDMA_DST_STS_DST_FIFO_LEVEL_MASK 0X00001FE0U
676#define XQSPIPSU_QSPIDMA_DST_STS_WR_OUTSTANDING_SHIFT 1U
677#define XQSPIPSU_QSPIDMA_DST_STS_WR_OUTSTANDING_WIDTH 4U
678#define XQSPIPSU_QSPIDMA_DST_STS_WR_OUTSTANDING_MASK 0X0000001EU
680#define XQSPIPSU_QSPIDMA_DST_STS_BUSY_SHIFT 0U
681#define XQSPIPSU_QSPIDMA_DST_STS_BUSY_WIDTH 1U
682#define XQSPIPSU_QSPIDMA_DST_STS_BUSY_MASK 0X00000001U
684#define XQSPIPSU_QSPIDMA_DST_STS_WTC 0xE000U
686#define XQSPIPSU_QSPIDMA_DST_CTRL_OFFSET 0X0000070CU
688#define XQSPIPSU_QSPIDMA_DST_CTRL_FIFO_LVL_HIT_THRESHOLD_SHIFT 25U
689#define XQSPIPSU_QSPIDMA_DST_CTRL_FIFO_LVL_HIT_THRESHOLD_WIDTH 7U
690#define XQSPIPSU_QSPIDMA_DST_CTRL_FIFO_LVL_HIT_THRESHOLD_MASK 0XFE000000U
692#define XQSPIPSU_QSPIDMA_DST_CTRL_APB_ERR_RESP_SHIFT 24U
693#define XQSPIPSU_QSPIDMA_DST_CTRL_APB_ERR_RESP_WIDTH 1U
694#define XQSPIPSU_QSPIDMA_DST_CTRL_APB_ERR_RESP_MASK 0X01000000U
696#define XQSPIPSU_QSPIDMA_DST_CTRL_ENDIAN_SHIFT 23U
697#define XQSPIPSU_QSPIDMA_DST_CTRL_ENDIAN_WIDTH 1U
698#define XQSPIPSU_QSPIDMA_DST_CTRL_ENDIAN_MASK 0X00800000U
700#define XQSPIPSU_QSPIDMA_DST_CTRL_AXI_BRST_TYPE_SHIFT 22U
701#define XQSPIPSU_QSPIDMA_DST_CTRL_AXI_BRST_TYPE_WIDTH 1U
702#define XQSPIPSU_QSPIDMA_DST_CTRL_AXI_BRST_TYPE_MASK 0X00400000U
704#define XQSPIPSU_QSPIDMA_DST_CTRL_TO_VAL_SHIFT 10U
705#define XQSPIPSU_QSPIDMA_DST_CTRL_TO_VAL_WIDTH 12U
706#define XQSPIPSU_QSPIDMA_DST_CTRL_TO_VAL_MASK 0X003FFC00U
708#define XQSPIPSU_QSPIDMA_DST_CTRL_FIFO_THRESHOLD_SHIFT 2U
709#define XQSPIPSU_QSPIDMA_DST_CTRL_FIFO_THRESHOLD_WIDTH 8U
710#define XQSPIPSU_QSPIDMA_DST_CTRL_FIFO_THRESHOLD_MASK 0X000003FCU
712#define XQSPIPSU_QSPIDMA_DST_CTRL_PAUSE_STRM_SHIFT 1U
713#define XQSPIPSU_QSPIDMA_DST_CTRL_PAUSE_STRM_WIDTH 1U
714#define XQSPIPSU_QSPIDMA_DST_CTRL_PAUSE_STRM_MASK 0X00000002U
716#define XQSPIPSU_QSPIDMA_DST_CTRL_PAUSE_MEM_SHIFT 0U
717#define XQSPIPSU_QSPIDMA_DST_CTRL_PAUSE_MEM_WIDTH 1U
718#define XQSPIPSU_QSPIDMA_DST_CTRL_PAUSE_MEM_MASK 0X00000001U
720#define XQSPIPSU_QSPIDMA_DST_CTRL_RESET_VAL 0x403FFA00U
722#define XQSPIPSU_QSPIDMA_DST_I_STS_OFFSET 0X00000714U
724#define XQSPIPSU_QSPIDMA_DST_I_STS_FIFO_OF_SHIFT 7U
725#define XQSPIPSU_QSPIDMA_DST_I_STS_FIFO_OF_WIDTH 1U
726#define XQSPIPSU_QSPIDMA_DST_I_STS_FIFO_OF_MASK 0X00000080U
728#define XQSPIPSU_QSPIDMA_DST_I_STS_INVALID_APB_SHIFT 6U
729#define XQSPIPSU_QSPIDMA_DST_I_STS_INVALID_APB_WIDTH 1U
730#define XQSPIPSU_QSPIDMA_DST_I_STS_INVALID_APB_MASK 0X00000040U
732#define XQSPIPSU_QSPIDMA_DST_I_STS_THRESHOLD_HIT_SHIFT 5U
733#define XQSPIPSU_QSPIDMA_DST_I_STS_THRESHOLD_HIT_WIDTH 1U
734#define XQSPIPSU_QSPIDMA_DST_I_STS_THRESHOLD_HIT_MASK 0X00000020U
736#define XQSPIPSU_QSPIDMA_DST_I_STS_TO_MEM_SHIFT 4U
737#define XQSPIPSU_QSPIDMA_DST_I_STS_TO_MEM_WIDTH 1U
738#define XQSPIPSU_QSPIDMA_DST_I_STS_TO_MEM_MASK 0X00000010U
740#define XQSPIPSU_QSPIDMA_DST_I_STS_TO_STRM_SHIFT 3U
741#define XQSPIPSU_QSPIDMA_DST_I_STS_TO_STRM_WIDTH 1U
742#define XQSPIPSU_QSPIDMA_DST_I_STS_TO_STRM_MASK 0X00000008U
744#define XQSPIPSU_QSPIDMA_DST_I_STS_AXI_BRESP_ERR_SHIFT 2U
745#define XQSPIPSU_QSPIDMA_DST_I_STS_AXI_BRESP_ERR_WIDTH 1U
746#define XQSPIPSU_QSPIDMA_DST_I_STS_AXI_BRESP_ERR_MASK 0X00000004U
748#define XQSPIPSU_QSPIDMA_DST_I_STS_DONE_SHIFT 1U
749#define XQSPIPSU_QSPIDMA_DST_I_STS_DONE_WIDTH 1U
750#define XQSPIPSU_QSPIDMA_DST_I_STS_DONE_MASK 0X00000002U
752#define XQSPIPSU_QSPIDMA_DST_INTR_ERR_MASK 0X000000FCU
753#define XQSPIPSU_QSPIDMA_DST_INTR_ALL_MASK 0X000000FEU
755#define XQSPIPSU_QSPIDMA_DST_I_EN_OFFSET 0X00000718U
757#define XQSPIPSU_QSPIDMA_DST_I_EN_FIFO_OF_SHIFT 7U
758#define XQSPIPSU_QSPIDMA_DST_I_EN_FIFO_OF_WIDTH 1U
759#define XQSPIPSU_QSPIDMA_DST_I_EN_FIFO_OF_MASK 0X00000080U
761#define XQSPIPSU_QSPIDMA_DST_I_EN_INVALID_APB_SHIFT 6U
762#define XQSPIPSU_QSPIDMA_DST_I_EN_INVALID_APB_WIDTH 1U
763#define XQSPIPSU_QSPIDMA_DST_I_EN_INVALID_APB_MASK 0X00000040U
765#define XQSPIPSU_QSPIDMA_DST_I_EN_THRESHOLD_HIT_SHIFT 5U
766#define XQSPIPSU_QSPIDMA_DST_I_EN_THRESHOLD_HIT_WIDTH 1U
767#define XQSPIPSU_QSPIDMA_DST_I_EN_THRESHOLD_HIT_MASK 0X00000020U
769#define XQSPIPSU_QSPIDMA_DST_I_EN_TO_MEM_SHIFT 4U
770#define XQSPIPSU_QSPIDMA_DST_I_EN_TO_MEM_WIDTH 1U
771#define XQSPIPSU_QSPIDMA_DST_I_EN_TO_MEM_MASK 0X00000010U
773#define XQSPIPSU_QSPIDMA_DST_I_EN_TO_STRM_SHIFT 3U
774#define XQSPIPSU_QSPIDMA_DST_I_EN_TO_STRM_WIDTH 1U
775#define XQSPIPSU_QSPIDMA_DST_I_EN_TO_STRM_MASK 0X00000008U
777#define XQSPIPSU_QSPIDMA_DST_I_EN_AXI_BRESP_ERR_SHIFT 2U
778#define XQSPIPSU_QSPIDMA_DST_I_EN_AXI_BRESP_ERR_WIDTH 1U
779#define XQSPIPSU_QSPIDMA_DST_I_EN_AXI_BRESP_ERR_MASK 0X00000004U
781#define XQSPIPSU_QSPIDMA_DST_I_EN_DONE_SHIFT 1U
782#define XQSPIPSU_QSPIDMA_DST_I_EN_DONE_WIDTH 1U
783#define XQSPIPSU_QSPIDMA_DST_I_EN_DONE_MASK 0X00000002U
785#define XQSPIPSU_QSPIDMA_DST_I_DIS_OFFSET 0X0000071CU
787#define XQSPIPSU_QSPIDMA_DST_I_DIS_FIFO_OF_SHIFT 7U
788#define XQSPIPSU_QSPIDMA_DST_I_DIS_FIFO_OF_WIDTH 1U
789#define XQSPIPSU_QSPIDMA_DST_I_DIS_FIFO_OF_MASK 0X00000080U
791#define XQSPIPSU_QSPIDMA_DST_I_DIS_INVALID_APB_SHIFT 6U
792#define XQSPIPSU_QSPIDMA_DST_I_DIS_INVALID_APB_WIDTH 1U
793#define XQSPIPSU_QSPIDMA_DST_I_DIS_INVALID_APB_MASK 0X00000040U
795#define XQSPIPSU_QSPIDMA_DST_I_DIS_THRESHOLD_HIT_SHIFT 5U
796#define XQSPIPSU_QSPIDMA_DST_I_DIS_THRESHOLD_HIT_WIDTH 1U
797#define XQSPIPSU_QSPIDMA_DST_I_DIS_THRESHOLD_HIT_MASK 0X00000020U
799#define XQSPIPSU_QSPIDMA_DST_I_DIS_TO_MEM_SHIFT 4U
800#define XQSPIPSU_QSPIDMA_DST_I_DIS_TO_MEM_WIDTH 1U
801#define XQSPIPSU_QSPIDMA_DST_I_DIS_TO_MEM_MASK 0X00000010U
803#define XQSPIPSU_QSPIDMA_DST_I_DIS_TO_STRM_SHIFT 3U
804#define XQSPIPSU_QSPIDMA_DST_I_DIS_TO_STRM_WIDTH 1U
805#define XQSPIPSU_QSPIDMA_DST_I_DIS_TO_STRM_MASK 0X00000008U
807#define XQSPIPSU_QSPIDMA_DST_I_DIS_AXI_BRESP_ERR_SHIFT 2U
808#define XQSPIPSU_QSPIDMA_DST_I_DIS_AXI_BRESP_ERR_WIDTH 1U
809#define XQSPIPSU_QSPIDMA_DST_I_DIS_AXI_BRESP_ERR_MASK 0X00000004U
811#define XQSPIPSU_QSPIDMA_DST_I_DIS_DONE_SHIFT 1U
812#define XQSPIPSU_QSPIDMA_DST_I_DIS_DONE_WIDTH 1U
813#define XQSPIPSU_QSPIDMA_DST_I_DIS_DONE_MASK 0X00000002U
815#define XQSPIPSU_QSPIDMA_DST_IMR_OFFSET 0X00000720U
817#define XQSPIPSU_QSPIDMA_DST_IMR_FIFO_OF_SHIFT 7U
818#define XQSPIPSU_QSPIDMA_DST_IMR_FIFO_OF_WIDTH 1U
819#define XQSPIPSU_QSPIDMA_DST_IMR_FIFO_OF_MASK 0X00000080U
821#define XQSPIPSU_QSPIDMA_DST_IMR_INVALID_APB_SHIFT 6U
822#define XQSPIPSU_QSPIDMA_DST_IMR_INVALID_APB_WIDTH 1U
823#define XQSPIPSU_QSPIDMA_DST_IMR_INVALID_APB_MASK 0X00000040U
825#define XQSPIPSU_QSPIDMA_DST_IMR_THRESHOLD_HIT_SHIFT 5U
826#define XQSPIPSU_QSPIDMA_DST_IMR_THRESHOLD_HIT_WIDTH 1U
827#define XQSPIPSU_QSPIDMA_DST_IMR_THRESHOLD_HIT_MASK 0X00000020U
829#define XQSPIPSU_QSPIDMA_DST_IMR_TO_MEM_SHIFT 4U
830#define XQSPIPSU_QSPIDMA_DST_IMR_TO_MEM_WIDTH 1U
831#define XQSPIPSU_QSPIDMA_DST_IMR_TO_MEM_MASK 0X00000010U
833#define XQSPIPSU_QSPIDMA_DST_IMR_TO_STRM_SHIFT 3U
834#define XQSPIPSU_QSPIDMA_DST_IMR_TO_STRM_WIDTH 1U
835#define XQSPIPSU_QSPIDMA_DST_IMR_TO_STRM_MASK 0X00000008U
837#define XQSPIPSU_QSPIDMA_DST_IMR_AXI_BRESP_ERR_SHIFT 2U
838#define XQSPIPSU_QSPIDMA_DST_IMR_AXI_BRESP_ERR_WIDTH 1U
839#define XQSPIPSU_QSPIDMA_DST_IMR_AXI_BRESP_ERR_MASK 0X00000004U
841#define XQSPIPSU_QSPIDMA_DST_IMR_DONE_SHIFT 1U
842#define XQSPIPSU_QSPIDMA_DST_IMR_DONE_WIDTH 1U
843#define XQSPIPSU_QSPIDMA_DST_IMR_DONE_MASK 0X00000002U
845#define XQSPIPSU_QSPIDMA_DST_CTRL2_OFFSET 0X00000724U
847#define XQSPIPSU_QSPIDMA_DST_CTRL2_RAM_EMASA_SHIFT 27U
848#define XQSPIPSU_QSPIDMA_DST_CTRL2_RAM_EMASA_WIDTH 1U
849#define XQSPIPSU_QSPIDMA_DST_CTRL2_RAM_EMASA_MASK 0X08000000U
851#define XQSPIPSU_QSPIDMA_DST_CTRL2_AWCACHE_SHIFT 24U
852#define XQSPIPSU_QSPIDMA_DST_CTRL2_AWCACHE_WIDTH 3U
853#define XQSPIPSU_QSPIDMA_DST_CTRL2_AWCACHE_MASK 0X07000000U
855#define XQSPIPSU_QSPIDMA_DST_CTRL2_TO_EN_SHIFT 22U
856#define XQSPIPSU_QSPIDMA_DST_CTRL2_TO_EN_WIDTH 1U
857#define XQSPIPSU_QSPIDMA_DST_CTRL2_TO_EN_MASK 0X00400000U
859#define XQSPIPSU_QSPIDMA_DST_CTRL2_RAM_EMAB_SHIFT 19U
860#define XQSPIPSU_QSPIDMA_DST_CTRL2_RAM_EMAB_WIDTH 3U
861#define XQSPIPSU_QSPIDMA_DST_CTRL2_RAM_EMAB_MASK 0X00380000U
863#define XQSPIPSU_QSPIDMA_DST_CTRL2_RAM_EMAA_SHIFT 16U
864#define XQSPIPSU_QSPIDMA_DST_CTRL2_RAM_EMAA_WIDTH 3U
865#define XQSPIPSU_QSPIDMA_DST_CTRL2_RAM_EMAA_MASK 0X00070000U
867#define XQSPIPSU_QSPIDMA_DST_CTRL2_TO_PRE_SHIFT 4U
868#define XQSPIPSU_QSPIDMA_DST_CTRL2_TO_PRE_WIDTH 12U
869#define XQSPIPSU_QSPIDMA_DST_CTRL2_TO_PRE_MASK 0X0000FFF0U
871#define XQSPIPSU_QSPIDMA_DST_CTRL2_MAX_OUTS_CMDS_SHIFT 0U
872#define XQSPIPSU_QSPIDMA_DST_CTRL2_MAX_OUTS_CMDS_WIDTH 4U
873#define XQSPIPSU_QSPIDMA_DST_CTRL2_MAX_OUTS_CMDS_MASK 0X0000000FU
875#define XQSPIPSU_QSPIDMA_DST_ADDR_MSB_OFFSET 0X00000728U
877#define XQSPIPSU_QSPIDMA_DST_ADDR_MSB_SHIFT 0U
878#define XQSPIPSU_QSPIDMA_DST_ADDR_MSB_WIDTH 12U
879#define XQSPIPSU_QSPIDMA_DST_ADDR_MSB_MASK 0X00000FFFU
881#define XQSPIPSU_QSPIDMA_FUTURE_ECO_OFFSET 0X00000EFCU
883#define XQSPIPSU_QSPIDMA_FUTURE_ECO_VAL_SHIFT 0U
884#define XQSPIPSU_QSPIDMA_FUTURE_ECO_VAL_WIDTH 32U
885#define XQSPIPSU_QSPIDMA_FUTURE_ECO_VAL_MASK 0XFFFFFFFFU
896#define XQSPIPSU_GENFIFO_IMM_DATA_MASK 0xFFU
897#define XQSPIPSU_GENFIFO_DATA_XFER 0x100U
898#define XQSPIPSU_GENFIFO_EXP 0x200U
899#define XQSPIPSU_GENFIFO_MODE_SPI 0x400U
900#define XQSPIPSU_GENFIFO_MODE_DUALSPI 0x800U
901#define XQSPIPSU_GENFIFO_MODE_QUADSPI 0xC00U
902#define XQSPIPSU_GENFIFO_MODE_MASK 0xC00U
903#define XQSPIPSU_GENFIFO_CS_LOWER 0x1000U
904#define XQSPIPSU_GENFIFO_CS_UPPER 0x2000U
905#define XQSPIPSU_GENFIFO_BUS_LOWER 0x4000U
906#define XQSPIPSU_GENFIFO_BUS_UPPER 0x8000U
907#define XQSPIPSU_GENFIFO_BUS_BOTH 0xC000U
908#define XQSPIPSU_GENFIFO_BUS_MASK 0xC000U
909#define XQSPIPSU_GENFIFO_TX 0x10000U
910#define XQSPIPSU_GENFIFO_RX 0x20000U
911#define XQSPIPSU_GENFIFO_STRIPE 0x40000U
912#define XQSPIPSU_GENFIFO_POLL 0x80000U
922#define XQSPIPSU_DATA_DLY_ADJ_OFFSET 0X000000F8U
924#define XQSPIPSU_DATA_DLY_ADJ_USE_DATA_DLY_SHIFT 31U
925#define XQSPIPSU_DATA_DLY_ADJ_USE_DATA_DLY_WIDTH 1U
926#define XQSPIPSU_DATA_DLY_ADJ_USE_DATA_DLY_MASK 0X80000000U
928#define XQSPIPSU_DATA_DLY_ADJ_DLY_SHIFT 28U
929#define XQSPIPSU_DATA_DLY_ADJ_DLY_WIDTH 3U
930#define XQSPIPSU_DATA_DLY_ADJ_DLY_MASK 0X70000000U
942#define IOU_TAPDLY_BYPASS_OFFSET 0X0000003CU
944#define IOU_TAPDLY_BYPASS_OFFSET 0X00000390U
947#define IOU_TAPDLY_BYPASS_LQSPI_RX_SHIFT 0X02U
949#define IOU_TAPDLY_BYPASS_LQSPI_RX_WIDTH 0X01U
950#define IOU_TAPDLY_BYPASS_LQSPI_RX_MASK 0x00000004U
954#define IOU_TAPDLY_RESET_STATE 0x4U
956#define IOU_TAPDLY_RESET_STATE 0x7U
962#define XQspiPsu_In32 Xil_In32
963#define XQspiPsu_Out32 Xil_Out32
979#define XQspiPsu_ReadReg(BaseAddress, RegOffset) XQspiPsu_In32((BaseAddress) + (RegOffset))
997#define XQspiPsu_WriteReg(BaseAddress, RegOffset, RegisterValue) XQspiPsu_Out32((BaseAddress) + (RegOffset), (RegisterValue))