Home
last modified time | relevance | path

Searched refs:Device (Results 1 – 25 of 1725) sorted by relevance

12345678910>>...69

/linux/rust/kernel/
H A Dpci.rs108 let pdev = unsafe { &*pdev.cast::<Device<device::CoreInternal>>() }; in probe_callback()
128 let pdev = unsafe { &*pdev.cast::<Device<device::CoreInternal>>() }; in remove_callback()
310 fn probe(dev: &Device<device::Core>, id_info: &Self::IdInfo) -> impl PinInit<Self, Error>; in probe()
322 fn unbind(dev: &Device<device::Core>, this: Pin<&Self>) { in unbind()
338 pub struct Device<Ctx: device::DeviceContext = device::Normal>( struct
343 impl<Ctx: device::DeviceContext> Device<Ctx> { implementation
350 impl Device { implementation
448 impl Device<device::Core> { impl
465 unsafe impl<Ctx: device::DeviceContext> device::AsBusDevice<Ctx> for Device<Ctx> { implementation
471 kernel::impl_device_context_deref!(unsafe { Device });
[all …]
H A Dauxiliary.rs85 let adev = unsafe { &*adev.cast::<Device<device::CoreInternal>>() }; in probe_callback()
105 let adev = unsafe { &*adev.cast::<Device<device::CoreInternal>>() }; in remove_callback()
206 fn probe(dev: &Device<device::Core>, id_info: &Self::IdInfo) -> impl PinInit<Self, Error>; in probe()
218 fn unbind(dev: &Device<device::Core>, this: Pin<&Self>) { in unbind()
234 pub struct Device<Ctx: device::DeviceContext = device::Normal>( struct
239 impl<Ctx: device::DeviceContext> Device<Ctx> { implementation
252 impl Device<device::Bound> { implementation
254 pub fn parent(&self) -> &device::Device<device::Bound> { in parent()
262 impl Device { implementation
264 pub fn parent(&self) -> &device::Device { in parent() argument
[all …]
H A Dplatform.rs100 let pdev = unsafe { &*pdev.cast::<Device<device::CoreInternal>>() }; in probe_callback()
116 let pdev = unsafe { &*pdev.cast::<Device<device::CoreInternal>>() }; in remove_callback()
226 dev: &Device<device::Core>, in probe()
240 fn unbind(dev: &Device<device::Core>, this: Pin<&Self>) { in unbind()
256 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
509 kernel::impl_device_context_deref!(unsafe { Device });
[all …]
H A Ddevice.rs170 pub struct Device<Ctx: DeviceContext = Normal>(Opaque<bindings::device>, PhantomData<Ctx>); struct
172 impl Device { impl
194 pub unsafe fn as_bound(&self) -> &Device<Bound> { in as_bound()
208 impl Device<CoreInternal> { implementation
275 impl Device<Bound> { implementation
336 impl<Ctx: DeviceContext> Device<Ctx> { impl
344 pub(crate) fn parent(&self) -> Option<&Device> { in parent() argument
357 Some(unsafe { Device::from_raw(parent) }) in parent()
496 kernel::impl_device_context_deref!(unsafe { Device });
497 kernel::impl_device_context_into_aref!(Device);
[all …]
H A Dusb.rs97 let dev: &device::Device<device::CoreInternal> = intf.as_ref(); in probe_callback()
110 let dev: &device::Device<device::CoreInternal> = intf.as_ref(); in disconnect_callback()
363 impl<Ctx: device::DeviceContext> AsRef<device::Device<Ctx>> for Interface<Ctx> {
364 fn as_ref(&self) -> &device::Device<Ctx> { in as_ref()
370 unsafe { device::Device::from_raw(dev) } in as_ref()
374 impl<Ctx: device::DeviceContext> AsRef<Device> for Interface<Ctx> {
375 fn as_ref(&self) -> &Device { in as_ref() argument
420 struct Device<Ctx: device::DeviceContext = device::Normal>( struct
425 impl<Ctx: device::DeviceContext> Device<Ctx> { impl
433 kernel::impl_device_context_deref!(unsafe { Device });
[all …]
H A Dopp.rs14 device::Device,
34 dev: ARef<Device>,
176 dev: ARef<Device>,
182 fn new(dev: &ARef<Device>, mut data: Data) -> Result<Self> { in new() argument
245 pub fn add_opp(self, dev: &ARef<Device>) -> Result<Token> { in add_opp()
296 fn config_clks(_dev: &Device, _table: &Table, _opp: &OPP, _scaling_down: bool) -> Result { in config_clks() argument
303 _dev: &Device, in config_regulators() argument
368 required_dev: Option<(ARef<Device>, u32)>,
419 pub fn set_required_dev(mut self, dev: ARef<Device>, index: u32) -> Result<Self> { in set_required_dev() argument
445 pub fn set(self, dev: &Device) -> Result<ConfigToken> { in set()
[all …]
H A Ddevres.rs13 Device, //
29 /// This abstraction is meant to be used by subsystems to containerize [`Device`] bound resources to
32 /// [`Device`] bound resources should be freed when either the resource goes out of scope or the
33 /// [`Device`] is unbound respectively, depending on what happens first. In any case, it is always
34 /// guaranteed that revoking the device resource is completed before the corresponding [`Device`]
38 /// [`Device`] is unbound, revoking access to the encapsulated resource (see also [`Revocable`]).
53 /// Device,
102 /// # fn no_run(dev: &Device<Bound>) -> Result<(), Error> {
113 dev: ARef<Device>,
127 pub fn new<E>(dev: &Device<Boun
227 device(&self) -> &Device device() argument
[all...]
H A Dfaux.rs36 pub fn new(name: &CStr, parent: Option<&device::Device>) -> Result<Self> { in new()
62 impl AsRef<device::Device> for Registration {
63 fn as_ref(&self) -> &device::Device { in drop()
66 unsafe { device::Device::from_raw(addr_of_mut!((*self.as_raw()).dev)) } in drop()
54 as_ref(&self) -> &device::Device as_ref() argument
H A Dregulator.rs21 device::{Bound, Device},
87 pub fn devm_enable(dev: &Device<Bound>, name: &CStr) -> Result { in devm_enable()
105 pub fn devm_enable_optional(dev: &Device<Bound>, name: &CStr) -> Result { in devm_enable_optional()
272 fn get_internal(dev: &Device, name: &CStr) -> Result<Regulator<T>> { in get_internal() argument
299 pub fn get(dev: &Device, name: &CStr) -> Result<Self> { in get() argument
326 pub fn get(dev: &Device, name: &CStr) -> Result<Self> { in get() argument
/linux/rust/kernel/irq/
H A Drequest.rs11 use crate::device::{Bound, Device};
39 fn handle(&self, device: &Device<Bound>) -> IrqReturn; in handle()
43 fn handle(&self, device: &Device<Bound>) -> IrqReturn { in handle()
49 fn handle(&self, device: &Device<Bound>) -> IrqReturn { in handle()
104 dev: &'a Device<Bound>,
114 pub(crate) unsafe fn new(dev: &'a Device<Bound>, irq: u32) -> Self { in new()
253 pub fn synchronize(&self, dev: &Device<Bound>) -> Result { in synchronize()
300 fn handle(&self, device: &Device<Bound>) -> ThreadedIrqReturn { in handle()
308 fn handle_threaded(&self, device: &Device<Bound>) -> IrqReturn; in handle_threaded()
312 fn handle(&self, device: &Device<Bound>) -> ThreadedIrqReturn { in handle()
[all …]
/linux/Documentation/networking/device_drivers/ethernet/marvell/
H A Docteon_ep_vf.rst18 * Network controller: Cavium, Inc. Device b203
19 * Network controller: Cavium, Inc. Device b403
20 * Network controller: Cavium, Inc. Device b103
21 * Network controller: Cavium, Inc. Device b903
22 * Network controller: Cavium, Inc. Device ba03
23 * Network controller: Cavium, Inc. Device bc03
24 * Network controller: Cavium, Inc. Device bd03
H A Docteon_ep.rst25 * Network controller: Cavium, Inc. Device b100
26 * Network controller: Cavium, Inc. Device b200
27 * Network controller: Cavium, Inc. Device b400
28 * Network controller: Cavium, Inc. Device b900
29 * Network controller: Cavium, Inc. Device ba00
30 * Network controller: Cavium, Inc. Device bc00
31 * Network controller: Cavium, Inc. Device bd00
/linux/drivers/scsi/device_handler/
H A DKconfig3 # SCSI Device Handler configuration
7 bool "SCSI Device Handlers"
11 SCSI Device Handlers provide device specific support for
16 tristate "LSI RDAC Device Handler"
22 tristate "HP/COMPAQ MSA Device Handler"
30 tristate "EMC CLARiiON Device Handler"
36 tristate "SPC-3 ALUA Device Handler"
39 SCSI Device handler for generic SPC-3 Asymmetric Logical Unit
/linux/Documentation/firmware-guide/acpi/
H A Di2c-muxes.rst8 Device () scope per mux channel.
19 Device (SMB1)
22 Device (MUX0)
31 Device (CH00)
35 Device (CLIA)
46 Device (CH01)
50 Device (CLIB)
H A Dintel-pmc-mux.rst22 Device modes. The driver is located here: drivers/usb/typec/mux/intel_pmc_mux.c.
37 Device (CH0)
42 Device (CH1)
48 _PLD (Physical Location of Device)
56 Device (CH0)
67 Mux-agent specific _DSD Device Properties
119 Device (MUX)
123 Device (CH0)
138 Device (CH1)
/linux/rust/kernel/net/phy/
H A Dreg.rs11 use super::Device;
45 fn read(&self, dev: &mut Device) -> Result<u16>; in read()
48 fn write(&self, dev: &mut Device, val: u16) -> Result; in write() argument
51 fn read_status(dev: &mut Device) -> Result<u16>; in read_status()
105 fn read(&self, dev: &mut Device) -> Result<u16> { in read()
117 fn write(&self, dev: &mut Device, val: u16) -> Result { in write() argument
127 fn read_status(dev: &mut Device) -> Result<u16> { in read_status()
197 fn read(&self, dev: &mut Device) -> Result<u16> { in read()
207 fn write(&self, dev: &mut Device, val: u16) -> Result { in write() argument
216 fn read_status(dev: &mut Device) -> Result<u16> { in read_status()
/linux/rust/kernel/pci/
H A Dirq.rs5 use super::Device;
80 dev: &'a Device<Bound>,
91 unsafe fn new(dev: &'a Device<Bound>, index: u32) -> Self { in new()
124 dev: ARef<Device>,
133 dev: &'a Device<Bound>, in register()
174 impl Device<device::Bound> { implementation
/linux/Documentation/admin-guide/auxdisplay/
H A Dks0108.rst24 2. Device Information
28 :Device Name: KS0108 LCD Controller
29 :Device Code: ks0108
31 :Device Webpage: -
/linux/sound/soc/img/
H A DKconfig6 tristate "Imagination I2S Input Device Driver"
13 tristate "Imagination I2S Output Device Driver"
20 tristate "Imagination Parallel Output Device Driver"
27 tristate "Imagination SPDIF Input Device Driver"
34 tristate "Imagination SPDIF Output Device Driver"
/linux/arch/arm/mach-spear/
H A DKconfig30 bool "SPEAr1310 Machine support with Device Tree"
37 bool "SPEAr1340 Machine support with Device Tree"
57 bool "SPEAr300 Machine support with Device Tree"
63 bool "SPEAr310 Machine support with Device Tree"
69 bool "SPEAr320 Machine support with Device Tree"
/linux/Documentation/hwmon/
H A Dmp2856.rst34 Device supports:
39 Device compliant with:
43 Device supports direct format for reading output current, output voltage,
45 Device supports linear format for reading input voltage and input power.
46 Device supports VID and direct formats for reading output voltage.
H A Dsmsc47b397.rst41 HWM Base address can be obtained from Logical Device 8, registers 0x60 (MSB)
126 a. Write the index of the Logical Device Number Configuration Register
146 The following is an example of how to read the SIO Device ID located at 0x20:
164 The registers of interest for identifying the SIO on the dc7100 are Device ID
165 (0x20) and Device Rev (0x21).
167 The Device ID will read 0x6F (0x81 for SCH5307-NS, and 0x85 for SCH5317)
168 The Device Rev currently reads 0x01
174 Logical Device 8::
187 OUT DX,AL;Point to Logical Device 8
/linux/Documentation/driver-api/
H A Dinfrastructure.rst1 Device drivers infrastructure
4 The Basic Device Driver-Model Structures
20 Device Drivers Base
71 Device Drivers DMA Management
77 Device drivers PnP support
/linux/Documentation/PCI/endpoint/
H A Dpci-ntb-howto.rst15 Endpoint Device
49 Creating pci-epf-ntb Device
81 Configuring pci-epf-ntb Device
108 Binding pci-epf-ntb Device to EP Controller
135 RootComplex Device
142 "Creating pci-epf-ntb Device" section above::
145 0000:00:00.0 PCI bridge: Texas Instruments Device b00d
146 0000:01:00.0 RAM memory: Texas Instruments Device b00d
149 Using ntb_hw_epf Device
/linux/Documentation/driver-api/cxl/linux/
H A Ddax-driver.rst6 The `Direct Access Device` driver was originally designed to provide a
18 a `DAX Device`.
20 DAX Device
22 A `DAX Device` is a file-like interface exposed in :code:`/dev/daxN.Y`. A
32 The :code:`dax_kmem` driver converts a `DAX Device` into a series of `hotplug

12345678910>>...69