Home
last modified time | relevance | path

Searched refs:SlaveAddress (Results 1 – 25 of 46) sorted by relevance

12

/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkNorthCluster/QNCInit/Dxe/
DDxeQNCSmbus.c110 IN EFI_SMBUS_DEVICE_ADDRESS SlaveAddress in IsAddressAvailable() argument
119 if (SlaveAddress.SmbusDeviceAddress == in IsAddressAvailable()
129 if ((SlaveAddress.SmbusDeviceAddress << 1) == mPlatformAddrRsvd[Index]) { in IsAddressAvailable()
138 if (SlaveAddress.SmbusDeviceAddress == (UINTN) mReservedAddress[Index]) { in IsAddressAvailable()
149 IN EFI_SMBUS_DEVICE_ADDRESS *SlaveAddress in GetNextAvailableAddress() argument
152 for (SlaveAddress->SmbusDeviceAddress = 0x03; in GetNextAvailableAddress()
153 SlaveAddress->SmbusDeviceAddress < 0x7F; in GetNextAvailableAddress()
154 SlaveAddress->SmbusDeviceAddress++ in GetNextAvailableAddress()
156 if (IsAddressAvailable (*SlaveAddress)) { in GetNextAvailableAddress()
168 EFI_SMBUS_DEVICE_ADDRESS SlaveAddress; in SmbusPrepareToArp() local
[all …]
DQNCSmbusExec.c60 IN EFI_SMBUS_DEVICE_ADDRESS SlaveAddress, in QncSmbusExecCheckParameters() argument
174 IN EFI_SMBUS_DEVICE_ADDRESS SlaveAddress, in Execute() argument
188 SlaveAddress, in Execute()
198 SmbusAddress = SMBUS_LIB_ADDRESS (SlaveAddress.SmbusDeviceAddress, Command, *Length, PecCheck); in Execute()
DDxeQNCSmbus.h94 IN CONST EFI_SMBUS_DEVICE_ADDRESS SlaveAddress,
138 IN OUT EFI_SMBUS_DEVICE_ADDRESS *SlaveAddress OPTIONAL
189 IN CONST EFI_SMBUS_DEVICE_ADDRESS SlaveAddress,
/device/linaro/bootloader/edk2/Omap35xxPkg/TPS65950Dxe/
DTPS65950.c38 EFI_SMBUS_DEVICE_ADDRESS SlaveAddress; in Read() local
42 SlaveAddress.SmbusDeviceAddress = EXTERNAL_DEVICE_REGISTER_TO_SLAVE_ADDRESS(Register); in Read()
46 …Status = Smbus->Execute(Smbus, SlaveAddress, 0, EfiSmbusWriteBlock, FALSE, &DeviceRegisterLength, … in Read()
52 Status = Smbus->Execute(Smbus, SlaveAddress, 0, EfiSmbusReadBlock, FALSE, &Length, Buffer); in Read()
65 EFI_SMBUS_DEVICE_ADDRESS SlaveAddress; in Write() local
70 SlaveAddress.SmbusDeviceAddress = EXTERNAL_DEVICE_REGISTER_TO_SLAVE_ADDRESS(Register); in Write()
85 …Status = Smbus->Execute(Smbus, SlaveAddress, 0, EfiSmbusWriteBlock, FALSE, &DeviceBufferLength, De… in Write()
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Library/MultiPlatformLib/BoardClkGens/
DBoardClkGens.c70 EFI_SMBUS_DEVICE_ADDRESS SlaveAddress; in ConfigureClockGenerator()
89 SlaveAddress.SmbusDeviceAddress = ClockAddress >> 1; in ConfigureClockGenerator()
95 SlaveAddress, in ConfigureClockGenerator()
135 SlaveAddress, in ConfigureClockGenerator()
146 SlaveAddress, in ConfigureClockGenerator()
161 SlaveAddress, in ConfigureClockGenerator()
177 SlaveAddress.SmbusDeviceAddress = ClockAddress >> 1; in ConfigureClockGenerator()
183 SlaveAddress, in ConfigureClockGenerator()
222 EFI_SMBUS_DEVICE_ADDRESS SlaveAddress; in ReadClockGeneratorID()
230 SlaveAddress.SmbusDeviceAddress = ClockAddress >> 1; in ReadClockGeneratorID()
[all …]
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkSouthCluster/Include/Library/
DI2cLib.h48 IN EFI_I2C_DEVICE_ADDRESS SlaveAddress,
78 IN EFI_I2C_DEVICE_ADDRESS SlaveAddress,
110 IN EFI_I2C_DEVICE_ADDRESS SlaveAddress,
151 IN EFI_I2C_DEVICE_ADDRESS SlaveAddress,
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Library/I2CLibPei/
DI2CLibPei.c351 UINT16 SlaveAddress in I2CInit() argument
374 if (1023 < SlaveAddress ) { in I2CInit()
401 if (0x7F < SlaveAddress) { in I2CInit()
402 SlaveAddress = (SlaveAddress & 0x3ff ) | IC_TAR_10BITADDR_MASTER; in I2CInit()
404 I2CLibPeiMmioWrite16 (I2CBaseAddress + R_IC_TAR, (UINT16) SlaveAddress ); in I2CInit()
429 IN UINT8 SlaveAddress, in ByteReadI2CBasic() argument
449 I2CInit(I2cControllerIndex, SlaveAddress); in ByteReadI2CBasic()
527 IN UINT8 SlaveAddress, in ByteWriteI2CBasic() argument
545 I2CInit(I2cControllerIndex, SlaveAddress); in ByteWriteI2CBasic()
602 IN UINT8 SlaveAddress, in ByteReadI2C() argument
[all …]
DI2CLibPei.h214 IN UINT8 SlaveAddress,
237 IN UINT8 SlaveAddress,
259 IN UINT8 SlaveAddress,
280 IN UINT8 SlaveAddress,
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PlatformInitPei/
DDimm.c212 EFI_SMBUS_DEVICE_ADDRESS SlaveAddress; in ReadSpd()
227 SlaveAddress.SmbusDeviceAddress = SMBUS_ADDR_CH_A_1 >> 1; in ReadSpd()
230 SlaveAddress.SmbusDeviceAddress = SMBUS_ADDR_CH_A_2 >> 1; in ReadSpd()
233 SlaveAddress.SmbusDeviceAddress = SMBUS_ADDR_CH_B_1 >> 1; in ReadSpd()
236 SlaveAddress.SmbusDeviceAddress = SMBUS_ADDR_CH_B_2 >> 1; in ReadSpd()
253 SlaveAddress, in ReadSpd()
275 SlaveAddress, in ReadSpd()
292 SlaveAddress, in ReadSpd()
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Library/I2CLibDxe/
DI2CLib.c399 IN UINT16 SlaveAddress in I2CInit() argument
409 if ((1023 < SlaveAddress) || (6 < I2cControllerIndex)) { in I2CInit()
414 MmioWrite32 ( mI2CBaseAddress + R_IC_TAR, (UINT16)SlaveAddress ); in I2CInit()
415 mI2CSlaveAddress = SlaveAddress; in I2CInit()
462 if (0x7f < SlaveAddress ) in I2CInit()
463 SlaveAddress = ( SlaveAddress & 0x3ff ) | IC_TAR_10BITADDR_MASTER; in I2CInit()
464 MmioWrite32 ( mI2CBaseAddress + R_IC_TAR, (UINT16)SlaveAddress ); in I2CInit()
492 IN UINT8 SlaveAddress, in ByteReadI2CBasic() argument
599 IN UINT8 SlaveAddress, in ByteWriteI2CBasic() argument
615 Status=I2CInit(I2cControllerIndex, SlaveAddress); in ByteWriteI2CBasic()
[all …]
/device/linaro/bootloader/edk2/MdePkg/Include/Protocol/
DSmbusHc.h126 IN EFI_SMBUS_DEVICE_ADDRESS SlaveAddress,
194 IN OUT EFI_SMBUS_DEVICE_ADDRESS *SlaveAddress OPTIONAL
239 IN EFI_SMBUS_DEVICE_ADDRESS SlaveAddress,
273 IN EFI_SMBUS_DEVICE_ADDRESS SlaveAddress,
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Framework/Protocol/Smbus/
DSmbus.h39 IN EFI_SMBUS_DEVICE_ADDRESS SlaveAddress,
50 IN EFI_SMBUS_DEVICE_ADDRESS SlaveAddress,
64 IN OUT EFI_SMBUS_DEVICE_ADDRESS * SlaveAddress OPTIONAL
80 IN EFI_SMBUS_DEVICE_ADDRESS SlaveAddress,
/device/linaro/bootloader/edk2/MdePkg/Include/Ppi/
DSmbus2.h77 IN EFI_SMBUS_DEVICE_ADDRESS SlaveAddress,
115 IN OUT EFI_SMBUS_DEVICE_ADDRESS *SlaveAddress OPTIONAL
157 IN EFI_SMBUS_DEVICE_ADDRESS SlaveAddress,
181 IN EFI_SMBUS_DEVICE_ADDRESS SlaveAddress,
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Framework/Ppi/Smbus2/
DSmbus2.h39 IN EFI_SMBUS_DEVICE_ADDRESS SlaveAddress,
51 IN EFI_SMBUS_DEVICE_ADDRESS SlaveAddress,
65 IN OUT EFI_SMBUS_DEVICE_ADDRESS * SlaveAddress OPTIONAL
81 IN EFI_SMBUS_DEVICE_ADDRESS SlaveAddress,
/device/linaro/bootloader/edk2/IntelFrameworkPkg/Include/Ppi/
DSmbus.h72 IN EFI_SMBUS_DEVICE_ADDRESS SlaveAddress,
98 IN EFI_SMBUS_DEVICE_ADDRESS SlaveAddress,
140 IN OUT EFI_SMBUS_DEVICE_ADDRESS *SlaveAddress OPTIONAL
197 IN EFI_SMBUS_DEVICE_ADDRESS SlaveAddress,
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Framework/Ppi/Smbus/
DSmbus.h40 IN EFI_SMBUS_DEVICE_ADDRESS SlaveAddress,
54 IN EFI_SMBUS_DEVICE_ADDRESS SlaveAddress,
69 IN OUT EFI_SMBUS_DEVICE_ADDRESS * SlaveAddress OPTIONAL
87 IN EFI_SMBUS_DEVICE_ADDRESS SlaveAddress,
/device/linaro/bootloader/edk2/Vlv2DeviceRefCodePkg/ValleyView2Soc/SouthCluster/Include/Library/
DI2CLib.h145 IN UINT8 SlaveAddress,
153 IN UINT8 SlaveAddress,
162 IN UINT8 SlaveAddress,
169 IN UINT8 SlaveAddress,
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Include/Library/
DI2CLib.h38 IN UINT8 SlaveAddress,
58 IN UINT8 SlaveAddress,
/device/linaro/bootloader/edk2/Omap35xxPkg/Include/
DTPS65950.h20 #define EXTERNAL_DEVICE_REGISTER(SlaveAddress, Register) (((SlaveAddress) & 0xFF) << 8 | ((Register… argument
/device/linaro/bootloader/edk2/Omap35xxPkg/SmbusDxe/
DSmbus.c226 IN CONST EFI_SMBUS_DEVICE_ADDRESS SlaveAddress, in SmbusExecute() argument
236 UINT8 SlaveAddr = (UINT8)(SlaveAddress.SmbusDeviceAddress); in SmbusExecute()
264 IN OUT EFI_SMBUS_DEVICE_ADDRESS *SlaveAddress OPTIONAL in SmbusArpDevice()
287 IN CONST EFI_SMBUS_DEVICE_ADDRESS SlaveAddress, in SmbusNotify() argument
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkSouthCluster/Library/I2cLib/
DI2cLib.c794 IN EFI_I2C_DEVICE_ADDRESS SlaveAddress, in I2cWriteByte() argument
814 I2CAddress = SlaveAddress.I2CDeviceAddress; in I2cWriteByte()
850 IN EFI_I2C_DEVICE_ADDRESS SlaveAddress, in I2cReadByte() argument
870 I2CAddress = SlaveAddress.I2CDeviceAddress; in I2cReadByte()
908 IN EFI_I2C_DEVICE_ADDRESS SlaveAddress, in I2cWriteMultipleByte() argument
928 I2CAddress = SlaveAddress.I2CDeviceAddress; in I2cWriteMultipleByte()
973 IN EFI_I2C_DEVICE_ADDRESS SlaveAddress, in I2cReadMultipleByte() argument
995 I2CAddress = SlaveAddress.I2CDeviceAddress; in I2cReadMultipleByte()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Include/Library/
DEdkIIGlueSmbusLib.h45 #define SMBUS_LIB_ADDRESS(SlaveAddress,Command,Length,Pec) \ argument
47 (((SlaveAddress) & 0x7f) << 1) | \
/device/linaro/bootloader/OpenPlatformPkg/Drivers/I2c/MvI2cDxe/
DMvI2cDxe.c551 IN UINTN SlaveAddress, in MvI2cStartRequest() argument
572 (SlaveAddress << 1) | ReadMode, in MvI2cStartRequest()
577 (SlaveAddress << 1) | ReadMode, in MvI2cStartRequest()
618 IN UINT8 SlaveAddress, in MvI2cAllocDevice() argument
636 Dev->DeviceIndex = SlaveAddress; in MvI2cAllocDevice()
637 Dev->DeviceIndex = I2C_DEVICE_INDEX(Bus, SlaveAddress); in MvI2cAllocDevice()
646 TmpSlaveArray[0] = SlaveAddress; in MvI2cAllocDevice()
658 DEBUG((DEBUG_INFO, "MvI2c: allocated device with address %x\n", (UINTN)SlaveAddress)); in MvI2cAllocDevice()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/Include/
DEfiScriptLib.h278 IN EFI_SMBUS_DEVICE_ADDRESS SlaveAddress,
515 #define SCRIPT_SMBUS_EXECUTE(TableName, SlaveAddress, Command, Operation, PecCheck, Length, Buffer)… argument
516 … BootScriptSaveSmbusExecute(TableName, SlaveAddress, Command, Operation, PecCheck, Length, Buffer)
566 #define SCRIPT_SMBUS_EXECUTE(TableName, SlaveAddress, Command, Operation, PecCheck, Length, Buffer) argument
/device/linaro/bootloader/edk2/MdePkg/Include/Library/
DSmbusLib.h33 #define SMBUS_LIB_ADDRESS(SlaveAddress,Command,Length,Pec) \ argument
35 (((SlaveAddress) & 0x7f) << 1) | \

12