Searched refs:get_register_ptr (Results 1 – 1 of 1) sorted by relevance
/DragonOS/kernel/src/driver/net/e1000e/ |
H A D | e1000e.rs | 244 get_register_ptr(vaddress, E1000E_GENERAL_REGS_OFFSET); in new() 246 get_register_ptr(vaddress, E1000E_INTERRRUPT_REGS_OFFSET); in new() 248 get_register_ptr(vaddress, E1000E_RECEIVE_CTRL_REG_OFFSET); in new() 250 get_register_ptr(vaddress, E1000E_RECEIVE_REGS_OFFSET); in new() 252 get_register_ptr(vaddress, E1000E_TRANSMIT_CTRL_REG_OFFSET); in new() 254 get_register_ptr(vaddress, E1000E_TRANSMIT_REGS_OFFSET); in new() 255 let pcie_regs: NonNull<PCIeRegs> = get_register_ptr(vaddress, E1000E_PCIE_REGS_OFFSET); in new() 257 get_register_ptr(vaddress, E1000E_RECEIVE_ADDRESS_REGS_OFFSET); in new() 340 let mta: NonNull<MTARegs> = get_register_ptr(mta_adress, 0); in new() 815 fn get_register_ptr<T>(vaddr: u64, offset: u64) -> NonNull<T> { in get_register_ptr() function
|