Home
last modified time | relevance | path

Searched defs:u32 (Results 1 – 25 of 86) sorted by relevance

1234

/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()
107 pub fn mono_color(&self) -> u32 { in mono_color()
125 cnt: u32, in bit_put_string()
126 cellsize: u32, in bit_put_string()
292 xpos: u32, in con_putc()
293 ypos: u32, in con_putc()
303 ypos: u32, in con_putcs()
304 xpos: u32, in con_putcs()
569 height: u32, in bmove()
570 width: u32, in bmove()
[all …]
Dmod.rs377 height: u32, in bmove()
378 width: u32, in bmove()
391 sy: u32, in clear()
392 sx: u32, in clear()
393 height: u32, in clear()
394 width: u32, in clear()
408 count: u32, in put_string()
409 y: u32, in put_string()
410 x: u32, in put_string()
411 fg: u32, in put_string()
[all …]
/DragonOS-0.1.9/kernel/src/libs/futex/
Dsyscall.rs11 val: u32, in do_futex()
14 val2: u32, in do_futex()
15 val3: u32, in do_futex()
Dfutex.rs87 bitset: Option<u32>, in wake_up()
88 nr_wake: u32, in wake_up()
216 val: u32, in futex_wait()
218 bitset: u32, in futex_wait()
350 nr_wake: u32, in futex_wake()
351 bitset: u32, in futex_wake()
387 cmpval: Option<u32>, in futex_requeue()
545 pub fn futex_atomic_op_inuser(encoded_op: u32, uaddr: VirtAddr) -> Result<bool, SystemError> { in futex_atomic_op_inuser()
606 oparg: u32, in arch_futex_atomic_op_inuser()
608 ) -> Result<u32, SystemError> { in arch_futex_atomic_op_inuser()
/DragonOS-0.1.9/kernel/src/arch/x86_64/
Dmsi.rs5 pub fn arch_msi_message_address(processor: u16) -> u32 { in arch_msi_message_address()
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/arch/riscv64/
Dmsi.rs6 pub fn arch_msi_message_address(processor: u16) -> u32 { in arch_msi_message_address()
14 pub fn arch_msi_message_data(vector: u16, _processor: u16, trigger: TriggerMode) -> u32 { in arch_msi_message_data()
Dpio.rs17 unsafe fn in32(port: u16) -> u32 { in in32()
32 unsafe fn out32(port: u16, data: u32) { in out32()
/DragonOS-0.1.9/kernel/src/libs/font/
Dmod.rs15 pub fn get_default_font(_xres: u32, _yres: u32, _font_w: u32, _font_h: u32) -> &'static Self { in get_default_font()
/DragonOS-0.1.9/kernel/src/driver/base/char/
Dmod.rs95 count: u32, in register_chardev_region()
108 baseminor: u32, in alloc_chardev_region()
109 count: u32, in alloc_chardev_region()
126 minorct: u32, in __register_chardev_region()
181 minorct: u32, in __unregister_chardev_region()
/DragonOS-0.1.9/kernel/src/time/
Dtimeconv.rs59 fn math_div(left: u32, right: u32) -> u32 { in math_div()
69 fn leaps_between(y1: u32, y2: u32) -> u32 { in leaps_between()
Djiffies.rs22 pub const fn sh_div(nom: u32, den: u32, lsh: u32) -> u32 { in sh_div()
/DragonOS-0.1.9/kernel/src/driver/serial/
Dmod.rs31 fn serial_in(&self, offset: u32) -> u32; in serial_in()
32 fn serial_out(&self, offset: u32, value: u32); in serial_out()
33 fn divisor(&self, baud: BaudRate) -> (u32, DivisorFraction); in divisor()
/DragonOS-0.1.9/kernel/src/libs/lib_ui/
Dscreen_manager.rs111 width: u32, in new_device_buffer()
112 height: u32, in new_device_buffer()
113 size: u32, in new_device_buffer()
114 bit_depth: u32, in new_device_buffer()
133 pub fn bit_depth(&self) -> u32 { in bit_depth()
137 pub fn height(&self) -> u32 { in height()
141 pub fn width(&self) -> u32 { in width()
168 unsafe { core::slice::from_raw_parts(vaddr.data() as *const u32, len) }; in copy_from_nonoverlapping() constant
184 core::slice::from_raw_parts(vaddr.data() as *const u32, len) in copy_from_nonoverlapping() constant
/DragonOS-0.1.9/kernel/src/arch/riscv64/pci/
Dmod.rs8 fn read_config(bus_device_function: &BusDeviceFunction, offset: u8) -> u32 { in read_config()
12 fn write_config(bus_device_function: &BusDeviceFunction, offset: u8, data: u32) { in write_config()
/DragonOS-0.1.9/kernel/src/arch/x86_64/interrupt/
Dentry.rs548 pub unsafe fn set_intr_gate(irq: u32, ist: u8, vaddr: VirtAddr) { in set_intr_gate()
555 pub unsafe fn set_trap_gate(irq: u32, ist: u8, vaddr: VirtAddr) { in set_trap_gate()
562 pub unsafe fn set_system_trap_gate(irq: u32, ist: u8, vaddr: VirtAddr) { in set_system_trap_gate()
Dhandle.rs18 unsafe extern "C" fn x86_64_do_irq(trap_frame: &mut TrapFrame, vector: u32) { in x86_64_do_irq()
/DragonOS-0.1.9/kernel/src/arch/
Dmod.rs24 fn read_config(bus_device_function: &BusDeviceFunction, offset: u8) -> u32; in read_config()
29 fn write_config(bus_device_function: &BusDeviceFunction, offset: u8, data: u32); in write_config()
Dio.rs5 unsafe fn in32(port: u16) -> u32; in in32()
8 unsafe fn out32(port: u16, data: u32); in out32()
/DragonOS-0.1.9/kernel/src/arch/x86_64/asm/
Dpio.rs17 unsafe fn in32(port: u16) -> u32 { in in32()
32 unsafe fn out32(port: u16, data: u32) { in out32()
/DragonOS-0.1.9/kernel/src/arch/x86_64/pci/
Dpci.rs14 fn read_config(bus_device_function: &BusDeviceFunction, offset: u8) -> u32 { in read_config()
29 fn write_config(bus_device_function: &BusDeviceFunction, offset: u8, data: u32) { in write_config()
/DragonOS-0.1.9/kernel/src/smp/cpu/
Dc_adapter.rs72 fn new(apic_id: u32, core_id: u32, can_boot: bool) -> Self { in new()
/DragonOS-0.1.9/kernel/src/exception/
Dmsi.rs42 pub const fn new_lo_hi(address_lo: u32, address_hi: u32, data: u32) -> Self { in new_lo_hi()
95 nvec_used: u32, in new()
97 index: u32, in new()
/DragonOS-0.1.9/kernel/src/driver/tty/
Dconsole.rs42 ypos: u32, in con_putc()
43 xpos: u32, in con_putc()
58 ypos: u32, in con_putcs()
59 xpos: u32, in con_putcs()
/DragonOS-0.1.9/kernel/src/driver/base/device/
Ddevice_number.rs24 pub const fn data(&self) -> u32 { in data()
48 pub const fn minor(&self) -> u32 { in minor()
52 pub const fn data(&self) -> u32 { in data()
/DragonOS-0.1.9/kernel/src/driver/tty/virtual_terminal/
Dvirtual_console.rs316 pub(super) fn translate(&mut self, c: &mut u32) -> (Option<u32>, bool) { in translate()
348 fn translate_unicode(&mut self, c: u32) -> (Option<u32>, bool) { in translate_unicode()
414 fn translate_ascii(&self, c: u32) -> u32 { in translate_ascii()
427 fn sanitize_unicode(c: u32) -> u32 { in sanitize_unicode()
444 pub(super) fn is_control(&self, tc: u32, c: u32) -> bool { in is_control()
1153 fn csi_J(&mut self, vpar: u32) { in csi_J()
1201 fn csi_K(&mut self, vpar: u32) { in csi_K()
1263 pub(super) fn do_control(&mut self, ch: u32) { in do_control()
1542 mut tc: u32, in console_write_normal()
1543 c: u32, in console_write_normal()
[all …]

1234