Searched refs:driver_funcs (Results 1 – 5 of 5) sorted by relevance
/DragonOS/kernel/src/driver/tty/ |
H A D | tty_core.rs | 109 .driver_funcs() in write_to_core() 552 return self.core().tty_driver.driver_funcs().open(tty); in open() 557 return self.core().tty_driver.driver_funcs().write_room(tty); in write_room() 562 return self.core().tty_driver.driver_funcs().write(tty, buf, nr); in write() 567 self.core().tty_driver.driver_funcs().flush_chars(tty); in flush_chars() 572 return self.core().tty_driver.driver_funcs().put_char(tty, ch); in put_char() 577 return self.core().tty_driver.driver_funcs().install(driver, tty); in install() 582 return self.core().tty_driver.driver_funcs().start(tty); in start() 587 return self.core().tty_driver.driver_funcs().stop(tty); in stop() 592 return self.core().tty_driver.driver_funcs().ioctl(tty, cmd, arg); in ioctl() [all …]
|
H A D | tty_driver.rs | 130 driver_funcs: Arc<dyn TtyOperation>, field 152 driver_funcs: Arc<dyn TtyOperation>, in new() 171 driver_funcs, in new() 197 pub fn driver_funcs(&self) -> Arc<dyn TtyOperation> { in driver_funcs() method 198 self.driver_funcs.clone() in driver_funcs() 259 .driver_funcs() in lookup_tty()
|
/DragonOS/kernel/src/driver/tty/virtual_terminal/ |
H A D | virtual_console.rs | 143 driver_funcs: Option<Weak<dyn ConsoleSwitch>>, field 203 driver_funcs: None, in new() 241 fn driver_funcs(&self) -> Arc<dyn ConsoleSwitch> { in driver_funcs() method 242 self.driver_funcs.as_ref().unwrap().upgrade().unwrap() in driver_funcs() 246 self.driver_funcs = Some(func); in set_driver_funcs() 304 let _ = self.driver_funcs().con_set_palette(self, COLOR_TABLE); in set_palette() 482 self.driver_funcs().con_cursor(self, CursorOperation::Draw); in set_cursor() 524 self.driver_funcs() in add_softcursor() 531 self.driver_funcs().con_cursor(self, CursorOperation::Erase); in hide_cursor() 539 let _ = self.driver_funcs().con_putc( in hide_softcursor() [all …]
|
/DragonOS/kernel/src/driver/tty/pty/ |
H A D | unix98pty.rs | 283 ptm_driver().driver_funcs().open(core)?; in ptmx_open()
|
/DragonOS/kernel/src/driver/tty/tty_ldisc/ |
H A D | ntty.rs | 2087 if core.driver().driver_funcs().chars_in_buffer() < 256 in poll() 2088 && core.driver().driver_funcs().write_room(core) > 0 in poll()
|