/DragonOS-0.1.9/kernel/src/arch/ |
D | io.rs | 4 unsafe fn in16(port: u16) -> u16; in in16() 6 unsafe fn out8(port: u16, data: u8); in out8() 7 unsafe fn out16(port: u16, data: u16); in out16() 8 unsafe fn out32(port: u16, data: u32); in out32()
|
/DragonOS-0.1.9/kernel/src/arch/x86_64/asm/ |
D | pio.rs | 12 unsafe fn in16(port: u16) -> u16 { in in16() 22 unsafe fn out8(port: u16, data: u8) { in out8() 27 unsafe fn out16(port: u16, data: u16) { in out16() 32 unsafe fn out32(port: u16, data: u32) { in out32()
|
/DragonOS-0.1.9/kernel/src/arch/riscv64/ |
D | pio.rs | 12 unsafe fn in16(port: u16) -> u16 { in in16() 22 unsafe fn out8(port: u16, data: u8) { in out8() 27 unsafe fn out16(port: u16, data: u16) { in out16() 32 unsafe fn out32(port: u16, data: u32) { in out32()
|
D | msi.rs | 14 pub fn arch_msi_message_data(vector: u16, _processor: u16, trigger: TriggerMode) -> u32 { in arch_msi_message_data()
|
/DragonOS-0.1.9/kernel/src/arch/x86_64/ |
D | msi.rs | 13 pub fn arch_msi_message_data(vector: u16, _processor: u16, trigger: TriggerMode) -> u32 { in arch_msi_message_data()
|
/DragonOS-0.1.9/kernel/src/filesystem/ |
D | mbr.rs | 19 pub fn starting_sector(&self) -> u16 { in starting_sector() 22 pub fn starting_cylinder(&self) -> u16 { in starting_cylinder() 25 pub fn ending_sector(&self) -> u16 { in ending_sector() 28 pub fn ending_cylinder(&self) -> u16 { in ending_cylinder()
|
/DragonOS-0.1.9/kernel/src/libs/ |
D | vec_cursor.rs | 55 pub fn read_u16(&mut self) -> Result<u16, SystemError> { in read_u16() 170 pub fn write_u16(&mut self, value: u16) -> Result<u16, SystemError> { in write_u16()
|
/DragonOS-0.1.9/kernel/src/driver/tty/ |
D | console.rs | 41 ch: u16, in con_putc() 56 buf: &[u16], in con_putcs()
|
/DragonOS-0.1.9/kernel/src/driver/video/fbdev/base/fbcon/ |
D | framebuffer_console.rs | 47 pub fn get_color(&self, vc_data: &VirtualConsoleData, c: u16, is_fg: bool) -> u32 { in get_color() 123 buf: &[u16], in bit_put_string() 291 ch: u16, in con_putc() 301 buf: &[u16], in con_putcs() 610 data: &[u16], in put_string()
|
D | mod.rs | 407 data: &[u16], in put_string() 451 pub fn get_attr(c: u16, color_depth: u32) -> Self { in get_attr()
|
/DragonOS-0.1.9/kernel/src/driver/tty/virtual_terminal/ |
D | console_map.rs | 132 pub fn translate(&self, c: u32) -> u16 { in translate()
|
/DragonOS-0.1.9/kernel/src/driver/base/block/ |
D | disk_info.rs | 30 partno: u16, in new()
|
/DragonOS-0.1.9/kernel/src/arch/x86_64/process/ |
D | table.rs | 62 unsafe fn set_tss_descriptor(index: u16, vaddr: VirtAddr) { in set_tss_descriptor()
|
/DragonOS-0.1.9/kernel/src/driver/firmware/efi/ |
D | mod.rs | 83 min_major: u16, in check_system_table_header()
|
D | tables.rs | 55 unsafe { core::slice::from_raw_parts(fw_ptr.data() as *const u16, TMPBUF_SIZE) }; in report_systable_header() constant
|
/DragonOS-0.1.9/kernel/src/driver/virtio/ |
D | transport_pci.rs | 281 fn notify(&mut self, queue: u16) { in notify() 311 queue: u16, in queue_set() 337 fn queue_unset(&mut self, queue: u16) { in queue_unset()
|
/DragonOS-0.1.9/kernel/src/driver/video/fbdev/ |
D | vesafb.rs | 288 regno: u16, in fb_set_color_register() 289 mut red: u16, in fb_set_color_register() 290 mut green: u16, in fb_set_color_register() 291 mut blue: u16, in fb_set_color_register()
|
/DragonOS-0.1.9/kernel/src/driver/pci/ |
D | pci_irq.rs | 93 irq_index: u16, in init_from() 306 fn irq_alloc(_num: u16) -> Option<Vec<u16>> { in irq_alloc()
|
/DragonOS-0.1.9/kernel/src/driver/video/fbdev/base/ |
D | mod.rs | 396 regno: u16, in fb_set_color_register() 397 red: u16, in fb_set_color_register() 398 green: u16, in fb_set_color_register() 399 blue: u16, in fb_set_color_register()
|
/DragonOS-0.1.9/kernel/src/arch/x86_64/kvm/vmx/ |
D | vcpu.rs | 463 pub fn get_segment_base(gdt_base: *const u64, gdt_size: u16, segment_selector: u16) -> u64 { in get_segment_base()
|
/DragonOS-0.1.9/kernel/src/net/socket/ |
D | mod.rs | 482 pub fn get_ephemeral_port(&self, socket_type: SocketType) -> Result<u16, SystemError> { in get_ephemeral_port() 525 port: u16, in bind_port()
|
/DragonOS-0.1.9/kernel/src/driver/disk/ahci/ |
D | ahcidisk.rs | 363 flags: u16, in new()
|
/DragonOS-0.1.9/kernel/src/filesystem/vfs/ |
D | mod.rs | 94 pub fn get_file_type_num(&self) -> u16 { in get_file_type_num()
|
/DragonOS-0.1.9/kernel/src/filesystem/fat/ |
D | entry.rs | 990 fn new(ord: u8, name_part: &[u16], check_sum: u8) -> Self { in new() 1935 fn fletcher_16_checksum(name: &str) -> u16 { in fletcher_16_checksum()
|
/DragonOS-0.1.9/kernel/src/net/ |
D | syscall.rs | 806 fn into(self) -> u16 { in into()
|