Lines Matching defs:Width

82   @param[in] Width          Signifies the width of the I/O or Memory operation.
85 bytes moved is Width size * Count, starting at Address.
90 @retval EFI_INVALID_PARAMETER Width is invalid for this PI system.
92 @retval EFI_UNSUPPORTED The Buffer is not aligned for the given Width.
93 @retval EFI_UNSUPPORTED The address range specified by Address, Width,
100 IN EFI_CPU_IO_PROTOCOL_WIDTH Width,
117 // Check to see if Width is in the valid range
119 if (Width < 0 || Width >= EfiCpuIoWidthMaximum) {
127 if (Width >= EfiCpuIoWidthFifoUint8 && Width <= EfiCpuIoWidthFifoUint64) {
132 // Check to see if Width is in the valid range for I/O Port operations
134 Width = (EFI_CPU_IO_PROTOCOL_WIDTH) (Width & 0x03);
135 if (!MmioOperation && (Width == EfiCpuIoWidthUint64)) {
142 if ((Address & (UINT64)(mInStride[Width] - 1)) != 0) {
167 MaxCount = RShiftU64 (Limit, Width);
171 if (Address > LShiftU64 (MaxCount - Count + 1, Width)) {
180 if (((UINTN)Buffer & ((MIN (sizeof (UINTN), mInStride[Width]) - 1))) != 0) {
196 If Width is EfiCpuIoWidthUint8, EfiCpuIoWidthUint16, EfiCpuIoWidthUint32,
200 If Width is EfiCpuIoWidthFifoUint8, EfiCpuIoWidthFifoUint16,
205 If Width is EfiCpuIoWidthFillUint8, EfiCpuIoWidthFillUint16,
211 @param[in] Width Signifies the width of the I/O or Memory operation.
214 bytes moved is Width size * Count, starting at Address.
219 @retval EFI_INVALID_PARAMETER Width is invalid for this PI system.
221 @retval EFI_UNSUPPORTED The Buffer is not aligned for the given Width.
222 @retval EFI_UNSUPPORTED The address range specified by Address, Width,
230 IN EFI_CPU_IO_PROTOCOL_WIDTH Width,
242 Status = CpuIoCheckParameter (TRUE, Width, Address, Count, Buffer);
250 InStride = mInStride[Width];
251 OutStride = mOutStride[Width];
252 OperationWidth = (EFI_CPU_IO_PROTOCOL_WIDTH) (Width & 0x03);
276 If Width is EfiCpuIoWidthUint8, EfiCpuIoWidthUint16, EfiCpuIoWidthUint32,
280 If Width is EfiCpuIoWidthFifoUint8, EfiCpuIoWidthFifoUint16,
285 If Width is EfiCpuIoWidthFillUint8, EfiCpuIoWidthFillUint16,
291 @param[in] Width Signifies the width of the I/O or Memory operation.
294 bytes moved is Width size * Count, starting at Address.
299 @retval EFI_INVALID_PARAMETER Width is invalid for this PI system.
301 @retval EFI_UNSUPPORTED The Buffer is not aligned for the given Width.
302 @retval EFI_UNSUPPORTED The address range specified by Address, Width,
310 IN EFI_CPU_IO_PROTOCOL_WIDTH Width,
322 Status = CpuIoCheckParameter (TRUE, Width, Address, Count, Buffer);
330 InStride = mInStride[Width];
331 OutStride = mOutStride[Width];
332 OperationWidth = (EFI_CPU_IO_PROTOCOL_WIDTH) (Width & 0x03);
356 If Width is EfiCpuIoWidthUint8, EfiCpuIoWidthUint16, EfiCpuIoWidthUint32,
360 If Width is EfiCpuIoWidthFifoUint8, EfiCpuIoWidthFifoUint16,
365 If Width is EfiCpuIoWidthFillUint8, EfiCpuIoWidthFillUint16,
371 @param[in] Width Signifies the width of the I/O or Memory operation.
374 bytes moved is Width size * Count, starting at Address.
379 @retval EFI_INVALID_PARAMETER Width is invalid for this PI system.
381 @retval EFI_UNSUPPORTED The Buffer is not aligned for the given Width.
382 @retval EFI_UNSUPPORTED The address range specified by Address, Width,
390 IN EFI_CPU_IO_PROTOCOL_WIDTH Width,
402 Status = CpuIoCheckParameter (FALSE, Width, Address, Count, Buffer);
410 InStride = mInStride[Width];
411 OutStride = mOutStride[Width];
412 OperationWidth = (EFI_CPU_IO_PROTOCOL_WIDTH) (Width & 0x03);
435 If Width is EfiCpuIoWidthUint8, EfiCpuIoWidthUint16, EfiCpuIoWidthUint32,
439 If Width is EfiCpuIoWidthFifoUint8, EfiCpuIoWidthFifoUint16,
444 If Width is EfiCpuIoWidthFillUint8, EfiCpuIoWidthFillUint16,
450 @param[in] Width Signifies the width of the I/O or Memory operation.
453 bytes moved is Width size * Count, starting at Address.
458 @retval EFI_INVALID_PARAMETER Width is invalid for this PI system.
460 @retval EFI_UNSUPPORTED The Buffer is not aligned for the given Width.
461 @retval EFI_UNSUPPORTED The address range specified by Address, Width,
469 IN EFI_CPU_IO_PROTOCOL_WIDTH Width,
484 Status = CpuIoCheckParameter (FALSE, Width, Address, Count, Buffer);
492 InStride = mInStride[Width];
493 OutStride = mOutStride[Width];
494 OperationWidth = (EFI_CPU_IO_PROTOCOL_WIDTH) (Width & 0x03);