Lines Matching defs:temp
60 int temp;
70 temp = inb(SMBHSTSTS) & 0x0f;
71 if (temp) {
73 if (temp & 0x01) {
75 "Clear...\n", temp);
77 if (temp & 0x06) {
79 "Resetting...\n", temp);
81 outb(temp, SMBHSTSTS);
82 temp = inb(SMBHSTSTS) & 0x0f;
83 if (temp) {
85 "SMBus is not ready: (%02x)\n", temp);
95 temp = inb(SMBHSTSTS) & 0x0f;
96 } while ((temp & 0x08) && (retries++ < MAX_RETRIES));
103 if (temp & 0x04) {
108 } else if (temp & 0x02) {
111 } else if (temp & 0x01) {
113 outb(temp, SMBHSTSTS);
114 temp = inb(SMBHSTSTS) & 0x07;
115 if (temp & 0x06) {
118 "transaction (%02x), Bus error!\n", temp);
142 int i, len, temp, rc;
145 temp = inb(SMBHSTSTS) & 0x0f;
146 if (temp & 0x08) {
147 dev_dbg(&sch_adapter.dev, "SMBus busy (%02x)\n", temp);
150 temp = inw(SMBHSTCLK);
151 if (!temp) {