Lines Matching refs:location
430 fn try_read<T, L>(&self, location: L) -> Result<T> in try_read()
435 let address = self.io_addr::<L::IoType>(location.offset())?; in try_read()
464 fn try_write<T, L>(&self, location: L, value: T) -> Result in try_write()
469 let address = self.io_addr::<L::IoType>(location.offset())?; in try_write()
516 let (location, value) = value.into_io_op(); in try_write_reg()
518 self.try_write(location, value) in try_write_reg()
543 fn try_update<T, L, F>(&self, location: L, f: F) -> Result in try_update()
549 let address = self.io_addr::<L::IoType>(location.offset())?; in try_update()
582 fn read<T, L>(&self, location: L) -> T in read()
587 let address = self.io_addr_assert::<L::IoType>(location.offset()); in read()
614 fn write<T, L>(&self, location: L, value: T) in write()
619 let address = self.io_addr_assert::<L::IoType>(location.offset()); in write()
663 let (location, value) = value.into_io_op(); in write_reg()
665 self.write(location, value) in write_reg()
690 fn update<T, L, F>(&self, location: L, f: F) in update()
696 let address = self.io_addr_assert::<L::IoType>(location.offset()); in update()