Home | History | Annotate | Download | only in BaseIoLibIntrinsic

Lines Matching defs:Address

23   Translates I/O port address to memory address.

25 This function translates I/O port address to memory address by adding the 64MB
26 aligned I/O Port space to the I/O address.
31 @return The memory address.
39 UINTN Address;
42 Address = MAP_PORT_BASE_TO_MEM (Port);
49 Address += IoBlockBaseAddress;
51 return Address;
257 Reads the 8-bit MMIO register specified by Address. The 8-bit read value is
263 @param Address The MMIO register to read.
271 IN UINTN Address
276 Address |= BIT63;
279 Data = *((volatile UINT8 *) Address);
288 Reads the 16-bit MMIO register specified by Address. The 16-bit read value is
293 If Address is not aligned on a 16-bit boundary, then ASSERT().
295 @param Address The MMIO register to read.
303 IN UINTN Address
309 // Make sure that Address is 16-bit aligned.
311 ASSERT ((Address & 1) == 0);
313 Address |= BIT63;
316 Data = *((volatile UINT16 *) Address);
325 Reads the 32-bit MMIO register specified by Address. The 32-bit read value is
330 If Address is not aligned on a 32-bit boundary, then ASSERT().
332 @param Address The MMIO register to read.
340 IN UINTN Address
346 // Make sure that Address is 32-bit aligned.
348 ASSERT ((Address & 3) == 0);
350 Address |= BIT63;
353 Data = *((volatile UINT32 *) Address);
362 Reads the 64-bit MMIO register specified by Address. The 64-bit read value is
367 If Address is not aligned on a 64-bit boundary, then ASSERT().
369 @param Address The MMIO register to read.
377 IN UINTN Address
383 // Make sure that Address is 64-bit aligned.
385 ASSERT ((Address & 7) == 0);
387 Address |= BIT63;
390 Data = *((volatile UINT64 *) Address);
400 Writes the 8-bit MMIO register specified by Address with the value specified
406 @param Address The MMIO register to write.
415 IN UINTN Address,
419 Address |= BIT63;
422 *((volatile UINT8 *) Address) = Value;
431 Writes the 16-bit MMIO register specified by Address with the value specified
436 If Address is not aligned on a 16-bit boundary, then ASSERT().
438 @param Address The MMIO register to write.
447 IN UINTN Address,
452 // Make sure that Address is 16-bit aligned.
454 ASSERT ((Address & 1) == 0);
456 Address |= BIT63;
459 *((volatile UINT16 *) Address) = Value;
468 Writes the 32-bit MMIO register specified by Address with the value specified
473 If Address is not aligned on a 32-bit boundary, then ASSERT().
475 @param Address The MMIO register to write.
484 IN UINTN Address,
489 // Make sure that Address is 32-bit aligned.
491 ASSERT ((Address & 3) == 0);
493 Address |= BIT63;
496 *((volatile UINT32 *) Address) = Value;
505 Writes the 64-bit MMIO register specified by Address with the value specified
510 If Address is not aligned on a 64-bit boundary, then ASSERT().
512 @param Address The MMIO register to write.
519 IN UINTN Address,
524 // Make sure that Address is 64-bit aligned.
526 ASSERT ((Address & 7) == 0);
528 Address |= BIT63;
531 *((volatile UINT64 *) Address) = Value;