ufspsxc
Vitis Drivers API Documentation
xufspsxc_hw.c File Reference

Functions

u32 XUfsPsxc_SendUICCmd (const XUfsPsxc *InstancePtr, XUfsPsxc_UicCmd *UicCmdPtr)
 Send UIC Command. More...
 
u32 XUfsPsxc_SetHce (const XUfsPsxc *InstancePtr, u32 Value)
 Perform the Host Controller Enable/Disable. More...
 
void XUfsPsxc_FillNopOutUpiu (XUfsPsxc *InstancePtr, XUfsPsxc_Xfer_CmdDesc *CmdDescPtr)
 This API Fill the transfer request descriptor for NOP-OUT UPIU. More...
 
void XUfsPsxc_FillTestUnitRdyUpiu (XUfsPsxc *InstancePtr, XUfsPsxc_Xfer_CmdDesc *CmdDescPtr)
 This API Fill the transfer request descriptor for TEST UNIT READY Command. More...
 
void XUfsPsxc_FillReadCmdUpiu (XUfsPsxc *InstancePtr, XUfsPsxc_Xfer_CmdDesc *CmdDescPtr, u64 Address, u32 BlkCnt, const u8 *Buff)
 This API Fill the transfer request descriptor for READ Command. More...
 
void XUfsPsxc_FillWriteCmdUpiu (XUfsPsxc *InstancePtr, XUfsPsxc_Xfer_CmdDesc *CmdDescPtr, u64 Address, u32 BlkCnt, const u8 *Buff)
 This API Fill the transfer request descriptor for WRITE Command. More...
 
void XUfsPsxc_FillFlagUpiu (XUfsPsxc *InstancePtr, XUfsPsxc_Xfer_CmdDesc *CmdDescPtr, u32 IsRead, u32 FlagIDn)
 This API Fill the transfer request descriptor for READ/SET FLAG Command. More...
 
void XUfsPsxc_FillDescUpiu (XUfsPsxc *InstancePtr, XUfsPsxc_Xfer_CmdDesc *CmdDescPtr, u32 Tsf_DW0, u32 IsRead, u32 Length)
 This API Fill the transfer request descriptor for read or write Descriptor Command. More...
 
void XUfsPsxc_FillAttrUpiu (XUfsPsxc *InstancePtr, XUfsPsxc_Xfer_CmdDesc *CmdDescPtr, u32 IsRead, u32 AttrIDn, u32 Value)
 This API Fill the transfer request descriptor for read or write Attribute Command. More...
 
u32 XUfsPsxc_ProcessUpiu (const XUfsPsxc *InstancePtr, const XUfsPsxc_Xfer_CmdDesc *CmdDescPtr)
 This API send the UPIU to the UFS device. More...
 
u32 XUfsPsxc_PhyInit (const XUfsPsxc *InstancePtr)
 This API does PHY Initialization sequence. More...