Home
last modified time | relevance | path

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

/linux/rust/kernel/drm/
H A Ddevice.rs77 /// Setting up a new [`Device`] is a multi-stage process. Each step of the process that a user struct
82 impl<T: drm::Driver> Device<T> { global() implementation
117 new(dev: &device::Device, data: impl PinInit<T::Data, Error>) -> Result<ARef<Self>> new() argument
220 impl<T: drm::Driver> Deref for Device<T> { global() implementation
230 unsafe impl<T: drm::Driver> AlwaysRefCounted for Device<T> { global() implementation
245 impl<T: drm::Driver> AsRef<device::Device> for Device<T> { global() implementation
246 as_ref(&self) -> &device::Device as_ref() argument
254 unsafe impl<T: drm::Driver> Send for Device<T> {} global() implementation
258 unsafe impl<T: drm::Driver> Sync for Device<T> {} global() implementation
260 impl<T, const ID: u64> WorkItem<ID> for Device<T> global() implementation
283 unsafe impl<T, const ID: u64> HasWork<Device<T>, ID> for Device<T> global() implementation
311 unsafe impl<T, const ID: u64> HasDelayedWork<Device<T>, ID> for Device<T> global() implementation
[all...]
/linux/rust/kernel/
H A Dplatform.rs256 pub struct Device<Ctx: device::DeviceContext = device::Normal>( global() struct
261 impl<Ctx: device::DeviceContext> Device<Ctx> { global() implementation
304 impl Device<Bound> { global() implementation
324 unsafe impl<Ctx: device::DeviceContext> device::AsBusDevice<Ctx> for Device<Ctx> { global() implementation
386 impl Device<Bound> { global() implementation
512 impl crate::dma::Device for Device<device::Core> {} global() implementation
515 unsafe impl crate::sync::aref::AlwaysRefCounted for Device { global() implementation
527 impl<Ctx: device::DeviceContext> AsRef<device::Device<Ctx>> for Device<Ctx> { global() implementation
538 impl<Ctx: device::DeviceContext> TryFrom<&device::Device<Ctx>> for &Device<Ctx> { global() implementation
559 unsafe impl Send for Device {} global() implementation
563 unsafe impl Sync for Device {} global() implementation
[all...]
H A Dpci.rs338 pub struct Device<Ctx: device::DeviceContext = device::Normal>( global() struct
343 impl<Ctx: device::DeviceContext> Device<Ctx> { global() implementation
350 impl Device { global() implementation
448 impl Device<device::Core> { global() implementation
465 unsafe impl<Ctx: device::DeviceContext> device::AsBusDevice<Ctx> for Device<Ctx> { global() implementation
474 impl crate::dma::Device for Device<device::Core> {} global() implementation
477 unsafe impl crate::sync::aref::AlwaysRefCounted for Device { global() implementation
489 impl<Ctx: device::DeviceContext> AsRef<device::Device<Ctx>> for Device<Ctx> { global() implementation
500 impl<Ctx: device::DeviceContext> TryFrom<&device::Device<Ctx>> for &Device<Ctx> { global() implementation
521 unsafe impl Send for Device {} global() implementation
525 unsafe impl Sync for Device {} global() implementation
[all...]
H A Ddevice.rs170 pub struct Device<Ctx: DeviceContext = Normal>(Opaque<bindings::device>, PhantomData<Ctx>); global() struct
172 impl Device { global() implementation
208 impl Device<CoreInternal> { global() implementation
275 impl Device<Bound> { global() implementation
336 impl<Ctx: DeviceContext> Device<Ctx> { global() implementation
344 parent(&self) -> Option<&Device> parent() argument
500 unsafe impl crate::sync::aref::AlwaysRefCounted for Device { global() implementation
513 unsafe impl Send for Device {} global() implementation
517 unsafe impl Sync for Device {} global() implementation
604 impl<Ctx: DeviceContext> AsRef<Device<Ctx>> for Device<Ctx> { global() implementation
[all...]
H A Dauxiliary.rs234 pub struct Device<Ctx: device::DeviceContext = device::Normal>( global() struct
239 impl<Ctx: device::DeviceContext> Device<Ctx> { global() implementation
252 impl Device<device::Bound> { global() implementation
262 impl Device { global() implementation
264 parent(&self) -> &device::Device parent() argument
282 unsafe impl<Ctx: device::DeviceContext> device::AsBusDevice<Ctx> for Device<Ctx> { global() implementation
292 unsafe impl crate::sync::aref::AlwaysRefCounted for Device { global() implementation
311 impl<Ctx: device::DeviceContext> AsRef<device::Device<Ctx>> for Device<Ctx> { global() implementation
323 unsafe impl Send for Device {} global() implementation
327 unsafe impl Sync for Device {} global() implementation
[all...]
H A Dusb.rs375 as_ref(&self) -> &Device as_ref() argument
420 struct Device<Ctx: device::DeviceContext = device::Normal>( global() struct
425 impl<Ctx: device::DeviceContext> Device<Ctx> { global() implementation
437 unsafe impl AlwaysRefCounted for Device { global() implementation
451 impl<Ctx: device::DeviceContext> AsRef<device::Device<Ctx>> for Device<Ctx> { global() implementation
463 unsafe impl Send for Device {} global() implementation
467 unsafe impl Sync for Device {} global() implementation
[all...]
H A Dopp.rs182 fn new(dev: &ARef<Device>, mut data: Data) -> Result<Self> { in new() argument
296 config_clks(_dev: &Device, _table: &Table, _opp: &OPP, _scaling_down: bool) -> Result config_clks() argument
303 config_regulators( _dev: &Device, _opp_old: &OPP, _opp_new: &OPP, _data: *mut *mut bindings::regulator, _count: u32, ) -> Result config_regulators() argument
419 set_required_dev(mut self, dev: ARef<Device>, index: u32) -> Result<Self> set_required_dev() argument
661 from_of(dev: &ARef<Device>, index: i32) -> Result<Self> from_of() argument
689 from_of_cpumask(dev: &Device, cpumask: &mut Cpumask) -> Result<Self> from_of_cpumask() argument
764 sharing_cpus(dev: &Device, cpumask: &mut Cpumask) -> Result sharing_cpus() argument
789 of_sharing_cpus(dev: &Device, cpumask: &mut Cpumask) -> Result of_sharing_cpus() argument
[all...]
H A Dregulator.rs272 fn get_internal(dev: &Device, name: &CStr) -> Result<Regulator<T>> { in get_internal()
299 pub fn get(dev: &Device, name: &CStr) -> Result<Self> { in get()
326 pub fn get(dev: &Device, name: &CStr) -> Result<Self> { in get()
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 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 Ddma.rs50 pub trait Device<'a>: AsRef<device::Device<Core<'a>>> { interface
[all...]
H A Dcpufreq.rs556 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.rs156 pdev: &'a Device<device::Bound>, in new() argument
209 do_release(pdev: &Device, ioptr: usize, num: i32) do_release() argument
249 impl Device<device::Bound> { global() implementation
[all...]
H A Dirq.rs174 impl Device<device::Bound> { impl
/linux/rust/kernel/net/phy/
H A Dreg.rs48 write(&self, dev: &mut Device, val: u16) -> Result write() argument
117 write(&self, dev: &mut Device, val: u16) -> Result write() argument
207 write(&self, dev: &mut Device, val: u16) -> Result write() argument
[all...]
/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