Lines Matching refs:temp
68 int temp; in sch_transaction() local
78 temp = inb(SMBHSTSTS) & 0x0f; in sch_transaction()
79 if (temp) { in sch_transaction()
81 if (temp & 0x01) { in sch_transaction()
83 "Clear...\n", temp); in sch_transaction()
85 if (temp & 0x06) { in sch_transaction()
87 "Resetting...\n", temp); in sch_transaction()
89 outb(temp, SMBHSTSTS); in sch_transaction()
90 temp = inb(SMBHSTSTS) & 0x0f; in sch_transaction()
91 if (temp) { in sch_transaction()
93 "SMBus is not ready: (%02x)\n", temp); in sch_transaction()
103 temp = inb(SMBHSTSTS) & 0x0f; in sch_transaction()
104 } while ((temp & 0x08) && (retries++ < MAX_RETRIES)); in sch_transaction()
111 if (temp & 0x04) { in sch_transaction()
116 } else if (temp & 0x02) { in sch_transaction()
119 } else if (temp & 0x01) { in sch_transaction()
121 outb(temp, SMBHSTSTS); in sch_transaction()
122 temp = inb(SMBHSTSTS) & 0x07; in sch_transaction()
123 if (temp & 0x06) { in sch_transaction()
126 "transaction (%02x), Bus error!\n", temp); in sch_transaction()
150 int i, len, temp, rc; in sch_access() local
153 temp = inb(SMBHSTSTS) & 0x0f; in sch_access()
154 if (temp & 0x08) { in sch_access()
155 dev_dbg(&sch_adapter.dev, "SMBus busy (%02x)\n", temp); in sch_access()
158 temp = inw(SMBHSTCLK); in sch_access()
159 if (!temp) { in sch_access()