Home | History | Annotate | Download | only in CpuIo2Smm

Lines Matching refs:Address

51   @param[in]  Address        The base address of the I/O operations.  The caller is 

52 responsible for aligning the Address if required.
59 @retval EFI_UNSUPPORTED The Address is not valid for this system.
67 IN UINT64 Address,
97 // Check to see if any address associated with this transfer exceeds the maximum
98 // allowed address. The maximum address implied by the parameters passed in is
99 // Address + Size * Count. If the following condition is met, then the transfer
102 // Address + Size * Count > (MmioOperation ? MAX_ADDRESS : MAX_IO_PORT_ADDRESS) + 1
113 if (Address > Limit) {
121 if (Address > LShiftU64 (MaxCount - Count + 1, Width)) {
127 // Check to see if Address is aligned
129 if ((Address & (UINT64)(mStride[Width] - 1)) != 0) {
145 @param[in] Address The base address of the I/O operations. The caller is
146 responsible for aligning the Address if required.
153 @retval EFI_UNSUPPORTED The Address is not valid for this system.
164 IN UINT64 Address,
173 Status = CpuIoCheckParameter (TRUE, Width, Address, Count, Buffer);
182 for (Uint8Buffer = Buffer; Count > 0; Address += Stride, Uint8Buffer += Stride, Count--) {
184 *Uint8Buffer = MmioRead8 ((UINTN)Address);
186 *((UINT16 *)Uint8Buffer) = MmioRead16 ((UINTN)Address);
188 *((UINT32 *)Uint8Buffer) = MmioRead32 ((UINTN)Address);
190 *((UINT64 *)Uint8Buffer) = MmioRead64 ((UINTN)Address);
205 @param[in] Address The base address of the I/O operations. The caller is
206 responsible for aligning the Address if required.
213 @retval EFI_UNSUPPORTED The Address is not valid for this system.
224 IN UINT64 Address,
233 Status = CpuIoCheckParameter (TRUE, Width, Address, Count, Buffer);
242 for (Uint8Buffer = Buffer; Count > 0; Address += Stride, Uint8Buffer += Stride, Count--) {
244 MmioWrite8 ((UINTN)Address, *Uint8Buffer);
246 MmioWrite16 ((UINTN)Address, *((UINT16 *)Uint8Buffer));
248 MmioWrite32 ((UINTN)Address, *((UINT32 *)Uint8Buffer));
250 MmioWrite64 ((UINTN)Address, *((UINT64 *)Uint8Buffer));
265 @param[in] Address The base address of the I/O operations. The caller is
266 responsible for aligning the Address if required.
273 @retval EFI_UNSUPPORTED The Address is not valid for this system.
284 IN UINT64 Address,
293 Status = CpuIoCheckParameter (FALSE, Width, Address, Count, Buffer);
302 for (Uint8Buffer = Buffer; Count > 0; Address += Stride, Uint8Buffer += Stride, Count--) {
304 *Uint8Buffer = IoRead8 ((UINTN)Address);
306 *((UINT16 *)Uint8Buffer) = IoRead16 ((UINTN)Address);
308 *((UINT32 *)Uint8Buffer) = IoRead32 ((UINTN)Address);
324 @param[in] Address The base address of the I/O operations. The caller is
325 responsible for aligning the Address if required.
332 @retval EFI_UNSUPPORTED The Address is not valid for this system.
343 IN UINT64 Address,
355 Status = CpuIoCheckParameter (FALSE, Width, Address, Count, Buffer);
364 for (Uint8Buffer = (UINT8 *)Buffer; Count > 0; Address += Stride, Uint8Buffer += Stride, Count--) {
366 IoWrite8 ((UINTN)Address, *Uint8Buffer);
368 IoWrite16 ((UINTN)Address, *((UINT16 *)Uint8Buffer));
370 IoWrite32 ((UINTN)Address, *((UINT32 *)Uint8Buffer));