Home
last modified time | relevance | path

Searched refs:tdt (Results 1 – 1 of 1) sorted by relevance

/DragonOS-0.1.9/kernel/src/driver/net/e1000e/
De1000e.rs450 let tdt = unsafe { volread!(self.transimit_regs, tdt0) } as usize; in e1000e_can_transmit() localVariable
451 let index = tdt % self.trans_desc_ring.len(); in e1000e_can_transmit()
460 let mut tdt = unsafe { volread!(self.transimit_regs, tdt0) } as usize; in e1000e_transmit() localVariable
461 let index = tdt % self.trans_desc_ring.len(); in e1000e_transmit()
472 tdt = (tdt + 1) % self.trans_desc_ring.len(); in e1000e_transmit()
473 unsafe { volwrite!(self.transimit_regs, tdt0, tdt as u32) }; in e1000e_transmit()