Lines Matching refs:temp
601 #define temp2str(temp, buf, size, idx) \
603 ((temp) >> 2), ((temp) & 0x3) * 25)
614 struct hfi1_temp temp;
617 ret = hfi1_tempsense_rd(dd, &temp);
621 idx += temp2str(temp.curr, buf, PAGE_SIZE, idx);
622 idx += temp2str(temp.lo_lim, buf, PAGE_SIZE, idx);
623 idx += temp2str(temp.hi_lim, buf, PAGE_SIZE, idx);
624 idx += temp2str(temp.crit_lim, buf, PAGE_SIZE, idx);
626 "%u %u %u\n", temp.triggers & 0x1,
627 temp.triggers & 0x2, temp.triggers & 0x4);