Home
last modified time | relevance | path

Searched refs:ENODEV (Results 1 – 25 of 29) sorted by relevance

12

/DragonOS/kernel/src/driver/rtc/
H A Dinterface.rs15 .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 Dsysfs.rs75 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 Drtc_cmos.rs76 .map_err(|_| SystemError::ENODEV)?; in probe()
79 return Err(SystemError::ENODEV); in probe()
/DragonOS/kernel/src/arch/x86_64/
H A Dacpi.rs9 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 Dfbsysfs.rs66 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 Dtsc.rs32 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 Dhpet.rs86 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 Dmod.rs71 return Err(SystemError::ENODEV); in init()
89 return Err(SystemError::ENODEV); in map_tables()
104 return Err(SystemError::ENODEV); in map_tables()
H A Dsysfs.rs297 SystemError::ENODEV in read()
504 return Err(SystemError::ENODEV); in read()
/DragonOS/kernel/src/net/
H A Dnet_core.rs49 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 Dbus.rs621 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 Ddriver.rs35 DriverError::ProbeError => SystemError::ENODEV, in from()
36 DriverError::RegisterError => SystemError::ENODEV, in from()
39 DriverError::UnInitialized => SystemError::ENODEV, in from()
H A Ddd.rs362 return Err(SystemError::ENODEV); in do_probe_device()
532 SystemError::ENODEV | SystemError::ENXIO => { in call_driver_probe()
H A Dmod.rs384 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 Dacpi_pm.rs215 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 Derrno.h31 #define ENODEV 19 /* 没有指定的设备 No such device. */ macro
/DragonOS/kernel/src/driver/open_firmware/
H A Dfdt.rs80 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 Dlib.rs50 ENODEV = 19, enumerator
/DragonOS/kernel/src/arch/x86_64/interrupt/
H A Dmod.rs98 return Err(SystemError::ENODEV); in arch_ap_early_irq_init()
/DragonOS/kernel/src/driver/firmware/efi/
H A Dfdt.rs116 .ok_or(SystemError::ENODEV)? in get_fdt_params()
/DragonOS/kernel/src/driver/disk/ahci/
H A Dmod.rs45 return Err(SystemError::ENODEV); in ahci_device_search()
/DragonOS/kernel/src/driver/serial/serial8250/
H A Dserial8250_pio.rs117 return Err(SystemError::ENODEV); in init()
/DragonOS/kernel/src/arch/x86_64/init/
H A Dmultiboot2.rs104 return Err(SystemError::ENODEV); in early_init_framebuffer_info()
/DragonOS/kernel/src/driver/tty/
H A Dtty_device.rs146 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 Dcore.rs132 .ok_or(SystemError::ENODEV)?; in mount_root_fs()

12