ufspsxc
Vitis Drivers API Documentation
xufspsxc_init.c File Reference

Functions

u32 XUfsPsxc_HostInitialize (XUfsPsxc *InstancePtr)
 Initializes the Host Controller. More...
 
u32 XUfsPsxc_CardInitialize (XUfsPsxc *InstancePtr, XUfsPsxc_Xfer_CmdDesc *CmdDescPtr)
 This API Partially Initialize the UFS device. More...
 
u32 XUfsPsxc_ReadDeviceInfo (XUfsPsxc *InstancePtr, XUfsPsxc_Xfer_CmdDesc *CmdDescPtr)
 This API read the UFS device information. More...
 
u32 XUfsPsxc_GetLUNInfo (XUfsPsxc *InstancePtr, XUfsPsxc_Xfer_CmdDesc *CmdDescPtr)
 This API update the Logical Unit information structure by reading the configuration descriptor. More...
 
u32 XUfsPsxc_Set4KBlkSize (XUfsPsxc *InstancePtr, XUfsPsxc_Xfer_CmdDesc *CmdDescPtr)
 This API set the block size to 4K for Boot LUN. More...
 
u32 XUfsPsxc_WritePhyReg (const XUfsPsxc *InstancePtr, XUfsPsxc_UicCmd *UicCmdPtr, u32 Address, u32 Value)
 This API does PHY register write with the required sequence. More...
 
u32 XUfsPsxc_ReadPhyReg (const XUfsPsxc *InstancePtr, XUfsPsxc_UicCmd *UicCmdPtr, u32 Address, u32 *Value)
 This API does PHY register read with the required sequence. More...
 
u32 XUfsPsxc_SetRmmiConfig (const XUfsPsxc *InstancePtr)
 This API setup RMMI configurations. More...
 
u32 XUfsPsxc_EnableMPhy (const XUfsPsxc *InstancePtr)
 This API enable the MPHY and wait for Rx/Tx busy de-assertion. More...
 
u32 XUfsPsxc_ConfigureTxRxAttributes (const XUfsPsxc *InstancePtr, u32 SpeedGear, u32 RxTermCap, u32 TxTermCap)
 This API Configures the Tx/Rx Attributes. More...