/illumos-gate/usr/src/uts/sun4u/sys/ |
H A D | cpu_impl.h | 41 #define CHEETAH_MAJOR_VERSION(rev) (((rev) >> 4) & 0xf) argument 42 #define CHEETAH_MINOR_VERSION(rev) ((rev) & 0xf) argument 50 #define CHEETAH_PLUS_MAJOR_VERSION(rev) CHEETAH_MAJOR_VERSION(rev) argument 51 #define CHEETAH_PLUS_MINOR_VERSION(rev) CHEETAH_MINOR_VERSION(rev) argument 60 #define JALAPENO_MAJOR_VERSION(rev) CHEETAH_MAJOR_VERSION(rev) argument 61 #define JALAPENO_MINOR_VERSION(rev) CHEETAH_MINOR_VERSION(rev) argument 70 #define JAGUAR_MAJOR_VERSION(rev) CHEETAH_MAJOR_VERSION(rev) argument 71 #define JAGUAR_MINOR_VERSION(rev) CHEETAH_MINOR_VERSION(rev) argument 80 #define SERRANO_MAJOR_VERSION(rev) CHEETAH_MAJOR_VERSION(rev) argument 81 #define SERRANO_MINOR_VERSION(rev) CHEETAH_MINOR_VERSION(rev) argument [all …]
|
H A D | spitregs.h | 105 #define SPITFIRE_MAJOR_VERSION(rev) (((rev) >> 4) & 0xf) argument 106 #define SPITFIRE_MINOR_VERSION(rev) ((rev) & 0xf) argument 110 #define BLACKBIRD_MAJOR_VERSION(rev) (((rev) >> 4) & 0xf) argument 111 #define BLACKBIRD_MINOR_VERSION(rev) ((rev) & 0xf) argument
|
/illumos-gate/usr/src/uts/i86pc/cpu/authenticamd/ |
H A D | authamd_main.c | 83 #define AUTHAMD_NBONCHIP(rev) \ argument 84 (chiprev_at_least(rev, X86_CHIPREV_AMD_LEGACY_F_REV_B) || \ 85 chiprev_at_least(rev, X86_CHIPREV_AMD_LEGACY_10_REV_A)) 90 #define AUTHAMD_MEMECC_RECOGNISED(rev) \ argument 91 (chiprev_at_least(rev, X86_CHIPREV_AMD_LEGACY_F_REV_B) || \ 92 chiprev_at_least(rev, X86_CHIPREV_AMD_LEGACY_10_REV_A)) 97 #define AUTHAMD_HAS_ONLINESPARECTL(rev) \ argument 98 (chiprev_at_least(rev, X86_CHIPREV_AMD_LEGACY_F_REV_F) || \ 99 chiprev_at_least(rev, X86_CHIPREV_AMD_LEGACY_10_REV_A)) 104 #define AUTHAMD_DO_NBMCACFG(rev) \ argument [all …]
|
/illumos-gate/usr/src/uts/intel/sys/ |
H A D | mc_amd.h | 272 #define MC_REV_MATCH(rev, revmask) chiprev_matches(rev, revmask) argument 277 #define MC_REV_ATLEAST(rev, minrev) chiprev_at_least(rev, minrev) argument 447 #define MC_CSBASE(up, rev) (MC_REV_MATCH(rev, MC_F_REVS_FG) ? \ argument 481 #define MC_CSMASKLO_LOBIT(rev) (MC_REV_MATCH(rev, MC_F_REVS_FG) ? 13 : 13) argument 482 #define MC_CSMASKLO_HIBIT(rev) (MC_REV_MATCH(rev, MC_F_REVS_FG) ? 21 : 19) argument 484 #define MC_CSMASKHI_LOBIT(rev) (MC_REV_MATCH(rev, MC_F_REVS_FG) ? 27 : 25) argument 485 #define MC_CSMASKHI_HIBIT(rev) (MC_REV_MATCH(rev, MC_F_REVS_FG) ? 36 : 33) argument 487 #define MC_CSMASK_UNMASKABLE(rev) (MC_REV_MATCH(rev, MC_F_REVS_FG) ? 0 : 2) argument 489 #define MC_CSMASK(up, rev) (MC_REV_MATCH(rev, MC_F_REVS_FG) ? \ argument
|
/illumos-gate/usr/src/common/mc/mc-amd/ |
H A D | mcamd_rowcol.c | 38 mcamd_prop_t rev; /* revision */ member 65 mc, MCAMD_PROP_REV, &pp->rev, in getmcprops() 110 uint_t rev = (uint_t)mcpp->rev; in gettbls() local 113 if (bamp && (*bamp = rct_bnkaddrmode(rev, csmode)) == NULL) { in gettbls() 115 "table for MC rev %d csmode %d\n", caller, rev, csmode); in gettbls() 119 if (rcbmp && (*rcbmp = rct_rcbmap(rev, width, csmode)) == NULL) { in gettbls() 122 rev, csmode); in gettbls() 126 if (swzlp && (*swzlp = rct_bnkswzlinfo(rev, width)) == NULL) { in gettbls() 128 "table for MC rev %d width %d\n", caller, rev, width); in gettbls() 134 rct_csintlv_bits(rev, width, csmode, in gettbls() [all …]
|
/illumos-gate/usr/src/lib/libipmi/common/ |
H A D | ipmi_misc.c | 82 char rev[128]; in ipmi_firmware_version() local 94 (void) snprintf(rev, sizeof (rev), "%d.%d", dp->id_firm_major, in ipmi_firmware_version() 109 len = strlen(rev); in ipmi_firmware_version() 110 (void) snprintf(rev + len, sizeof (rev) - len, ".%u", in ipmi_firmware_version() 115 if ((ihp->ih_firmware_rev = ipmi_strdup(ihp, rev)) == NULL) in ipmi_firmware_version()
|
/illumos-gate/usr/src/uts/sun4v/os/ |
H A D | mach_ddi_impl.c | 87 int devid, venid, ssid, ssvid, rev, class_code; in translate_devid() local 120 rev = ddi_prop_get_int(DDI_DEV_T_ANY, dip, DDI_PROP_DONTPASS, in translate_devid() 122 (void) ddi_prop_update_int(DDI_DEV_T_NONE, dip, "revision-id", rev); in translate_devid() 135 venid, devid, ssvid, ssid, rev); in translate_devid() 138 (void) sprintf(new_compat[2], "pciex%x,%x.%x", venid, devid, rev); in translate_devid()
|
/illumos-gate/usr/src/lib/fm/topo/modules/common/shared/ |
H A D | topo_transceiver.c | 48 const char *type, boolean_t usable, const char *part, const char *rev, in transceiver_create_common() argument 68 TRANSCEIVER, inst, NULL, auth, part, rev, serial)) == NULL) { in transceiver_create_common() 125 boolean_t useable, const char *vendor, const char *part, const char *rev, in transceiver_create_sff() argument 132 TOPO_PROP_PORT_TYPE_SFF, useable, part, rev, serial)) == NULL) { in transceiver_create_sff() 162 if (rev != NULL && topo_prop_set_string(tn, in transceiver_create_sff() 164 TOPO_PROP_IMMUTABLE, rev, &err) != 0) { in transceiver_create_sff()
|
/illumos-gate/usr/src/uts/i86pc/cpu/amd_opteron/ |
H A D | ao_mca.c | 190 ao_disp_match_one(const ao_error_disp_t *aed, uint64_t status, uint32_t rev, in ao_disp_match_one() argument 207 !chiprev_at_least(rev, X86_CHIPREV_AMD_LEGACY_F_REV_F) && in ao_disp_match_one() 248 x86_chiprev_t rev = ao->ao_ms_shared->aos_chiprev; in ao_ms_disp_match() local 252 if (ao_disp_match_one(aed, status, rev, banknum)) in ao_ms_disp_match() 296 nb_mcamisc_init(cmi_hdl_t hdl, ao_ms_data_t *ao, uint32_t rev) in nb_mcamisc_init() argument 300 if (!chiprev_matches(rev, AO_F_REVS_FG)) in nb_mcamisc_init() 406 ao_nb_cfg(ao_ms_data_t *ao, uint32_t rev) in ao_nb_cfg() argument 458 if (chiprev_matches(rev, nbcp->cfg_revmask)) { in ao_nb_cfg() 469 ao_dram_cfg(ao_ms_data_t *ao, uint32_t rev) in ao_dram_cfg() argument 479 if (chiprev_matches(rev, AO_F_REVS_FG) && in ao_dram_cfg() [all …]
|
/illumos-gate/usr/src/uts/common/inet/ipf/netinet/ |
H A D | ip_pptp_pxy.c | 254 int ippr_pptp_nextmessage(fin, nat, pptp, rev, ifspptp) in ippr_pptp_nextmessage() argument 258 int rev; 273 pptps = &pptp->pptp_side[rev]; 501 int rev; local 504 rev = 1; 506 rev = 1; 508 rev = 0; 513 pptp->pptp_side[1 - rev].pptps_next = ntohl(tcp->th_ack); 514 pptp->pptp_side[1 - rev].pptps_nexthdr = ntohl(tcp->th_ack); 515 pptp->pptp_side[rev].pptps_next = ntohl(tcp->th_seq) + 1; [all …]
|
/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/chip/ |
H A D | chip.c | 166 const char *rev = NULL; in create_node() local 171 rev = chip_rev_smbios_get(mod, phys_cpu_smbid); in create_node() 178 rev); in create_node() 186 topo_mod_strfree(mod, (char *)rev); in create_node() 221 char *rev = NULL; in create_strand() local 312 FM_FMRI_HC_REVISION, &rev); in create_strand() 325 FM_FMRI_HC_REVISION, TOPO_PROP_IMMUTABLE, rev, &perr); in create_strand() 348 char *rev = NULL; in create_core() local 449 FM_FMRI_HC_REVISION, &rev); in create_core() 462 FM_FMRI_HC_REVISION, TOPO_PROP_IMMUTABLE, rev, &perr); in create_core() [all …]
|
H A D | chip_amd.c | 261 const char *rev; in amd_generic_mc_create() local 273 rev = chip_rev_smbios_get(mod, dimm_smbid); in amd_generic_mc_create() 285 rev, &err); in amd_generic_mc_create() 473 const char *rev = NULL; in amd_dimm_create() local 504 rev = chip_rev_smbios_get(mod, smbid); in amd_dimm_create() 510 rev); in amd_dimm_create() 556 rev, &err); in amd_dimm_create() 730 char *rev = NULL; in amd_mc_create() local 747 (void) nvlist_lookup_string(rfmri, "revision", &rev); in amd_mc_create() 760 (void) nvlist_add_string(fmri, "revision", rev); in amd_mc_create()
|
H A D | chip_intel.c | 123 char *rev, int maxranks) in mc_add_ranks() argument 145 RANK, rank, NULL, auth, part, rev, serial); in mc_add_ranks() 200 char *rev = NULL; in mc_add_dimms() local 226 (void) nvpair_value_string(nvp, &rev); in mc_add_dimms() 247 if (rev == NULL) in mc_add_dimms() 248 rev = (char *)chip_rev_smbios_get(mod, in mc_add_dimms() 253 DIMM, dimm_number, NULL, auth, part, rev, serial); in mc_add_dimms() 306 start_rank, nranks, serial, part, rev, maxranks); in mc_add_dimms()
|
/illumos-gate/usr/src/uts/intel/io/mc-amd/ |
H A D | mcamd_drv.c | 211 x86_chiprev_t rev = mc->mc_props.mcp_rev; in mc_ecc_enabled() local 216 return (MC_REV_MATCH(rev, MC_F_REVS_BCDE) ? in mc_ecc_enabled() 224 x86_chiprev_t rev = mc->mc_props.mcp_rev; in mc_ck_enabled() local 229 return (MC_REV_MATCH(rev, MC_F_REVS_BCDE) ? in mc_ck_enabled() 537 x86_chiprev_t rev = mcp->mcp_rev; in mc_dimmlist_create() local 566 if (MC_REV_MATCH(rev, MC_F_REVS_FG)) in mc_dimmlist_create() 579 if (mcdcfg_lookup(rev, mcp->mcp_mod64mux, mcp->mcp_accwidth, in mc_dimmlist_create() 730 x86_chiprev_t rev = mc->mc_props.mcp_rev; in mc_getmiscctl() local 737 if (MC_REV_MATCH(rev, MC_F_REVS_FG)) { in mc_getmiscctl() 790 x86_chiprev_t rev = mc->mc_props.mcp_rev; in mc_mkprops_dramctl() local [all …]
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/projectquota/ |
H A D | projectquota_009_pos.ksh | 102 log_must zfs send $TESTPOOL/fs-clone@snap | zfs receive $TESTPOOL/fs-rev 107 log_must check_quota "projectquota@$PRJID1" $TESTPOOL/fs-rev "$PQUOTA_LIMIT" 108 log_must check_quota "projectobjquota@$PRJID2" $TESTPOOL/fs-rev \ 112 log_must zfs rename $TESTPOOL/fs-rev $TESTPOOL/fs-rename
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/userquota/ |
H A D | userquota_011_pos.ksh | 100 log_must zfs send $TESTPOOL/fs-clone@snap | zfs receive $TESTPOOL/fs-rev 105 log_must check_quota "userquota@$QUSER1" $TESTPOOL/fs-rev "$UQUOTA_SIZE" 106 log_must check_quota "groupquota@$QGROUP" $TESTPOOL/fs-rev "$GQUOTA_SIZE" 109 log_must zfs rename $TESTPOOL/fs-rev $TESTPOOL/fs-rename
|
/illumos-gate/usr/src/uts/common/inet/ipf/ |
H A D | ip_state.c | 803 void fr_stinsert(is, rev, ifs) in fr_stinsert() argument 805 int rev; 866 fr_setstatequeue(is, rev, ifs); 2109 int ret = 0, rev, out, flags, flx = 0, idx; local 2115 rev = IP6_NEQ(&is->is_dst, dst); 2126 if (!rev) { 2129 rev = 1; 2131 rev = 1; 2135 idx = (out << 1) + rev; 2155 if (rev == 0) { [all …]
|
/illumos-gate/usr/src/uts/common/io/sfe/ |
H A D | sfe.c | 1843 uint8_t rev; in sfe_set_eq_sis630() local 1846 rev = lp->revid; in sfe_set_eq_sis630() 1848 if (!(rev == SIS630E_900_REV || rev == SIS630EA1_900_REV || in sfe_set_eq_sis630() 1849 rev == SIS630A_900_REV || rev == SIS630ET_900_REV)) { in sfe_set_eq_sis630() 1867 if (rev == SIS630E_900_REV || rev == SIS630EA1_900_REV || in sfe_set_eq_sis630() 1868 rev == SIS630ET_900_REV) { in sfe_set_eq_sis630() 1883 if (rev == SIS630A_900_REV && in sfe_set_eq_sis630() 1899 if (rev == SIS630A_900_REV && in sfe_set_eq_sis630() 1917 int rev; in sfe_chipinfo_init_sis900() local 1920 rev = lp->revid; in sfe_chipinfo_init_sis900() [all …]
|
/illumos-gate/usr/src/lib/brand/sn1/sn1_brand/common/ |
H A D | sn1_brand.c | 66 int rev, err; in sn1_uname() local 71 rev = atoi(&un.release[2]); in sn1_uname() 72 brand_assert(rev >= 10); in sn1_uname() 73 (void) sprintf(un.release, "5.%d", rev - 1); in sn1_uname()
|
/illumos-gate/usr/src/uts/common/io/audio/drv/audioixp/ |
H A D | audioixp.c | 1239 const char *rev; in audioixp_attach() local 1268 rev = "IXP150"; in audioixp_attach() 1271 rev = "SB300"; in audioixp_attach() 1275 rev = "SB450"; in audioixp_attach() 1277 rev = "SB400"; in audioixp_attach() 1281 rev = "SB600"; in audioixp_attach() 1284 rev = "Unknown"; in audioixp_attach() 1288 audio_dev_set_version(adev, rev); in audioixp_attach()
|
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/ |
H A D | hc.c | 438 char *rev = NULL; in fmri_nvl2str() local 460 (void) nvlist_lookup_string(nvl, FM_FMRI_HC_REVISION, &rev); in fmri_nvl2str() 485 buf, buflen, rev, ":" FM_FMRI_HC_REVISION "=", NULL); in fmri_nvl2str() 590 const char *rev, const char *serial) in hc_base_fmri_create() argument 616 if (rev != NULL) in hc_base_fmri_create() 617 (void) nvlist_add_string(fmri, FM_FMRI_HC_REVISION, rev); in hc_base_fmri_create() 751 char **rev, nvlist_t **auth) in make_hc_auth() argument 812 *rev = topo_mod_strdup(mod, aid); in make_hc_auth() 906 char *serial = NULL, *part = NULL, *rev = NULL, *hcsn = NULL; in hc_fmri_str2nvl() local 923 if (make_hc_auth(mod, str, &serial, &part, &rev, &auth) < 0) in hc_fmri_str2nvl() [all …]
|
/illumos-gate/usr/src/uts/common/io/ixgbe/ |
H A D | ixgbe_transceiver.c | 143 uint8_t rev, swap; in ixgbe_transceiver_is_8472() local 150 ret = hw->phy.ops.read_i2c_eeprom(hw, IXGBE_SFF_SFF_8472_COMP, &rev); in ixgbe_transceiver_is_8472() 164 if (rev == IXGBE_SFF_SFF_8472_UNSUP || in ixgbe_transceiver_is_8472()
|
/illumos-gate/usr/src/lib/fm/topo/modules/common/ipmi/ |
H A D | ipmi_enum.c | 340 char *frudata = NULL, *part = NULL, *rev = NULL, *serial = NULL; in ipmi_check_entity() local 395 rev = strdup(fruprod.ifpi_product_version); in ipmi_check_entity() 405 edp->ed_name, edp->ed_instance, NULL, auth, part, rev, in ipmi_check_entity() 409 free(rev); in ipmi_check_entity() 417 free(rev); in ipmi_check_entity()
|
/illumos-gate/usr/src/lib/fm/topo/modules/common/smbios/ |
H A D | smbios_enum.c | 216 const char *part = NULL, *rev = NULL, *serial = NULL; in smbios_make_dimm() local 231 rev = smb_info->smbi_version; in smbios_make_dimm() 246 DIMM, 0, NULL, auth, part, rev, serial)) == NULL) { in smbios_make_dimm() 425 const char *part = NULL, *rev = NULL, *serial = NULL; in smbios_enum_motherboard() local 440 rev = smb_info.smbi_version; in smbios_enum_motherboard() 471 MOTHERBOARD, 0, NULL, auth, part, rev, serial)) == in smbios_enum_motherboard()
|
/illumos-gate/usr/src/lib/fm/topo/modules/common/nic/ |
H A D | topo_nic.c | 276 char *vendor = NULL, *part = NULL, *rev = NULL, *serial = NULL; in nic_create_transceiver() local 340 &rev) != 0) { in nic_create_transceiver() 341 rev = NULL; in nic_create_transceiver() 357 rev, serial, NULL) != 0) { in nic_create_transceiver()
|