Lines Matching refs:regs
10 regs: BTreeMap<RegisterRange, Box<dyn RegisterInterface>>, field
17 regs: BTreeMap::new(), in new()
31 let insert_result = self.regs.insert(range, Box::new(reg)).is_none(); in add_register()
36 pub fn add_register_array<T: RegisterValue>(&mut self, regs: &[Register<T>]) { in add_register_array()
37 for r in regs { in add_register_array()
74 for (range, r) in self.regs.iter().rev() { in first_before()
102 let regs = RegisterSpace::new(); in regs_no_reg() localVariable
105 regs.read(0, &mut data); in regs_no_reg()
108 regs.write(0, &[0, 0, 0, 0]); in regs_no_reg()
109 regs.read(0, &mut data); in regs_no_reg()
117 let mut regs = RegisterSpace::new(); in regs_reg_overlap() localVariable
118 regs.add_register(static_register!( in regs_reg_overlap()
124 regs.add_register(static_register!( in regs_reg_overlap()
133 let mut regs = RegisterSpace::new(); in regs_static_reg() localVariable
134 regs.add_register(static_register!( in regs_static_reg()
140 regs.read(0, &mut data); in regs_static_reg()
143 regs.write(0, &[0, 0, 0, 0]); in regs_static_reg()
145 regs.read(0, &mut data); in regs_static_reg()
151 let mut regs = RegisterSpace::new(); in regs_static_reg_offset() localVariable
152 regs.add_register(static_register!( in regs_static_reg_offset()
158 regs.read(0, &mut data); in regs_static_reg_offset()
161 regs.write(0, &[0, 0, 0, 0, 0, 0, 0, 0]); in regs_static_reg_offset()
163 regs.read(0, &mut data); in regs_static_reg_offset()
169 let mut regs = RegisterSpace::new(); in regs_reg_write() localVariable
170 regs.add_register(register!( in regs_reg_write()
177 regs.read(0, &mut data); in regs_reg_write()
179 regs.write(0, &[0, 0, 0, 0, 0, 0, 0, 0]); in regs_reg_write()
181 regs.read(0, &mut data); in regs_reg_write()
187 let mut regs = RegisterSpace::new(); in regs_reg_writeable() localVariable
188 regs.add_register(register!( in regs_reg_writeable()
197 regs.read(0, &mut data); in regs_reg_writeable()
199 regs.write(0, &[0, 0, 0, 0, 0, 0, 0, 0]); in regs_reg_writeable()
201 regs.read(0, &mut data); in regs_reg_writeable()
208 let mut regs = RegisterSpace::new(); in regs_reg_writeable_callback() localVariable
217 regs.add_register(reg.clone()); in regs_reg_writeable_callback()
225 regs.read(0, &mut data); in regs_reg_writeable_callback()
227 regs.write(0, &[0, 0, 0, 0, 0, 0, 0, 0]); in regs_reg_writeable_callback()
233 let mut regs = RegisterSpace::new(); in regs_reg_write_to_clear() localVariable
234 regs.add_register(register!( in regs_reg_write_to_clear()
243 regs.read(0, &mut data); in regs_reg_write_to_clear()
245 regs.write(0, &[0, 0, 0, 0, 0, 0xad, 0, 0]); in regs_reg_write_to_clear()
247 regs.read(0, &mut data); in regs_reg_write_to_clear()
253 let mut regs = RegisterSpace::new(); in regs_reg_array() localVariable
254 regs.add_register_array(®ister_array!( in regs_reg_array()
265 regs.read(8, &mut data); in regs_reg_array()
271 let mut regs = RegisterSpace::new(); in regs_reg_multi_array() localVariable
272 regs.add_register_array(®ister_array!( in regs_reg_multi_array()
282 regs.add_register_array(®ister_array!( in regs_reg_multi_array()
293 regs.read(8, &mut data); in regs_reg_multi_array()