Lines Matching defs:Port

22   Reads the I/O port specified by Port with registers width specified by Width.
26 @param Port The base address of the I/O operation.
36 IN UINTN Port,
43 Status = gSmst->SmmIo.Io.Read (&gSmst->SmmIo, Width, Port, 1, &Data);
52 Writes the I/O port specified by Port with registers width and value specified by Width
56 @param Port The base address of the I/O operation.
67 IN UINTN Port,
74 Status = gSmst->SmmIo.Io.Write (&gSmst->SmmIo, Width, Port, 1, &Data);
144 Reads the 8-bit I/O port specified by Port. The 8-bit read value is returned.
150 @param Port The I/O port to read.
158 IN UINTN Port
161 return (UINT8)IoReadWorker (Port, SMM_IO_UINT8);
167 Writes the 8-bit I/O port specified by Port with the value specified by Value
173 @param Port The I/O port to write.
182 IN UINTN Port,
186 return (UINT8)IoWriteWorker (Port, SMM_IO_UINT8, Value);
192 Reads the 16-bit I/O port specified by Port. The 16-bit read value is returned.
196 If Port is not aligned on a 16-bit boundary, then ASSERT().
200 @param Port The I/O port to read.
208 IN UINTN Port
212 // Make sure Port is aligned on a 16-bit boundary.
214 ASSERT ((Port & 1) == 0);
215 return (UINT16)IoReadWorker (Port, SMM_IO_UINT16);
221 Writes the 16-bit I/O port specified by Port with the value specified by Value
225 If Port is not aligned on a 16-bit boundary, then ASSERT().
229 @param Port The I/O port to write.
238 IN UINTN Port,
243 // Make sure Port is aligned on a 16-bit boundary.
245 ASSERT ((Port & 1) == 0);
246 return (UINT16)IoWriteWorker (Port, SMM_IO_UINT16, Value);
252 Reads the 32-bit I/O port specified by Port. The 32-bit read value is returned.
256 If Port is not aligned on a 32-bit boundary, then ASSERT().
260 @param Port The I/O port to read.
268 IN UINTN Port
272 // Make sure Port is aligned on a 32-bit boundary.
274 ASSERT ((Port & 3) == 0);
275 return (UINT32)IoReadWorker (Port, SMM_IO_UINT32);
281 Writes the 32-bit I/O port specified by Port with the value specified by Value
285 If Port is not aligned on a 32-bit boundary, then ASSERT().
289 @param Port The I/O port to write.
298 IN UINTN Port,
303 // Make sure Port is aligned on a 32-bit boundary.
305 ASSERT ((Port & 3) == 0);
306 return (UINT32)IoWriteWorker (Port, SMM_IO_UINT32, Value);
312 Reads the 64-bit I/O port specified by Port. The 64-bit read value is returned.
316 If Port is not aligned on a 64-bit boundary, then ASSERT().
320 @param Port The I/O port to read.
328 IN UINTN Port
332 // Make sure Port is aligned on a 64-bit boundary.
334 ASSERT ((Port & 7) == 0);
335 return IoReadWorker (Port, SMM_IO_UINT64);
341 Writes the 64-bit I/O port specified by Port with the value specified by Value
345 If Port is not aligned on a 64-bit boundary, then ASSERT().
349 @param Port The I/O port to write.
358 IN UINTN Port,
363 // Make sure Port is aligned on a 64-bit boundary.
365 ASSERT ((Port & 7) == 0);
366 return IoWriteWorker (Port, SMM_IO_UINT64, Value);