Lines Matching refs:Chip
26 use netsim_proto::model::Chip as ProtoChip;
58 chips: RwLock<HashMap<ChipIdentifier, Arc<Chip>>>,
76 pub struct Chip { struct
101 impl Chip { argument
163 pub fn get_chip(chip_id: &ChipIdentifier) -> Option<Arc<Chip>> { in get_chip() argument
168 pub fn remove_chip(chip_id: &ChipIdentifier) -> Option<Arc<Chip>> { in remove_chip() argument
183 ) -> Result<Arc<Chip>, String> { in new() argument
195 ) -> Result<Arc<Chip>, String> { in new_chip() argument
196 let chip = Arc::new(Chip::new(id, device_id, device_name, create_params, wireless_adaptor)); in new_chip()
201 fn get_chip(&self, chip_id: &ChipIdentifier) -> Option<Arc<Chip>> { in get_chip() argument
205 fn remove_chip(&self, chip_id: &ChipIdentifier) -> Option<Arc<Chip>> { in remove_chip() argument
227 fn new_test_chip(&self, wireless_adaptor: WirelessAdaptorImpl) -> Arc<Chip> { in new_test_chip() argument