/illumos-gate/usr/src/uts/intel/io/pciex/ |
H A D | pcie_nb5000.h | 36 #define INTEL_NB5000_PCIE_DEV_ID(did) (((did) >= 0x3600 && (did) <= 0x360a) || \ argument 37 ((did) == 0x25d8 || (did) == 0x25d4 || (did) == 0x25c0 || \ 38 (did) == 0x25d0 || ((did) >= 0x25e2 && (did) <= 0x25e7)) || \ 39 ((did) >= 0x25f7 && (did) <= 0x25fa) || \ 40 (did) == 0x4000 || (did) == 0x4001 || (did) == 0x4003 || \ 41 ((did) >= 0x4021 && (did) <= 0x402e)) 43 #define INTEL_NB5100_PCIE_DEV_ID(did) (((did) >= 0x65e2 && (did) <= 0x65e7) || \ argument 44 ((did) >= 0x65f7 && (did) <= 0x65fa)) 46 #define INTEL_NB5500_PCIE_DEV_ID(did) (((did) >= 0x3408 && (did) <= 0x3411) || \ argument 47 (did) == 0x3420 || (did) == 0x3403) [all …]
|
H A D | pcie_nvidia.h | 55 #define NVIDIA_CK804_LPC2PCI_DEVICE_ID(did) \ argument 56 (((did) == NVIDIA_CK804_DEFAULT_ISA_BRIDGE_DEVID) || \ 57 ((did) == NVIDIA_CK804_PRO_ISA_BRIDGE_DEVID) || \ 58 ((did) == NVIDIA_CK804_SLAVE_ISA_BRIDGE_DEVID)) 82 #define NVIDIA_C51_DEVICE_ID(did) \ argument 83 (((did) == NVIDIA_C51_DEVICE_ID_XVR16) || \ 84 ((did) == NVIDIA_C51_DEVICE_ID_XVR1_0) || \ 85 ((did) == NVIDIA_C51_DEVICE_ID_XVR1_1)) 98 #define NVIDIA_MCP55_DEVICE_ID(did) \ argument 99 (((did) == NVIDIA_MCP55_DEVICE_ID_XVR4) || \ [all …]
|
H A D | pcieb_x86.c | 463 uint16_t vid, did; in pcieb_intel_serr_workaround() local 476 did = bus_p->bus_dev_ven_id >> 16; in pcieb_intel_serr_workaround() 480 vid, did, rid, bdf); in pcieb_intel_serr_workaround() 485 (did >= tbl->device_id_low) && in pcieb_intel_serr_workaround() 486 (did <= tbl->device_id_high) && in pcieb_intel_serr_workaround() 585 uint16_t vid, did; in pcieb_intel_mps_workaround() local 590 did = bus_p->bus_dev_ven_id >> 16; in pcieb_intel_mps_workaround() 592 if ((vid == INTEL_VENDOR_ID) && (INTEL_NB5000_PCIE_DEV_ID(did) || in pcieb_intel_mps_workaround() 593 INTEL_NB5100_PCIE_DEV_ID(did))) { in pcieb_intel_mps_workaround()
|
/illumos-gate/usr/src/uts/i86pc/sys/ |
H A D | pci_cfgacc_x86.h | 55 #define IS_BAD_AMD_NTBRIDGE(vid, did) \ argument 57 (((did) == AMD_HT_NTBRIDGE_DID) || \ 58 ((did) == AMD_AM_NTBRIDGE_DID) || \ 59 ((did) == AMD_DC_NTBRIDGE_DID) || \ 60 ((did) == AMD_MC_NTBRIDGE_DID))) 62 #define IS_K10_AMD_NTBRIDGE(vid, did) \ argument 64 (((did) == AMD_K10_NTBRIDGE_DID_0) || \ 65 ((did) == AMD_K10_NTBRIDGE_DID_1) || \ 66 ((did) == AMD_K10_NTBRIDGE_DID_2) || \ 67 ((did) == AMD_K10_NTBRIDGE_DID_3) || \ [all …]
|
/illumos-gate/usr/src/lib/fm/topo/modules/common/pcibus/ |
H A D | did.c | 318 did_physlot(did_t *did) in did_physlot() argument 320 assert(did != NULL); in did_physlot() 321 return (did->dp_physlot); in did_physlot() 325 did_physlot_exists(did_t *did) in did_physlot_exists() argument 327 assert(did != NULL); in did_physlot_exists() 328 return ((did->dp_physlot >= 0) || (did->dp_nslots > 0)); in did_physlot_exists() 531 did_board(did_t *did) in did_board() argument 533 assert(did != NULL); in did_board() 534 return (did->dp_board); in did_board() 538 did_bridge(did_t *did) in did_bridge() argument [all …]
|
H A D | did_impl.h | 63 struct did { struct 64 struct did *dp_next; /* for chaining in a hash bucket */ argument 65 struct did *dp_link; /* for chaining to related did_t */ argument 66 struct did *dp_chain; /* for chaining to another chain of did_ts */ argument
|
/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/x86pi/ |
H A D | x86pi_hostbridge.c | 100 did_t *did; in pciex_process() local 107 if ((did = did_create(mod, rcn, topo_node_instance(tn_bb), in pciex_process() 111 did_markrc(did); in pciex_process() 116 (void) did_props_set(tn_hbr, did, ExHB_common_props, ExHB_propcnt - 2); in pciex_process() 143 if (did_props_set(tn_rc, did, RC_common_props, RC_propcnt - 2) < 0) { in pciex_process() 159 0, MAX_HB_BUSES, did)); in pciex_process() 165 did_t *did; in pci_process() local 168 if ((did = did_create(mod, bn, topo_node_instance(tn_bb), in pci_process() 175 (void) did_props_set(tn_hbr, did, HB_common_props, HB_propcnt - 2); in pci_process() 185 0, MAX_HB_BUSES, did)); in pci_process()
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/ |
H A D | emlxs_node.c | 378 emlxs_node_match_did(emlxs_port_t *port, NODELIST *ndlp, uint32_t did) in emlxs_node_match_did() argument 384 if (ndlp->nlp_DID == did) in emlxs_node_match_did() 390 mydid.un.word = port->did; in emlxs_node_match_did() 395 ndid.un.word = did; in emlxs_node_match_did() 401 odid.un.word = did; in emlxs_node_match_did() 412 ndid.un.word = did; in emlxs_node_match_did() 475 emlxs_node_find_did(emlxs_port_t *port, uint32_t did, uint32_t lock) in emlxs_node_find_did() argument 482 if ((did == 0) && (!(hba->flag & FC_LOOPBACK_MODE))) { in emlxs_node_find_did() 486 if (did & 0xff000000) { in emlxs_node_find_did() 491 if (did == BCAST_DID) { in emlxs_node_find_did() [all …]
|
H A D | emlxs_diag.c | 134 emlxs_diag_echo_run(emlxs_port_t *port, uint32_t did, uint32_t pattern) in emlxs_diag_echo_run() argument 151 if (did == 0) { in emlxs_diag_echo_run() 152 did = port->did; in emlxs_diag_echo_run() 156 if ((hba->state < FC_LINK_UP) || (port->did == 0)) { in emlxs_diag_echo_run() 164 ndlp = emlxs_node_find_did(port, port->did, 1); in emlxs_diag_echo_run() 190 pkt->pkt_cmd_fhdr.d_id = did; in emlxs_diag_echo_run() 192 pkt->pkt_cmd_fhdr.s_id = port->did; in emlxs_diag_echo_run() 267 "value %02x should be %02x.", did, length, i, in emlxs_diag_echo_run() 279 did, length, pattern_buffer[0] & 0xff, in emlxs_diag_echo_run()
|
H A D | emlxs_els.c | 94 uint32_t did; in emlxs_els_handle_event() local 134 did = LE_SWAP24_LO(pkt->pkt_cmd_fhdr.d_id); in emlxs_els_handle_event() 225 emlxs_elscmd_xlate(command), did); in emlxs_els_handle_event() 244 ndlp = emlxs_node_find_did(port, did, 1); in emlxs_els_handle_event() 256 emlxs_elscmd_xlate(command), did, in emlxs_els_handle_event() 262 emlxs_elscmd_xlate(command), did, in emlxs_els_handle_event() 269 emlxs_elscmd_xlate(command), did, in emlxs_els_handle_event() 279 ndlp = emlxs_node_find_did(port, did, 1); in emlxs_els_handle_event() 301 ndlp = emlxs_node_find_did(port, did, 1); in emlxs_els_handle_event() 321 did, 1); in emlxs_els_handle_event() [all …]
|
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs_sys.c | 353 uint_t did; in nfssys() local 360 if (copyin(arg, &did, sizeof (did))) in nfssys() 362 mountd_args(did); in nfssys() 368 uint_t did; in nfssys() local 375 if (copyin(arg, &did, sizeof (did))) in nfssys() 377 nfscmd_args(did); in nfssys()
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | cpu_pm.c | 322 id_t did; in cpupm_domain_init() local 330 did = cpupm_domain_id(cp, type); in cpupm_domain_init() 331 dom = cpupm_domain_find(did, type); in cpupm_domain_init() 333 dom = cpupm_domain_create(did, type); in cpupm_domain_init() 674 id_t did; in cpupm_redefine_max_activepwr_state() local 679 did = cpupm_domain_id(cp, type); in cpupm_redefine_max_activepwr_state() 681 dom = cpupm_domain_find(did, type); in cpupm_redefine_max_activepwr_state() 684 dom = cpupm_domain_find(did, type); in cpupm_redefine_max_activepwr_state()
|
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | sidsys.c | 86 idmap_reg(int did) in idmap_reg() argument 95 dh = door_ki_lookup(did); in idmap_reg() 107 idmap_unreg(int did) in idmap_unreg() argument 109 door_handle_t dh = door_ki_lookup(did); in idmap_unreg()
|
/illumos-gate/usr/src/uts/common/fs/autofs/ |
H A D | auto_sys.c | 69 uint_t did; in autofssys() local 85 if (copyin((uint_t *)arg, &did, sizeof (uint_t))) in autofssys() 91 fngp->fng_autofs_daemon_dh = door_ki_lookup(did); in autofssys()
|
/illumos-gate/usr/src/uts/intel/io/intel_nhm/ |
H A D | nhm_init.c | 283 uint32_t did; in init_dimms() local 290 did = CPU_ID_RD(i); in init_dimms() 291 if (did != NHM_EP_CPU && did != NHM_WS_CPU && in init_dimms() 292 did != NHM_JF_CPU && did != NHM_WM_CPU) { in init_dimms()
|
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | pr_door.c | 38 pr_door_info(struct ps_prochandle *Pr, int did, door_info_t *di) in pr_door_info() argument 46 return (door_info(did, di)); in pr_door_info() 48 adp->arg_value = did; in pr_door_info()
|
/illumos-gate/usr/src/lib/libnvme/common/ |
H A D | libnvme_vendor.c | 48 int *vid, *did, *svidp, *sdidp; in nvme_vendor_map_ctrl() local 53 "device-id", &did) != 1) { in nvme_vendor_map_ctrl() 73 ident->nvdi_did != (uint16_t)did[0]) { in nvme_vendor_map_ctrl()
|
/illumos-gate/usr/src/cmd/iscsid/ |
H A D | iscsid.c | 86 static boolean_t discovery_event_wait(int did); 566 int did in get_luns_count() argument 584 did, in get_luns_count() 626 int did in discovery_event_wait() argument 649 did, in discovery_event_wait() 664 tmp = get_luns_count(did); in discovery_event_wait()
|
/illumos-gate/usr/src/cmd/prtdiag/i386/ |
H A D | smbios.c | 208 long vid, did; in do_slot_mapping_cb() local 211 did = strtol(didstr, NULL, 16); in do_slot_mapping_cb() 213 did >= 0 && did <= UINT16_MAX) { in do_slot_mapping_cb() 216 pdev = pcidb_lookup_device(prt_php, vid, did); in do_slot_mapping_cb()
|
/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | svc_door.c | 320 int did = -1; in svc_door_create() local 371 did = door_create(door_server, (void *)xprt, DOOR_REFUSE_DESC); in svc_door_create() 372 if (did < 0) { in svc_door_create() 378 if (fattach(did, rendezvous) < 0) { in svc_door_create() 380 fattach(did, rendezvous) < 0) { in svc_door_create() 418 xprt->xp_fd = did; in svc_door_create() 431 if (did >= 0) in svc_door_create() 432 (void) door_revoke(did); in svc_door_create()
|
H A D | clnt_door.c | 86 int did; in clnt_door_create() local 94 if ((did = open(rendezvous, O_RDONLY, 0)) < 0) { in clnt_door_create() 101 if (door_info(did, &info) < 0 || (info.di_attributes & DOOR_REVOKED)) { in clnt_door_create() 102 (void) close(did); in clnt_door_create() 140 cu->cu_fd = did; in clnt_door_create() 169 (void) close(did); in clnt_door_create()
|
/illumos-gate/usr/src/cmd/mdb/common/modules/mr_sas/ |
H A D | mr_sas.c | 110 uint16_t vid, did, svid, sid; in display_deviceinfo() local 113 did = m->device_id; in display_deviceinfo() 123 vid, did, svid, sid); in display_deviceinfo()
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/pragma/ |
H A D | tst.temporal.ksh | 87 echo $tst: begin probe did not fire 94 echo $tst: end probe did not fire
|
/illumos-gate/usr/src/lib/libppt/common/ |
H A D | libppt.c | 81 dev_getlabel(pcidb_hdl_t *db, int vid, int did, char *buf, size_t buflen) in dev_getlabel() argument 89 if ((dev = pcidb_lookup_device_by_vendor(vend, did)) == NULL) in dev_getlabel() 104 int vid, did; in dev_getinfo() local 116 if ((err = populate_int_prop(di_node, nvl, "device-id", &did)) != 0) in dev_getinfo() 128 err = dev_getlabel(db, vid, did, label, sizeof (label)); in dev_getinfo()
|
/illumos-gate/usr/src/uts/common/fs/doorfs/ |
H A D | door_sys.c | 502 door_call(int did, void *args) in door_call() argument 557 if ((dp = door_lookup(did, NULL)) == NULL) in door_call() 566 releasef(did); in door_call() 1027 door_setparam(int did, int type, size_t val) in door_setparam() argument 1032 if ((dp = door_lookup(did, NULL)) == NULL) in door_setparam() 1037 releasef(did); in door_setparam() 1046 door_getparam(int did, int type, size_t *out) in door_getparam() argument 1052 if ((dp = door_lookup(did, NULL)) == NULL) in door_getparam() 1057 releasef(did); in door_getparam() 1557 door_revoke(int did) in door_revoke() argument [all …]
|