• Home
  • Raw
  • Download

Lines Matching refs:EndBit

34   IN      UINTN                     EndBit  in InternalBaseLibBitFieldReadUint()  argument
41 return (Operand & ~((UINTN)-2 << EndBit)) >> StartBit; in InternalBaseLibBitFieldReadUint()
67 IN UINTN EndBit, in InternalBaseLibBitFieldOrUint() argument
77 ASSERT ((OrData >> (EndBit - StartBit)) == ((OrData >> (EndBit - StartBit)) & 1)); in InternalBaseLibBitFieldOrUint()
83 return Operand | ((OrData << StartBit) & ~((UINTN) -2 << EndBit)); in InternalBaseLibBitFieldOrUint()
109 IN UINTN EndBit, in InternalBaseLibBitFieldAndUint() argument
119 ASSERT ((AndData >> (EndBit - StartBit)) == ((AndData >> (EndBit - StartBit)) & 1)); in InternalBaseLibBitFieldAndUint()
125 return Operand & ~((~AndData << StartBit) & ~((UINTN)-2 << EndBit)); in InternalBaseLibBitFieldAndUint()
152 IN UINTN EndBit in BitFieldRead8() argument
155 ASSERT (EndBit < 8); in BitFieldRead8()
156 ASSERT (StartBit <= EndBit); in BitFieldRead8()
157 return (UINT8)InternalBaseLibBitFieldReadUint (Operand, StartBit, EndBit); in BitFieldRead8()
188 IN UINTN EndBit, in BitFieldWrite8() argument
192 ASSERT (EndBit < 8); in BitFieldWrite8()
193 ASSERT (StartBit <= EndBit); in BitFieldWrite8()
194 return BitFieldAndThenOr8 (Operand, StartBit, EndBit, 0, Value); in BitFieldWrite8()
226 IN UINTN EndBit, in BitFieldOr8() argument
230 ASSERT (EndBit < 8); in BitFieldOr8()
231 ASSERT (StartBit <= EndBit); in BitFieldOr8()
232 return (UINT8)InternalBaseLibBitFieldOrUint (Operand, StartBit, EndBit, OrData); in BitFieldOr8()
264 IN UINTN EndBit, in BitFieldAnd8() argument
268 ASSERT (EndBit < 8); in BitFieldAnd8()
269 ASSERT (StartBit <= EndBit); in BitFieldAnd8()
270 return (UINT8)InternalBaseLibBitFieldAndUint (Operand, StartBit, EndBit, AndData); in BitFieldAnd8()
305 IN UINTN EndBit, in BitFieldAndThenOr8() argument
310 ASSERT (EndBit < 8); in BitFieldAndThenOr8()
311 ASSERT (StartBit <= EndBit); in BitFieldAndThenOr8()
313 BitFieldAnd8 (Operand, StartBit, EndBit, AndData), in BitFieldAndThenOr8()
315 EndBit, in BitFieldAndThenOr8()
344 IN UINTN EndBit in BitFieldRead16() argument
347 ASSERT (EndBit < 16); in BitFieldRead16()
348 ASSERT (StartBit <= EndBit); in BitFieldRead16()
349 return (UINT16)InternalBaseLibBitFieldReadUint (Operand, StartBit, EndBit); in BitFieldRead16()
380 IN UINTN EndBit, in BitFieldWrite16() argument
384 ASSERT (EndBit < 16); in BitFieldWrite16()
385 ASSERT (StartBit <= EndBit); in BitFieldWrite16()
386 return BitFieldAndThenOr16 (Operand, StartBit, EndBit, 0, Value); in BitFieldWrite16()
418 IN UINTN EndBit, in BitFieldOr16() argument
422 ASSERT (EndBit < 16); in BitFieldOr16()
423 ASSERT (StartBit <= EndBit); in BitFieldOr16()
424 return (UINT16)InternalBaseLibBitFieldOrUint (Operand, StartBit, EndBit, OrData); in BitFieldOr16()
456 IN UINTN EndBit, in BitFieldAnd16() argument
460 ASSERT (EndBit < 16); in BitFieldAnd16()
461 ASSERT (StartBit <= EndBit); in BitFieldAnd16()
462 return (UINT16)InternalBaseLibBitFieldAndUint (Operand, StartBit, EndBit, AndData); in BitFieldAnd16()
497 IN UINTN EndBit, in BitFieldAndThenOr16() argument
502 ASSERT (EndBit < 16); in BitFieldAndThenOr16()
503 ASSERT (StartBit <= EndBit); in BitFieldAndThenOr16()
505 BitFieldAnd16 (Operand, StartBit, EndBit, AndData), in BitFieldAndThenOr16()
507 EndBit, in BitFieldAndThenOr16()
536 IN UINTN EndBit in BitFieldRead32() argument
539 ASSERT (EndBit < 32); in BitFieldRead32()
540 ASSERT (StartBit <= EndBit); in BitFieldRead32()
541 return (UINT32)InternalBaseLibBitFieldReadUint (Operand, StartBit, EndBit); in BitFieldRead32()
572 IN UINTN EndBit, in BitFieldWrite32() argument
576 ASSERT (EndBit < 32); in BitFieldWrite32()
577 ASSERT (StartBit <= EndBit); in BitFieldWrite32()
578 return BitFieldAndThenOr32 (Operand, StartBit, EndBit, 0, Value); in BitFieldWrite32()
610 IN UINTN EndBit, in BitFieldOr32() argument
614 ASSERT (EndBit < 32); in BitFieldOr32()
615 ASSERT (StartBit <= EndBit); in BitFieldOr32()
616 return (UINT32)InternalBaseLibBitFieldOrUint (Operand, StartBit, EndBit, OrData); in BitFieldOr32()
648 IN UINTN EndBit, in BitFieldAnd32() argument
652 ASSERT (EndBit < 32); in BitFieldAnd32()
653 ASSERT (StartBit <= EndBit); in BitFieldAnd32()
654 return (UINT32)InternalBaseLibBitFieldAndUint (Operand, StartBit, EndBit, AndData); in BitFieldAnd32()
689 IN UINTN EndBit, in BitFieldAndThenOr32() argument
694 ASSERT (EndBit < 32); in BitFieldAndThenOr32()
695 ASSERT (StartBit <= EndBit); in BitFieldAndThenOr32()
697 BitFieldAnd32 (Operand, StartBit, EndBit, AndData), in BitFieldAndThenOr32()
699 EndBit, in BitFieldAndThenOr32()
728 IN UINTN EndBit in BitFieldRead64() argument
731 ASSERT (EndBit < 64); in BitFieldRead64()
732 ASSERT (StartBit <= EndBit); in BitFieldRead64()
733 return RShiftU64 (Operand & ~LShiftU64 ((UINT64)-2, EndBit), StartBit); in BitFieldRead64()
764 IN UINTN EndBit, in BitFieldWrite64() argument
768 ASSERT (EndBit < 64); in BitFieldWrite64()
769 ASSERT (StartBit <= EndBit); in BitFieldWrite64()
770 return BitFieldAndThenOr64 (Operand, StartBit, EndBit, 0, Value); in BitFieldWrite64()
802 IN UINTN EndBit, in BitFieldOr64() argument
809 ASSERT (EndBit < 64); in BitFieldOr64()
810 ASSERT (StartBit <= EndBit); in BitFieldOr64()
817 ASSERT (RShiftU64 (OrData, EndBit - StartBit) == (RShiftU64 (OrData, EndBit - StartBit) & 1)); in BitFieldOr64()
820 Value2 = LShiftU64 ((UINT64) - 2, EndBit); in BitFieldOr64()
854 IN UINTN EndBit, in BitFieldAnd64() argument
861 ASSERT (EndBit < 64); in BitFieldAnd64()
862 ASSERT (StartBit <= EndBit); in BitFieldAnd64()
869 ASSERT (RShiftU64 (AndData, EndBit - StartBit) == (RShiftU64 (AndData, EndBit - StartBit) & 1)); in BitFieldAnd64()
872 Value2 = LShiftU64 ((UINT64)-2, EndBit); in BitFieldAnd64()
909 IN UINTN EndBit, in BitFieldAndThenOr64() argument
914 ASSERT (EndBit < 64); in BitFieldAndThenOr64()
915 ASSERT (StartBit <= EndBit); in BitFieldAndThenOr64()
917 BitFieldAnd64 (Operand, StartBit, EndBit, AndData), in BitFieldAndThenOr64()
919 EndBit, in BitFieldAndThenOr64()