Lines Matching refs:BusRange
121 pub struct BusRange { struct
126 impl BusRange { impl
138 impl Eq for BusRange {} implementation
140 impl PartialEq for BusRange { implementation
141 fn eq(&self, other: &BusRange) -> bool { in eq()
146 impl Ord for BusRange { implementation
147 fn cmp(&self, other: &BusRange) -> Ordering { in cmp()
152 impl PartialOrd for BusRange { implementation
153 fn partial_cmp(&self, other: &BusRange) -> Option<Ordering> { in partial_cmp()
173 devices: BTreeMap<BusRange, BusDeviceEntry>,
193 fn first_before(&self, addr: u64) -> Option<(BusRange, &BusDeviceEntry)> { in first_before() argument
196 .range(..=BusRange { base: addr, len: 1 }) in first_before()
229 .insert(BusRange { base, len }, BusDeviceEntry::OuterSync(device)) in insert()
262 .insert(BusRange { base, len }, BusDeviceEntry::InnerSync(device)) in insert_sync()
455 let a = BusRange { in bus_range_contains()
468 let a = BusRange { in bus_range_overlap()