Lines Matching defs:Port

26   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 is not aligned on a 16-bit boundary, then ASSERT().
96 @param Port The I/O port to read.
104 IN UINTN Port
114 // Make sure Port is aligned on a 16-bit boundary.
116 ASSERT ((Port & 1) == 0);
117 return CpuIo->IoRead16 (PeiServices, CpuIo, (UINT64) Port);
123 Writes the 16-bit I/O port specified by Port with the value specified by Value
128 If Port is not aligned on a 16-bit boundary, then ASSERT().
130 @param Port The I/O port to write.
139 IN UINTN Port,
150 // Make sure Port is aligned on a 16-bit boundary.
152 ASSERT ((Port & 1) == 0);
153 CpuIo->IoWrite16 (PeiServices, CpuIo, (UINT64) Port, Value);
160 Reads the 32-bit I/O port specified by Port. The 32-bit read value is returned.
165 If Port is not aligned on a 32-bit boundary, then ASSERT().
167 @param Port The I/O port to read.
175 IN UINTN Port
185 // Make sure Port is aligned on a 32-bit boundary.
187 ASSERT ((Port & 3) == 0);
188 return CpuIo->IoRead32 (PeiServices, CpuIo, (UINT64) Port);
194 Writes the 32-bit I/O port specified by Port with the value specified by Value
199 If Port is not aligned on a 32-bit boundary, then ASSERT().
201 @param Port The I/O port to write.
210 IN UINTN Port,
221 // Make sure Port is aligned on a 32-bit boundary.
223 ASSERT ((Port & 3) == 0);
224 CpuIo->IoWrite32 (PeiServices, CpuIo, (UINT64) Port, Value);
231 Reads the 64-bit I/O port specified by Port. The 64-bit read value is returned.
236 If Port is not aligned on a 64-bit boundary, then ASSERT().
238 @param Port The I/O port to read.
246 IN UINTN Port
256 // Make sure Port is aligned on a 64-bit boundary.
258 ASSERT ((Port & 7) == 0);
259 return CpuIo->IoRead64 (PeiServices, CpuIo, (UINT64) Port);
265 Writes the 64-bit I/O port specified by Port with the value specified by Value
270 If Port is not aligned on a 64-bit boundary, then ASSERT().
272 @param Port The I/O port to write.
281 IN UINTN Port,
292 // Make sure Port is aligned on a 64-bit boundary.
294 ASSERT ((Port & 7) == 0);
295 CpuIo->IoWrite64 (PeiServices, CpuIo, (UINT64) Port, Value);