Lines Matching refs:desc
433 let desc = &mut self.recv_desc_ring[index]; in e1000e_receive() localVariable
434 if (desc.status & E1000E_RXD_STATUS_DD) == 0 { in e1000e_receive()
440 desc.addr = new_buffer.as_paddr() as u64; in e1000e_receive()
441 buffer.set_length(desc.len as usize); in e1000e_receive()
451 let desc = &self.trans_desc_ring[index]; in e1000e_can_transmit() localVariable
452 if (desc.status & E1000E_TXD_STATUS_DD) == 0 { in e1000e_can_transmit()
461 let desc = &mut self.trans_desc_ring[index]; in e1000e_transmit() localVariable
467 desc.addr = packet.as_paddr() as u64; in e1000e_transmit()
468 desc.len = packet.len() as u16; in e1000e_transmit()
469 desc.status = 0; in e1000e_transmit()
470 desc.cmd = E1000E_TXD_CMD_EOP | E1000E_TXD_CMD_RS | E1000E_TXD_CMD_IFCS; in e1000e_transmit()