Lines Matching full: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()
102 } else if (temp & 0x04) { in sch_transaction()
107 } else if (temp & 0x02) { in sch_transaction()
110 } else if (temp & 0x01) { in sch_transaction()
112 outb(temp, SMBHSTSTS); in sch_transaction()
113 temp = inb(SMBHSTSTS) & 0x07; in sch_transaction()
114 if (temp & 0x06) { in sch_transaction()
117 "transaction (%02x), Bus error!\n", temp); in sch_transaction()
141 int i, len, temp, rc; in sch_access() local
144 temp = inb(SMBHSTSTS) & 0x0f; in sch_access()
145 if (temp & 0x08) { in sch_access()
146 dev_dbg(&sch_adapter.dev, "SMBus busy (%02x)\n", temp); in sch_access()
149 temp = inw(SMBHSTCLK); in sch_access()
150 if (!temp) { in sch_access()