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