Symbol: smntemp
usr/src/uts/intel/io/amdzen/smntemp.c
138
typedef struct smntemp smntemp_t;
usr/src/uts/intel/io/amdzen/smntemp.c
441
smntemp_t *smntemp = &smntemp_data;
usr/src/uts/intel/io/amdzen/smntemp.c
449
if (smntemp->smn_dip != NULL) {
usr/src/uts/intel/io/amdzen/smntemp.c
453
smntemp->smn_dip = dip;
usr/src/uts/intel/io/amdzen/smntemp.c
454
smntemp->smn_fam = chiprev_family(cpuid_getchiprev(CPU));
usr/src/uts/intel/io/amdzen/smntemp.c
460
smntemp->smn_ndf = amdzen_c_df_count();
usr/src/uts/intel/io/amdzen/smntemp.c
461
if (smntemp->smn_ndf == 0) {
usr/src/uts/intel/io/amdzen/smntemp.c
465
smntemp->smn_df = kmem_zalloc(sizeof (smntemp_df_t) * smntemp->smn_ndf,
usr/src/uts/intel/io/amdzen/smntemp.c
467
for (uint32_t dfno = 0; dfno < smntemp->smn_ndf; dfno++) {
usr/src/uts/intel/io/amdzen/smntemp.c
468
smntemp_df_t *df = &smntemp->smn_df[dfno];
usr/src/uts/intel/io/amdzen/smntemp.c
470
df->sd_nccd = THM_DIE_MAX_UNITS(smntemp->smn_fam);
usr/src/uts/intel/io/amdzen/smntemp.c
472
if (!smntemp_create_tctl(smntemp, df, &df->sd_tctl)) {
usr/src/uts/intel/io/amdzen/smntemp.c
482
if (!smntemp_create_tdie(smntemp, df,
usr/src/uts/intel/io/amdzen/smntemp.c
489
ddi_set_driver_private(dip, smntemp);
usr/src/uts/intel/io/amdzen/smntemp.c
493
smntemp_cleanup(smntemp);
usr/src/uts/intel/io/amdzen/smntemp.c
500
smntemp_t *smntemp = &smntemp_data;
usr/src/uts/intel/io/amdzen/smntemp.c
508
if (smntemp->smn_dip == NULL) {
usr/src/uts/intel/io/amdzen/smntemp.c
509
dev_err(smntemp->smn_dip, CE_WARN, "!asked to detach smn "
usr/src/uts/intel/io/amdzen/smntemp.c
515
smntemp_cleanup(smntemp);