Home
last modified time | relevance | path

Searched full:deviceid (Results 1 – 25 of 132) sorted by relevance

123456

/linux-6.14.4/drivers/net/phy/
Dax88796b_rust.rs9 net::phy::{self, reg::C22, DeviceId, Driver},
17 DeviceId::new_with_driver::<PhyAX88772A>(),
18 DeviceId::new_with_driver::<PhyAX88772C>(),
19 DeviceId::new_with_driver::<PhyAX88796B>()
45 const PHY_DEVICE_ID: DeviceId = DeviceId::new_with_exact_mask(0x003b1861);
109 const PHY_DEVICE_ID: DeviceId = DeviceId::new_with_exact_mask(0x003b1881);
129 const PHY_DEVICE_ID: DeviceId = DeviceId::new_with_model_mask(0x003b1841);
Dqt2025.rs26 phy::DeviceId::new_with_driver::<PhyQT2025>(),
40 const PHY_DEVICE_ID: phy::DeviceId = phy::DeviceId::new_with_exact_mask(0x0043a400);
/linux-6.14.4/rust/kernel/
Dof.rs8 pub type IdTable<T> = &'static dyn kernel::device_id::IdTable<DeviceId, T>;
13 pub struct DeviceId(bindings::of_device_id); struct
16 // * `DeviceId` is a `#[repr(transparent)` wrapper of `struct of_device_id` and does not add
19 unsafe impl RawDeviceId for DeviceId { implementation
29 impl DeviceId { impl
53 $crate::of::DeviceId,
Dpci.rs68 // SAFETY: `DeviceId` is a `#[repr(transparent)` wrapper of `struct pci_device_id` and in probe_callback()
70 let id = unsafe { &*id.cast::<DeviceId>() }; in probe_callback()
121 pub struct DeviceId(bindings::pci_device_id); struct
123 impl DeviceId { impl
128 /// Create a new `pci::DeviceId` from a vendor and device ID number.
133 subvendor: DeviceId::PCI_ANY_ID, in from_id()
134 subdevice: DeviceId::PCI_ANY_ID, in from_id()
144 /// Create a new `pci::DeviceId` from a class number and mask.
147 vendor: DeviceId::PCI_ANY_ID, in from_class()
148 device: DeviceId::PCI_ANY_ID, in from_class()
[all …]
Ddriver.rs162 // SAFETY: `DeviceId` is a `#[repr(transparent)` wrapper of `struct of_device_id` and in of_id_info()
164 let id = unsafe { &*raw_id.cast::<of::DeviceId>() }; in of_id_info()
166 Some(table.info(<of::DeviceId as crate::device_id::RawDeviceId>::index(id))) in of_id_info()
/linux-6.14.4/fs/nfs/
Dpnfs_dev.c87 !memcmp(&d->deviceid, id, sizeof(*id))) { in _lookup_deviceid()
164 * Lookup a deviceid in cache and get a reference count on it if found
166 * @clp nfs_client associated with deviceid
167 * @id deviceid to look up
220 * Remove a deviceid from cache
222 * @clp nfs_client associated with deviceid
223 * @id the deviceid to unhash
259 d->deviceid = *id; in nfs4_init_deviceid_node()
265 * Dereference a deviceid node and delete it when its reference count drops
268 * @d deviceid node to put
[all …]
Dnfs4trace.h1952 const struct nfs4_deviceid *deviceid
1955 TP_ARGS(clp, deviceid),
1959 __array(unsigned char, deviceid, NFS4_DEVICEID4_SIZE)
1964 memcpy(__entry->deviceid, deviceid->data,
1969 "deviceid=%s, dstaddr=%s",
1970 __print_hex(__entry->deviceid, NFS4_DEVICEID4_SIZE),
1977 const struct nfs4_deviceid *deviceid \
1979 TP_ARGS(clp, deviceid))
1985 const struct nfs4_deviceid *deviceid,
1989 TP_ARGS(server, deviceid, status),
[all …]
/linux-6.14.4/drivers/parport/
Ddaisy.c13 * 13-02-1999: Move DeviceID technique from parport_probe.
14 * 13-03-1999: Get DeviceID from non-IEEE 1284.3 devices too.
107 char *deviceid; in parport_daisy_init() local
175 deviceid = kmalloc(1024, GFP_KERNEL); in parport_daisy_init()
176 if (deviceid) { in parport_daisy_init()
177 if (parport_device_id(numdevs - 1, deviceid, 1024) > 2) in parport_daisy_init()
180 kfree(deviceid); in parport_daisy_init()
433 char *deviceid; in assign_addrs() local
498 deviceid = kmalloc(1024, GFP_KERNEL); in assign_addrs()
499 if (!deviceid) return 0; in assign_addrs()
[all …]
/linux-6.14.4/drivers/gpu/drm/nouveau/include/nvrm/535.113.01/nvidia/generated/
Dg_chipset_nvoc.h31 NvU16 deviceID; // deviceID member
33 NvU16 subdeviceID; // subsystem deviceID
/linux-6.14.4/drivers/net/wireless/realtek/rtlwifi/
Dpci.c1785 u16 deviceid; in _rtl_pci_find_adapter() local
1792 deviceid = pdev->device; in _rtl_pci_find_adapter()
1802 if (deviceid == RTL_PCI_8192SE_DID && in _rtl_pci_find_adapter()
1806 if (deviceid == RTL_PCI_8192_DID || in _rtl_pci_find_adapter()
1807 deviceid == RTL_PCI_0044_DID || in _rtl_pci_find_adapter()
1808 deviceid == RTL_PCI_0047_DID || in _rtl_pci_find_adapter()
1809 deviceid == RTL_PCI_8192SE_DID || in _rtl_pci_find_adapter()
1810 deviceid == RTL_PCI_8174_DID || in _rtl_pci_find_adapter()
1811 deviceid == RTL_PCI_8173_DID || in _rtl_pci_find_adapter()
1812 deviceid == RTL_PCI_8172_DID || in _rtl_pci_find_adapter()
[all …]
/linux-6.14.4/Documentation/filesystems/nfs/
Dpnfs.rst38 RCU is used because the deviceid is basically a write once, read many
41 deviceid's per filesystem, and multiple filesystems per nfs_client.
51 level cache. Its reference is held over the lifetime of the deviceid
/linux-6.14.4/drivers/staging/rtl8723bs/hal/
Dhal_sdio.c82 u32 deviceId, max_len; in rtw_hal_get_sdio_tx_max_length() local
85 deviceId = ffaddr2deviceId(pdvobjpriv, queue_idx); in rtw_hal_get_sdio_tx_max_length()
86 switch (deviceId) { in rtw_hal_get_sdio_tx_max_length()
Drtl8723bs_xmit.c45 u32 deviceId; in rtl8723_dequeue_writeport() local
58 deviceId = ffaddr2deviceId(pdvobjpriv, pxmitbuf->ff_hwaddr); in rtl8723_dequeue_writeport()
61 switch (deviceId) { in rtl8723_dequeue_writeport()
101 rtw_write_port(padapter, deviceId, pxmitbuf->len, (u8 *)pxmitbuf); in rtl8723_dequeue_writeport()
/linux-6.14.4/rust/kernel/net/
Dphy.rs586 const PHY_DEVICE_ID: DeviceId = DeviceId::new_with_custom_mask(0, 0);
693 pub struct DeviceId { struct
698 impl DeviceId { argument
701 DeviceId { in new_with_exact_mask()
709 DeviceId { in new_with_model_mask()
717 DeviceId { in new_with_vendor_mask()
725 DeviceId { in new_with_custom_mask()
784 /// use kernel::net::phy::{self, DeviceId};
790 /// DeviceId::new_with_driver::<PhySample>()
803 /// const PHY_DEVICE_ID: phy::DeviceId = phy::DeviceId::new_with_exact_mask(0x00000001);
[all …]
/linux-6.14.4/sound/soc/codecs/
Dak4375.c502 unsigned int deviceid; in ak4375_i2c_probe() local
536 /* Don't read deviceid from cache */ in ak4375_i2c_probe()
539 ret = regmap_read(ak4375->regmap, AK4375_15_AUDIO_IF_FORMAT, &deviceid); in ak4375_i2c_probe()
541 dev_err(ak4375->dev, "unable to read DEVICEID!\n"); in ak4375_i2c_probe()
547 deviceid = (deviceid & DEVICEID_MASK) >> 5; in ak4375_i2c_probe()
549 switch (deviceid) { in ak4375_i2c_probe()
566 dev_err(ak4375->dev, "unrecognized DEVICEID!\n"); in ak4375_i2c_probe()
/linux-6.14.4/fs/nfs/flexfilelayout/
Dflexfilelayoutdev.c34 nfs4_print_deviceid(&mirror_ds->id_node.deviceid); in nfs4_ff_layout_free_deviceid()
213 ret = memcmp(&e1->deviceid, &e2->deviceid, sizeof(e1->deviceid)); in ff_ds_error_match()
275 memcpy(&dserr->deviceid, &mirror->mirror_ds->id_node.deviceid, in ff_layout_track_ds_error()
488 * + array length + deviceid(NFS4_DEVICEID4_SIZE) in ff_layout_encode_ds_ioerr()
501 p = xdr_encode_opaque_fixed(p, &err->deviceid, in ff_layout_encode_ds_ioerr()
Dflexfilelayout.h36 /* chained in global deviceid hlist */
51 struct nfs4_deviceid deviceid; member
/linux-6.14.4/drivers/dio/
Ddio.c7 * int dio_find(u_int deviceid)
10 * Note that the deviceid parameter should be the encoded ID.
118 int __init dio_find(int deviceid) in dio_find() argument
158 if (id == deviceid) { in dio_find()
/linux-6.14.4/Documentation/PCI/endpoint/
Dpci-ntb-howto.rst66 baseclass_code deviceid msi_interrupts pci-epf-ntb.0
85 to change the vendorid and the deviceid, the following
89 # echo 0xb00d > functions/pci_epf_ntb/func1/deviceid
Dpci-vntb-howto.rst62 baseclass_code deviceid msi_interrupts pci-epf-ntb.0
81 to change the vendorid and the deviceid, the following
85 # echo 0x0809 > functions/pci_epf_vntb/func1/deviceid
Dpci-endpoint-cfs.rst63 ... deviceid
127 | deviceid
/linux-6.14.4/drivers/irqchip/
Dirq-gic-v3-its-msi-parent.c67 /* ITS specific DeviceID, as the core ITS ignores dev. */ in its_pci_msi_prepare()
105 /* Suck the DeviceID out of the msi-parent property */ in of_pmsi_get_dev_id()
143 /* ITS specific DeviceID, as the core ITS ignores dev. */ in its_pmsi_prepare()
/linux-6.14.4/drivers/staging/sm750fb/
Dddk750_sii164.c59 unsigned short deviceID; in sii164GetDeviceID() local
61 deviceID = ((unsigned short)i2cReadReg(SII164_I2C_ADDRESS, in sii164GetDeviceID()
66 return deviceID; in sii164GetDeviceID()
/linux-6.14.4/drivers/hwmon/
Dftsteutates.c621 s8 deviceid; in fts_probe() local
628 deviceid = i2c_smbus_read_byte_data(client, FTS_DEVICE_ID_REG); in fts_probe()
629 if (deviceid > 0 && (deviceid & 0xF0) == 0x10) { in fts_probe()
630 switch (deviceid & 0x0F) { in fts_probe()
/linux-6.14.4/fs/nfs/filelayout/
Dfilelayout.c546 /* Is the deviceid already set? If so, we're good. */ in filelayout_check_deviceid()
550 /* find and reference the deviceid */ in filelayout_check_deviceid()
551 d = nfs4_find_get_deviceid(NFS_SERVER(lo->plh_inode), &fl->deviceid, in filelayout_check_deviceid()
557 /* Found deviceid is unavailable */ in filelayout_check_deviceid()
669 memcpy(&fl->deviceid, p, sizeof(fl->deviceid)); in filelayout_decode_layout()
671 nfs4_print_deviceid(&fl->deviceid); in filelayout_decode_layout()

123456