Lines Matching refs:L
430 fn try_read<T, L>(&self, location: L) -> Result<T> in try_read()
432 L: IoLoc<T>, in try_read()
433 Self: IoCapable<L::IoType>, 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() argument
466 L: IoLoc<T>, in try_write()
467 Self: IoCapable<L::IoType>, in try_write()
469 let address = self.io_addr::<L::IoType>(location.offset())?; in try_write()
510 fn try_write_reg<T, L, V>(&self, value: V) -> Result in try_write_reg() argument
512 L: IoLoc<T>, in try_write_reg()
513 V: LocatedRegister<Location = L, Value = T>, in try_write_reg()
514 Self: IoCapable<L::IoType>, in try_write_reg()
543 fn try_update<T, L, F>(&self, location: L, f: F) -> Result in try_update() argument
545 L: IoLoc<T>, in try_update()
546 Self: IoCapable<L::IoType>, 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()
584 L: IoLoc<T>, in read()
585 Self: IoKnownSize + IoCapable<L::IoType>, 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() argument
616 L: IoLoc<T>, in write()
617 Self: IoKnownSize + IoCapable<L::IoType>, in write()
619 let address = self.io_addr_assert::<L::IoType>(location.offset()); in write()
657 fn write_reg<T, L, V>(&self, value: V) in write_reg() argument
659 L: IoLoc<T>, in write_reg()
660 V: LocatedRegister<Location = L, Value = T>, in write_reg()
661 Self: IoKnownSize + IoCapable<L::IoType>, in write_reg()
690 fn update<T, L, F>(&self, location: L, f: F) in update() argument
692 L: IoLoc<T>, in update()
693 Self: IoKnownSize + IoCapable<L::IoType> + Sized, in update()
696 let address = self.io_addr_assert::<L::IoType>(location.offset()); in update()