Lines Matching refs:peripheral

36             ICPU peripheral;  in ShouldUpdateRegistrationPoint()
37 Assert.IsTrue(machine.TryGetByName("sysbus.register2.cpu", out peripheral)); in ShouldUpdateRegistrationPoint()
38 Assert.IsFalse(machine.TryGetByName("sysbus.register1.cpu", out peripheral)); in ShouldUpdateRegistrationPoint()
50 ICPU peripheral; in ShouldCancelRegistration()
51 Assert.IsFalse(machine.TryGetByName("sysbus.register.cpu", out peripheral)); in ShouldCancelRegistration()
63 ICPU peripheral; in ShouldHandleRegistrationInReverseOrder()
64 Assert.IsTrue(machine.TryGetByName("sysbus.register.cpu", out peripheral)); in ShouldHandleRegistrationInReverseOrder()
74 ICPU peripheral; in ShouldHandleAlias()
75 Assert.IsTrue(machine.TryGetByName("sysbus.otherName", out peripheral)); in ShouldHandleAlias()
76 Assert.IsFalse(machine.TryGetByName("sysbus.cpu", out peripheral)); in ShouldHandleAlias()
526 EmptyPeripheral peripheral; in ShouldHandleNoneInCtorParam()
527 Assert.IsTrue(machine.TryGetByName("sysbus.peripheral", out peripheral)); in ShouldHandleNoneInCtorParam()
528 Assert.AreEqual(1, peripheral.Counter); in ShouldHandleNoneInCtorParam()
686 var peripheral = new EmptyPeripheral(); in ShouldFailOnUsingAlreadyRegisteredPeripheralsName()
687 …machine.SystemBus.Register(peripheral, new Antmicro.Renode.Peripherals.Bus.BusRangeRegistration(0.… in ShouldFailOnUsingAlreadyRegisteredPeripheralsName()
688 machine.SetLocalName(peripheral, "peripheral"); in ShouldFailOnUsingAlreadyRegisteredPeripheralsName()
900 EmptyPeripheral peripheral; in ShouldRegisterPeripheralWithManyRegistrationPoints()
901 Assert.IsTrue(machine.TryGetByName("sysbus.alias", out peripheral)); in ShouldRegisterPeripheralWithManyRegistrationPoints()
902 …var ranges = machine.GetPeripheralRegistrationPoints(machine.SystemBus, peripheral).OfType<Antmicr… in ShouldRegisterPeripheralWithManyRegistrationPoints()
1015 ICPU peripheral; in ShouldProcessRepeatedRegistration()
1016 Assert.IsTrue(machine.TryGetByName("sysbus.mockRegister1.cpu", out peripheral)); in ShouldProcessRepeatedRegistration()
1017 Assert.IsTrue(machine.TryGetByName("sysbus.mockRegister2.cpu", out peripheral)); in ShouldProcessRepeatedRegistration()