Home
last modified time | relevance | path

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

12345678910>>...72

/linux/rust/kernel/
H A Dpci.rs92 let pdev = unsafe { &*pdev.cast::<Device<device::CoreInternal>>() }; in probe_callback()
112 let pdev = unsafe { &*pdev.cast::<Device<device::CoreInternal>>() }; in remove_callback()
294 fn probe(dev: &Device<device::Core>, id_info: &Self::IdInfo) -> impl PinInit<Self, Error>; in probe()
306 fn unbind(dev: &Device<device::Core>, this: Pin<&Self>) { in unbind()
322 pub struct Device<Ctx: device::DeviceContext = device::Normal>( struct
327 impl<Ctx: device::DeviceContext> Device<Ctx> { impl
334 impl Device { implementation
432 impl Device<device::Core> { implementation
449 unsafe impl<Ctx: device::DeviceContext> device::AsBusDevice<Ctx> for Device<Ctx> { implementation
455 kernel::impl_device_context_deref!(unsafe { Device });
[all …]
H A Dauxiliary.rs65 let adev = unsafe { &*adev.cast::<Device<device::CoreInternal>>() }; in probe_callback()
85 let adev = unsafe { &*adev.cast::<Device<device::CoreInternal>>() }; in remove_callback()
189 fn probe(dev: &Device<device::Core>, id_info: &Self::IdInfo) -> impl PinInit<Self, Error>; in probe()
203 pub struct Device<Ctx: device::DeviceContext = device::Normal>( struct
208 impl<Ctx: device::DeviceContext> Device<Ctx> { implementation
221 impl Device<device::Bound> { impl
223 pub fn parent(&self) -> &device::Device<device::Bound> { in parent()
231 impl Device { implementation
233 pub fn parent(&self) -> &device::Device { in parent() argument
251 unsafe impl<Ctx: device::DeviceContext> device::AsBusDevice<Ctx> for Device<Ctx> { implementation
[all …]
H A Dplatform.rs74 let pdev = unsafe { &*pdev.cast::<Device<device::CoreInternal>>() }; in probe_callback()
90 let pdev = unsafe { &*pdev.cast::<Device<device::CoreInternal>>() }; in remove_callback()
195 dev: &Device<device::Core>, in probe()
209 fn unbind(dev: &Device<device::Core>, this: Pin<&Self>) { in unbind()
225 pub struct Device<Ctx: device::DeviceContext = device::Normal>( struct
230 impl<Ctx: device::DeviceContext> Device<Ctx> { impl
273 impl Device<Bound> { impl
293 unsafe impl<Ctx: device::DeviceContext> device::AsBusDevice<Ctx> for Device<Ctx> { implementation
355 impl Device<Bound> { impl
478 kernel::impl_device_context_deref!(unsafe { Device });
[all …]
H A Dusb.rs79 let dev: &device::Device<device::CoreInternal> = intf.as_ref(); in probe_callback()
92 let dev: &device::Device<device::CoreInternal> = intf.as_ref(); in disconnect_callback()
345 impl<Ctx: device::DeviceContext> AsRef<device::Device<Ctx>> for Interface<Ctx> {
346 fn as_ref(&self) -> &device::Device<Ctx> { in as_ref()
352 unsafe { device::Device::from_raw(dev) } in as_ref()
356 impl<Ctx: device::DeviceContext> AsRef<Device> for Interface<Ctx> {
357 fn as_ref(&self) -> &Device { in as_ref() argument
402 struct Device<Ctx: device::DeviceContext = device::Normal>( struct
407 impl<Ctx: device::DeviceContext> Device<Ctx> { implementation
415 kernel::impl_device_context_deref!(unsafe { Device });
[all …]
H A Ddevice.rs166 pub struct Device<Ctx: DeviceContext = Normal>(Opaque<bindings::device>, PhantomData<Ctx>); struct
168 impl Device { implementation
190 pub unsafe fn as_bound(&self) -> &Device<Bound> { in as_bound()
204 impl Device<CoreInternal> { implementation
269 impl Device<Bound> { implementation
330 impl<Ctx: DeviceContext> Device<Ctx> { impl
338 pub(crate) fn parent(&self) -> Option<&Device> { in parent() argument
351 Some(unsafe { Device::from_raw(parent) }) in parent()
490 kernel::impl_device_context_deref!(unsafe { Device });
491 kernel::impl_device_context_into_aref!(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.rs11 device::{Bound, Device},
121 dev: ARef<Device>,
143 dev: &'a Device<Bound>, in new()
227 pub fn device(&self) -> &Device { in device() argument
259 pub fn access<'a>(&'a self, dev: &'a Device<Bound>) -> Result<&'a T> { in access()
321 fn register_foreign<P>(dev: &Device<Bound>, data: P) -> Result in register_foreign()
371 pub fn register<T, E>(dev: &Device<Bound>, data: impl PinInit<T, E>, flags: Flags) -> Result in register()
H A Dfaux.rs27 pub fn new(name: &CStr, parent: Option<&device::Device>) -> Result<Self> { in new()
53 impl AsRef<device::Device> for Registration {
54 fn as_ref(&self) -> &device::Device { in as_ref() argument
57 unsafe { device::Device::from_raw(addr_of_mut!((*self.as_raw()).dev)) } in as_ref()
H A Dregulator.rs21 device::{Bound, Device},
84 pub fn devm_enable(dev: &Device<Bound>, name: &CStr) -> Result { in devm_enable()
102 pub fn devm_enable_optional(dev: &Device<Bound>, name: &CStr) -> Result { in devm_enable_optional()
270 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/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 DDSD-properties-rules.rst4 _DSD Device Properties Usage Rules
10 The _DSD (Device Specific Data) configuration object, introduced in ACPI 5.1,
23 generic Device Properties UUID in the _DSD return package as specified in the
25 "Device Properties UUID" in _DSD (Device Specific Data) Implementation Guide
29 that can be returned by _DSD in the Device Properties UUID sub-package for a
34 can be returned in the Device Properties UUID sub-package for the device in
42 "Hierarchical Data Extension UUID" in _DSD (Device Specific Data)
52 Valid property sets must follow the guidance given by the Device Properties UUID
60 associated with the Device Properties UUID.
82 Property Sets and Device Tree Bindings
[all …]
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/drivers/gpu/drm/nova/
H A Ddriver.rs12 drm: ARef<drm::Device<Self>>,
16 pub(crate) type NovaDevice = drm::Device<NovaDriver>;
20 pub(crate) adev: ARef<auxiliary::Device>,
48 fn probe(adev: &auxiliary::Device<Core>, _info: &Self::IdInfo) -> impl PinInit<Self, Error> { in probe()
51 let drm = drm::Device::<Self>::new(adev.as_ref(), data)?; in probe()
/linux/Documentation/PCI/endpoint/
H A Dpci-vntb-howto.rst15 Endpoint Device
45 Creating pci-epf-vntb Device
77 Configuring pci-epf-vntb Device
114 Binding pci-epf-ntb Device to EP Controller
135 RootComplex Device
142 "Creating pci-epf-ntb Device" section above::
145 00:00.0 PCI bridge: Freescale Semiconductor Inc Device 0000 (rev 01)
146 01:00.0 RAM memory: Freescale Semiconductor Inc Device 0809
148 Endpoint Device / Virtual PCI bus
155 "Creating pci-epf-ntb Device" section above::
[all …]
/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> { impl
H A Dio.rs5 use super::Device;
26 pdev: ARef<Device>,
32 pub(super) fn new(pdev: &Device, num: u32, name: &CStr) -> Result<Self> { in new() argument
85 unsafe fn do_release(pdev: &Device, ioptr: usize, num: i32) { in do_release() argument
125 impl Device<device::Bound> { implementation
/linux/drivers/gpu/drm/tyr/
H A Ddriver.rs8 use kernel::device::Device;
33 pub(crate) type TyrDevice = drm::Device<TyrDriver>;
42 pub(crate) pdev: ARef<platform::Device>,
68 fn issue_soft_reset(dev: &Device<Bound>, iomem: &Devres<IoMem>) -> Result { in issue_soft_reset()
104 pdev: &platform::Device<Core>, in probe()
127 let platform: ARef<platform::Device> = pdev.into(); in probe()
143 let tdev: ARef<TyrDevice> = drm::Device::new(pdev.as_ref(), data)?; in probe()
/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.

12345678910>>...72