Searched refs:devid (Results 1 - 25 of 135) sorted by relevance

123456

/freebsd-current/sys/dev/iavf/
H A Diavf_drv_info.h52 #define PVIDV(vendor, devid, name) \
53 PVID(vendor, devid, name " - 3.0.26-k")
54 #define PVIDV_OEM(vendor, devid, svid, sdevid, revid, name) \
55 PVID_OEM(vendor, devid, svid, sdevid, revid, name " - 3.0.26-k")
/freebsd-current/cddl/compat/opensolaris/include/
H A Ddevid.h35 char devid[DISK_IDENT_SIZE]; member in struct:ddi_devid
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-current/tests/sys/cddl/zfs/bin/
H A Ddevname2devid.c30 #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; local
79 if (devid_get(fd, &devid) != 0) {
87 if ((devidstr = devid_str_encode(devid, minor_name)) == 0) {
92 (void) printf("devid %s\n", devidstr);
103 if (devid_deviceid_to_nmlist(search_path, devid, DEVID_MINOR_NAME_ALL,
118 devid_free(devid);
[all...]
/freebsd-current/sys/amd64/vmm/amd/
H A Damdvi_hw.c140 amdvi_find_ats_qlen(uint16_t devid) argument
146 dev = pci_find_bsf(PCI_RID2BUS(devid), PCI_RID2SLOT(devid),
147 PCI_RID2FUNC(devid));
159 RID2PCI_STR(devid),
172 amdvi_dev_support_iotlb(struct amdvi_softc *softc, uint16_t devid) argument
178 qlen = amdvi_find_ats_qlen(devid);
187 if ((cfg->start_id <= devid) && (cfg->end_id >= devid)) {
198 "ATS inv qlen = %d\n", RID2PCI_STR(devid), qle
332 amdvi_cmd_inv_dte(struct amdvi_softc *softc, uint16_t devid) argument
372 amdvi_cmd_inv_iotlb(struct amdvi_softc *softc, uint16_t devid) argument
403 amdvi_cmd_inv_intr_map(struct amdvi_softc *softc, uint16_t devid) argument
586 amdvi_decode_inv_dte_evt(uint16_t devid, uint16_t domid, uint64_t addr, uint16_t flag) argument
597 amdvi_decode_pf_evt(uint16_t devid, uint16_t domid, uint64_t addr, uint16_t flag) argument
608 amdvi_decode_dte_hwerr_evt(uint16_t devid, uint16_t domid, uint64_t addr, uint16_t flag) argument
619 amdvi_decode_page_hwerr_evt(uint16_t devid, uint16_t domid, uint64_t addr, uint16_t flag) argument
1198 amdvi_find_iommu(uint16_t devid) argument
1220 amdvi_set_dte(struct amdvi_domain *domain, struct amdvi_softc *softc, uint16_t devid, bool enable) argument
1259 amdvi_inv_device(struct amdvi_softc *softc, uint16_t devid) argument
1272 amdvi_add_device(void *arg, uint16_t devid) argument
1291 amdvi_remove_device(void *arg, uint16_t devid) argument
[all...]
/freebsd-current/sys/dev/superio/
H A Dsuperio.c89 uint16_t devid; member in struct:siosc
313 uint16_t devid; member in struct:__anon460
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
517 uint16_t devid; local
[all...]
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/cmd/
H A Ddevname2devid.c101 * 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-current/contrib/ofed/libcxgb4/
H A Dt4_pci_id_tbl.h83 #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-current/sys/contrib/openzfs/lib/libzutil/
H A Dzutil_import.h37 const char **devid);
/freebsd-current/sys/dev/intel/
H A Dspi_pci.c45 uint32_t devid; member in struct:intelspi_pci_device
67 uint32_t devid = pci_get_devid(dev); local
71 if (intelspi_pci_devices[i].devid == devid) {
/freebsd-current/sys/dev/nvme/
H A Dnvme_pci.c70 uint32_t devid; member in struct:_pcsid
100 nvme_match(uint32_t devid, uint16_t subdevice, struct _pcsid *ep) argument
102 if (devid != ep->devid)
119 uint32_t devid; local
122 devid = pci_get_devid(device);
126 while (ep->devid) {
127 if (nvme_match(devid, subdevice, ep))
131 if (ep->devid)
/freebsd-current/sys/dev/ice/
H A Dice_drv_info.h71 #define PVIDV(vendor, devid, name) \
72 PVID(vendor, devid, name " - 1.39.13-k")
73 #define PVIDV_OEM(vendor, devid, svid, sdevid, revid, name) \
74 PVID_OEM(vendor, devid, svid, sdevid, revid, name " - 1.39.13-k")
/freebsd-current/sys/dev/ath/ath_hal/ar5312/
H A Dar5312_attach.c63 ar5312Attach(uint16_t devid, HAL_SOFTC sc, argument
85 ar5212InitState(ahp, devid, sc, st, sh, status);
135 if ((devid == AR5212_AR2315_REV6) ||
136 (devid == AR5212_AR2315_REV7) ||
137 (devid == AR5212_AR2317_REV1) ||
138 (devid == AR5212_AR2317_REV2) ) {
312 ar5312Probe(uint16_t vendorid, uint16_t devid) argument
315 switch (devid) {
/freebsd-current/contrib/ofed/libibnetdisc/
H A Dchassis.c271 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 Dibnetdisc.c198 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-current/sys/dev/ncthwm/
H A Dncthwm.c68 uint16_t devid; member in struct:ncthwm_device
76 .devid = 0xc562,
89 .devid = 0xd42a,
108 uint16_t devid; local
110 devid = superio_devid(dev);
112 if (devid == ncthwm_devices[i].devid)
/freebsd-current/stand/i386/libi386/
H A Dbiospci.c191 static void biospci_addinfo(int devid, struct pci_class *pc, struct pci_subclass *psc, struct pci_progif *ppi);
261 uint32_t locator, devid; local
283 err = biospci_read_config(locator, 0, BIOSPCI_32BITS, &devid);
288 biospci_addinfo(devid, pc, psc, ppi);
296 biospci_addinfo(int devid, struct pci_class *pc, struct pci_subclass *psc, struct pci_progif *ppi) argument
317 sprintf(desc,"0x%08x", devid);
341 biospci_find_device(uint32_t devid, int index, uint32_t *locator) argument
346 v86.edx = devid & 0xffff; /* EDX - Vendor ID */
347 v86.ecx = (devid >> 16) & 0xffff; /* ECX - Device ID */
/freebsd-current/sys/contrib/openzfs/cmd/zed/agents/
H A Dzfs_agents.c73 * Walks the vdev tree recursively looking for a matching devid.
119 * On a devid match, grab the vdev guid and expansion time, if any.
131 * Otherwise, on a vdev guid match, grab the devid and expansion
132 * time. The devid might be missing on removal since its not part
156 * For each vdev in this pool, look for a match by devid
214 const char *devid = NULL; local
220 (void) nvlist_lookup_string(nvl, DEV_IDENTIFIER, &devid);
230 * If devid is missing but vdev_guid is available, find devid
235 if (devid
[all...]
H A Dzfs_mod.c40 * 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'
650 * Match by GUID if available otherwise fallback to devid or physical
686 /* pass the new devid for use by auto-replacing code */
767 devphys_iter(const char *physical, const char *devid, zfs_process_func_t func, argument
777 data.dd_new_devid = devid; /* used by auto replace code */
813 * devid: 'dm-uuid-mpath-35000c500a61d68a3'
828 by_vdev_path_iter(const char *by_vdev_path, const char *devid, argument
838 data.dd_new_devid = devid;
856 devid_iter(const char *devid, zfs_process_func_t func, boolean_t is_slice) argument
876 guid_iter(uint64_t pool_guid, uint64_t vdev_guid, const char *devid, zfs_process_func_t func, boolean_t is_slice) argument
915 const char *devpath = NULL, *devid = NULL; local
[all...]
/freebsd-current/contrib/ofed/infiniband-diags/src/
H A Dibdiag_common.c540 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-current/sys/x86/pci/
H A Dqpi.c104 uint32_t devid; local
120 devid = pci_cfgregread(0, bus, s, 0, PCIR_DEVVENDOR, 4);
121 if (devid != 0xffffffff)
124 if (devid == 0xffffffff)
127 if ((devid & 0xffff) != 0x8086) {
131 bus, s, devid & 0xffff);
/freebsd-current/sys/dev/ath/ath_hal/ar5210/
H A Dar5210_attach.c188 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-current/sys/dev/ipmi/
H A Dipmi_isa.c57 uint32_t devid; local
69 devid = pci_cfgregread(0, 0, 4, 2, PCIR_DEVVENDOR, 4);
70 if (devid != 0xffffffff &&
71 ipmi_pci_match(devid & 0xffff, devid >> 16) != NULL)
/freebsd-current/sys/i386/i386/
H A Dbios.c529 u_int32_t devid; member in struct:pnp_sysdev
576 u_int32_t *devid, *compid; local
639 if (!strcmp(pnp_eisaformat(pd->devid), "PNP0000")) /* ISA PIC */
641 if (!strcmp(pnp_eisaformat(pd->devid), "PNP0003")) /* APIC */
646 isa_set_vendorid(dev, pd->devid);
647 isa_set_logicalid(dev, pd->devid);
669 device_set_desc_copy(dev, pnp_eisaformat(pd->devid));
672 devid = &pd->devid;
701 pd->handle, pnp_eisaformat(*devid), *devi
[all...]
/freebsd-current/sys/dev/sound/pci/
H A Dich.c101 uint16_t devid; member in struct:ich_type
197 uint16_t devid; member in struct:sc_info
838 sc->devid == INTEL_82801DB || sc->devid == INTEL_82801EB ||
839 sc->devid == INTEL_6300ESB || sc->devid == INTEL_82801FB ||
840 sc->devid == INTEL_82801GB)) {
864 uint16_t devid, vendor; local
867 devid = pci_get_device(dev);
870 devid
886 uint16_t devid, vendor; local
[all...]
/freebsd-current/sys/dev/virtio/
H A Dvirtio.c51 uint16_t devid; member in struct:virtio_ident
94 virtio_device_name(uint16_t devid) argument
99 if (ident->devid == devid)

Completed in 406 milliseconds

123456