37#ifndef XQSPIPSU_CONTROL_H_
38#define XQSPIPSU_CONTROL_H_
52#if defined (ARMR5) || defined (__aarch64__) || defined (__MICROBLAZE__)
53#define TAPDLY_BYPASS_VALVE_40MHZ 0x01U
54#define TAPDLY_BYPASS_VALVE_100MHZ 0x01U
55#define USE_DLY_LPBK 0x01U
56#define USE_DATA_DLY_ADJ 0x01U
57#define DATA_DLY_ADJ_DLY 0X02U
58#define LPBK_DLY_ADJ_DLY0 0X02U
59#define LPBK_DLY_ADJ_DLY1 0X02U
63#define XPS_SYS_CTRL_BASEADDR 0xFF180000U
89#if defined (ARMR5) || defined (__aarch64__) || defined (__MICROBLAZE__)
90s32 XQspipsu_Set_TapDelay(
const XQspiPsu *InstancePtr, u32 TapdelayBypass,
91 u32 LPBKDelay, u32 Datadelay);
92s32 XQspipsu_Calculate_Tapdelay(
const XQspiPsu *InstancePtr, u8 Prescaler);
u32 XQspiPsu_SetIOMode(XQspiPsu *InstancePtr, XQspiPsu_Msg *Msg)
Definition: xqspipsu_hw.c:263
void XQspiPsu_Setup64BRxDma(const XQspiPsu *InstancePtr, XQspiPsu_Msg *Msg)
Definition: xqspipsu_hw.c:209
void XQspiPsu_SetupRxDma(const XQspiPsu *InstancePtr, XQspiPsu_Msg *Msg)
Definition: xqspipsu_hw.c:151
void XQspiPsu_GenFifoEntryData(XQspiPsu *InstancePtr, XQspiPsu_Msg *Msg)
Definition: xqspipsu_control.c:63
void XQspiPsu_TXSetup(XQspiPsu *InstancePtr, XQspiPsu_Msg *Msg)
Definition: xqspipsu_hw.c:124
void XQspiPsu_PollDataHandler(XQspiPsu *InstancePtr, u32 StatusReg)
Definition: xqspipsu.c:393
u32 XQspiPsu_CreatePollDataConfig(const XQspiPsu *InstancePtr, const XQspiPsu_Msg *FlashMsg)
Definition: xqspipsu_hw.c:488
void XQspiPsu_GenFifoEntryDataLen(XQspiPsu *InstancePtr, XQspiPsu_Msg *Msg, u32 *GenFifoEntry)
Definition: xqspipsu_hw.c:418
void XQspiPsu_TXRXSetup(XQspiPsu *InstancePtr, XQspiPsu_Msg *Msg, u32 *GenFifoEntry)
Definition: xqspipsu_hw.c:336
void XQspiPsu_ReadRxFifo(XQspiPsu *InstancePtr, XQspiPsu_Msg *Msg, s32 Size)
Definition: xqspipsu_hw.c:637
void XQspiPsu_RXSetup(XQspiPsu *InstancePtr, XQspiPsu_Msg *Msg)
Definition: xqspipsu_hw.c:300
void XQspiPsu_PollDataConfig(XQspiPsu *InstancePtr, XQspiPsu_Msg *FlashMsg)
Definition: xqspipsu_control.c:129
void XQspiPsu_SetDefaultConfig(XQspiPsu *InstancePtr)
Definition: xqspipsu_hw.c:569
void XQspiPsu_IORead(XQspiPsu *InstancePtr, XQspiPsu_Msg *Msg, u32 StatusReg)
Definition: xqspipsu_hw.c:685
u32 XQspiPsu_SelectSpiMode(u8 SpiMode)
Definition: xqspipsu_hw.c:527
void XQspiPsu_FillTxFifo(XQspiPsu *InstancePtr, XQspiPsu_Msg *Msg, u32 Size)
Definition: xqspipsu_hw.c:73
Definition: xqspipsu.h:223
Definition: xqspipsu.h:257