Home
last modified time | relevance | path

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

12345

/DragonOS/kernel/src/driver/video/fbdev/base/fbcon/
H A Dframebuffer_console.rs48 fn get_color(&self, vc_data: &VirtualConsoleData, c: u16, is_fg: bool) -> u32 { in get_color()
108 fn mono_color(&self) -> u32 { in mono_color()
126 cnt: u32, in bit_put_string()
127 cellsize: u32, in bit_put_string()
295 xpos: u32, in con_putc()
296 ypos: u32, in con_putc()
306 ypos: u32, in con_putcs()
307 xpos: u32, in con_putcs()
573 height: u32, in bmove()
574 width: u32, in bmove()
[all …]
H A Dmod.rs386 height: u32, in bmove()
387 width: u32, in bmove()
400 sy: u32, in clear()
401 sx: u32, in clear()
402 height: u32, in clear()
403 width: u32, in clear()
418 count: u32, in put_string()
419 y: u32, in put_string()
420 x: u32, in put_string()
421 fg: u32, in put_string()
[all …]
/DragonOS/user/apps/test_ebpf/syscall_ebpf/syscall_ebpf-ebpf/src/
H A Dmain.rs10 pub fn syscall_ebpf(ctx: ProbeContext) -> u32 { in syscall_ebpf()
14 fn try_syscall_ebpf(ctx: ProbeContext) -> Result<u32, u32> { in try_syscall_ebpf() argument
/DragonOS/kernel/src/driver/video/fbdev/base/
H A Drender_helper.rs25 fgcolor: u32, in new()
26 bkcolor: u32, in new()
29 byte_per_pixel: u32, in new()
31 image_width: u32, in new()
59 fn reverse(num: u32, byte_per_pixel: u32) -> u32 { in reverse()
132 fn read_bit(&self) -> u32 { in read_bit()
170 pub fn unwarp(self) -> (u32, bool) { in unwarp()
260 pub fn move_with_offset(&mut self, offset: u32) { in move_with_offset()
287 pub fn start_offset(image: &FbImage, bitdepth: u32, line_length: u32) -> u32 { in start_offset()
/DragonOS/kernel/src/driver/pci/
H A Ddev_id.rs73 pub fn vendor(&self) -> u32 { in vendor()
77 pub fn device_id(&self) -> u32 { in device_id()
81 pub fn subvendor(&self) -> u32 { in subvendor()
85 pub fn subdevice(&self) -> u32 { in subdevice()
89 pub fn class(&self) -> u32 { in class()
93 pub fn _class_mask(&self) -> u32 { in _class_mask()
/DragonOS/kernel/src/sched/
H A Dpelt.rs50 load: u32, in update_load_sum()
51 mut runnable: u32, in update_load_sum()
52 mut running: u32, in update_load_sum()
79 load: u32, in accumulate_sum()
80 runnable: u32, in accumulate_sum()
81 running: u32, in accumulate_sum()
135 fn accumulate_pelt_segments(periods: u64, d1: u32, d3: u32) -> u32 { in accumulate_pelt_segments()
/DragonOS/kernel/src/arch/x86_64/
H A 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/kernel/src/arch/riscv64/
H A 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()
H A Dpio.rs17 unsafe fn in32(_port: u16) -> u32 { in in32()
32 unsafe fn out32(_port: u16, _data: u32) { in out32()
/DragonOS/kernel/src/driver/base/char/
H A 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/kernel/src/libs/font/
H A Dmod.rs16 pub fn get_default_font(_xres: u32, _yres: u32, _font_w: u32, _font_h: u32) -> &'static Self { in get_default_font()
/DragonOS/kernel/src/libs/futex/
H A Dsyscall.rs18 val: u32, in do_futex()
21 val2: u32, in do_futex()
22 val3: u32, in do_futex()
/DragonOS/kernel/src/time/
H A Dclocksource.rs246 fn log2(x: u32) -> u32 { in log2()
290 fn clocks_calc_mult_shift(&self, from: u32, to: u32, maxsec: u32) -> (u32, u32) { in clocks_calc_mult_shift()
316 fn clocksource_max_adjustment(&self) -> u32 { in clocksource_max_adjustment()
324 fn clocksource_update_freq_scale(&self, scale: u32, freq: u32) -> Result<(), SystemError> { in clocksource_update_freq_scale()
391 pub fn register(&self, scale: u32, freq: u32) -> Result<(), SystemError> { in register()
692 mult: u32, in new()
693 shift: u32, in new()
694 max_idle_ns: u32, in new()
696 uncertainty_margin: u32, in new()
697 maxadj: u32, in new()
[all …]
H A 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()
H A Djiffies.rs25 pub const fn sh_div(nom: u32, den: u32, lsh: u32) -> u32 { in sh_div()
/DragonOS/kernel/src/driver/serial/
H A Dmod.rs38 fn serial_in(&self, offset: u32) -> u32; in serial_in()
39 fn serial_out(&self, offset: u32, value: u32); in serial_out()
40 fn divisor(&self, baud: BaudRate) -> (u32, DivisorFraction); in divisor()
/DragonOS/kernel/src/arch/x86_64/interrupt/
H A Dentry.rs546 pub unsafe fn set_intr_gate(irq: u32, ist: u8, vaddr: VirtAddr) { in set_intr_gate()
553 pub unsafe fn set_trap_gate(irq: u32, ist: u8, vaddr: VirtAddr) { in set_trap_gate()
560 pub unsafe fn set_system_trap_gate(irq: u32, ist: u8, vaddr: VirtAddr) { in set_system_trap_gate()
/DragonOS/kernel/src/arch/
H A 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()
H A Dio.rs6 unsafe fn in32(port: u16) -> u32; in in32()
9 unsafe fn out32(port: u16, data: u32); in out32()
/DragonOS/kernel/src/arch/riscv64/pci/
H A Dmod.rs20 fn read_config(_bus_device_function: &BusDeviceFunction, _offset: u8) -> u32 { in read_config()
24 fn write_config(_bus_device_function: &BusDeviceFunction, _offset: u8, _data: u32) { in write_config()
/DragonOS/kernel/src/arch/x86_64/asm/
H A Dpio.rs17 unsafe fn in32(port: u16) -> u32 { in in32()
32 unsafe fn out32(port: u16, data: u32) { in out32()
/DragonOS/kernel/src/libs/lib_ui/
H A Dscreen_manager.rs120 width: u32, in new_device_buffer()
121 height: u32, in new_device_buffer()
122 size: u32, in new_device_buffer()
123 bit_depth: u32, in new_device_buffer()
145 pub fn bit_depth(&self) -> u32 { in bit_depth()
149 pub fn height(&self) -> u32 { in height()
153 pub fn width(&self) -> u32 { in width()
/DragonOS/kernel/src/exception/
H A 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/kernel/src/driver/tty/
H A Dconsole.rs50 ypos: u32, in con_putc()
51 xpos: u32, in con_putc()
66 ypos: u32, in con_putcs()
67 xpos: u32, in con_putcs()
/DragonOS/kernel/src/arch/x86_64/mm/
H A Dpkru.rs42 pub fn pkru_allows_read(pkru: u32, pkey: u16) -> bool { in pkru_allows_read()
47 pub fn pkru_allows_write(pkru: u32, pkey: u16) -> bool { in pkru_allows_write()

12345