Home
last modified time | relevance | path

Searched defs:Device (Results 1 – 18 of 18) sorted by relevance

/linux-6.15/rust/kernel/
Dplatform.rs182 pub struct Device<Ctx: device::DeviceContext = device::Normal>( struct
187 impl Device { impl
193 impl Deref for Device<device::Core> { implementation
214 unsafe impl crate::types::AlwaysRefCounted for Device { implementation
226 impl AsRef<device::Device> for Device { implementation
227 fn as_ref(&self) -> &device::Device { in as_ref()
238 unsafe impl Send for Device {} implementation
242 unsafe impl Sync for Device {} implementation
Dpci.rs253 pub struct Device<Ctx: device::DeviceContext = device::Normal>( struct
271 fn new(pdev: &Device, num: u32, name: &CStr) -> Result<Self> { in new()
324 unsafe fn do_release(pdev: &Device, ioptr: usize, num: i32) { in do_release()
363 impl Device { implementation
411 impl Device<device::Core> { impl
425 impl Deref for Device<device::Core> { implementation
446 unsafe impl crate::types::AlwaysRefCounted for Device { implementation
458 impl AsRef<device::Device> for Device { implementation
459 fn as_ref(&self) -> &device::Device { in as_ref()
470 unsafe impl Send for Device {} implementation
[all …]
Ddevice.rs45 pub struct Device(Opaque<bindings::device>); struct
47 impl Device { impl
193 unsafe impl crate::types::AlwaysRefCounted for Device { implementation
206 unsafe impl Send for Device {} implementation
210 unsafe impl Sync for Device {} implementation
Ddevres.rs102 fn new(dev: &Device, data: T, flags: Flags) -> Result<Arc<DevresInner<T>>> { in new()
174 pub fn new(dev: &Device, data: T, flags: Flags) -> Result<Self> { in new()
182 pub fn new_foreign_owned(dev: &Device, data: T, flags: Flags) -> Result { in new_foreign_owned()
Ddma.rs155 dev: &Device, in alloc_attrs()
197 dev: &Device, in alloc_coherent()
Dfaux.rs54 fn as_ref(&self) -> &device::Device { in as_ref()
Dfirmware.rs62 fn request_internal(name: &CStr, dev: &Device, func: FwFunc) -> Result<Self> { in request_internal()
Dmiscdevice.rs88 pub fn device(&self) -> &Device { in device()
/linux-6.15/rust/kernel/net/
Dphy.rs74 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()
/linux-6.15/rust/kernel/net/phy/
Dreg.rs48 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()
/linux-6.15/drivers/gpu/nova-core/
Dgpu.rs157 fn new(dev: &device::Device, spec: &Spec, ver: &str) -> Result<Firmware> { in new()
185 pub(crate) fn new(pdev: &pci::Device, bar: Devres<Bar0>) -> Result<impl PinInit<Self>> { in new()
/linux-6.15/Documentation/driver-api/
Deisa.rst127 Device chapter
/linux-6.15/Documentation/PCI/endpoint/
Dpci-test-howto.rst140 Kselftest Output
/linux-6.15/Documentation/networking/
Deql.rst158 3.3.1. /etc/slip/runslip.conf
Dcan.rst1392 .. _socketcan-can-fd-driver:
/linux-6.15/drivers/net/phy/
Dax88796b_rust.rs93 fn link_change_notify(dev: &mut phy::Device) { in link_change_notify()
/linux-6.15/tools/testing/selftests/hid/tests/
Dbase_device.py188 def is_a_match(self: "EvdevMatch", evdev: libevdev.Device) -> bool:
/linux-6.15/drivers/media/pci/ngene/
Dngene.h256 u8 Device; member
267 u8 Device; member