Searched defs:Port (Results 1 - 25 of 87) sorted by relevance

1234

/device/linaro/bootloader/OpenPlatformPkg/Chips/Hisilicon/Library/I2CLib/
H A DI2CLibCommon.c24 UINTN GetI2cBase (UINT32 Socket, UINT8 Port) argument
26 return PlatformGetI2cBase(Socket, Port);
30 I2cLibRuntimeSetup (UINT32 Socket, UINT8 Port) argument
H A DI2CLibRuntime.c32 UINTN GetI2cBase (UINT32 Socket, UINT8 Port) argument
34 if (gI2cBase[Socket][Port] == 0) {
35 gI2cBase[Socket][Port] = PlatformGetI2cBase(Socket, Port);
38 return gI2cBase[Socket][Port];
49 UINT8 Port; local
54 for (Port = 0; Port < I2C_PORT_MAX; Port++) {
55 if (gI2cBase[Socket][Port] !
65 I2cLibRuntimeSetup(UINT32 Socket, UINT8 Port) argument
[all...]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseIoLibIntrinsic/
H A DIoLib.c28 Reads the 64-bit I/O port specified by Port. The 64-bit read value is returned.
34 @param Port The I/O port to read.
42 IN UINTN Port
52 Writes the 64-bit I/O port specified by Port with the value specified by Value
58 @param Port The I/O port to write.
67 IN UINTN Port,
66 IoWrite64( IN UINTN Port, IN UINT64 Value ) argument
H A DIoLibGcc.c220 Reads the 8-bit I/O port specified by Port. The 8-bit read value is returned.
226 @param Port The I/O port to read.
235 IN UINTN Port
240 __asm__ __volatile__ ("inb %w1,%b0" : "=a" (Data) : "d" ((UINT16)Port));
247 Writes the 8-bit I/O port specified by Port with the value specified by Value
253 @param Port The I/O port to write.
263 IN UINTN Port,
267 __asm__ __volatile__ ("outb %b0,%w1" : : "a" (Value), "d" ((UINT16)Port));
274 Reads the 16-bit I/O port specified by Port. The 16-bit read value is returned.
280 @param Port Th
262 IoWrite8( IN UINTN Port, IN UINT8 Value ) argument
317 IoWrite16( IN UINTN Port, IN UINT16 Value ) argument
373 IoWrite32( IN UINTN Port, IN UINT32 Value ) argument
[all...]
H A DIoLibMsc.c64 Reads the 8-bit I/O port specified by Port. The 8-bit read value is returned.
70 @param Port The I/O port to read.
78 IN UINTN Port
84 Value = (UINT8)_inp ((UINT16)Port);
92 Writes the 8-bit I/O port specified by Port with the value specified by Value
98 @param Port The I/O port to write.
107 IN UINTN Port,
112 (UINT8)_outp ((UINT16)Port, Value);
120 Reads the 16-bit I/O port specified by Port. The 16-bit read value is returned.
126 @param Port Th
106 GlueIoWrite8( IN UINTN Port, IN UINT8 Value ) argument
163 GlueIoWrite16( IN UINTN Port, IN UINT16 Value ) argument
221 GlueIoWrite32( IN UINTN Port, IN UINT32 Value ) argument
[all...]
H A DIoLibIcc.c212 Reads the 8-bit I/O port specified by Port. The 8-bit read value is returned.
218 @param Port The I/O port to read.
226 IN UINTN Port
232 mov dx, word ptr [Port]
243 Writes the 8-bit I/O port specified by Port with the value specified by Value
249 @param Port The I/O port to write.
258 IN UINTN Port,
264 mov dx, word ptr [Port]
273 Reads the 16-bit I/O port specified by Port. The 16-bit read value is returned.
279 @param Port Th
257 IoWrite8( IN UINTN Port, IN UINT8 Value ) argument
320 IoWrite16( IN UINTN Port, IN UINT16 Value ) argument
389 IoWrite32( IN UINTN Port, IN UINT32 Value ) argument
[all...]
H A DIoLibIpf.c32 Reads the 8-bit I/O port specified by Port. The 8-bit read value is returned.
36 @param Port The I/O port to read.
44 IN UINT64 Port
50 // Add the 64MB aligned IO Port space to the IO address
52 Address = MAP_PORT_BASE_TO_MEM (Port);
61 Reads the 16-bit I/O port specified by Port. The 16-bit read value is returned.
65 @param Port The I/O port to read.
73 IN UINT64 Port
79 // Add the 64MB aligned IO Port space to the IO address
81 Address = MAP_PORT_BASE_TO_MEM (Port);
155 IoWrite8( IN UINT64 Port, IN UINT8 Data ) argument
186 IoWrite16( IN UINT64 Port, IN UINT16 Data ) argument
217 IoWrite32( IN UINT64 Port, IN UINT32 Data ) argument
250 IoWrite64( IN UINTN Port, IN UINT64 Value ) argument
[all...]
/device/linaro/bootloader/OpenPlatformPkg/Chips/Hisilicon/Pv660/Drivers/PcieInitDxe/
H A DPcieInit.c21 extern VOID PcieRegWrite(UINT32 Port, UINTN Offset, UINT32 Value);
22 extern EFI_STATUS PciePortReset(UINT32 HostBridgeNum, UINT32 Port);
27 //Port 0
39 //Port 1
50 //Port 2
61 //Port 3
80 UINT32 Port; local
86 for (Port = 0; Port < PCIE_MAX_PORT_NUM; Port
[all...]
/device/linaro/bootloader/edk2/MdePkg/Library/BaseIoLibIntrinsic/
H A DIoLibEbc.c22 Reads the 8-bit I/O port specified by Port. The 8-bit read value is returned.
28 @param Port The I/O port to read.
36 IN UINTN Port
46 Writes the 8-bit I/O port specified by Port with the value specified by Value
52 @param Port The I/O port to write.
61 IN UINTN Port,
72 Reads the 16-bit I/O port specified by Port. The 16-bit read value is returned.
77 If Port is not aligned on a 16-bit boundary, then ASSERT().
79 @param Port The I/O port to read.
87 IN UINTN Port
60 IoWrite8( IN UINTN Port, IN UINT8 Value ) argument
112 IoWrite16( IN UINTN Port, IN UINT16 Value ) argument
164 IoWrite32( IN UINTN Port, IN UINT32 Value ) argument
[all...]
H A DIoLibGcc.c30 Reads the 8-bit I/O port specified by Port. The 8-bit read value is returned.
36 @param Port The I/O port to read.
45 IN UINTN Port
50 __asm__ __volatile__ ("inb %w1,%b0" : "=a" (Data) : "d" ((UINT16)Port));
57 Writes the 8-bit I/O port specified by Port with the value specified by Value
63 @param Port The I/O port to write.
73 IN UINTN Port,
77 __asm__ __volatile__ ("outb %b0,%w1" : : "a" (Value), "d" ((UINT16)Port));
84 Reads the 16-bit I/O port specified by Port. The 16-bit read value is returned.
89 If Port i
72 IoWrite8( IN UINTN Port, IN UINT8 Value ) argument
129 IoWrite16( IN UINTN Port, IN UINT16 Value ) argument
187 IoWrite32( IN UINTN Port, IN UINT32 Value ) argument
[all...]
H A DIoLibMsc.c57 Reads the 8-bit I/O port specified by Port. The 8-bit read value is returned.
63 @param Port The I/O port to read.
71 IN UINTN Port
77 Value = (UINT8)_inp ((UINT16)Port);
85 Writes the 8-bit I/O port specified by Port with the value specified by Value
91 @param Port The I/O port to write.
100 IN UINTN Port,
105 (UINT8)_outp ((UINT16)Port, Value);
113 Reads the 16-bit I/O port specified by Port. The 16-bit read value is returned.
118 If Port i
99 IoWrite8( IN UINTN Port, IN UINT8 Value ) argument
158 IoWrite16( IN UINTN Port, IN UINT16 Value ) argument
218 IoWrite32( IN UINTN Port, IN UINT32 Value ) argument
[all...]
H A DIoLib.c20 Reads the 64-bit I/O port specified by Port. The 64-bit read value is returned.
25 If Port is not aligned on a 64-bit boundary, then ASSERT().
27 @param Port The I/O port to read.
35 IN UINTN Port
45 Writes the 64-bit I/O port specified by Port with the value specified by Value
50 If Port is not aligned on a 64-bit boundary, then ASSERT().
52 @param Port The I/O port to write.
61 IN UINTN Port,
60 IoWrite64( IN UINTN Port, IN UINT64 Value ) argument
H A DIoLibIcc.c21 Reads the 8-bit I/O port specified by Port. The 8-bit read value is returned.
27 @param Port The I/O port to read.
35 IN UINTN Port
41 mov dx, word ptr [Port]
52 Writes the 8-bit I/O port specified by Port with the value specified by Value
58 @param Port The I/O port to write.
67 IN UINTN Port,
73 mov dx, word ptr [Port]
82 Reads the 16-bit I/O port specified by Port. The 16-bit read value is returned.
87 If Port i
66 IoWrite8( IN UINTN Port, IN UINT8 Value ) argument
131 IoWrite16( IN UINTN Port, IN UINT16 Value ) argument
199 IoWrite32( IN UINTN Port, IN UINT32 Value ) argument
[all...]
H A DIoLibArm.c25 Reads the 8-bit I/O port specified by Port. The 8-bit read value is returned.
31 @param Port The I/O port to read.
39 IN UINTN Port
49 Writes the 8-bit I/O port specified by Port with the value specified by Value
55 @param Port The I/O port to write.
64 IN UINTN Port,
75 Reads the 16-bit I/O port specified by Port. The 16-bit read value is returned.
81 @param Port The I/O port to read.
89 IN UINTN Port
99 Writes the 16-bit I/O port specified by Port wit
63 IoWrite8( IN UINTN Port, IN UINT8 Value ) argument
113 IoWrite16( IN UINTN Port, IN UINT16 Value ) argument
163 IoWrite32( IN UINTN Port, IN UINT32 Value ) argument
215 IoWrite64( IN UINTN Port, IN UINT64 Value ) argument
[all...]
/device/linaro/bootloader/OpenPlatformPkg/Chips/Hisilicon/Hi1610/Drivers/PcieInit1610/
H A DPcieInit.c23 extern VOID PcieRegWrite(UINT32 Port, UINTN Offset, UINT32 Value);
24 extern EFI_STATUS PciePortReset(UINT32 HostBridgeNum, UINT32 Port);
29 //Port 0
41 //Port 1
52 //Port 2
63 //Port 3
73 //Port 4
83 //Port 5
93 //Port 6
103 //Port
122 UINT32 Port; local
[all...]
/device/linaro/bootloader/edk2/EmbeddedPkg/Ebl/
H A DHwIoDebug.c49 UINTN Port; local
56 Port = AsciiStrHexToUintn (Argv[1]);
60 Data = IoRead8 (Port);
62 Data = IoRead16 (Port);
64 Data = IoRead32 (Port);
69 AsciiPrint ("0x%04x = 0x%x", Port, Data);
100 UINTN Port; local
107 Port = AsciiStrHexToUintn (Argv[1]);
112 IoWrite8 (Port, (UINT8)Data);
114 IoWrite16 (Port, (UINT1
[all...]
/device/linaro/bootloader/OpenPlatformPkg/Chips/Hisilicon/Include/Library/
H A DI2CLib.h42 UINT32 Port; member in struct:__anon1425
50 I2CInit(UINT32 Socket, UINT32 Port, SPEED_MODE SpeedMode);
70 I2CSdaConfig(UINT32 Socket, UINT32 Port);
/device/linaro/bootloader/OpenPlatformPkg/Platforms/Hisilicon/D02/OemNicConfigD02/
H A DOemNicConfigD02.c29 EFIAPI OemGetMac (IN OUT EFI_MAC_ADDRESS *Mac, IN UINTN Port);
32 EFIAPI OemSetMac (IN EFI_MAC_ADDRESS *Mac, IN UINTN Port);
40 EFI_STATUS OemGetMacE2prom(IN UINT32 Port, OUT UINT8 *pucAddr) argument
53 I2cOffset = I2C_OFFSET_EEPROM_ETH0 + (Port * 6);
56 stI2cDev.Port = EEPROM_I2C_PORT;
70 EFI_STATUS OemSetMacE2prom(IN UINT32 Port, IN UINT8 *pucAddr) argument
83 I2cOffset = I2C_OFFSET_EEPROM_ETH0 + (Port * 6);
86 stI2cDev.Port = EEPROM_I2C_PORT;
102 IN UINTN Port
115 Status = OemGetMacE2prom(Port, Ma
[all...]
/device/linaro/bootloader/edk2/Omap35xxPkg/Gpio/
H A DGpio.c32 UINTN Port; local
41 Port = GPIO_PORT(Gpio);
44 DataInRegister = GpioBase(Port) + GPIO_DATAIN;
62 UINTN Port; local
68 Port = GPIO_PORT(Gpio);
71 OutputEnableRegister = GpioBase(Port) + GPIO_OE;
72 SetDataOutRegister = GpioBase(Port) + GPIO_SETDATAOUT;
73 ClearDataOutRegister = GpioBase(Port) + GPIO_CLEARDATAOUT;
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Metronome/
H A DLegacyMetronome.c61 @param Port IO Port
62 @param Data Data in IO Port
69 UINT16 Port,
76 Port,
146 on the Port 61 timer.
59 ScriptWriteIo8( UINT16 Port, UINT8 Data ) argument
/device/linaro/bootloader/OpenPlatformPkg/Drivers/Net/MarvellYukonDxe/
H A DMarvellYukon.h46 UINTN Port; member in struct:__anon2485
/device/linaro/bootloader/edk2/MdePkg/Library/PeiIoLibCpuIo/
H A DIoLib.c26 Reads the 8-bit I/O port specified by Port. The 8-bit read value is returned.
32 @param Port The I/O port to read.
40 IN UINTN Port
50 return CpuIo->IoRead8 (PeiServices, CpuIo, (UINT64) Port);
56 Writes the 8-bit I/O port specified by Port with the value specified by Value
62 @param Port The I/O port to write.
71 IN UINTN Port,
82 CpuIo->IoWrite8 (PeiServices, CpuIo, (UINT64) Port, Value);
89 Reads the 16-bit I/O port specified by Port. The 16-bit read value is returned.
94 If Port i
70 IoWrite8( IN UINTN Port, IN UINT8 Value ) argument
138 IoWrite16( IN UINTN Port, IN UINT16 Value ) argument
209 IoWrite32( IN UINTN Port, IN UINT32 Value ) argument
280 IoWrite64( IN UINTN Port, IN UINT64 Value ) argument
[all...]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeIoLibCpuIo/
H A DIoLib.c60 Reads the I/O port specified by Port with registers width specified by Width.
64 @param Port The base address of the I/O operation.
74 IN UINTN Port,
81 Status = mCpuIo->Io.Read (mCpuIo, Width, Port, 1, &Data);
90 Writes the I/O port specified by Port with registers width and value specified by Width
94 @param Port The base address of the I/O operation.
105 IN UINTN Port,
112 Status = mCpuIo->Io.Write (mCpuIo, Width, Port, 1, &Data);
181 Reads the 8-bit I/O port specified by Port. The 8-bit read value is returned.
187 @param Port Th
73 IoReadWorker( IN UINTN Port, IN EFI_CPU_IO_PROTOCOL_WIDTH Width ) argument
104 IoWriteWorker( IN UINTN Port, IN EFI_CPU_IO_PROTOCOL_WIDTH Width, IN UINT64 Data ) argument
218 IoWrite8( IN UINTN Port, IN UINT8 Value ) argument
270 IoWrite16( IN UINTN Port, IN UINT16 Value ) argument
326 IoWrite32( IN UINTN Port, IN UINT32 Value ) argument
382 IoWrite64( IN UINTN Port, IN UINT64 Value ) argument
[all...]
/device/linaro/bootloader/edk2/IntelFrameworkPkg/Library/DxeIoLibCpuIo/
H A DIoLib.c57 Reads the I/O port specified by Port with registers width specified by Width.
61 @param Port The base address of the I/O operation.
71 IN UINTN Port,
78 Status = mCpuIo->Io.Read (mCpuIo, Width, Port, 1, &Data);
87 Writes the I/O port specified by Port with registers width and value specified by Width
91 @param Port The base address of the I/O operation.
102 IN UINTN Port,
109 Status = mCpuIo->Io.Write (mCpuIo, Width, Port, 1, &Data);
179 Reads the 8-bit I/O port specified by Port. The 8-bit read value is returned.
185 @param Port Th
70 IoReadWorker( IN UINTN Port, IN EFI_CPU_IO_PROTOCOL_WIDTH Width ) argument
101 IoWriteWorker( IN UINTN Port, IN EFI_CPU_IO_PROTOCOL_WIDTH Width, IN UINT64 Data ) argument
216 IoWrite8( IN UINTN Port, IN UINT8 Value ) argument
272 IoWrite16( IN UINTN Port, IN UINT16 Value ) argument
332 IoWrite32( IN UINTN Port, IN UINT32 Value ) argument
392 IoWrite64( IN UINTN Port, IN UINT64 Value ) argument
[all...]
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Usb/UsbBusPei/
H A DHubPeim.c26 @param Port Usb hub port number (starting from 1).
29 @retval EFI_SUCCESS Port status is obtained successfully.
38 IN UINT8 Port,
51 DeviceRequest.Index = Port;
72 @param Port Usb hub port number (starting from 1).
75 @retval EFI_SUCCESS Port feature is set successfully.
84 IN UINT8 Port,
98 DeviceRequest.Index = Port;
116 @param Port Usb hub port number (starting from 1).
119 @retval EFI_SUCCESS Port featur
35 PeiHubGetPortStatus( IN EFI_PEI_SERVICES **PeiServices, IN PEI_USB_IO_PPI *UsbIoPpi, IN UINT8 Port, OUT UINT32 *PortStatus ) argument
81 PeiHubSetPortFeature( IN EFI_PEI_SERVICES **PeiServices, IN PEI_USB_IO_PPI *UsbIoPpi, IN UINT8 Port, IN UINT8 Value ) argument
125 PeiHubClearPortFeature( IN EFI_PEI_SERVICES **PeiServices, IN PEI_USB_IO_PPI *UsbIoPpi, IN UINT8 Port, IN UINT8 Value ) argument
[all...]

Completed in 387 milliseconds

1234