| ufspsxc Vitis Drivers API Documentation

- Overview
- Data Structures
- APIs
- File List

Data Structures | Macros | Enumerations | Functions
xufspsxc.h File Reference

## Data Structures
struct | XUfsPsxc_Config
| This typedef contains configuration information for the device. More...
struct | __attribute__
| Command UPIU Structure. More...
struct | __attribute__
| Command UPIU Structure. More...
struct | __attribute__
| Command UPIU Structure. More...
struct | __attribute__
| Command UPIU Structure. More...
struct | __attribute__
| Command UPIU Structure. More...
struct | __attribute__
| Command UPIU Structure. More...
struct | __attribute__
| Command UPIU Structure. More...
struct | __attribute__
| Command UPIU Structure. More...
struct | __attribute__
| Command UPIU Structure. More...
struct | __attribute__
| Command UPIU Structure. More...
struct | __attribute__
| Command UPIU Structure. More...
struct | XUfsPsxc_UicCmd
| UIC Command Structure. More...
struct | XUfsPsxc_BLUNInfo
| BootLU information structure. More...
struct | XUfsPsxc
| The XUfsPsxc driver instance data. More...

## Macros
#define | XUFSPSXC_H_
| < prevent circular inclusions More...
#define | XUFSPSXC_SCSI_GOOD 0x0U
| < UPIU(SCSI) 8-bits [7:0] More...

## Enumerations
enum | Error_Bits_15_12
| < 4-bits [15:12] More...
enum | Error_Bits_11_8
| < 4-bits [11:8] More...
enum | Qry_Error_Bits_7_0
| < UPIU(QUERY) 8-bits [7:0] More...
enum | Ocs
| < UPIU(OCS) 8-bits [7:0] More...
enum | Uic_Cfg_Codes
| < UIC CFG 8-bits [7:0] More...
enum | Uic_Ctrl_Codes
| < UIC CTRL 8-bits [7:0] More...

## Functions
XUfsPsxc_Config * | XUfsPsxc_LookupConfig (UINTPTR BaseAddress)
| Looks up the device configuration based on the unique device ID. More...
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_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...
u32 | XUfsPsxc_CheckBootReq (XUfsPsxc *InstancePtr)
| This API check boot requirements like BootEnable and bBootLunEn. More...
u32 | XUfsPsxc_ConfigureSpeedGear (XUfsPsxc *InstancePtr, u32 SpeedGear)
| This API Configures the Power Mode. 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...