This function performs driver-like IOCTL functions on shared system devices.
Prototype
XStatus XPm_DevIoctl(const u32 deviceId, const pm_ioctl_id ioctlId, const u32 arg1, const u32 arg2, u32 *const response);
Parameters
The following table lists the XPm_DevIoctl function arguments.
| Type | Name | Description |
|---|---|---|
| const u32 | deviceId | ID of the device |
| const pm_ioctl_id | ioctlId | IOCTL function ID |
| const u32 | arg1 | Argument 1 |
| const u32 | arg2 | Argument 2 |
| u32 *const | response | Ioctl response |