Lines Matching defs:Port

57   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 The I/O port to read.
193 IN UINTN Port
196 return (UINT8)IoReadWorker (Port, EfiCpuIoWidthUint8);
202 Writes the 8-bit I/O port specified by Port with the value specified by Value
208 @param Port The I/O port to write.
217 IN UINTN Port,
221 return (UINT8)IoWriteWorker (Port, EfiCpuIoWidthUint8, Value);
227 Reads the 16-bit I/O port specified by Port. The 16-bit read value is returned.
231 If Port is not aligned on a 16-bit boundary, then ASSERT().
235 @param Port The I/O port to read.
243 IN UINTN Port
247 // Make sure Port is aligned on a 16-bit boundary.
249 ASSERT ((Port & 1) == 0);
250 return (UINT16)IoReadWorker (Port, EfiCpuIoWidthUint16);
256 Writes the 16-bit I/O port specified by Port with the value specified by Value
260 If Port is not aligned on a 16-bit boundary, then ASSERT().
264 @param Port The I/O port to write.
273 IN UINTN Port,
278 // Make sure Port is aligned on a 16-bit boundary.
280 ASSERT ((Port & 1) == 0);
281 return (UINT16)IoWriteWorker (Port, EfiCpuIoWidthUint16, Value);
287 Reads the 32-bit I/O port specified by Port. The 32-bit read value is returned.
291 If Port is not aligned on a 32-bit boundary, then ASSERT().
295 @param Port The I/O port to read.
303 IN UINTN Port
307 // Make sure Port is aligned on a 32-bit boundary.
309 ASSERT ((Port & 3) == 0);
310 return (UINT32)IoReadWorker (Port, EfiCpuIoWidthUint32);
316 Writes the 32-bit I/O port specified by Port with the value specified by Value
320 If Port is not aligned on a 32-bit boundary, then ASSERT().
324 @param Port The I/O port to write.
333 IN UINTN Port,
338 // Make sure Port is aligned on a 32-bit boundary.
340 ASSERT ((Port & 3) == 0);
341 return (UINT32)IoWriteWorker (Port, EfiCpuIoWidthUint32, Value);
347 Reads the 64-bit I/O port specified by Port. The 64-bit read value is returned.
351 If Port is not aligned on a 64-bit boundary, then ASSERT().
355 @param Port The I/O port to read.
363 IN UINTN Port
367 // Make sure Port is aligned on a 64-bit boundary.
369 ASSERT ((Port & 7) == 0);
370 return IoReadWorker (Port, EfiCpuIoWidthUint64);
376 Writes the 64-bit I/O port specified by Port with the value specified by Value
380 If Port is not aligned on a 64-bit boundary, then ASSERT().
384 @param Port The I/O port to write.
393 IN UINTN Port,
398 // Make sure Port is aligned on a 64-bit boundary.
400 ASSERT ((Port & 7) == 0);
401 return IoWriteWorker (Port, EfiCpuIoWidthUint64, Value);