Lines Matching defs:Port

20   Reads the I/O port specified by Port with registers width specified by Width.
24 @param Port The base address of the I/O operation.
34 IN UINTN Port,
48 Port,
62 Writes the I/O port specified by Port with registers width and value specified by Width
66 @param Port The base address of the I/O operation.
77 IN UINTN Port,
89 Port,
186 Reads the 8-bit I/O port specified by Port. The 8-bit read value is returned.
192 @param Port The I/O port to read.
200 IN UINTN Port
203 return (UINT8)IoReadWorker (Port, EfiCpuIoWidthUint8);
209 Writes the 8-bit I/O port specified by Port with the value specified by Value
215 @param Port The I/O port to write.
224 IN UINTN Port,
228 return (UINT8)IoWriteWorker (Port, EfiCpuIoWidthUint8, Value);
234 Reads the 16-bit I/O port specified by Port. The 16-bit read value is returned.
240 @param Port The I/O port to read.
248 IN UINTN Port
252 // Make sure Port is aligned on a 16-bit boundary.
254 ASSERT ((Port & 1) == 0);
255 return (UINT16)IoReadWorker (Port, EfiCpuIoWidthUint16);
261 Writes the 16-bit I/O port specified by Port with the value specified by Value
267 @param Port The I/O port to write.
276 IN UINTN Port,
281 // Make sure Port is aligned on a 16-bit boundary.
283 ASSERT ((Port & 1) == 0);
284 return (UINT16)IoWriteWorker (Port, EfiCpuIoWidthUint16, Value);
290 Reads the 32-bit I/O port specified by Port. The 32-bit read value is returned.
296 @param Port The I/O port to read.
304 IN UINTN Port
308 // Make sure Port is aligned on a 32-bit boundary.
310 ASSERT ((Port & 3) == 0);
311 return (UINT32)IoReadWorker (Port, EfiCpuIoWidthUint32);
317 Writes the 32-bit I/O port specified by Port with the value specified by Value
323 @param Port The I/O port to write.
332 IN UINTN Port,
337 // Make sure Port is aligned on a 32-bit boundary.
339 ASSERT ((Port & 3) == 0);
340 return (UINT32)IoWriteWorker (Port, EfiCpuIoWidthUint32, Value);
346 Reads the 64-bit I/O port specified by Port. The 64-bit read value is returned.
352 @param Port The I/O port to read.
360 IN UINTN Port
364 // Make sure Port is aligned on a 64-bit boundary.
366 ASSERT ((Port & 7) == 0);
367 return IoReadWorker (Port, EfiCpuIoWidthUint64);
373 Writes the 64-bit I/O port specified by Port with the value specified by Value
379 @param Port The I/O port to write.
388 IN UINTN Port,
393 // Make sure Port is aligned on a 64-bit boundary.
395 ASSERT ((Port & 7) == 0);
396 return IoWriteWorker (Port, EfiCpuIoWidthUint64, Value);