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:259
void XQspiPsu_Setup64BRxDma(const XQspiPsu *InstancePtr, XQspiPsu_Msg *Msg)
Definition: xqspipsu_hw.c:205
void XQspiPsu_SetupRxDma(const XQspiPsu *InstancePtr, XQspiPsu_Msg *Msg)
Definition: xqspipsu_hw.c:147
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:120
void XQspiPsu_PollDataHandler(XQspiPsu *InstancePtr, u32 StatusReg)
Definition: xqspipsu.c:376
u32 XQspiPsu_CreatePollDataConfig(const XQspiPsu *InstancePtr, const XQspiPsu_Msg *FlashMsg)
Definition: xqspipsu_hw.c:484
void XQspiPsu_GenFifoEntryDataLen(XQspiPsu *InstancePtr, XQspiPsu_Msg *Msg, u32 *GenFifoEntry)
Definition: xqspipsu_hw.c:414
void XQspiPsu_TXRXSetup(XQspiPsu *InstancePtr, XQspiPsu_Msg *Msg, u32 *GenFifoEntry)
Definition: xqspipsu_hw.c:332
void XQspiPsu_ReadRxFifo(XQspiPsu *InstancePtr, XQspiPsu_Msg *Msg, s32 Size)
Definition: xqspipsu_hw.c:633
void XQspiPsu_RXSetup(XQspiPsu *InstancePtr, XQspiPsu_Msg *Msg)
Definition: xqspipsu_hw.c:296
void XQspiPsu_PollDataConfig(XQspiPsu *InstancePtr, XQspiPsu_Msg *FlashMsg)
Definition: xqspipsu_control.c:129
void XQspiPsu_SetDefaultConfig(XQspiPsu *InstancePtr)
Definition: xqspipsu_hw.c:565
void XQspiPsu_IORead(XQspiPsu *InstancePtr, XQspiPsu_Msg *Msg, u32 StatusReg)
Definition: xqspipsu_hw.c:681
u32 XQspiPsu_SelectSpiMode(u8 SpiMode)
Definition: xqspipsu_hw.c:523
void XQspiPsu_FillTxFifo(XQspiPsu *InstancePtr, XQspiPsu_Msg *Msg, u32 Size)
Definition: xqspipsu_hw.c:69
Definition: xqspipsu.h:217
Definition: xqspipsu.h:251