ufspsxc
Vitis Drivers API Documentation
xufspsxc.c File Reference

Functions

void XUfsPsxc_CfgInitialize (XUfsPsxc *InstancePtr, const XUfsPsxc_Config *ConfigPtr)
 Initializes a specific XUfsPsxc instance such that the driver is ready to use. More...
 
u32 XUfsPsxc_Initialize (XUfsPsxc *InstancePtr)
 Initializes the Host Controller and UFS device. More...
 
u32 XUfsPsxc_ConfigureSpeedGear (XUfsPsxc *InstancePtr, u32 SpeedGear)
 This API Configures the Power Mode. More...
 
u32 XUfsPsxc_CheckBootReq (XUfsPsxc *InstancePtr)
 This API check boot requirements like BootEnable and bBootLunEn. More...
 
u32 XUfsPsxc_SwitchBootLUN (XUfsPsxc *InstancePtr)
 This API switch the Boot-LU(1->2 or 2->1) by modifying the Attributes and also set the block size to 4K if it is not 4K. More...
 
u32 XUfsPsxc_ReadPolled (XUfsPsxc *InstancePtr, u32 Lun, u64 Address, u32 BlkCnt, const u8 *Buff)
 This API perform the data read from the UFS device. More...
 
u32 XUfsPsxc_WritePolled (XUfsPsxc *InstancePtr, u32 Lun, u64 Address, u32 BlkCnt, const u8 *Buff)
 This API perform the data Write to the UFS device. More...