Lines Matching defs:dktemp
24042 struct dk_temperature *dktemp = NULL;
24053 dktemp = kmem_zalloc(sizeof (struct dk_temperature), KM_SLEEP);
24056 if (ddi_copyin((void *)arg, dktemp,
24063 dktemp->dkt_cur_temp = (short)DKT_INVALID_TEMP;
24064 dktemp->dkt_ref_temp = (short)DKT_INVALID_TEMP;
24070 if (dktemp->dkt_flags & DKT_BYPASS_PM) {
24113 dktemp->dkt_cur_temp = (short)DKT_INVALID_TEMP;
24115 dktemp->dkt_cur_temp = (short)(temperature_page[9]);
24126 dktemp->dkt_ref_temp = (short)DKT_INVALID_TEMP;
24128 dktemp->dkt_ref_temp = (short)(temperature_page[15]);
24133 if (ddi_copyout(dktemp, (void *)arg, sizeof (struct dk_temperature),
24154 if (dktemp != NULL) {
24155 kmem_free(dktemp, sizeof (struct dk_temperature));