Lines Matching refs:Width

66   IN EFI_SMM_IO_WIDTH  Width,  in CpuIoCheckParameter()  argument
85 if ((UINT32)Width > SMM_IO_UINT64) { in CpuIoCheckParameter()
92 if (!MmioOperation && (Width == SMM_IO_UINT64)) { in CpuIoCheckParameter()
117 MaxCount = RShiftU64 (Limit, Width); in CpuIoCheckParameter()
121 if (Address > LShiftU64 (MaxCount - Count + 1, Width)) { in CpuIoCheckParameter()
129 if ((Address & (UINT64)(mStride[Width] - 1)) != 0) { in CpuIoCheckParameter()
163 IN EFI_SMM_IO_WIDTH Width, in CpuMemoryServiceRead() argument
173 Status = CpuIoCheckParameter (TRUE, Width, Address, Count, Buffer); in CpuMemoryServiceRead()
181 Stride = mStride[Width]; in CpuMemoryServiceRead()
183 if (Width == SMM_IO_UINT8) { in CpuMemoryServiceRead()
185 } else if (Width == SMM_IO_UINT16) { in CpuMemoryServiceRead()
187 } else if (Width == SMM_IO_UINT32) { in CpuMemoryServiceRead()
189 } else if (Width == SMM_IO_UINT64) { in CpuMemoryServiceRead()
223 IN EFI_SMM_IO_WIDTH Width, in CpuMemoryServiceWrite() argument
233 Status = CpuIoCheckParameter (TRUE, Width, Address, Count, Buffer); in CpuMemoryServiceWrite()
241 Stride = mStride[Width]; in CpuMemoryServiceWrite()
243 if (Width == SMM_IO_UINT8) { in CpuMemoryServiceWrite()
245 } else if (Width == SMM_IO_UINT16) { in CpuMemoryServiceWrite()
247 } else if (Width == SMM_IO_UINT32) { in CpuMemoryServiceWrite()
249 } else if (Width == SMM_IO_UINT64) { in CpuMemoryServiceWrite()
283 IN EFI_SMM_IO_WIDTH Width, in CpuIoServiceRead() argument
293 Status = CpuIoCheckParameter (FALSE, Width, Address, Count, Buffer); in CpuIoServiceRead()
301 Stride = mStride[Width]; in CpuIoServiceRead()
303 if (Width == SMM_IO_UINT8) { in CpuIoServiceRead()
305 } else if (Width == SMM_IO_UINT16) { in CpuIoServiceRead()
307 } else if (Width == SMM_IO_UINT32) { in CpuIoServiceRead()
342 IN EFI_SMM_IO_WIDTH Width, in CpuIoServiceWrite() argument
355 Status = CpuIoCheckParameter (FALSE, Width, Address, Count, Buffer); in CpuIoServiceWrite()
363 Stride = mStride[Width]; in CpuIoServiceWrite()
365 if (Width == SMM_IO_UINT8) { in CpuIoServiceWrite()
367 } else if (Width == SMM_IO_UINT16) { in CpuIoServiceWrite()
369 } else if (Width == SMM_IO_UINT32) { in CpuIoServiceWrite()