/linux/rust/kernel/drm/ |
H A D | device.rs | 57 pub struct Device<T: drm::Driver> { struct 63 impl<T: drm::Driver> Device<T> { implementation 98 pub fn new(dev: &device::Device, data: impl PinInit<T::Data, Error>) -> Result<ARef<Self>> { in new() 167 impl<T: drm::Driver> Deref for Device<T> { implementation 177 unsafe impl<T: drm::Driver> AlwaysRefCounted for Device<T> { implementation 189 impl<T: drm::Driver> AsRef<device::Device> for Device<T> { implementation 190 fn as_ref(&self) -> &device::Device { in as_ref() 198 unsafe impl<T: drm::Driver> Send for Device<T> {} implementation 202 unsafe impl<T: drm::Driver> Sync for Device<T> {} implementation
|
/linux/rust/kernel/ |
H A D | pci.rs | 256 pub struct Device<Ctx: device::DeviceContext = device::Normal>( struct 274 fn new(pdev: &Device, num: u32, name: &CStr) -> Result<Self> { in new() 327 unsafe fn do_release(pdev: &Device, ioptr: usize, num: i32) { in do_release() 366 impl<Ctx: device::DeviceContext> Device<Ctx> { implementation 372 impl Device { implementation 398 impl Device<device::Bound> { impl 418 impl Device<device::Core> { impl 438 unsafe impl crate::types::AlwaysRefCounted for Device { implementation 450 impl<Ctx: device::DeviceContext> AsRef<device::Device<Ctx>> for Device<Ctx> { implementation 461 impl<Ctx: device::DeviceContext> TryFrom<&device::Device<Ctx>> for &Device<Ctx> { implementation [all …]
|
H A D | auxiliary.rs | 206 pub struct Device<Ctx: device::DeviceContext = device::Normal>( struct 211 impl<Ctx: device::DeviceContext> Device<Ctx> { implementation 224 pub fn parent(&self) -> Option<&device::Device> { in parent() 227 let ptr: *const Device = ptr.cast(); in parent() constant 235 impl Device { implementation 253 unsafe impl crate::types::AlwaysRefCounted for Device { implementation 272 impl<Ctx: device::DeviceContext> AsRef<device::Device<Ctx>> for Device<Ctx> { implementation 284 unsafe impl Send for Device {} implementation 288 unsafe impl Sync for Device {} implementation 303 pub fn new(parent: &device::Device, name: &CStr, id: u32, modname: &CStr) -> Result<Self> { in new()
|
H A D | platform.rs | 182 pub struct Device<Ctx: device::DeviceContext = device::Normal>( struct 187 impl<Ctx: device::DeviceContext> Device<Ctx> { implementation 199 unsafe impl crate::types::AlwaysRefCounted for Device { implementation 211 impl<Ctx: device::DeviceContext> AsRef<device::Device<Ctx>> for Device<Ctx> { implementation 222 impl<Ctx: device::DeviceContext> TryFrom<&device::Device<Ctx>> for &Device<Ctx> { implementation 243 unsafe impl Send for Device {} implementation 247 unsafe impl Sync for Device {} implementation
|
H A D | device.rs | 45 pub struct Device<Ctx: DeviceContext = Normal>(Opaque<bindings::device>, PhantomData<Ctx>); struct 47 impl Device { implementation 64 impl<Ctx: DeviceContext> Device<Ctx> { implementation 219 unsafe impl crate::types::AlwaysRefCounted for Device { implementation 232 unsafe impl Send for Device {} implementation 236 unsafe impl Sync for Device {} implementation
|
H A D | opp.rs | 181 fn new(dev: &ARef<Device>, mut data: Data) -> Result<Self> { in new() 295 fn config_clks(_dev: &Device, _table: &Table, _opp: &OPP, _scaling_down: bool) -> Result { in config_clks() 302 _dev: &Device, in config_regulators() 418 pub fn set_required_dev(mut self, dev: ARef<Device>, index: u32) -> Result<Self> { in set_required_dev() 659 pub fn from_of(dev: &ARef<Device>, index: i32) -> Result<Self> { in from_of() 687 pub fn from_of_cpumask(dev: &Device, cpumask: &mut Cpumask) -> Result<Self> { in from_of_cpumask() 765 pub fn sharing_cpus(dev: &Device, cpumask: &mut Cpumask) -> Result { in sharing_cpus() 790 pub fn of_sharing_cpus(dev: &Device, cpumask: &mut Cpumask) -> Result { in of_sharing_cpus()
|
H A D | clk.rs | 134 pub fn get(dev: &Device, name: Option<&CStr>) -> Result<Self> { in get() 306 pub fn get(dev: &Device, name: Option<&CStr>) -> Result<Self> { in get()
|
H A D | faux.rs | 54 fn as_ref(&self) -> &device::Device { in as_ref()
|
H A D | cpu.rs | 141 pub unsafe fn from_cpu(cpu: CpuId) -> Result<&'static Device> { in from_cpu()
|
H A D | firmware.rs | 62 fn request_internal(name: &CStr, dev: &Device, func: FwFunc) -> Result<Self> { in request_internal()
|
H A D | miscdevice.rs | 89 pub fn device(&self) -> &Device { in device()
|
H A D | cpufreq.rs | 556 pub unsafe fn set_clk(&mut self, dev: &Device, name: Option<&CStr>) -> Result<Clk> { in set_clk()
|
/linux/rust/kernel/net/ |
H A D | phy.rs | 74 pub struct Device(Opaque<bindings::phy_device>); struct 76 impl Device { implementation 284 impl AsRef<kernel::device::Device> for Device { implementation 285 fn as_ref(&self) -> &kernel::device::Device { in as_ref() argument 631 read_mmd(_dev: &mut Device, _devnum: u8, _regnum: u16) -> Result<u16> read_mmd() argument 636 write_mmd(_dev: &mut Device, _devnum: u8, _regnum: u16, _val: u16) -> Result write_mmd() argument 641 link_change_notify(_dev: &mut Device) link_change_notify() argument [all...] |
/linux/rust/kernel/net/phy/ |
H A 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()
|
/linux/drivers/cpufreq/ |
H A D | rcpufreq_dt.rs | 21 fn find_supply_name_exact(dev: &Device, name: &str) -> Option<CString> { in find_supply_name_exact() 29 fn find_supply_names(dev: &Device, cpu: cpu::CpuId) -> Option<KVec<CString>> { in find_supply_names()
|
/linux/Documentation/driver-api/ |
H A D | eisa.rst | 127 Device chapter
|
/linux/Documentation/networking/ |
H A D | eql.rst | 158 3.3.1. /etc/slip/runslip.conf
|
H A D | can.rst | 1392 .. _socketcan-can-fd-driver:
|
/linux/tools/testing/selftests/hid/tests/ |
H A D | base_device.py | 188 def is_a_match(self: "EvdevMatch", evdev: libevdev.Device) -> bool:
|
/linux/drivers/media/pci/ngene/ |
H A D | ngene.h | 256 u8 Device; member 267 u8 Device; member
|