Home
last modified time | relevance | path

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

/linux/rust/kernel/drm/
H A Ddevice.rs77 pub struct Device<T: drm::Driver> { global() 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.rs261 pub struct Device<Ctx: device::DeviceContext = device::Normal>( struct
266 impl<Ctx: device::DeviceContext> Device<Ctx> { impl
310 impl Device<Bound> { impl
330 unsafe impl<Ctx: device::DeviceContext> device::AsBusDevice<Ctx> for Device<Ctx> { implementation
408 impl Device<Bound> { implementation
534 impl<'a> crate::dma::Device<'a> for Device<device::Core<'a>> {} implementation
537 unsafe impl crate::sync::aref::AlwaysRefCounted for Device { implementation
549 impl<Ctx: device::DeviceContext> AsRef<device::Device<Ctx>> for Device<Ctx> { implementation
560 impl<Ctx: device::DeviceContext> TryFrom<&device::Device<Ctx>> for &Device<Ctx> { implementation
581 unsafe impl Send for Device {} implementation
[all …]
H A Ddevice.rs167 pub struct Device<Ctx: DeviceContext = Normal>(Opaque<bindings::device>, PhantomData<Ctx>); struct
169 impl Device { impl
205 impl<'a> Device<CoreInternal<'a>> { impl
241 impl<Ctx: InternalBoundContext> Device<Ctx> { implementation
263 impl<Ctx: DeviceContext> Device<Ctx> { implementation
271 pub(crate) fn parent(&self) -> Option<&Device> { in parent()
438 unsafe impl crate::sync::aref::AlwaysRefCounted for Device { implementation
451 unsafe impl Send for Device {} implementation
455 unsafe impl Sync for Device {} implementation
459 unsafe impl Sync for Device<Bound> {} 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 Dauxiliary.rs239 pub struct Device<Ct implementation
234 pub struct Device<Ctx: device::DeviceContext = device::Normal>( global() struct
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 impl<Ctx: device::DeviceContext> AsRef<device::Device<Ctx>> for Device<Ctx> { in as_ref() argument
[all...]
H A Ddevres.rs300 pub fn device(&self) -> &Device { in device()
446 pub fn device(&self) -> &Device { in device()
H A Dbitfield.rs566 Device = 2, enumerator
H A Dfirmware.rs69 request_internal(name: &CStr, dev: &Device, func: FwFunc) -> Result<Self> request_internal() argument
H A Ddma.rs50 pub trait Device: AsRef<device::Device<Core>> { global() interface
[all...]
H A Dcpufreq.rs556 set_clk(&mut self, dev: &Device, name: Option<&CStr>) -> Result<Clk> set_clk() argument
/linux/rust/kernel/net/
H A Dphy.rs74 pub struct Device(Opaque<bindings::phy_device>); struct
76 impl Device { impl
279 impl AsRef<kernel::device::Device> for Device { implementation
280 fn as_ref(&self) -> &kernel::device::Device { in as_ref()
619 fn read_mmd(_dev: &mut Device, _devnum: u8, _regnum: u16) -> Result<u16> { in read_mmd()
624 fn write_mmd(_dev: &mut Device, _devnum: u8, _regnum: u16, _val: u16) -> Result { in write_mmd()
629 fn link_change_notify(_dev: &mut Device) {} in link_change_notify()
/linux/rust/kernel/pci/
H A Dio.rs156 new(pdev: &Device, num: u32, name: &CStr) -> Result<Self> 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.rs176 impl Device<device::Bound> { implementation
/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