Home
last modified time | relevance | path

Searched defs:u16 (Results 1 – 25 of 27) sorted by relevance

12

/DragonOS-0.1.9/kernel/src/arch/
Dio.rs4 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/
Dpio.rs12 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/
Dpio.rs12 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()
Dmsi.rs14 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/
Dmsi.rs13 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/
Dmbr.rs19 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/
Dvec_cursor.rs55 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/
Dconsole.rs41 ch: u16, in con_putc()
56 buf: &[u16], in con_putcs()
/DragonOS-0.1.9/kernel/src/driver/video/fbdev/base/fbcon/
Dframebuffer_console.rs47 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()
Dmod.rs407 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/
Dconsole_map.rs132 pub fn translate(&self, c: u32) -> u16 { in translate()
/DragonOS-0.1.9/kernel/src/driver/base/block/
Ddisk_info.rs30 partno: u16, in new()
/DragonOS-0.1.9/kernel/src/arch/x86_64/process/
Dtable.rs62 unsafe fn set_tss_descriptor(index: u16, vaddr: VirtAddr) { in set_tss_descriptor()
/DragonOS-0.1.9/kernel/src/driver/firmware/efi/
Dmod.rs83 min_major: u16, in check_system_table_header()
Dtables.rs55 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/
Dtransport_pci.rs281 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/
Dvesafb.rs288 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/
Dpci_irq.rs93 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/
Dmod.rs396 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/
Dvcpu.rs463 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/
Dmod.rs482 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/
Dahcidisk.rs363 flags: u16, in new()
/DragonOS-0.1.9/kernel/src/filesystem/vfs/
Dmod.rs94 pub fn get_file_type_num(&self) -> u16 { in get_file_type_num()
/DragonOS-0.1.9/kernel/src/filesystem/fat/
Dentry.rs990 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/
Dsyscall.rs806 fn into(self) -> u16 { in into()

12