Home
last modified time | relevance | path

Searched refs:rev (Results 1 – 25 of 119) sorted by relevance

12345

/illumos-gate/usr/src/uts/sun4u/sys/
H A Dcpu_impl.h41 #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
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
90 #define PANTHER_MAJOR_VERSION(rev) CHEETAH_MAJOR_VERSION(rev) argument
[all …]
H A Dspitregs.h105 #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 Dauthamd_main.c82 #define AUTHAMD_NBONCHIP(rev) \ argument
103 #define AUTHAMD_DO_NBMCACFG(rev) \ argument
110 #define AUTHAMD_HAS_CHIPSCRUB(rev) \ argument
118 #define AUTHAMD_NBMISC_NUM(rev) \ argument
133 #define AUTHAMD_L3CAPABLE(rev) \ argument
139 #define AUTHAMD_SUPPORTS_X8ECC(rev) \ argument
513 sp->ans_rev = rev; in authamd_init()
696 if (AUTHAMD_NBMISC_NUM(rev) && in authamd_mca_init()
729 if (AUTHAMD_DO_NBMCACFG(rev) && in authamd_mca_init()
781 if (AUTHAMD_HAS_CHIPSCRUB(rev) && in authamd_mca_init()
[all …]
/illumos-gate/usr/src/uts/intel/sys/
H A Dmc_amd.h268 #define MC_REV_MATCH(rev, revmask) X86_CHIPREV_MATCH(rev, revmask) argument
273 #define MC_REV_ATLEAST(rev, minrev) X86_CHIPREV_ATLEAST(rev, minrev) argument
443 #define MC_CSBASE(up, rev) (MC_REV_MATCH(rev, MC_F_REVS_FG) ? \ argument
477 #define MC_CSMASKLO_LOBIT(rev) (MC_REV_MATCH(rev, MC_F_REVS_FG) ? 13 : 13) argument
478 #define MC_CSMASKLO_HIBIT(rev) (MC_REV_MATCH(rev, MC_F_REVS_FG) ? 21 : 19) argument
480 #define MC_CSMASKHI_LOBIT(rev) (MC_REV_MATCH(rev, MC_F_REVS_FG) ? 27 : 25) argument
481 #define MC_CSMASKHI_HIBIT(rev) (MC_REV_MATCH(rev, MC_F_REVS_FG) ? 36 : 33) argument
483 #define MC_CSMASK_UNMASKABLE(rev) (MC_REV_MATCH(rev, MC_F_REVS_FG) ? 0 : 2) argument
485 #define MC_CSMASK(up, rev) (MC_REV_MATCH(rev, MC_F_REVS_FG) ? \ argument
/illumos-gate/usr/src/common/mc/mc-amd/
H A Dmcamd_rowcol.c38 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
122 rev, csmode); in gettbls()
134 rct_csintlv_bits(rev, width, csmode, in gettbls()
141 rev, width, csmode, in gettbls()
508 maskhi_hi = MC_CSMASKHI_HIBIT(mcp.rev); in mc_offset_to_pa()
509 maskhi_lo = MC_CSMASKHI_LOBIT(mcp.rev); in mc_offset_to_pa()
510 masklo_hi = MC_CSMASKLO_HIBIT(mcp.rev); in mc_offset_to_pa()
511 masklo_lo = MC_CSMASKLO_LOBIT(mcp.rev); in mc_offset_to_pa()
[all …]
/illumos-gate/usr/src/uts/sun4v/os/
H A Dmach_ddi_impl.c87 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/libipmi/common/
H A Dipmi_misc.c82 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/lib/fm/topo/modules/common/shared/
H A Dtopo_transceiver.c48 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 Dao_mca.c246 uint32_t rev = ao->ao_ms_shared->aos_chiprev; in ao_ms_disp_match() local
250 if (ao_disp_match_one(aed, status, rev, banknum)) in ao_ms_disp_match()
298 if (!X86_CHIPREV_MATCH(rev, AO_F_REVS_FG)) in nb_mcamisc_init()
404 ao_nb_cfg(ao_ms_data_t *ao, uint32_t rev) in ao_nb_cfg() argument
467 ao_dram_cfg(ao_ms_data_t *ao, uint32_t rev) in ao_dram_cfg() argument
477 if (X86_CHIPREV_MATCH(rev, AO_F_REVS_FG) && in ao_dram_cfg()
799 uint32_t rev = ao->ao_ms_shared->aos_chiprev; in ao_ms_bankctl_val() local
855 uint32_t rev = ao->ao_ms_shared->aos_chiprev; in ao_ms_mca_init() local
877 ao_nb_cfg(ao, rev); in ao_ms_mca_init()
879 if (X86_CHIPREV_MATCH(rev, AO_F_REVS_FG)) in ao_ms_mca_init()
[all …]
/illumos-gate/usr/src/uts/common/inet/ipf/netinet/
H A Dip_pptp_pxy.c254 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 Dchip.c166 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()
348 char *rev = NULL; in create_core() local
449 FM_FMRI_HC_REVISION, &rev); in create_core()
577 char *rev = NULL; in create_chip() local
607 FM_FMRI_HC_REVISION, &rev); in create_chip()
[all …]
H A Dchip_amd.c261 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 Dchip_intel.c123 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/test/zfs-tests/tests/functional/projectquota/
H A Dprojectquota_009_pos.ksh102 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 Duserquota_011_pos.ksh100 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/intel/io/mc-amd/
H A Dmcamd_drv.c210 uint32_t rev = mc->mc_props.mcp_rev; in mc_ecc_enabled() local
223 uint32_t rev = mc->mc_props.mcp_rev; in mc_ck_enabled() local
536 uint32_t rev = mcp->mcp_rev; in mc_dimmlist_create() local
565 if (MC_REV_MATCH(rev, MC_F_REVS_FG)) in mc_dimmlist_create()
729 uint32_t rev = mc->mc_props.mcp_rev; in mc_getmiscctl() local
736 if (MC_REV_MATCH(rev, MC_F_REVS_FG)) { in mc_getmiscctl()
789 uint32_t rev = mc->mc_props.mcp_rev; in mc_mkprops_dramctl() local
811 if (MC_REV_MATCH(rev, MC_F_REVS_FG)) { in mc_mkprops_dramctl()
823 if (MC_REV_MATCH(rev, MC_F_REVS_FG)) { in mc_mkprops_dramctl()
845 if (MC_REV_MATCH(rev, MC_F_REV_E)) { in mc_mkprops_dramctl()
[all …]
/illumos-gate/usr/src/lib/fm/topo/modules/common/disk/
H A Ddisk_nvme.c154 char *rev = NULL, *model = NULL, *serial = NULL, *path; in make_disk_node() local
204 &rev) == -1 || in make_disk_node()
214 rev = topo_mod_clean_str(mod, rev); in make_disk_node()
244 DISK, inst, NULL, auth, model, rev, serial); in make_disk_node()
316 TOPO_STORAGE_FIRMWARE_REV, TOPO_PROP_IMMUTABLE, rev, &err); in make_disk_node()
339 topo_mod_strfree(mod, rev); in make_disk_node()
362 char *rev = NULL, *model = NULL, *serial = NULL, *vers = NULL; in make_nvme_node() local
387 rev = topo_mod_clean_str(mod, raw_rev); in make_nvme_node()
393 NVME, 0, NULL, auth, model, rev, serial); in make_nvme_node()
531 topo_mod_strfree(mod, rev); in make_nvme_node()
/illumos-gate/usr/src/uts/common/io/sfe/
H A Dsfe.c1920 uint8_t rev; in sfe_set_eq_sis630() local
1923 rev = lp->revid; in sfe_set_eq_sis630()
1925 if (!(rev == SIS630E_900_REV || rev == SIS630EA1_900_REV || in sfe_set_eq_sis630()
1926 rev == SIS630A_900_REV || rev == SIS630ET_900_REV)) { in sfe_set_eq_sis630()
1944 if (rev == SIS630E_900_REV || rev == SIS630EA1_900_REV || in sfe_set_eq_sis630()
1994 int rev; in sfe_chipinfo_init_sis900() local
1997 rev = lp->revid; in sfe_chipinfo_init_sis900()
2002 } else if (rev > 0x81 && rev <= 0x90) { in sfe_chipinfo_init_sis900()
2015 if (rev == SIS630E_900_REV || rev == SIS630EA1_900_REV || in sfe_chipinfo_init_sis900()
2016 rev == SIS630A_900_REV || rev == SIS630ET_900_REV) { in sfe_chipinfo_init_sis900()
[all …]
/illumos-gate/usr/src/lib/brand/sn1/sn1_brand/common/
H A Dsn1_brand.c66 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/ixgbe/
H A Dixgbe_transceiver.c28 uint8_t rev, swap; in ixgbe_transceiver_is_8472() local
35 ret = hw->phy.ops.read_i2c_eeprom(hw, IXGBE_SFF_SFF_8472_COMP, &rev); in ixgbe_transceiver_is_8472()
49 if (rev == IXGBE_SFF_SFF_8472_UNSUP || in ixgbe_transceiver_is_8472()
/illumos-gate/usr/src/uts/common/inet/ipf/
H A Dip_state.c805 int rev;
2126 if (!rev) {
2129 rev = 1;
2131 rev = 1;
2155 if (rev == 0) {
3110 int rev; local
3148 int rev; local
4297 int rev;
4313 if (rev == 1)
4320 if (rev == 1)
[all …]
/illumos-gate/usr/src/uts/common/io/audio/drv/audioixp/
H A Daudioixp.c1239 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 Dhc.c435 char *rev = NULL; in fmri_nvl2str() local
587 const char *rev, const char *serial) in hc_base_fmri_create() argument
613 if (rev != NULL) in hc_base_fmri_create()
748 char **rev, nvlist_t **auth) in make_hc_auth() argument
809 *rev = topo_mod_strdup(mod, aid); in make_hc_auth()
969 topo_mod_strfree(mod, rev); in hc_fmri_str2nvl()
992 topo_mod_strfree(mod, rev); in hc_fmri_str2nvl()
1067 const char *rev, const char *serial) in hc_fmri_create() argument
1142 char *name, *serial, *rev, *part; in hc_fmri_create_meth() local
1158 serial = rev = part = NULL; in hc_fmri_create_meth()
[all …]
/illumos-gate/usr/src/lib/fm/topo/modules/common/ipmi/
H A Dipmi_enum.c340 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 Dsmbios_enum.c212 const char *part = NULL, *rev = NULL, *serial = NULL; in smbios_make_dimm() local
227 rev = smb_info->smbi_version; in smbios_make_dimm()
242 DIMM, 0, NULL, auth, part, rev, serial)) == NULL) { in smbios_make_dimm()
421 const char *part = NULL, *rev = NULL, *serial = NULL; in smbios_enum_motherboard() local
436 rev = smb_info.smbi_version; in smbios_enum_motherboard()
467 MOTHERBOARD, 0, NULL, auth, part, rev, serial)) == in smbios_enum_motherboard()

12345