Home
last modified time | relevance | path

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

/DragonOS/kernel/src/driver/tty/pty/
H A Dmod.rs258 ptm_driver.set_subtype(TtyDriverSubType::PtyMaster); in pty_init()
279 pts_driver.set_subtype(TtyDriverSubType::PtySlave); in pty_init()
/DragonOS/kernel/src/driver/tty/
H A Dtty_driver.rs237 pub fn set_subtype(&mut self, tp: TtyDriverSubType) { in set_subtype() method