Searched defs:Device (Results 1 – 5 of 5) sorted by relevance
| /rust/kernel/ |
| D | device.rs | 41 pub struct Device(Opaque<bindings::device>); struct 43 impl Device { implementation 79 unsafe impl crate::types::AlwaysRefCounted for Device { implementation 92 unsafe impl Send for Device {} implementation 96 unsafe impl Sync for Device {} implementation
|
| D | firmware.rs | 62 fn request_internal(name: &CStr, dev: &Device, func: FwFunc) -> Result<Self> { in request_internal()
|
| D | miscdevice.rs | 93 pub fn device(&self) -> &Device { in device()
|
| /rust/kernel/net/ |
| D | phy.rs | 74 pub struct Device(Opaque<bindings::phy_device>); struct 76 impl Device { impl 284 impl AsRef<kernel::device::Device> for Device { implementation 285 fn as_ref(&self) -> &kernel::device::Device { in as_ref() 631 fn read_mmd(_dev: &mut Device, _devnum: u8, _regnum: u16) -> Result<u16> { in read_mmd() 636 fn write_mmd(_dev: &mut Device, _devnum: u8, _regnum: u16, _val: u16) -> Result { in write_mmd() 641 fn link_change_notify(_dev: &mut Device) {} in link_change_notify()
|
| /rust/kernel/net/phy/ |
| D | reg.rs | 48 fn write(&self, dev: &mut Device, val: u16) -> Result; in write() 117 fn write(&self, dev: &mut Device, val: u16) -> Result { in write() 207 fn write(&self, dev: &mut Device, val: u16) -> Result { in write()
|