/DragonOS/kernel/src/driver/rtc/ |
H A D | interface.rs | 15 .ok_or(SystemError::ENODEV)?; in rtc_read_time() 30 rtc_read_time(&global_default_rtc().ok_or(SystemError::ENODEV)?) in rtc_read_time_default()
|
H A D | sysfs.rs | 75 hc2sysfs_result: Err(SystemError::ENODEV), in new() 307 .ok_or(SystemError::ENODEV)?; in show() 310 let driver_name = rtc_device.driver().ok_or(SystemError::ENODEV)?.name(); in show()
|
H A D | rtc_cmos.rs | 76 .map_err(|_| SystemError::ENODEV)?; in probe() 79 return Err(SystemError::ENODEV); in probe()
|
/DragonOS/kernel/src/arch/x86_64/ |
H A D | acpi.rs | 9 let platform_info = acpi_manager().platform_info().ok_or(SystemError::ENODEV)?; in early_acpi_boot_init() 10 let processor_info = platform_info.processor_info.ok_or(SystemError::ENODEV)?; in early_acpi_boot_init()
|
/DragonOS/kernel/src/driver/video/fbdev/base/ |
H A D | fbsysfs.rs | 66 let fb = fb_dev.framebuffer().ok_or(SystemError::ENODEV)?; in show() 95 let fb = fb_dev.framebuffer().ok_or(SystemError::ENODEV)?; in show() 197 let fb = fb_dev.framebuffer().ok_or(SystemError::ENODEV)?; in show() 226 let fb = fb_dev.framebuffer().ok_or(SystemError::ENODEV)?; in show() 258 let fb = fb_dev.framebuffer().ok_or(SystemError::ENODEV)?; in show() 282 let fb = fb_dev.framebuffer().ok_or(SystemError::ENODEV)?; in show() 312 let fb = fb_dev.framebuffer().ok_or(SystemError::ENODEV)?; in show()
|
/DragonOS/kernel/src/arch/x86_64/driver/ |
H A D | tsc.rs | 32 let feat = cpuid.get_feature_info().ok_or(SystemError::ENODEV)?; in init() 35 return Err(SystemError::ENODEV); in init() 83 return Err(SystemError::ENODEV); in determine_cpu_tsc_frequency() 193 return Err(SystemError::ENODEV); in calibrate_cpu_by_pit_hpet_ptimer() 198 return Err(SystemError::ENODEV); in calibrate_cpu_by_pit_hpet_ptimer()
|
H A D | hpet.rs | 86 return Err(SystemError::ENODEV); in new() 131 return Err(SystemError::ENODEV); in hpet_enable() 138 let (inner_guard, timer_reg) = unsafe { self.timer_mut(0).ok_or(SystemError::ENODEV) }?; in hpet_enable() 255 HpetInfo::new(acpi_manager().tables().unwrap()).map_err(|_| SystemError::ENODEV)?; in hpet_init()
|
/DragonOS/kernel/src/driver/acpi/ |
H A D | mod.rs | 71 return Err(SystemError::ENODEV); in init() 89 return Err(SystemError::ENODEV); in map_tables() 104 return Err(SystemError::ENODEV); in map_tables()
|
H A D | sysfs.rs | 297 SystemError::ENODEV in read() 504 return Err(SystemError::ENODEV); in read()
|
/DragonOS/kernel/src/net/ |
H A D | net_core.rs | 49 let net_face = binding.get(&1).ok_or(SystemError::ENODEV)?.clone(); in dhcp_query() 152 return Err(SystemError::ENODEV); in poll_ifaces_try_lock() 182 return Err(SystemError::ENODEV); in poll_ifaces_try_lock_onetime()
|
/DragonOS/kernel/src/driver/base/device/ |
H A D | bus.rs | 621 let device = bus.find_device_by_name(name).ok_or(SystemError::ENODEV)?; in store() 765 .ok_or(SystemError::ENODEV)?; in store() 771 let dev = bus.find_device_by_name(s).ok_or(SystemError::ENODEV)?; in store() 772 let p = dev.driver().ok_or(SystemError::ENODEV)?; in store() 777 return Err(SystemError::ENODEV); in store() 814 .ok_or(SystemError::ENODEV)?; in store() 822 .ok_or(SystemError::ENODEV)?; in store() 828 return Err(SystemError::ENODEV); in store()
|
H A D | driver.rs | 35 DriverError::ProbeError => SystemError::ENODEV, in from() 36 DriverError::RegisterError => SystemError::ENODEV, in from() 39 DriverError::UnInitialized => SystemError::ENODEV, in from()
|
H A D | dd.rs | 362 return Err(SystemError::ENODEV); in do_probe_device() 532 SystemError::ENODEV | SystemError::ENXIO => { in call_driver_probe()
|
H A D | mod.rs | 384 DeviceError::NotInitialized => SystemError::ENODEV, in from() 385 DeviceError::NoDeviceForDriver => SystemError::ENODEV, in from() 386 DeviceError::NoDriverForDevice => SystemError::ENODEV, in from()
|
/DragonOS/kernel/src/driver/clocksource/ |
H A D | acpi_pm.rs | 215 let pm_timer_block = fadt.pm_timer_block().map_err(|_| SystemError::ENODEV)?; in find_acpi_pm_clock() 216 let pm_timer_block = pm_timer_block.ok_or(SystemError::ENODEV)?; in find_acpi_pm_clock() 241 return Err(SystemError::ENODEV); in init_acpi_pm_clocksource()
|
/DragonOS/kernel/src/common/ |
H A D | errno.h | 31 #define ENODEV 19 /* 没有指定的设备 No such device. */ macro
|
/DragonOS/kernel/src/driver/open_firmware/ |
H A D | fdt.rs | 80 let fdt_vaddr = boot_params().read().fdt().ok_or(SystemError::ENODEV)?; in fdt_ref() 103 let node = fdt.find_node("/").ok_or(SystemError::ENODEV)?; in early_init_scan_root() 349 .ok_or(SystemError::ENODEV)?; in fdt_scan_reserved_mem()
|
/DragonOS/kernel/crates/system_error/src/ |
H A D | lib.rs | 50 ENODEV = 19, enumerator
|
/DragonOS/kernel/src/arch/x86_64/interrupt/ |
H A D | mod.rs | 98 return Err(SystemError::ENODEV); in arch_ap_early_irq_init()
|
/DragonOS/kernel/src/driver/firmware/efi/ |
H A D | fdt.rs | 116 .ok_or(SystemError::ENODEV)? in get_fdt_params()
|
/DragonOS/kernel/src/driver/disk/ahci/ |
H A D | mod.rs | 45 return Err(SystemError::ENODEV); in ahci_device_search()
|
/DragonOS/kernel/src/driver/serial/serial8250/ |
H A D | serial8250_pio.rs | 117 return Err(SystemError::ENODEV); in init()
|
/DragonOS/kernel/src/arch/x86_64/init/ |
H A D | multiboot2.rs | 104 return Err(SystemError::ENODEV); in early_init_framebuffer_info()
|
/DragonOS/kernel/src/driver/tty/ |
H A D | tty_device.rs | 146 TtyDriverManager::lookup_tty_driver(dev_num).ok_or(SystemError::ENODEV)?; in open() 159 return Err(SystemError::ENODEV); in open()
|
/DragonOS/kernel/src/filesystem/vfs/ |
H A D | core.rs | 132 .ok_or(SystemError::ENODEV)?; in mount_root_fs()
|