Searched refs:deviceid (Results 1 - 41 of 41) sorted by relevance

/linux-4.4.14/fs/nfs/
H A Dpnfs_dev.c86 !memcmp(&d->deviceid, id, sizeof(*id))) { _lookup_deviceid()
166 * Lookup a deviceid in cache and get a reference count on it if found
168 * @clp nfs_client associated with deviceid
169 * @id deviceid to look up
218 * Remove a deviceid from cache
220 * @clp nfs_client associated with deviceid
221 * @id the deviceid to unhash
257 d->deviceid = *id; nfs4_init_deviceid_node()
263 * Dereference a deviceid node and delete it when its reference count drops
266 * @d deviceid node to put
278 nfs4_delete_deviceid(d->ld, d->nfs_client, &d->deviceid); nfs4_put_deviceid_node()
H A Dpnfs.h321 struct nfs4_deviceid deviceid; member in struct:nfs4_deviceid_node
H A Dpnfs_nfs.c311 * - decremented when deviceid is removed from the cache.
H A Dpnfs.c95 /* Decrement the MDS count. Purge the deviceid cache if zero */ unset_pnfs_layoutdriver()
987 * deviceid is marked invalid.
/linux-4.4.14/drivers/parport/
H A Ddaisy.c95 char *deviceid; parport_daisy_init() local
148 deviceid = kmalloc(1024, GFP_KERNEL); parport_daisy_init()
149 if (deviceid) { parport_daisy_init()
150 if (parport_device_id(numdevs - 1, deviceid, 1024) > 2) parport_daisy_init()
153 kfree(deviceid); parport_daisy_init()
406 char *deviceid; assign_addrs() local
474 deviceid = kmalloc(1024, GFP_KERNEL); assign_addrs()
475 if (!deviceid) return 0; assign_addrs()
478 parport_device_id(thisdev, deviceid, 1024); assign_addrs()
480 kfree(deviceid); assign_addrs()
/linux-4.4.14/fs/nfs/flexfilelayout/
H A Dflexfilelayoutdev.c31 nfs4_print_deviceid(&mirror_ds->id_node.deviceid); nfs4_ff_layout_free_deviceid()
224 struct nfs4_deviceid *deviceid) ds_error_can_merge()
228 !memcmp(&err->deviceid, deviceid, sizeof(*deviceid)) && ds_error_can_merge()
237 new->opnum, &new->stateid, &new->deviceid)) merge_ds_error()
263 nfs4_stateid *stateid, struct nfs4_deviceid *deviceid) ff_layout_update_ds_error()
270 stateid, deviceid)) { ff_layout_update_ds_error()
297 &mirror->mirror_ds->id_node.deviceid)) { ff_layout_track_ds_error()
312 memcpy(&dserr->deviceid, &mirror->mirror_ds->id_node.deviceid, ff_layout_track_ds_error()
518 * + array length + deviceid(NFS4_DEVICEID4_SIZE) ff_layout_encode_ds_ioerr()
531 p = xdr_encode_opaque_fixed(p, &err->deviceid, ff_layout_encode_ds_ioerr()
221 ds_error_can_merge(struct nfs4_ff_layout_ds_err *err, u64 offset, u64 length, int status, enum nfs_opnum4 opnum, nfs4_stateid *stateid, struct nfs4_deviceid *deviceid) ds_error_can_merge() argument
261 ff_layout_update_ds_error(struct nfs4_flexfile_layout *flo, u64 offset, u64 length, int status, enum nfs_opnum4 opnum, nfs4_stateid *stateid, struct nfs4_deviceid *deviceid) ff_layout_update_ds_error() argument
H A Dflexfilelayout.h32 /* chained in global deviceid hlist */
47 struct nfs4_deviceid deviceid; member in struct:nfs4_ff_layout_ds_err
H A Dflexfilelayout.c432 /* deviceid */ ff_layout_alloc_lseg()
2045 memcpy(&devinfo->dev_id, &dev->deviceid, NFS4_DEVICEID4_SIZE); ff_layout_mirror_prepare_stats()
/linux-4.4.14/arch/mips/pmcs-msp71xx/
H A Dmsp_prom.c196 char *deviceid = prom_getenv(DEVICEID); get_deviceid() local
198 if (deviceid == NULL) get_deviceid()
201 return str2hex(deviceid); get_deviceid()
266 unsigned long deviceid; identify_family() local
268 deviceid = get_deviceid(); identify_family()
270 return deviceid & CPU_DEVID_FAMILY; identify_family()
276 unsigned long deviceid; identify_revision() local
278 deviceid = get_deviceid(); identify_revision()
280 return deviceid & CPU_DEVID_REVISION; identify_revision()
/linux-4.4.14/drivers/mfd/
H A Dda9052-i2c.c164 const struct of_device_id *deviceid; da9052_i2c_probe() local
166 deviceid = of_match_node(dialog_dt_ids, np); da9052_i2c_probe()
167 id = deviceid->data; da9052_i2c_probe()
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/
H A Dpci.c1922 u16 deviceid; _rtl_pci_find_adapter() local
1929 deviceid = pdev->device; _rtl_pci_find_adapter()
1939 if (deviceid == RTL_PCI_8192SE_DID && _rtl_pci_find_adapter()
1943 if (deviceid == RTL_PCI_8192_DID || _rtl_pci_find_adapter()
1944 deviceid == RTL_PCI_0044_DID || _rtl_pci_find_adapter()
1945 deviceid == RTL_PCI_0047_DID || _rtl_pci_find_adapter()
1946 deviceid == RTL_PCI_8192SE_DID || _rtl_pci_find_adapter()
1947 deviceid == RTL_PCI_8174_DID || _rtl_pci_find_adapter()
1948 deviceid == RTL_PCI_8173_DID || _rtl_pci_find_adapter()
1949 deviceid == RTL_PCI_8172_DID || _rtl_pci_find_adapter()
1950 deviceid == RTL_PCI_8171_DID) { _rtl_pci_find_adapter()
1955 venderid, deviceid); _rtl_pci_find_adapter()
1961 venderid, deviceid); _rtl_pci_find_adapter()
1967 venderid, deviceid); _rtl_pci_find_adapter()
1972 } else if (deviceid == RTL_PCI_8723AE_DID) { _rtl_pci_find_adapter()
1976 "vid/did=%x/%x\n", venderid, deviceid); _rtl_pci_find_adapter()
1977 } else if (deviceid == RTL_PCI_8192CET_DID || _rtl_pci_find_adapter()
1978 deviceid == RTL_PCI_8192CE_DID || _rtl_pci_find_adapter()
1979 deviceid == RTL_PCI_8191CE_DID || _rtl_pci_find_adapter()
1980 deviceid == RTL_PCI_8188CE_DID) { _rtl_pci_find_adapter()
1984 venderid, deviceid); _rtl_pci_find_adapter()
1985 } else if (deviceid == RTL_PCI_8192DE_DID || _rtl_pci_find_adapter()
1986 deviceid == RTL_PCI_8192DE_DID2) { _rtl_pci_find_adapter()
1990 venderid, deviceid); _rtl_pci_find_adapter()
1991 } else if (deviceid == RTL_PCI_8188EE_DID) { _rtl_pci_find_adapter()
1995 } else if (deviceid == RTL_PCI_8723BE_DID) { _rtl_pci_find_adapter()
1999 } else if (deviceid == RTL_PCI_8192EE_DID) { _rtl_pci_find_adapter()
2003 } else if (deviceid == RTL_PCI_8821AE_DID) { _rtl_pci_find_adapter()
2007 } else if (deviceid == RTL_PCI_8812AE_DID) { _rtl_pci_find_adapter()
2014 venderid, deviceid); _rtl_pci_find_adapter()
2033 venderid, deviceid, revisionid); _rtl_pci_find_adapter()
/linux-4.4.14/drivers/dio/
H A Ddio.c6 * int dio_find(u_int deviceid)
9 * Note that the deviceid parameter should be the encoded ID.
112 int __init dio_find(int deviceid) dio_find() argument
157 if (id == deviceid) { dio_find()
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmfmac/
H A Dcommon.c65 ri->deviceid = le32_to_cpu(revinfo.deviceid); brcmf_c_preinit_dcmds()
H A Dcore.h86 u32 deviceid; member in struct:brcmf_rev_info
H A Dfwil_types.h589 * @deviceid: device id of chip.
608 __le32 deviceid; member in struct:brcmf_rev_info_le
H A Dcore.c1007 seq_printf(s, "deviceid: 0x%04x\n", ri->deviceid); brcmf_revinfo_read()
/linux-4.4.14/arch/mips/include/asm/mach-pmcs-msp71xx/
H A Dmsp_prom.h30 #define DEVICEID "deviceid"
/linux-4.4.14/drivers/scsi/pm8001/
H A Dpm8001_init.c625 u16 deviceid; pm8001_init_sas_add() local
628 pci_read_config_word(pm8001_ha->pdev, PCI_DEVICE_ID, &deviceid); pm8001_init_sas_add()
632 if (deviceid == 0x8081 || deviceid == 0x0042) { pm8001_init_sas_add()
664 if (deviceid == 0x8081) pm8001_init_sas_add()
667 else if (deviceid == 0x0042) pm8001_init_sas_add()
H A Dpm8001_hwi.c643 u16 deviceid; pm8001_chip_init() local
644 pci_read_config_word(pm8001_ha->pdev, PCI_DEVICE_ID, &deviceid); pm8001_chip_init()
647 if (deviceid == 0x8081 || deviceid == 0x0042) { pm8001_chip_init()
676 if (deviceid != 0x8081 && deviceid != 0x0042) { pm8001_chip_init()
702 u16 deviceid; mpi_uninit_check() local
703 pci_read_config_word(pm8001_ha->pdev, PCI_DEVICE_ID, &deviceid); mpi_uninit_check()
704 if (deviceid == 0x8081 || deviceid == 0x0042) { mpi_uninit_check()
H A Dpm8001_sas.c1192 pm8001_printk("abort io to deviceid= %d\n", device_id)); pm8001_abort_task()
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmsmac/
H A Dmain.h323 u16 deviceid; /* PCI device id */ member in struct:brcms_hardware
402 * deviceid: PCI device id.
484 u16 deviceid; member in struct:brcms_c_info
H A Dmain.c4457 wlc_hw->deviceid = pcidev->device; brcms_b_attach()
4460 wlc_hw->deviceid = core->bus->boardinfo.type; brcms_b_attach()
4513 if (wlc_hw->deviceid == BCM43224_D11N_ID || brcms_b_attach()
4514 wlc_hw->deviceid == BCM43224_D11N_ID_VEN1 || brcms_b_attach()
4515 wlc_hw->deviceid == BCM43224_CHIP_ID) brcms_b_attach()
4528 wlc->deviceid = wlc_hw->deviceid; brcms_b_attach()
4552 sha_params.did = wlc_hw->deviceid; brcms_b_attach()
4697 brcms_dbg_info(wlc_hw->d11core, "deviceid 0x%x nbands %d board 0x%x\n", brcms_b_attach()
4698 wlc_hw->deviceid, wlc_hw->_nbands, brcms_b_attach()
/linux-4.4.14/drivers/media/pci/saa7164/
H A Dsaa7164-types.h143 u16 deviceid; member in struct:tmComResExtDevDescrHeader
H A Dsaa7164-api.c1244 dprintk(DBGLVL_API, " deviceid = 0x%x\n", saa7164_api_dump_subdevs()
1245 exthdr->deviceid); saa7164_api_dump_subdevs()
/linux-4.4.14/fs/nfs/filelayout/
H A Dfilelayoutdev.c50 nfs4_print_deviceid(&dsaddr->id_node.deviceid); nfs4_fl_free_deviceid()
H A Dfilelayout.c595 /* find and reference the deviceid */ filelayout_check_layout()
602 /* Found deviceid is unavailable */ filelayout_check_layout()
/linux-4.4.14/include/linux/
H A Ddio.h242 extern int dio_find(int deviceid);
H A Dnfs_xdr.h329 /* Per file per deviceid layoutstats */
/linux-4.4.14/fs/nfs/blocklayout/
H A Dextent_tree.c504 p = xdr_encode_opaque_fixed(p, be->be_device->deviceid.data, ext_tree_encode_commit()
/linux-4.4.14/drivers/infiniband/hw/qib/
H A Dqib_pcie.c166 dd->deviceid = ent->device; /* save for later use */ qib_pcie_ddinit()
H A Dqib.h904 u16 deviceid; member in struct:qib_devdata
H A Dqib_init.c1485 "Failing on unknown Intel deviceid 0x%x\n", qib_init_one()
H A Dqib_mad.c300 nip->device_id = cpu_to_be16(dd->deviceid); subn_get_nodeinfo()
H A Dqib_verbs.c1587 props->vendor_part_id = dd->deviceid; qib_query_device()
H A Dqib_iba7322.c6217 if (dd->deviceid == PCI_DEVICE_ID_QLOGIC_IB_7322) setup_txselect()
/linux-4.4.14/fs/nfs/objlayout/
H A Dobjio_osd.c382 pooid.oid_device_id = ode->id_node.deviceid; __on_dev_error()
/linux-4.4.14/arch/mips/pci/
H A Dpcie-octeon.c1849 static int device_needs_bus_num_war(uint32_t deviceid) device_needs_bus_num_war() argument
1853 if ((deviceid & 0xffff) == IDT_VENDOR_ID) device_needs_bus_num_war()
/linux-4.4.14/drivers/scsi/megaraid/
H A Dmegaraid_sas_base.c331 * (deviceid : 1064R, PERC5) controllers
501 * to xscale (deviceid : 1064R, PERC5) controllers
505 * The following functions are defined for ppc (deviceid : 0x60)
773 * The following functions are defined for gen2 (deviceid : 0x78 0x79)
968 * specific to gen2 (deviceid : 0x78, 0x79) controllers
/linux-4.4.14/drivers/staging/rdma/hfi1/
H A Dinit.c1371 "Failing on unknown Intel deviceid 0x%x\n", init_one()
/linux-4.4.14/drivers/rapidio/
H A Drio.c55 * @port: RIO master port from which to get the deviceid
/linux-4.4.14/drivers/staging/rdma/ipath/
H A Dipath_driver.c529 ipath_dev_err(dd, "Found unknown QLogic deviceid 0x%x, " ipath_init_one()

Completed in 2273 milliseconds