Searched refs:shift (Results 1 – 10 of 10) sorted by relevance
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Utilities/Crypto/ |
| D | PRINCECipher.cs | 67 var shift = i * 4; in Substitute() 68 state |= coefficients[(data >> shift) & 0xf] << shift; in Substitute() 102 var shift = (inverse ? i : (4 - i)) * 16; in ShiftRows() 103 state |= (row >> shift) | (row << (64 - shift)); in ShiftRows()
|
| D | PRESENTCipher.cs | 69 var shift = i * 4; in Substitute() 70 state |= coefficients[(data >> shift) & 0xf] << shift; in Substitute()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/Timers/ |
| D | PULP_Timer.cs | 55 var shift = j * 4; in PULP_Timer() 57 var configReg = ((Registers)(Registers.ConfigLow + shift)).Define(this) in PULP_Timer() 96 ((Registers)(Registers.CounterValueLow + shift)).Define(this) in PULP_Timer() 111 ((Registers)(Registers.ComparatorLow + shift)).Define(this) in PULP_Timer()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/USBDeprecated/ |
| D | EHCIHostController.cs | 147 long shift; in ReadDoubleWord() 148 if(address.InRange(ehciBaseAddress, capabilitiesLength, out shift)) in ReadDoubleWord() 150 switch((CapabilityRegisters)shift) in ReadDoubleWord() 158 …ciPortStatusControlRegisterOffset + numberOfPorts * EhciPortStatusControlRegisterWidth, out shift)) in ReadDoubleWord() 160 switch((OperationalRegisters)shift) in ReadDoubleWord() 183 if(shift >= EhciPortStatusControlRegisterOffset) in ReadDoubleWord() 185 …var portNumber = (shift - EhciPortStatusControlRegisterOffset) / EhciPortStatusControlRegisterWidt… in ReadDoubleWord() 212 long shift; in WriteDoubleWord() 213 …ciPortStatusControlRegisterOffset + numberOfPorts * EhciPortStatusControlRegisterWidth, out shift)) in WriteDoubleWord() 215 switch((OperationalRegisters)shift) in WriteDoubleWord() [all …]
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/Sensors/ |
| D | HS3001.cs | 157 …ement(Temperature, temperatureResolution, value => ((1 << 14) - 1) * (value + 40) / 165, shift: 2); in Read() 236 …t(decimal value, MeasurementResolution resolution, Func<decimal, decimal> converter, int shift = 0) in ConvertMeasurement() argument 240 … return (ushort)(BitHelper.GetValue((uint)Math.Round(clamped), 0, MeasurementBits) << shift); in ConvertMeasurement()
|
| D | LIS2DW12.cs | 848 var shift = 2; in Convert() 866 shift = 4; in Convert() 875 var valueAsUshort = (ushort)(valueAsInt << shift); // left-align in Convert()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Utilities/Packets/ |
| D | Packet.cs | 209 var shift = (i << 3) - bitOffset; in TryDecode() 210 intermediate |= shift > 0 ? (ulong)b << shift : (ulong)b >> -shift; in TryDecode()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Backends/Display/ |
| D | PixelManipulationTools.cs | 610 var shift = (sbyte)(-bitOffset + additionalShift); in ByteInflate() 613 if ((mask >> shift) == (0xFF >> shift)) in ByteInflate() 618 var descriptor = new TransformationDescriptor(shift, (byte)mask, currentBits); in ByteInflate() 631 public TransformationDescriptor(sbyte shift, byte mask, byte usedBits) : this() in TransformationDescriptor() 633 ShiftBits = shift; in TransformationDescriptor()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Cores/RiscV/ |
| D | OpenTitan_BigNumberAcceleratorCore.cs | 538 var shift = (int)BitHelper.GetValue(opcode, 13, 2) << 6; in BnMulQAccHandler() 545 result = (result << shift) & WideRegister.MaxValueMask; in BnMulQAccHandler() 559 var shift = (int)BitHelper.GetValue(opcode, 13, 2) << 6; in BnMulQAccWithWriteHandler() 573 result = (result << shift) & WideRegister.MaxValueMask; in BnMulQAccWithWriteHandler()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/Miscellaneous/ |
| D | ZynqMP_PlatformManagementUnit.cs | 426 var shift = GetShiftFromPllParam(pllParam); in HandlePllGetParameter() 430 response.Payload[0] = (resetValue >> shift) & mask; in HandlePllGetParameter()
|