/freebsd-13-stable/cddl/compat/opensolaris/include/ |
H A D | devid.h | 37 char devid[DISK_IDENT_SIZE]; member in struct:ddi_devid 47 int devid_deviceid_to_nmlist(char *search_path, ddi_devid_t devid, 50 void devid_free(ddi_devid_t devid); 54 char *devid_str_encode(ddi_devid_t devid, char *minor_name);
|
/freebsd-13-stable/tests/sys/cddl/zfs/bin/ |
H A D | devname2devid.c | 32 #include <devid.h> 43 * devid id1,sd@SSEAGATE_ST318404LSUN18G_3BT2G0Z300002146G4CR/a 45 * devid id1,sd@SSEAGATE_ST318404LSUN18G_3BT2G0Z300002146G4CR/wd 47 * devid id1,sd@SSEAGATE_ST318404LSUN18G_3BT2G0Z300002146G4CR/b 62 ddi_devid_t devid; local 81 if (devid_get(fd, &devid) != 0) { 89 if ((devidstr = devid_str_encode(devid, minor_name)) == 0) { 94 (void) printf("devid %s\n", devidstr); 105 if (devid_deviceid_to_nmlist(search_path, devid, DEVID_MINOR_NAME_ALL, 120 devid_free(devid); [all...] |
/freebsd-13-stable/sys/amd64/vmm/amd/ |
H A D | amdvi_hw.c | 143 amdvi_find_ats_qlen(uint16_t devid) argument 149 dev = pci_find_bsf(PCI_RID2BUS(devid), PCI_RID2SLOT(devid), 150 PCI_RID2FUNC(devid)); 162 RID2PCI_STR(devid), 175 amdvi_dev_support_iotlb(struct amdvi_softc *softc, uint16_t devid) argument 181 qlen = amdvi_find_ats_qlen(devid); 190 if ((cfg->start_id <= devid) && (cfg->end_id >= devid)) { 201 "ATS inv qlen = %d\n", RID2PCI_STR(devid), qle 335 amdvi_cmd_inv_dte(struct amdvi_softc *softc, uint16_t devid) argument 375 amdvi_cmd_inv_iotlb(struct amdvi_softc *softc, uint16_t devid) argument 406 amdvi_cmd_inv_intr_map(struct amdvi_softc *softc, uint16_t devid) argument 588 amdvi_decode_inv_dte_evt(uint16_t devid, uint16_t domid, uint64_t addr, uint16_t flag) argument 599 amdvi_decode_pf_evt(uint16_t devid, uint16_t domid, uint64_t addr, uint16_t flag) argument 610 amdvi_decode_dte_hwerr_evt(uint16_t devid, uint16_t domid, uint64_t addr, uint16_t flag) argument 621 amdvi_decode_page_hwerr_evt(uint16_t devid, uint16_t domid, uint64_t addr, uint16_t flag) argument 1204 amdvi_find_iommu(uint16_t devid) argument 1231 amdvi_set_dte(struct amdvi_domain *domain, uint16_t devid, bool enable) argument 1272 amdvi_inv_device(uint16_t devid) argument 1288 amdvi_add_device(void *arg, uint16_t devid) argument 1303 amdvi_remove_device(void *arg, uint16_t devid) argument [all...] |
/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/cmd/devname2devid/ |
H A D | devname2devid.c | 101 * devid scsi-350000394a8caede4-part1 104 * devid: 'dm-uuid-mpath-35000c5006304de3f' 119 char devid[128], nodepath[MAXPATHLEN]; local 147 if ((ret = udev_device_get_devid(dev, devid, sizeof (devid))) != 0) { 154 (void) printf("devid %s\n", devid);
|
/freebsd-13-stable/sys/dev/bhnd/cores/usb/ |
H A D | bhnd_usbvar.h | 48 int devid; member in struct:bhnd_usb_softc
|
/freebsd-13-stable/sys/dev/superio/ |
H A D | superio.c | 93 uint16_t devid; member in struct:siosc 291 uint16_t devid; member in struct:__anon14363 297 .vendor = SUPERIO_VENDOR_ITE, .devid = 0x8712, 301 .vendor = SUPERIO_VENDOR_ITE, .devid = 0x8716, 305 .vendor = SUPERIO_VENDOR_ITE, .devid = 0x8718, 309 .vendor = SUPERIO_VENDOR_ITE, .devid = 0x8720, 313 .vendor = SUPERIO_VENDOR_ITE, .devid = 0x8721, 317 .vendor = SUPERIO_VENDOR_ITE, .devid = 0x8726, 321 .vendor = SUPERIO_VENDOR_ITE, .devid = 0x8728, 325 .vendor = SUPERIO_VENDOR_ITE, .devid 470 uint16_t devid; local [all...] |
/freebsd-13-stable/contrib/ofed/libcxgb4/ |
H A D | t4_pci_id_tbl.h | 83 #define CH_PCI_ID_TABLE_FENTRY(devid) \ 84 CH_PCI_ID_TABLE_ENTRY((devid) | \ 87 #define CH_PCI_ID_TABLE_FENTRY(devid) \ 88 CH_PCI_ID_TABLE_ENTRY((devid) | \ 90 CH_PCI_ID_TABLE_ENTRY((devid) | \
|
/freebsd-13-stable/sys/dev/ice/ |
H A D | ice_drv_info.h | 72 #define PVIDV(vendor, devid, name) \ 73 PVID(vendor, devid, name " - 0.28.1-k") 74 #define PVIDV_OEM(vendor, devid, svid, sdevid, revid, name) \ 75 PVID_OEM(vendor, devid, svid, sdevid, revid, name " - 0.28.1-k")
|
/freebsd-13-stable/sys/dev/nvme/ |
H A D | nvme_pci.c | 73 uint32_t devid; member in struct:_pcsid 97 nvme_match(uint32_t devid, uint16_t subdevice, struct _pcsid *ep) argument 99 if (devid != ep->devid) 116 uint32_t devid; local 119 devid = pci_get_devid(device); 123 while (ep->devid) { 124 if (nvme_match(devid, subdevice, ep)) 128 if (ep->devid)
|
/freebsd-13-stable/sys/dev/ath/ath_hal/ar5312/ |
H A D | ar5312_attach.c | 65 ar5312Attach(uint16_t devid, HAL_SOFTC sc, argument 87 ar5212InitState(ahp, devid, sc, st, sh, status); 137 if ((devid == AR5212_AR2315_REV6) || 138 (devid == AR5212_AR2315_REV7) || 139 (devid == AR5212_AR2317_REV1) || 140 (devid == AR5212_AR2317_REV2) ) { 314 ar5312Probe(uint16_t vendorid, uint16_t devid) argument 317 switch (devid) {
|
/freebsd-13-stable/contrib/ofed/libibnetdisc/ |
H A D | chassis.c | 271 uint32_t devid = mad_get_field(n->info, 0, IB_NODE_DEVID_F); local 272 return (devid == VTR_DEVID_IB_FC_ROUTER || 273 devid == VTR_DEVID_IB_IP_ROUTER); 278 uint32_t devid = mad_get_field(n->info, 0, IB_NODE_DEVID_F); local 279 return (devid == VTR_DEVID_SFB4 || devid == VTR_DEVID_SFB4_DDR); 284 uint32_t devid = mad_get_field(n->info, 0, IB_NODE_DEVID_F); local 285 return (devid == VTR_DEVID_SFB12 || devid == VTR_DEVID_SFB12_DDR); 290 uint32_t devid local 296 uint32_t devid = mad_get_field(n->info, 0, IB_NODE_DEVID_F); local 302 uint32_t devid = mad_get_field(n->info, 0, IB_NODE_DEVID_F); local 308 uint32_t devid = mad_get_field(n->info, 0, IB_NODE_DEVID_F); local 314 uint32_t devid = mad_get_field(n->info, 0, IB_NODE_DEVID_F); local 328 uint32_t devid = mad_get_field(n->info, 0, IB_NODE_DEVID_F); local 335 uint32_t devid = mad_get_field(n->info, 0, IB_NODE_DEVID_F); local 341 uint32_t devid = mad_get_field(n->info, 0, IB_NODE_DEVID_F); local 347 uint32_t devid = mad_get_field(n->info, 0, IB_NODE_DEVID_F); local [all...] |
H A D | ibnetdisc.c | 198 uint16_t devid = (uint16_t) mad_get_field(port->node->info, 0, IB_NODE_DEVID_F); local 201 if ((devid >= 0xc738 && devid <= 0xc73b) || devid == 0xcb20 || devid == 0xcf08 || 204 (devid == 0x1b02 || devid == 0x1b50 || 206 devid == 0x1ba0 || 207 (devid >= 0x1bd0 && devid < [all...] |
/freebsd-13-stable/stand/i386/libi386/ |
H A D | biospci.c | 194 static void biospci_addinfo(int devid, struct pci_class *pc, struct pci_subclass *psc, struct pci_progif *ppi); 264 uint32_t locator, devid; local 286 err = biospci_read_config(locator, 0, BIOSPCI_32BITS, &devid); 291 biospci_addinfo(devid, pc, psc, ppi); 299 biospci_addinfo(int devid, struct pci_class *pc, struct pci_subclass *psc, struct pci_progif *ppi) argument 320 sprintf(desc,"0x%08x", devid); 344 biospci_find_device(uint32_t devid, int index, uint32_t *locator) argument 349 v86.edx = devid & 0xffff; /* EDX - Vendor ID */ 350 v86.ecx = (devid >> 16) & 0xffff; /* ECX - Device ID */
|
/freebsd-13-stable/sys/contrib/openzfs/lib/libzutil/ |
H A D | zutil_import.h | 52 char **devid);
|
/freebsd-13-stable/contrib/ofed/infiniband-diags/src/ |
H A D | ibdiag_common.c | 540 uint16_t devid) 544 if ((devid >= 0xc738 && devid <= 0xc73b) || devid == 0xcb20 || devid == 0xcf08 || 547 (devid == 0x1b02 || devid == 0x1b50 || 549 devid == 0x1ba0 || 550 (devid >= 0x1bd0 && devid < 539 is_mlnx_ext_port_info_supported(uint32_t vendorid, uint16_t devid) argument [all...] |
/freebsd-13-stable/sys/x86/pci/ |
H A D | qpi.c | 107 uint32_t devid; local 123 devid = pci_cfgregread(bus, s, 0, PCIR_DEVVENDOR, 4); 124 if (devid != 0xffffffff) 127 if (devid == 0xffffffff) 130 if ((devid & 0xffff) != 0x8086) { 134 bus, s, devid & 0xffff);
|
/freebsd-13-stable/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, argument 200 "%s: devid 0x%x sc %p st %p sh %p\n", __func__, devid, 218 ah->ah_devid = devid; /* NB: for AH_DEBUG_ALQ */ 219 AH_PRIVATE(ah)->ah_devid = devid; 412 ar5210Probe(uint16_t vendorid, uint16_t devid) argument 415 (devid == AR5210_PROD || devid == AR5210_DEFAULT))
|
/freebsd-13-stable/sys/dev/ipmi/ |
H A D | ipmi_isa.c | 59 uint32_t devid; local 71 devid = pci_cfgregread(0, 4, 2, PCIR_DEVVENDOR, 4); 72 if (devid != 0xffffffff && 73 ipmi_pci_match(devid & 0xffff, devid >> 16) != NULL)
|
/freebsd-13-stable/sys/i386/i386/ |
H A D | bios.c | 531 u_int32_t devid; member in struct:pnp_sysdev 578 u_int32_t *devid, *compid; local 641 if (!strcmp(pnp_eisaformat(pd->devid), "PNP0000")) /* ISA PIC */ 643 if (!strcmp(pnp_eisaformat(pd->devid), "PNP0003")) /* APIC */ 648 isa_set_vendorid(dev, pd->devid); 649 isa_set_logicalid(dev, pd->devid); 671 device_set_desc_copy(dev, pnp_eisaformat(pd->devid)); 674 devid = &pd->devid; 703 pd->handle, pnp_eisaformat(*devid), *devi [all...] |
/freebsd-13-stable/sys/dev/sound/pci/ |
H A D | ich.c | 103 uint16_t devid; member in struct:ich_type 199 uint16_t devid; member in struct:sc_info 839 sc->devid == INTEL_82801DB || sc->devid == INTEL_82801EB || 840 sc->devid == INTEL_6300ESB || sc->devid == INTEL_82801FB || 841 sc->devid == INTEL_82801GB)) { 865 uint16_t devid, vendor; local 868 devid = pci_get_device(dev); 871 devid 887 uint16_t devid, vendor; local [all...] |
/freebsd-13-stable/sys/dev/ath/ath_hal/ar9001/ |
H A D | ar9130_attach.c | 73 ar9130Attach(uint16_t devid, HAL_SOFTC sc, argument 96 ar5416InitState(ahp5416, devid, sc, st, sh, status); 318 ar9130Probe(uint16_t vendorid, uint16_t devid) argument 320 if (vendorid == ATHEROS_VENDOR_ID && devid == AR5416_AR9130_DEVID)
|
/freebsd-13-stable/sys/dev/virtio/ |
H A D | virtio.c | 54 uint16_t devid; member in struct:virtio_ident 90 virtio_device_name(uint16_t devid) argument 95 if (ident->devid == devid)
|
/freebsd-13-stable/sys/mips/atheros/ |
H A D | ar71xx_machdep.c | 245 * ar71xx_mac_map.X.devid=<device id, eg ath> 254 const char *devid; local 258 if (resource_string_value("ar71xx_mac_map", i, "devid", 259 &devid) != 0) 270 printf("ar71xx: devid '%s.%d', MAC offset '%d'\n", 271 devid, unitid, offset); 272 (void) ar71xx_platform_set_mac_hint(devid, unitid,
|
/freebsd-13-stable/sys/contrib/openzfs/cmd/zed/agents/ |
H A D | zfs_mod.c | 39 * 1. Search for any vdevs whose devid matches that of the newly added 162 * The device associated with the given vdev (either by devid or physical path) 505 * Match by GUID if available otherwise fallback to devid or physical 532 /* pass the new devid for use by replacing code */ 605 devphys_iter(const char *physical, const char *devid, zfs_process_func_t func, argument 615 data.dd_new_devid = devid; /* used by auto replace code */ 623 * Given a device identifier, find any vdevs with a matching devid. 624 * On Linux we can match devid directly which is always a whole disk. 627 devid_iter(const char *devid, zfs_process_func_t func, boolean_t is_slice) argument 631 data.dd_compare = devid; 665 char *devpath = NULL, *devid; local [all...] |
/freebsd-13-stable/sys/dev/agp/ |
H A D | agp_i810.c | 475 /* For adding new devices, devid is the id of the graphics controller 478 * subtract from devid to get the id of the hostb that the device is on. 481 int devid; member in struct:agp_i810_match 486 .devid = 0x71218086, 491 .devid = 0x71238086, 496 .devid = 0x71258086, 501 .devid = 0x11328086, 506 .devid = 0x35778086, 511 .devid = 0x25628086, 516 .devid 653 int i, devid; local [all...] |