summaryrefslogtreecommitdiff
path: root/IntelFrameworkPkg/Include/Ppi/Smbus.h
diff options
context:
space:
mode:
authorvanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2009-07-06 03:15:53 +0000
committervanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2009-07-06 03:15:53 +0000
commit516e9f28634173a9a38bd3c18c58e875a75b8251 (patch)
tree9cf94dc04e8d4d37fc7fa55fc009c120465fded2 /IntelFrameworkPkg/Include/Ppi/Smbus.h
parent54fbbbd7e912c0b81c41831a82da2b995054c34e (diff)
downloadedk2-platforms-516e9f28634173a9a38bd3c18c58e875a75b8251.tar.xz
updated function headers.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8753 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'IntelFrameworkPkg/Include/Ppi/Smbus.h')
-rw-r--r--IntelFrameworkPkg/Include/Ppi/Smbus.h88
1 files changed, 44 insertions, 44 deletions
diff --git a/IntelFrameworkPkg/Include/Ppi/Smbus.h b/IntelFrameworkPkg/Include/Ppi/Smbus.h
index 89d3ecf251..9cfe330f3d 100644
--- a/IntelFrameworkPkg/Include/Ppi/Smbus.h
+++ b/IntelFrameworkPkg/Include/Ppi/Smbus.h
@@ -33,19 +33,19 @@ typedef struct _EFI_PEI_SMBUS_PPI EFI_PEI_SMBUS_PPI;
/**
Executes an SMBus operation to an SMBus controller.
- @param PeiServices A pointer to the system PEI Services Table.
- @param This A pointer to the EFI_PEI_SMBUS_PPI instance.
- @param SlaveAddress The SMBUS hardware address to which the SMBUS
- device is preassigned or allocated.
- @param Command This command is transmitted by the SMBus host
- controller to the SMBus slave device and the interpretation is
- SMBus slave device specific.
- @param Operation Signifies which particular SMBus hardware protocol
- instance that it will use to execute the SMBus transactions.
- @param PecCheck Defines if Packet Error Code (PEC) checking is required
- for this operation.
- @param Length Signifies the number of bytes that this operation will do.
- @param Buffer Contains the value of data to execute to the SMBus slave device.
+ @param[in] PeiServices A pointer to the system PEI Services Table.
+ @param[in] This A pointer to the EFI_PEI_SMBUS_PPI instance.
+ @param[in] SlaveAddress The SMBUS hardware address to which the SMBUS
+ device is preassigned or allocated.
+ @param[in] Command This command is transmitted by the SMBus host
+ controller to the SMBus slave device and the interpretation is
+ SMBus slave device specific.
+ @param[in] Operation Signifies which particular SMBus hardware protocol
+ instance that it will use to execute the SMBus transactions.
+ @param[in] PecCheck Defines if Packet Error Code (PEC) checking is required
+ for this operation.
+ @param[in, out] Length Signifies the number of bytes that this operation will do.
+ @param[in, out] Buffer Contains the value of data to execute to the SMBus slave device.
@retval EFI_SUCCESS The last data that was returned from the access
matched the poll exit criteria.
@@ -79,12 +79,12 @@ EFI_STATUS
/**
CallBack function can be registered in EFI_PEI_SMBUS_PPI_NOTIFY.
- @param PeiServices A pointer to the system PEI Services Table.
- @param This A pointer to the EFI_PEI_SMBUS_PPI instance.
- @param SlaveAddress The SMBUS hardware address to which the SMBUS
- device is preassigned or allocated.
- @param Data Data of the SMBus host notify command that
- the caller wants to be called.
+ @param[in] PeiServices A pointer to the system PEI Services Table.
+ @param[in] This A pointer to the EFI_PEI_SMBUS_PPI instance.
+ @param[in] SlaveAddress The SMBUS hardware address to which the SMBUS
+ device is preassigned or allocated.
+ @param[in] Data Data of the SMBus host notify command that
+ the caller wants to be called.
@return Status Code returned by callback function.
@@ -102,17 +102,17 @@ EFI_STATUS
The ArpDevice() function enumerates the entire bus or enumerates a specific
device that is identified by SmbusUdid.
- @param PeiServices A pointer to the system PEI Services Table.
- @param This A pointer to the EFI_PEI_SMBUS_PPI instance.
- @param ArpAll A Boolean expression that indicates if the host drivers need
- to enumerate all the devices or enumerate only the device that is identified
- by SmbusUdid. If ArpAll is TRUE, SmbusUdid and SlaveAddress are optional.
- If ArpAll is FALSE, ArpDevice will enumerate SmbusUdid and the address
- will be at SlaveAddress.
- @param SmbusUdid The targeted SMBus Unique Device Identifier (UDID).
- The UDID may not exist for SMBus devices with fixed addresses.
- @param SlaveAddress The new SMBus address for the slave device for
- which the operation is targeted.
+ @param[in] PeiServices A pointer to the system PEI Services Table.
+ @param[in] This A pointer to the EFI_PEI_SMBUS_PPI instance.
+ @param[in] ArpAll A Boolean expression that indicates if the host drivers need
+ to enumerate all the devices or enumerate only the device that is identified
+ by SmbusUdid. If ArpAll is TRUE, SmbusUdid and SlaveAddress are optional.
+ If ArpAll is FALSE, ArpDevice will enumerate SmbusUdid and the address
+ will be at SlaveAddress.
+ @param[in] SmbusUdid The targeted SMBus Unique Device Identifier (UDID).
+ The UDID may not exist for SMBus devices with fixed addresses.
+ @param[in, out] SlaveAddress The new SMBus address for the slave device for
+ which the operation is targeted.
@retval EFI_SUCCESS The SMBus slave device address was set.
@retval EFI_INVALID_PARAMETER SlaveAddress is NULL.
@@ -136,11 +136,11 @@ EFI_STATUS
The GetArpMap() function returns the mapping of all the SMBus devices
that are enumerated by the SMBus host driver.
- @param PeiServices A pointer to the system PEI Services Table.
- @param This A pointer to the EFI_PEI_SMBUS_PPI instance.
- @param Length Size of the buffer that contains the SMBus device map.
- @param SmbusDeviceMap The pointer to the device map as enumerated
- by the SMBus controller driver.
+ @param[in] PeiServices A pointer to the system PEI Services Table.
+ @param[in] This A pointer to the EFI_PEI_SMBUS_PPI instance.
+ @param[in, out] Length Size of the buffer that contains the SMBus device map.
+ @param[in, out] SmbusDeviceMap The pointer to the device map as enumerated
+ by the SMBus controller driver.
@retval EFI_SUCCESS The device map was returned correctly in the buffer.
@@ -161,16 +161,16 @@ EFI_STATUS
The Notify() function registers all the callback functions to allow the
bus driver to call these functions when the SlaveAddress/Data pair happens.
- @param PeiServices A pointer to the system PEI Services Table.
- @param This A pointer to the EFI_PEI_SMBUS_PPI instance.
- @param SlaveAddress Address that the host controller detects as
- sending a message and calls all the registered functions.
- @param Data Data that the host controller detects as sending a message
- and calls all the registered functions.
- @param NotifyFunction The function to call when the bus driver
- detects the SlaveAddress and Data pair.
+ @param[in] PeiServices A pointer to the system PEI Services Table.
+ @param[in] This A pointer to the EFI_PEI_SMBUS_PPI instance.
+ @param[in] SlaveAddress Address that the host controller detects as
+ sending a message and calls all the registered functions.
+ @param[in] Data Data that the host controller detects as sending a message
+ and calls all the registered functions.
+ @param[in] NotifyFunction The function to call when the bus driver
+ detects the SlaveAddress and Data pair.
- @retval EFI_SUCCESS NotifyFunction has been registered.
+ @retval EFI_SUCCESS NotifyFunction has been registered.
**/
typedef