Home
last modified time | relevance | path

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

/DragonOS/kernel/src/driver/net/e1000e/
H A De1000e.rs167 general_regs: NonNull<GeneralRegs>, field
242 let general_regs: NonNull<GeneralRegs> = in new() localVariable
260 let mut ctrl = volread!(general_regs, ctrl); in new()
265 volwrite!(general_regs, ctrl, ctrl | E1000E_CTRL_RST); in new()
268 ctrl = volread!(general_regs, ctrl); in new()
269 volwrite!(general_regs, ctrl, ctrl | E1000E_CTRL_PHY_RST); in new()
270 volwrite!(general_regs, ctrl, ctrl); in new()
280 ctrl = volread!(general_regs, ctrl); in new()
282 volwrite!(general_regs, ctrl, ctrl | E1000E_CTRL_SLU); in new()
284 let status = unsafe { volread!(general_regs, status) }; in new()
[all …]