Home
last modified time | relevance | path

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

/linux/rust/kernel/
H A Dplatform.rs256 pub struct Device<Ctx: device::DeviceContext = device::Normal>( struct
261 impl<Ctx: device::DeviceContext> Device<Ctx> { implementation
304 impl Device<Bound> { impl
324 unsafe impl<Ctx: device::DeviceContext> device::AsBusDevice<Ctx> for Device<Ctx> { implementation
386 impl Device<Bound> { implementation
512 impl crate::dma::Device for Device<device::Core> {} implementation
515 unsafe impl crate::sync::aref::AlwaysRefCounted for Device { implementation
527 impl<Ctx: device::DeviceContext> AsRef<device::Device<Ctx>> for Device<Ctx> { implementation
538 impl<Ctx: device::DeviceContext> TryFrom<&device::Device<Ctx>> for &Device<Ctx> { implementation
559 unsafe impl Send for Device {} implementation
[all …]
H A Dpci.rs338 pub struct Device<Ctx: device::DeviceContext = device::Normal>( struct
343 impl<Ctx: device::DeviceContext> Device<Ctx> { implementation
350 impl Device { impl
448 impl Device<device::Core> { impl
465 unsafe impl<Ctx: device::DeviceContext> device::AsBusDevice<Ctx> for Device<Ctx> { implementation
474 impl crate::dma::Device for Device<device::Core> {} implementation
477 unsafe impl crate::sync::aref::AlwaysRefCounted for Device { implementation
489 impl<Ctx: device::DeviceContext> AsRef<device::Device<Ctx>> for Device<Ctx> { implementation
500 impl<Ctx: device::DeviceContext> TryFrom<&device::Device<Ctx>> for &Device<Ctx> { implementation
521 unsafe impl Send for Device {} implementation
[all …]
H A Ddevice.rs170 pub struct Device<Ctx: DeviceContext = Normal>(Opaque<bindings::device>, PhantomData<Ctx>); struct
172 impl Device { impl
208 impl Device<CoreInternal> { impl
275 impl Device<Bound> { implementation
336 impl<Ctx: DeviceContext> Device<Ctx> { implementation
344 pub(crate) fn parent(&self) -> Option<&Device> { in parent()
500 unsafe impl crate::sync::aref::AlwaysRefCounted for Device { implementation
513 unsafe impl Send for Device {} implementation
517 unsafe impl Sync for Device {} implementation
604 impl<Ctx: DeviceContext> AsRef<Device<Ctx>> for Device<Ctx> { implementation
H A Dauxiliary.rs234 pub struct Device<Ctx: device::DeviceContext = device::Normal>( struct
239 impl<Ctx: device::DeviceContext> Device<Ctx> { implementation
252 impl Device<device::Bound> { impl
262 impl Device { impl
264 pub fn parent(&self) -> &device::Device { in parent()
282 unsafe impl<Ctx: device::DeviceContext> device::AsBusDevice<Ctx> for Device<Ctx> { implementation
292 unsafe impl crate::sync::aref::AlwaysRefCounted for Device { implementation
311 impl<Ctx: device::DeviceContext> AsRef<device::Device<Ctx>> for Device<Ctx> { implementation
323 unsafe impl Send for Device {} implementation
327 unsafe impl Sync for Device {} implementation
H A Dusb.rs375 fn as_ref(&self) -> &Device { in as_ref()
420 struct Device<Ctx: device::DeviceContext = device::Normal>( struct
425 impl<Ctx: device::DeviceContext> Device<Ctx> { impl
437 unsafe impl AlwaysRefCounted for Device { implementation
451 impl<Ctx: device::DeviceContext> AsRef<device::Device<Ctx>> for Device<Ctx> { implementation
463 unsafe impl Send for Device {} implementation
467 unsafe impl Sync for Device {} implementation
H A Dopp.rs182 fn new(dev: &ARef<Device>, mut data: Data) -> Result<Self> { in new()
296 fn config_clks(_dev: &Device, _table: &Table, _opp: &OPP, _scaling_down: bool) -> Result { in config_clks()
303 _dev: &Device, in config_regulators()
419 pub fn set_required_dev(mut self, dev: ARef<Device>, index: u32) -> Result<Self> { in set_required_dev()
661 pub fn from_of(dev: &ARef<Device>, index: i32) -> Result<Self> { in from_of()
689 pub fn from_of_cpumask(dev: &Device, cpumask: &mut Cpumask) -> Result<Self> { in from_of_cpumask()
764 pub fn sharing_cpus(dev: &Device, cpumask: &mut Cpumask) -> Result { in sharing_cpus()
789 pub fn of_sharing_cpus(dev: &Device, cpumask: &mut Cpumask) -> Result { in of_sharing_cpus()
H A Dregulator.rs270 get_internal(dev: &Device, name: &CStr) -> Result<Regulator<T>> get_internal() argument
299 get(dev: &Device, name: &CStr) -> Result<Self> get() argument
326 get(dev: &Device, name: &CStr) -> Result<Self> get() argument
[all...]
H A Dclk.rs138 get(dev: &Device, name: Option<&CStr>) -> Result<Self> get() argument
306 get(dev: &Device, name: Option<&CStr>) -> Result<Self> get() argument
H A Dfaux.rs54 as_ref(&self) -> &device::Device as_ref() argument
H A Ddma.rs33 pub trait Device: AsRef<device::Device<Core>> { trait
H A Ddevres.rs227 device(&self) -> &Device device() argument
[all...]
H A Dfirmware.rs69 fn request_internal(name: &CStr, dev: &Device, func: FwFunc) -> Result<Self> { in request_internal()
H A Dcpufreq.rs555 pub unsafe fn set_clk(&mut self, dev: &Device, name: Option<&CStr>) -> Result<Clk> { in set_clk() argument
/linux/rust/kernel/pci/
H A Dio.rs195 pub(super) fn new(pdev: &Device, num: u32, name: &CStr) -> Result<Self> { in new()
248 unsafe fn do_release(pdev: &Device, ioptr: usize, num: i32) { in do_release()
288 impl Device<device::Bound> { implementation
H A Dirq.rs174 impl Device<device::Bound> { impl
/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/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