Home | History | Annotate | Download | only in DxeIoLibEsal

Lines Matching refs: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.
69 @param Data The value to write to the I/O port.
77 IN UINTN Port,
89 Port,
184 Reads an 8-bit I/O port.
186 Reads the 8-bit I/O port specified by Port. The 8-bit read value is returned.
190 If 8-bit I/O port operations are not supported, then ASSERT().
192 @param Port The I/O port to read.
200 IN UINTN Port
203 return (UINT8)IoReadWorker (Port, EfiCpuIoWidthUint8);
207 Writes an 8-bit I/O port.
209 Writes the 8-bit I/O port specified by Port with the value specified by Value
213 If 8-bit I/O port operations are not supported, then ASSERT().
215 @param Port The I/O port to write.
216 @param Value The value to write to the I/O port.
218 @return The value written the I/O port.
224 IN UINTN Port,
228 return (UINT8)IoWriteWorker (Port, EfiCpuIoWidthUint8, Value);
232 Reads a 16-bit I/O port.
234 Reads the 16-bit I/O port specified by Port. The 16-bit read value is returned.
238 If 16-bit I/O port operations are not supported, then ASSERT().
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);
259 Writes a 16-bit I/O port.
261 Writes the 16-bit I/O port specified by Port with the value specified by Value
265 If 16-bit I/O port operations are not supported, then ASSERT().
267 @param Port The I/O port to write.
268 @param Value The value to write to the I/O port.
270 @return The value written the I/O port.
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);
288 Reads a 32-bit I/O port.
290 Reads the 32-bit I/O port specified by Port. The 32-bit read value is returned.
294 If 32-bit I/O port operations are not supported, then ASSERT().
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);
315 Writes a 32-bit I/O port.
317 Writes the 32-bit I/O port specified by Port with the value specified by Value
321 If 32-bit I/O port operations are not supported, then ASSERT().
323 @param Port The I/O port to write.
324 @param Value The value to write to the I/O port.
326 @return The value written the I/O port.
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);
344 Reads a 64-bit I/O port.
346 Reads the 64-bit I/O port specified by Port. The 64-bit read value is returned.
350 If 64-bit I/O port operations are not supported, then ASSERT().
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);
371 Writes a 64-bit I/O port.
373 Writes the 64-bit I/O port specified by Port with the value specified by Value
377 If 64-bit I/O port operations are not supported, then ASSERT().
379 @param Port The I/O port to write.
380 @param Value The value to write to the I/O port.
382 @return The value written the I/O port.
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);