Home
last modified time | relevance | path

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

/DragonOS-0.1.8/kernel/src/arch/x86_64/
Dmsi.rs14 vector: u16, in ia64_pci_get_arch_msi_message_data()
15 _processor: u16, in ia64_pci_get_arch_msi_message_data()
/DragonOS-0.1.8/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.8/kernel/src/libs/
Dvec_cursor.rs54 pub fn read_u16(&mut self) -> Result<u16, SystemError> { in read_u16()
169 pub fn write_u16(&mut self, value: u16) -> Result<u16, SystemError> { in write_u16()
Dlz4.c358 U16 u16; member
/DragonOS-0.1.8/kernel/src/io/
Ddisk_info.rs33 partno: u16, in new()
/DragonOS-0.1.8/kernel/src/driver/uart/
Duart.rs71 pub fn to_u16(self: &Self) -> u16 { in to_u16()
374 pub extern "C" fn c_uart_send(port: u16, c: u8) { in c_uart_send()
394 pub extern "C" fn c_uart_send_str(port: u16, s: *const u8) { in c_uart_send_str()
409 pub extern "C" fn c_uart_init(port: u16, baud_rate: u32) -> i32 { in c_uart_init()
/DragonOS-0.1.8/kernel/src/driver/virtio/
Dtransport_pci.rs233 fn notify(&mut self, queue: u16) { in notify()
263 queue: u16, in queue_set()
285 fn queue_unset(&mut self, queue: u16) { in queue_unset()
/DragonOS-0.1.8/kernel/src/driver/disk/ahci/
Dahcidisk.rs364 flags: u16, in new()
/DragonOS-0.1.8/kernel/src/driver/pci/
Dpci.rs373 fn irq_vector_mut(&mut self) -> Option<&mut Vec<u16>>; in irq_vector_mut()
466 fn irq_vector_mut(&mut self) -> Option<&mut Vec<u16>> { in irq_vector_mut()
530 fn irq_vector_mut(&mut self) -> Option<&mut Vec<u16>> { in irq_vector_mut()
589 fn irq_vector_mut(&mut self) -> Option<&mut Vec<u16>> { in irq_vector_mut()
695 register_offset: u16, in write_config()
Dpci_irq.rs269 fn irq_alloc(_num: u16) -> Option<Vec<u16>> { in irq_alloc()
/DragonOS-0.1.8/kernel/src/net/
Dsocket.rs51 pub fn get_ephemeral_port(&self, socket_type: SocketType) -> Result<u16, SystemError> { in get_ephemeral_port()
94 port: u16, in get_port()
Dsyscall.rs713 fn into(self) -> u16 { in into()
/DragonOS-0.1.8/kernel/src/filesystem/vfs/
Dmod.rs66 pub fn get_file_type_num(&self) -> u16 { in get_file_type_num()
/DragonOS-0.1.8/kernel/src/filesystem/fat/
Dentry.rs995 fn new(ord: u8, name_part: &[u16], check_sum: u8) -> Self { in new()
1940 fn fletcher_16_checksum(name: &str) -> u16 { in fletcher_16_checksum()