Lines Matching refs:DeviceNumber
2 device::{mkdev, DeviceNumber, KObject},
62 dev_t: DeviceNumber, //起始设备号
76 pub fn new(dev_t: DeviceNumber, minorct: usize, name: &'static str) -> Self { in new() argument
89 pub fn device_number(&self) -> DeviceNumber { in device_number() argument
163 from: DeviceNumber, in register_chardev_region() argument
166 ) -> Result<DeviceNumber, SystemError> { in register_chardev_region() argument
180 ) -> Result<DeviceNumber, SystemError> { in alloc_chardev_region() argument
190 device_number: DeviceNumber, in __register_chardev_region() argument
193 ) -> Result<DeviceNumber, SystemError> { in __register_chardev_region() argument
244 device_number: DeviceNumber, in __unregister_chardev_region() argument
270 pub fn cdev_add(cdev: Arc<dyn CharDevice>, dev_t: DeviceNumber, range: usize) { in cdev_add() argument
282 pub fn cdev_del(dev_t: DeviceNumber, range: usize) { in cdev_del() argument