Home
last modified time | relevance | path

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

/DragonOS/kernel/src/driver/tty/virtual_terminal/
H A Dvirtual_console.rs443 pub fn is_control(&self, tc: u32, c: u32) -> bool { in is_control()
449 if tc == 0 { in is_control()
1535 pub fn console_write_normal(&mut self, mut tc: u32, c: u32, draw: &mut DrawRegion) -> bool { in console_write_normal()
1546 let tmp = self.unicode_to_index(tc); in console_write_normal()
1554 tc = c; in console_write_normal()
1561 tc = '?' as u32; in console_write_normal()
1563 tc = tmp as u32; in console_write_normal()
1588 tc = (if (tc & 0x100) != 0 { himask as u32 } else { 0 }) | (tc & 0xff); in console_write_normal()
1591 tc |= ((attr as u32) << 8) & (!himask as u32); in console_write_normal()
1601 self.screen_buf[self.pos] = tc as u16; in console_write_normal()
[all …]
/DragonOS/kernel/src/driver/tty/
H A Dtty_core.rs519 let (tc, rescan_last) = vc_data_guard.translate(&mut ch); in do_write()
520 if tc.is_none() { in do_write()
525 let tc = tc.unwrap(); in do_write() localVariable
528 if vc_data_guard.is_control(tc, ch) { in do_write()
534 if !vc_data_guard.console_write_normal(tc, ch, &mut draw) { in do_write()
/DragonOS/kernel/src/driver/disk/ahci/
H A Dhba.rs400 pub tc: u16, // Transfer count field
/DragonOS/kernel/crates/rbpf/
H A DREADME.md444 // to the sk_buff that eBPF programs use with tc and in Linux kernel.