Home
last modified time | relevance | path

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

/linux/rust/kernel/drm/
H A Ddevice.rs97 /// Create a new `drm::Device` for a `drm::Driver`. in new() argument
216 impl<T: drm::Driver> AsRef<device::Device> for Device<T> { in as_ref() argument
57 pub struct Device<T: drm::Driver> { global() struct
62 impl<T: drm::Driver> Device<T> { global() implementation
190 impl<T: drm::Driver> Deref for Device<T> { global() implementation
200 unsafe impl<T: drm::Driver> AlwaysRefCounted for Device<T> { global() implementation
215 impl<T: drm::Driver> AsRef<device::Device> for Device<T> { global() implementation
224 unsafe impl<T: drm::Driver> Send for Device<T> {} global() implementation
228 unsafe impl<T: drm::Driver> Sync for Device<T> {} global() implementation
[all...]
/linux/rust/kernel/
H A Dpci.rs273 pub struct Device<Ctx: device::DeviceContext = device::Normal>( global() struct
291 new(pdev: &Device, num: u32, name: &CStr) -> Result<Self> new() argument
344 do_release(pdev: &Device, ioptr: usize, num: i32) do_release() argument
383 impl<Ctx: device::DeviceContext> Device<Ctx> { global() implementation
389 impl Device { global() implementation
415 impl Device<device::Bound> { global() implementation
436 impl Device<device::Core> { global() implementation
455 impl crate::dma::Device for Device<device::Core> {} global() implementation
458 unsafe impl crate::types::AlwaysRefCounted for Device { global() implementation
470 impl<Ctx: device::DeviceContext> AsRef<device::Device<Ctx>> for Device<Ctx> { global() implementation
481 impl<Ctx: device::DeviceContext> TryFrom<&device::Device<Ctx>> for &Device<Ctx> { global() implementation
502 unsafe impl Send for Device {} global() implementation
506 unsafe impl Sync for Device {} global() implementation
[all...]
H A Dplatform.rs221 pub struct Device<Ctx: device::DeviceContext = device::Normal>( global() struct
226 impl<Ctx: device::DeviceContext> Device<Ctx> { global() implementation
269 impl Device<Bound> { global() implementation
292 impl crate::dma::Device for Device<device::Core> {} global() implementation
295 unsafe impl crate::types::AlwaysRefCounted for Device { global() implementation
307 impl<Ctx: device::DeviceContext> AsRef<device::Device<Ctx>> for Device<Ctx> { global() implementation
318 impl<Ctx: device::DeviceContext> TryFrom<&device::Device<Ctx>> for &Device<Ctx> { global() implementation
339 unsafe impl Send for Device {} global() implementation
343 unsafe impl Sync for Device {} global() implementation
[all...]
H A Dauxiliary.rs201 pub struct Device<Ctx: device::DeviceContext = device::Normal>( struct
206 impl<Ctx: device::DeviceContext> Device<Ctx> { implementation
219 pub fn parent(&self) -> Option<&device::Device> { in parent() argument
222 let ptr: *const Device = ptr.cast(); parent() constant
230 impl Device { global() implementation
248 unsafe impl crate::types::AlwaysRefCounted for Device { global() implementation
267 impl<Ctx: device::DeviceContext> AsRef<device::Device<Ctx>> for Device<Ctx> { global() implementation
279 unsafe impl Send for Device {} global() implementation
283 unsafe impl Sync for Device {} global() implementation
298 new(parent: &device::Device, name: &CStr, id: u32, modname: &CStr) -> Result<Self> new() argument
[all...]
H A Ddevice.rs160 pub struct Device<Ctx: DeviceContext = Normal>(Opaque<bindings::device>, PhantomData<Ctx>); global() struct
162 impl Device { global() implementation
198 impl Device<CoreInternal> { global() implementation
245 impl<Ctx: DeviceContext> Device<Ctx> { global() implementation
409 unsafe impl crate::types::AlwaysRefCounted for Device { global() implementation
422 unsafe impl Send for Device {} global() implementation
426 unsafe impl Sync for Device {} global() implementation
[all...]
H A Dregulator.rs277 get_internal(dev: &Device, name: &CStr) -> Result<Regulator<T>> get_internal() argument
305 get(dev: &Device, name: &CStr) -> Result<Self> get() argument
332 get(dev: &Device, name: &CStr) -> Result<Self> get() argument
364 get(dev: &Device, name: &CStr) -> Result<Self> get() argument
[all...]
H A Dopp.rs181 new(dev: &ARef<Device>, mut data: Data) -> Result<Self> new() argument
295 config_clks(_dev: &Device, _table: &Table, _opp: &OPP, _scaling_down: bool) -> Result config_clks() argument
302 config_regulators( _dev: &Device, _opp_old: &OPP, _opp_new: &OPP, _data: *mut *mut bindings::regulator, _count: u32, ) -> Result config_regulators() argument
418 set_required_dev(mut self, dev: ARef<Device>, index: u32) -> Result<Self> set_required_dev() argument
659 from_of(dev: &ARef<Device>, index: i32) -> Result<Self> from_of() argument
687 from_of_cpumask(dev: &Device, cpumask: &mut Cpumask) -> Result<Self> from_of_cpumask() argument
765 sharing_cpus(dev: &Device, cpumask: &mut Cpumask) -> Result sharing_cpus() argument
790 of_sharing_cpus(dev: &Device, cpumask: &mut Cpumask) -> Result of_sharing_cpus() argument
[all...]
H A Dclk.rs138 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 Dfaux.rs54 fn as_ref(&self) -> &device::Device { in as_ref()
H A Dcpu.rs141 from_cpu(cpu: CpuId) -> Result<&'static Device> from_cpu() argument
H A Ddma.rs21 pub trait Device: AsRef<device::Device<Core>> { global() interface
[all...]
H A Ddevres.rs217 device(&self) -> &Device device() argument
[all...]
H A Dfirmware.rs62 fn request_internal(name: &CStr, dev: &Device, func: FwFunc) -> Result<Self> { in request_internal() argument
H A Dmiscdevice.rs94 pub fn device(&self) -> &Device { in device() argument
H A Dcpufreq.rs556 set_clk(&mut self, dev: &Device, name: Option<&CStr>) -> Result<Clk> set_clk() argument
/linux/Documentation/PCI/endpoint/
H A Dpci-test-howto.rst140 Kselftest Output
207 Kselftest EP Doorbell
/linux/rust/kernel/net/
H A Dphy.rs74 pub struct Device(Opaque<bindings::phy_device>); struct
76 impl Device { implementation
285 unsafe { kernel::device::Device::from_raw(addr_of_mut!((*phydev).mdio.dev)) } in as_ref() argument
284 impl AsRef<kernel::device::Device> for Device { global() implementation
624 read_mmd(_dev: &mut Device, _devnum: u8, _regnum: u16) -> Result<u16> read_mmd() argument
629 write_mmd(_dev: &mut Device, _devnum: u8, _regnum: u16, _val: u16) -> Result write_mmd() argument
634 link_change_notify(_dev: &mut Device) link_change_notify() argument
[all...]
/linux/rust/kernel/net/phy/
H A 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/drivers/cpufreq/
H A Drcpufreq_dt.rs20 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 Deisa.rst127 Device chapter
/linux/Documentation/networking/
H A Deql.rst158 3.3.1. /etc/slip/runslip.conf
H A Dcan.rst1389 .. _socketcan-can-fd-driver:
/linux/tools/testing/selftests/hid/tests/
H A Dbase_device.py197 def is_a_match(self: "EvdevMatch", evdev: libevdev.Device) -> bool:
/linux/drivers/media/pci/ngene/
H A Dngene.h256 u8 Device; member
267 u8 Device; member