Lines Matching refs:addressToDeviceCache
28 addressToDeviceCache = new TwoWayDictionary<byte, IUSBDevice>(); in MPFS_USB()
331 lock(addressToDeviceCache) in HandleSessionStart()
333 addressToDeviceCache.Clear(); in HandleSessionStart()
568 lock(addressToDeviceCache) in TryGetDeviceForEndpoint()
571 if(!addressToDeviceCache.TryGetValue(address, out device)) in TryGetDeviceForEndpoint()
577 … if(!addressToDeviceCache.TryExchange(device, address, out var oldAddress) || oldAddress != 0) in TryGetDeviceForEndpoint()
602 lock(addressToDeviceCache) in TryInitializeConnectedDevice()
604 if(addressToDeviceCache.Exists(0)) in TryInitializeConnectedDevice()
610 … var peripheral = ChildCollection.Values.FirstOrDefault(x => !addressToDeviceCache.Exists(x)); in TryInitializeConnectedDevice()
617 addressToDeviceCache.Add(0, peripheral); in TryInitializeConnectedDevice()
624 private readonly TwoWayDictionary<byte, IUSBDevice> addressToDeviceCache; field in Antmicro.Renode.Peripherals.USB.MPFS_USB