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 |