![]() |
xilpuf
Vitis Drivers API Documentation
|
Macros | |
| #define | XPUF_SLR_INDEX_SHIFT (6U) |
| To shift puf SLR index. More... | |
| #define | XPUF_ADDR_HIGH_SHIFT (32U) |
| Shift value to get higher 32 bit address. More... | |
Functions | |
| int | XPuf_ClientInit (XPuf_ClientInstance *const InstancePtr, XMailbox *const MailboxPtr) |
| This function sets the instance of mailbox. More... | |
| int | XPuf_Registration (const XPuf_ClientInstance *InstancePtr, const u64 DataAddr) |
| This function sends IPI request for PUF registration. More... | |
| int | XPuf_Regeneration (const XPuf_ClientInstance *InstancePtr, const u64 DataAddr) |
| This function sends IPI request for PUF regeneration. More... | |
| int | XPuf_ClearPufID (const XPuf_ClientInstance *InstancePtr) |
| This function sends IPI request for PUF clear ID. More... | |
| #define XPUF_ADDR_HIGH_SHIFT (32U) |
Shift value to get higher 32 bit address.
Referenced by XPuf_Regeneration(), and XPuf_Registration().
| #define XPUF_SLR_INDEX_SHIFT (6U) |
To shift puf SLR index.
Referenced by XPuf_ClearPufID(), XPuf_Regeneration(), and XPuf_Registration().
| int XPuf_ClearPufID | ( | const XPuf_ClientInstance * | InstancePtr | ) |
This function sends IPI request for PUF clear ID.
| InstancePtr | Pointer to the client instance |
Perform input parameter validation on InstancePtr. Return XST_FAILURE if input parameters are invalid.
Send an IPI request to the PLM by using the XPuf_ClearPufID CDO command and return the status of the IPI response.
References XPuf_ProcessMailbox(), XPUF_PUF_CLEAR_PUF_ID, and XPUF_SLR_INDEX_SHIFT.
| int XPuf_ClientInit | ( | XPuf_ClientInstance *const | InstancePtr, |
| XMailbox *const | MailboxPtr | ||
| ) |
This function sets the instance of mailbox.
| InstancePtr | Pointer to the client instance |
| MailboxPtr | Pointer to the mailbox instance |
Set XMailbox instance provided by the user to client library instance by validating whether provided instance is not NULL and initialized. Use XMailbox instance to initiate the communication between client and server.
| int XPuf_Regeneration | ( | const XPuf_ClientInstance * | InstancePtr, |
| const u64 | DataAddr | ||
| ) |
This function sends IPI request for PUF regeneration.
| InstancePtr | Pointer to the client instance |
| DataAddr | Address of the data structure which includes options to configure PUF |
Perform input parameter validation on InstancePtr. Return XST_FAILURE if input parameters are invalid.
Send an IPI request to the PLM by using the XPuf_Regeneration CDO command and return the status of the IPI response.
References XPUF_ADDR_HIGH_SHIFT, XPuf_ProcessMailbox(), XPUF_PUF_REGENERATION, and XPUF_SLR_INDEX_SHIFT.
| int XPuf_Registration | ( | const XPuf_ClientInstance * | InstancePtr, |
| const u64 | DataAddr | ||
| ) |
This function sends IPI request for PUF registration.
| InstancePtr | Pointer to the client instance |
| DataAddr | Address of the data structure which includes options to configure PUF |
Perform input parameter validation on InstancePtr. Return XST_FAILURE if input parameters are invalid.
Send an IPI request to the PLM by using the XPuf_Registration CDO command and return the status of the IPI response.
References XPUF_ADDR_HIGH_SHIFT, XPuf_ProcessMailbox(), XPUF_PUF_REGISTRATION, and XPUF_SLR_INDEX_SHIFT.