/freebsd/sys/dev/superio/ |
H A D | superio.c | 89 uint16_t devid; member 313 uint16_t devid; member 315 int extid; /* Extra ID: used to handle conflicting devid. */ 320 .vendor = SUPERIO_VENDOR_ITE, .devid = 0x8613, 324 .vendor = SUPERIO_VENDOR_ITE, .devid = 0x8712, 328 .vendor = SUPERIO_VENDOR_ITE, .devid = 0x8716, 332 .vendor = SUPERIO_VENDOR_ITE, .devid = 0x8718, 336 .vendor = SUPERIO_VENDOR_ITE, .devid = 0x8720, 340 .vendor = SUPERIO_VENDOR_ITE, .devid = 0x8721, 344 .vendor = SUPERIO_VENDOR_ITE, .devid = 0x8726, [all …]
|
/freebsd/sys/amd64/vmm/amd/ |
H A D | amdvi_hw.c | 140 amdvi_find_ats_qlen(uint16_t devid) in amdvi_find_ats_qlen() argument 146 dev = pci_find_bsf(PCI_RID2BUS(devid), PCI_RID2SLOT(devid), in amdvi_find_ats_qlen() 147 PCI_RID2FUNC(devid)); in amdvi_find_ats_qlen() 159 RID2PCI_STR(devid), in amdvi_find_ats_qlen() 172 amdvi_dev_support_iotlb(struct amdvi_softc *softc, uint16_t devid) in amdvi_dev_support_iotlb() argument 178 qlen = amdvi_find_ats_qlen(devid); in amdvi_dev_support_iotlb() 187 if ((cfg->start_id <= devid) && (cfg->end_id >= devid)) { in amdvi_dev_support_iotlb() 198 "ATS inv qlen = %d\n", RID2PCI_STR(devid), qlen); in amdvi_dev_support_iotlb() 332 amdvi_cmd_inv_dte(struct amdvi_softc *softc, uint16_t devid) in amdvi_cmd_inv_dte() argument 339 cmd->word0 = devid; in amdvi_cmd_inv_dte() [all …]
|
/freebsd/tests/sys/cddl/zfs/bin/ |
H A D | devname2devid.c | 30 #include <devid.h> 41 * devid id1,sd@SSEAGATE_ST318404LSUN18G_3BT2G0Z300002146G4CR/a 43 * devid id1,sd@SSEAGATE_ST318404LSUN18G_3BT2G0Z300002146G4CR/wd 45 * devid id1,sd@SSEAGATE_ST318404LSUN18G_3BT2G0Z300002146G4CR/b 60 ddi_devid_t devid; in main() local 79 if (devid_get(fd, &devid) != 0) { in main() 87 if ((devidstr = devid_str_encode(devid, minor_name)) == 0) { in main() 92 (void) printf("devid %s\n", devidstr); in main() 103 if (devid_deviceid_to_nmlist(search_path, devid, DEVID_MINOR_NAME_ALL, in main() 118 devid_free(devid); in main()
|
/freebsd/sys/contrib/openzfs/cmd/zed/agents/ |
H A D | zfs_agents.c | 73 * Walks the vdev tree recursively looking for a matching devid. 119 * On a devid match, grab the vdev guid and expansion time, if any. in zfs_agent_iter_vdev() 131 * Otherwise, on a vdev guid match, grab the devid and expansion in zfs_agent_iter_vdev() 132 * time. The devid might be missing on removal since its not part in zfs_agent_iter_vdev() 156 * For each vdev in this pool, look for a match by devid in zfs_agent_iter_pool() 214 const char *devid = NULL; in zfs_agent_post_event() local 220 (void) nvlist_lookup_string(nvl, DEV_IDENTIFIER, &devid); in zfs_agent_post_event() 230 * If devid is missing but vdev_guid is available, find devid in zfs_agent_post_event() 235 if (devid == NULL || pool_guid == 0 || vdev_guid == 0) { in zfs_agent_post_event() 236 if (devid == NULL) in zfs_agent_post_event() [all …]
|
H A D | zfs_mod.c | 40 * 1. Search for any vdevs whose devid matches that of the newly added 179 * The device associated with the given vdev (either by devid or physical path) 271 * devid: 'dm-uuid-mpath-35000c500a61d68a3' in zfs_process_add() 650 * Match by GUID if available otherwise fallback to devid or physical in zfs_iter_vdev() 686 /* pass the new devid for use by auto-replacing code */ in zfs_iter_vdev() 767 devphys_iter(const char *physical, const char *devid, zfs_process_func_t func, in devphys_iter() argument 777 data.dd_new_devid = devid; /* used by auto replace code */ in devphys_iter() 813 * devid: 'dm-uuid-mpath-35000c500a61d68a3' 828 by_vdev_path_iter(const char *by_vdev_path, const char *devid, in by_vdev_path_iter() argument 838 data.dd_new_devid = devid; in by_vdev_path_iter() [all …]
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/cmd/ |
H A D | devname2devid.c | 101 * devid scsi-350000394a8caede4-part1 104 * devid: 'dm-uuid-mpath-35000c5006304de3f' 119 char devid[128], nodepath[MAXPATHLEN]; in main() local 147 if ((ret = udev_device_get_devid(dev, devid, sizeof (devid))) != 0) { in main() 154 (void) printf("devid %s\n", devid); in main()
|
/freebsd/contrib/ofed/infiniband-diags/src/ |
H A D | ibdiag_common.c | 540 uint16_t devid) in is_mlnx_ext_port_info_supported() argument 544 if ((devid >= 0xc738 && devid <= 0xc73b) || devid == 0xcb20 || devid == 0xcf08 || in is_mlnx_ext_port_info_supported() 547 (devid == 0x1b02 || devid == 0x1b50 || in is_mlnx_ext_port_info_supported() 549 devid == 0x1ba0 || in is_mlnx_ext_port_info_supported() 550 (devid >= 0x1bd0 && devid <= 0x1bd5)))) in is_mlnx_ext_port_info_supported() 552 if ((devid >= 0x1003 && devid <= 0x1017) || in is_mlnx_ext_port_info_supported() 555 (devid == 0x1b33 || devid == 0x1b73 || in is_mlnx_ext_port_info_supported() 556 devid == 0x1b40 || devid == 0x1b41 || in is_mlnx_ext_port_info_supported() 557 devid == 0x1b60 || devid == 0x1b61 || in is_mlnx_ext_port_info_supported() 559 devid == 0x1b83 || in is_mlnx_ext_port_info_supported() [all …]
|
/freebsd/contrib/ofed/libibnetdisc/ |
H A D | ibnetdisc.c | 198 uint16_t devid = (uint16_t) mad_get_field(port->node->info, 0, IB_NODE_DEVID_F); in is_mlnx_ext_port_info_supported() local 201 if ((devid >= 0xc738 && devid <= 0xc73b) || devid == 0xcb20 || devid == 0xcf08 || in is_mlnx_ext_port_info_supported() 204 (devid == 0x1b02 || devid == 0x1b50 || in is_mlnx_ext_port_info_supported() 206 devid == 0x1ba0 || in is_mlnx_ext_port_info_supported() 207 (devid >= 0x1bd0 && devid <= 0x1bd5)))) in is_mlnx_ext_port_info_supported() 209 if ((devid >= 0x1003 && devid <= 0x1017) || in is_mlnx_ext_port_info_supported() 212 (devid == 0x1b33 || devid == 0x1b73 || in is_mlnx_ext_port_info_supported() 213 devid == 0x1b40 || devid == 0x1b41 || in is_mlnx_ext_port_info_supported() 214 devid == 0x1b60 || devid == 0x1b61 || in is_mlnx_ext_port_info_supported() 216 devid == 0x1b83 || in is_mlnx_ext_port_info_supported() [all …]
|
H A D | chassis.c | 271 uint32_t devid = mad_get_field(n->info, 0, IB_NODE_DEVID_F); in is_router() local 272 return (devid == VTR_DEVID_IB_FC_ROUTER || in is_router() 273 devid == VTR_DEVID_IB_IP_ROUTER); in is_router() 278 uint32_t devid = mad_get_field(n->info, 0, IB_NODE_DEVID_F); in is_spine_9096() local 279 return (devid == VTR_DEVID_SFB4 || devid == VTR_DEVID_SFB4_DDR); in is_spine_9096() 284 uint32_t devid = mad_get_field(n->info, 0, IB_NODE_DEVID_F); in is_spine_9288() local 285 return (devid == VTR_DEVID_SFB12 || devid == VTR_DEVID_SFB12_DDR); in is_spine_9288() 290 uint32_t devid = mad_get_field(n->info, 0, IB_NODE_DEVID_F); in is_spine_2004() local 291 return (devid == VTR_DEVID_SFB2004); in is_spine_2004() 296 uint32_t devid = mad_get_field(n->info, 0, IB_NODE_DEVID_F); in is_spine_2012() local [all …]
|
/freebsd/cddl/compat/opensolaris/include/ |
H A D | devid.h | 35 char devid[DISK_IDENT_SIZE]; member 45 int devid_deviceid_to_nmlist(char *search_path, ddi_devid_t devid, 48 void devid_free(ddi_devid_t devid); 52 char *devid_str_encode(ddi_devid_t devid, char *minor_name);
|
/freebsd/sys/dev/agp/ |
H A D | agp_i810.c | 473 /* For adding new devices, devid is the id of the graphics controller 476 * subtract from devid to get the id of the hostb that the device is on. 479 int devid; member 484 .devid = 0x71218086, 489 .devid = 0x71238086, 494 .devid = 0x71258086, 499 .devid = 0x11328086, 504 .devid = 0x35778086, 509 .devid = 0x25628086, 514 .devid 651 int i, devid; agp_i810_match() local [all...] |
/freebsd/sys/dev/nvme/ |
H A D | nvme_pci.c | 70 uint32_t devid; member 100 nvme_match(uint32_t devid, uint16_t subdevice, struct _pcsid *ep) in nvme_match() argument 102 if (devid != ep->devid) in nvme_match() 119 uint32_t devid; in nvme_pci_probe() local 122 devid = pci_get_devid(device); in nvme_pci_probe() 126 while (ep->devid) { in nvme_pci_probe() 127 if (nvme_match(devid, subdevice, ep)) in nvme_pci_probe() 131 if (ep->devid) in nvme_pci_probe()
|
/freebsd/sys/dev/qat/qat_api/common/utils/ |
H A D | sal_versions.c | 69 pVerInfo->devId = device->accelId; in SalVersions_FillVersionInfo() 120 icp_sal_getDevVersionInfo(Cpa32U devId, icp_sal_dev_version_info_t *pVerInfo) in icp_sal_getDevVersionInfo() argument 136 if (devId >= ADF_MAX_DEVICES) { in icp_sal_getDevVersionInfo() 137 QAT_UTILS_LOG("Invalid devId\n"); in icp_sal_getDevVersionInfo() 154 if (pDevice->accelId == devId) { in icp_sal_getDevVersionInfo() 167 devId); in icp_sal_getDevVersionInfo()
|
/freebsd/sys/dev/ath/ath_hal/ |
H A D | ah_devid.h | 39 #define AR5311_DEVID 0x0011 /* Final ar5311 devid */ 40 #define AR5211_DEVID 0x0012 /* Final ar5211 devid */ 46 #define AR5212_DEVID 0x0013 /* Final ar5212 devid */ 57 /* AR5212 compatible devid's also attach to 5212 */ 74 /* AR5416 compatible devid's */
|
/freebsd/sys/dev/ath/ath_hal/ar5312/ |
H A D | ar5312_attach.c | 63 ar5312Attach(uint16_t devid, HAL_SOFTC sc, in ar5312Attach() argument 85 ar5212InitState(ahp, devid, sc, st, sh, status); in ar5312Attach() 135 if ((devid == AR5212_AR2315_REV6) || in ar5312Attach() 136 (devid == AR5212_AR2315_REV7) || in ar5312Attach() 137 (devid == AR5212_AR2317_REV1) || in ar5312Attach() 138 (devid == AR5212_AR2317_REV2) ) { in ar5312Attach() 312 ar5312Probe(uint16_t vendorid, uint16_t devid) in ar5312Probe() argument 315 switch (devid) { in ar5312Probe()
|
/freebsd/sys/dev/ncthwm/ |
H A D | ncthwm.c | 68 uint16_t devid; member 76 .devid = 0xc562, 89 .devid = 0xd42a, 108 uint16_t devid; in ncthwm_lookup_device() local 110 devid = superio_devid(dev); in ncthwm_lookup_device() 112 if (devid == ncthwm_devices[i].devid) in ncthwm_lookup_device()
|
/freebsd/stand/i386/libi386/ |
H A D | biospci.c | 191 static void biospci_addinfo(int devid, struct pci_class *pc, struct pci_subclass *psc, struct pci_p… 261 uint32_t locator, devid; in biospci_enumerate() local 283 err = biospci_read_config(locator, 0, BIOSPCI_32BITS, &devid); in biospci_enumerate() 288 biospci_addinfo(devid, pc, psc, ppi); in biospci_enumerate() 296 biospci_addinfo(int devid, struct pci_class *pc, struct pci_subclass *psc, struct pci_progif *ppi) in biospci_addinfo() argument 317 sprintf(desc,"0x%08x", devid); in biospci_addinfo() 341 biospci_find_device(uint32_t devid, int index, uint32_t *locator) in biospci_find_device() argument 346 v86.edx = devid & 0xffff; /* EDX - Vendor ID */ in biospci_find_device() 347 v86.ecx = (devid >> 16) & 0xffff; /* ECX - Device ID */ in biospci_find_device()
|
/freebsd/sys/dev/ath/ath_hal/ar5210/ |
H A D | ar5210_attach.c | 188 ar5210Attach(uint16_t devid, HAL_SOFTC sc, HAL_BUS_TAG st, HAL_BUS_HANDLE sh, in ar5210Attach() argument 200 "%s: devid 0x%x sc %p st %p sh %p\n", __func__, devid, in ar5210Attach() 218 ah->ah_devid = devid; /* NB: for AH_DEBUG_ALQ */ in ar5210Attach() 219 AH_PRIVATE(ah)->ah_devid = devid; in ar5210Attach() 412 ar5210Probe(uint16_t vendorid, uint16_t devid) in ar5210Probe() argument 415 (devid == AR5210_PROD || devid == AR5210_DEFAULT)) in ar5210Probe()
|
/freebsd/sys/dev/iavf/ |
H A D | iavf_drv_info.h | 52 #define PVIDV(vendor, devid, name) \ argument 53 PVID(vendor, devid, name " - 3.0.26-k") 54 #define PVIDV_OEM(vendor, devid, svid, sdevid, revid, name) \ argument 55 PVID_OEM(vendor, devid, svid, sdevid, revid, name " - 3.0.26-k")
|
/freebsd/sys/dev/sound/pci/ |
H A D | ich.c | 101 uint16_t devid; member 197 uint16_t devid; member 838 sc->devid == INTEL_82801DB || sc->devid == INTEL_82801EB || in ich_init() 839 sc->devid == INTEL_6300ESB || sc->devid == INTEL_82801FB || in ich_init() 840 sc->devid == INTEL_82801GB)) { in ich_init() 864 uint16_t devid, vendor; in ich_pci_probe() local 867 devid = pci_get_device(dev); in ich_pci_probe() 870 devid == ich_devs[i].devid) { in ich_pci_probe() 886 uint16_t devid, vendor; in ich_pci_attach() local 895 devid = sc->devid = pci_get_device(dev); in ich_pci_attach() [all …]
|
/freebsd/sys/x86/pci/ |
H A D | qpi.c | 104 uint32_t devid; in qpi_probe_pcib() local 120 devid = pci_cfgregread(0, bus, s, 0, PCIR_DEVVENDOR, 4); in qpi_probe_pcib() 121 if (devid != 0xffffffff) in qpi_probe_pcib() 124 if (devid == 0xffffffff) in qpi_probe_pcib() 127 if ((devid & 0xffff) != 0x8086) { in qpi_probe_pcib() 131 bus, s, devid & 0xffff); in qpi_probe_pcib()
|
/freebsd/contrib/ofed/infiniband-diags/man/ |
H A D | ibnetdiscover.8 | 337 devid=0x5a06 348 devid=0x5a05 357 devid=0x5a44 363 devid=0x5a44 369 devid=0x5a44 375 devid=0x5a44
|
H A D | infiniband-diags.8 | 328 devid=0x5a06 339 devid=0x5a05 348 devid=0x5a44 354 devid=0x5a44 360 devid=0x5a44 366 devid=0x5a44
|
/freebsd/sys/x86/iommu/ |
H A D | amd_cmd.c | 270 c.devid = ctx->context.rid; in amdiommu_qi_invalidate_ctx_locked_nowait() 284 uint16_t devid) in amdiommu_qi_invalidate_ir_locked_nowait() argument 293 c.devid = devid; in amdiommu_qi_invalidate_ir_locked_nowait() 298 amdiommu_qi_invalidate_ir_locked(struct amdiommu_unit *unit, uint16_t devid) in amdiommu_qi_invalidate_ir_locked() argument 300 amdiommu_qi_invalidate_ir_locked_nowait(unit, devid); in amdiommu_qi_invalidate_ir_locked()
|
/freebsd/sys/dev/intel/ |
H A D | spi_pci.c | 45 uint32_t devid; member 67 uint32_t devid = pci_get_devid(dev); in intelspi_pci_probe() local 71 if (intelspi_pci_devices[i].devid == devid) { in intelspi_pci_probe()
|