This file defines common data structures, macro definitions and some module\r
internal function header files.\r
\r
- Copyright (c) 2013, Intel Corporation. All rights reserved.<BR>\r
+ Copyright (c) 2013 - 2018, Intel Corporation. All rights reserved.<BR>\r
This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
which accompanies this distribution. The full text of the license may be found at\r
EFI_I2C_HOST_PROTOCOL *I2cHost;\r
EFI_HANDLE Controller;\r
EFI_DEVICE_PATH_PROTOCOL *ParentDevicePath;\r
- EFI_HANDLE DriverBindingHandle; \r
+ EFI_HANDLE DriverBindingHandle;\r
} I2C_BUS_CONTEXT;\r
\r
//\r
// Signature\r
//\r
UINT32 Signature;\r
- \r
+\r
//\r
// Next request in the pending request list\r
//\r
@param[in] RemainingDevicePath A pointer to the remaining portion of a device path.\r
\r
@retval EFI_SUCCESS Driver API properly initialized\r
- \r
+\r
**/\r
EFI_STATUS\r
RegisterI2cDevice (\r
\r
The upper layer driver writer provides the following to the platform\r
vendor:\r
- \r
+\r
1. Vendor specific GUID for the I2C part\r
2. Guidance on proper construction of the slave address array when the\r
I2C device uses more than one slave address. The I2C bus protocol\r
IN CHAR8 *Language,\r
OUT CHAR16 **DriverName\r
);\r
- \r
+\r
/**\r
Retrieves a Unicode string that is the user readable name of the controller\r
that is being managed by a driver.\r
IN EFI_HANDLE Controller,\r
IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath\r
);\r
- \r
+\r
/**\r
Stops a device controller or a bus controller.\r
\r
IN CHAR8 *Language,\r
OUT CHAR16 **DriverName\r
);\r
- \r
+\r
/**\r
Retrieves a Unicode string that is the user readable name of the controller\r
that is being managed by a driver.\r