Home | History | Annotate | Download | only in DxeIoLibCpuIo

Lines Matching refs:Port

60   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.
97 @param Data The value to write to the I/O port.
105 IN UINTN Port,
112 Status = mCpuIo->Io.Write (mCpuIo, Width, Port, 1, &Data);
179 Reads an 8-bit I/O port.
181 Reads the 8-bit I/O port specified by Port. The 8-bit read value is returned.
185 If 8-bit I/O port operations are not supported, then ASSERT().
187 @param Port The I/O port to read.
195 IN UINTN Port
198 return (UINT8)IoReadWorker (Port, EfiCpuIoWidthUint8);
202 Writes an 8-bit I/O port.
204 Writes the 8-bit I/O port specified by Port with the value specified by Value
208 If 8-bit I/O port operations are not supported, then ASSERT().
210 @param Port The I/O port to write.
211 @param Value The value to write to the I/O port.
213 @return The value written the I/O port.
219 IN UINTN Port,
223 return (UINT8)IoWriteWorker (Port, EfiCpuIoWidthUint8, Value);
227 Reads a 16-bit I/O port.
229 Reads the 16-bit I/O port specified by Port. The 16-bit read value is returned.
233 If 16-bit I/O port operations are not supported, 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);
254 Writes a 16-bit I/O port.
256 Writes the 16-bit I/O port specified by Port with the value specified by Value
260 If 16-bit I/O port operations are not supported, then ASSERT().
262 @param Port The I/O port to write.
263 @param Value The value to write to the I/O port.
265 @return The value written the I/O port.
271 IN UINTN Port,
276 // Make sure Port is aligned on a 16-bit boundary.
278 ASSERT ((Port & 1) == 0);
279 return (UINT16)IoWriteWorker (Port, EfiCpuIoWidthUint16, Value);
283 Reads a 32-bit I/O port.
285 Reads the 32-bit I/O port specified by Port. The 32-bit read value is returned.
289 If 32-bit I/O port operations are not supported, then ASSERT().
291 @param Port The I/O port to read.
299 IN UINTN Port
303 // Make sure Port is aligned on a 32-bit boundary.
305 ASSERT ((Port & 3) == 0);
306 return (UINT32)IoReadWorker (Port, EfiCpuIoWidthUint32);
310 Writes a 32-bit I/O port.
312 Writes the 32-bit I/O port specified by Port with the value specified by Value
316 If 32-bit I/O port operations are not supported, then ASSERT().
318 @param Port The I/O port to write.
319 @param Value The value to write to the I/O port.
321 @return The value written the I/O port.
327 IN UINTN Port,
332 // Make sure Port is aligned on a 32-bit boundary.
334 ASSERT ((Port & 3) == 0);
335 return (UINT32)IoWriteWorker (Port, EfiCpuIoWidthUint32, Value);
339 Reads a 64-bit I/O port.
341 Reads the 64-bit I/O port specified by Port. The 64-bit read value is returned.
345 If 64-bit I/O port operations are not supported, then ASSERT().
347 @param Port The I/O port to read.
355 IN UINTN Port
359 // Make sure Port is aligned on a 64-bit boundary.
361 ASSERT ((Port & 7) == 0);
362 return IoReadWorker (Port, EfiCpuIoWidthUint64);
366 Writes a 64-bit I/O port.
368 Writes the 64-bit I/O port specified by Port with the value specified by Value
372 If 64-bit I/O port operations are not supported, then ASSERT().
374 @param Port The I/O port to write.
375 @param Value The value to write to the I/O port.
377 @return The value written the I/O port.
383 IN UINTN Port,
388 // Make sure Port is aligned on a 64-bit boundary.
390 ASSERT ((Port & 7) == 0);
391 return IoWriteWorker (Port, EfiCpuIoWidthUint64, Value);