/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/sys/dev/superio/ |
H A D | superio.c | 89 uint16_t devid; member 313 uint16_t devid; member 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, 348 .vendor = SUPERIO_VENDOR_ITE, .devid = 0x8728, [all …]
|
/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 | 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 …]
|
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 …]
|
/freebsd/tests/sys/cddl/zfs/bin/ |
H A D | devname2devid.c | 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() 103 if (devid_deviceid_to_nmlist(search_path, devid, DEVID_MINOR_NAME_ALL, in main() 118 devid_free(devid); in main()
|
/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/contrib/ofed/libcxgb4/ |
H A D | t4_pci_id_tbl.h | 83 #define CH_PCI_ID_TABLE_FENTRY(devid) \ argument 84 CH_PCI_ID_TABLE_ENTRY((devid) | \ 87 #define CH_PCI_ID_TABLE_FENTRY(devid) \ argument 88 CH_PCI_ID_TABLE_ENTRY((devid) | \ 90 CH_PCI_ID_TABLE_ENTRY((devid) | \
|
/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/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/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/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/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/contrib/openzfs/tests/zfs-tests/cmd/ |
H A D | devname2devid.c | 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/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/contrib/openzfs/cmd/zed/agents/ |
H A D | zfs_agents.c | 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() 235 if (devid == NULL || pool_guid == 0 || vdev_guid == 0) { in zfs_agent_post_event() 236 if (devid == NULL) in zfs_agent_post_event() 239 search.gs_devid = devid; in zfs_agent_post_event() 241 if (devid == NULL) in zfs_agent_post_event() 242 devid = search.gs_devid; in zfs_agent_post_event() 260 devid); in zfs_agent_post_event()
|
H A D | zfs_mod.c | 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() 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() 856 devid_iter(const char *devid, zfs_process_func_t func, boolean_t is_slice) in devid_iter() argument 860 data.dd_compare = devid; in devid_iter() 865 data.dd_new_devid = devid; in devid_iter() 876 guid_iter(uint64_t pool_guid, uint64_t vdev_guid, const char *devid, in guid_iter() argument 886 data.dd_new_devid = devid; in guid_iter() 915 const char *devpath = NULL, *devid = NULL; in zfs_deliver_add() local [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/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()
|
/freebsd/sys/dev/ice/ |
H A D | ice_drv_info.h | 71 #define PVIDV(vendor, devid, name) \ argument 72 PVID(vendor, devid, name " - 1.43.2-k") 73 #define PVIDV_OEM(vendor, devid, svid, sdevid, revid, name) \ argument 74 PVID_OEM(vendor, devid, svid, sdevid, revid, name " - 1.43.2-k")
|
/freebsd/sys/i386/i386/ |
H A D | bios.c | 529 u_int32_t devid; member 576 u_int32_t *devid, *compid; in pnpbios_identify() local 639 if (!strcmp(pnp_eisaformat(pd->devid), "PNP0000")) /* ISA PIC */ in pnpbios_identify() 641 if (!strcmp(pnp_eisaformat(pd->devid), "PNP0003")) /* APIC */ in pnpbios_identify() 646 isa_set_vendorid(dev, pd->devid); in pnpbios_identify() 647 isa_set_logicalid(dev, pd->devid); in pnpbios_identify() 669 device_set_desc_copy(dev, pnp_eisaformat(pd->devid)); in pnpbios_identify() 672 devid = &pd->devid; in pnpbios_identify() 701 pd->handle, pnp_eisaformat(*devid), *devi in pnpbios_identify() [all...] |
/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/dev/ipmi/ |
H A D | ipmi_isa.c | 57 uint32_t devid; in ipmi_isa_identify() local 69 devid = pci_cfgregread(0, 0, 4, 2, PCIR_DEVVENDOR, 4); in ipmi_isa_identify() 70 if (devid != 0xffffffff && in ipmi_isa_identify() 71 ipmi_pci_match(devid & 0xffff, devid >> 16) != NULL) in ipmi_isa_identify()
|
/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/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()
|