Home
last modified time | relevance | path

Searched refs:I2cDeviceContext (Results 1 – 2 of 2) sorted by relevance

/device/linaro/bootloader/edk2/MdeModulePkg/Bus/I2c/I2cDxe/
DI2cBus.c867 I2C_DEVICE_CONTEXT *I2cDeviceContext; in RegisterI2cDevice() local
975 I2cDeviceContext = NULL; in RegisterI2cDevice()
976 I2cDeviceContext = AllocateCopyPool (sizeof (I2C_DEVICE_CONTEXT), &gI2cDeviceContextTemplate); in RegisterI2cDevice()
977 ASSERT (I2cDeviceContext != NULL); in RegisterI2cDevice()
978 if (I2cDeviceContext == NULL) { in RegisterI2cDevice()
985 I2cDeviceContext->I2cBusContext = I2cBusContext; in RegisterI2cDevice()
986 I2cDeviceContext->I2cDevice = Device; in RegisterI2cDevice()
987 I2cDeviceContext->I2cIo.DeviceGuid = Device->DeviceGuid; in RegisterI2cDevice()
988 I2cDeviceContext->I2cIo.DeviceIndex = Device->DeviceIndex; in RegisterI2cDevice()
989 I2cDeviceContext->I2cIo.HardwareRevision = Device->HardwareRevision; in RegisterI2cDevice()
[all …]
DI2cDxe.h265 IN I2C_DEVICE_CONTEXT *I2cDeviceContext,
652 IN I2C_DEVICE_CONTEXT *I2cDeviceContext