Lines Matching refs:temp

131 	unsigned char temp;  in ali1535_setup()  local
175 pci_read_config_byte(dev, SMBCFG, &temp); in ali1535_setup()
176 if ((temp & ALI1535_SMBIO_EN) == 0) { in ali1535_setup()
183 pci_read_config_byte(dev, SMBHSTCFG, &temp); in ali1535_setup()
184 if ((temp & 1) == 0) { in ali1535_setup()
200 pci_read_config_byte(dev, SMBREV, &temp); in ali1535_setup()
201 dev_dbg(&dev->dev, "SMBREV = 0x%X\n", temp); in ali1535_setup()
214 int temp; in ali1535_transaction() local
224 temp = inb_p(SMBHSTSTS); in ali1535_transaction()
228 if (temp & ALI1535_STS_BUSY) { in ali1535_transaction()
250 temp); in ali1535_transaction()
252 temp = inb_p(SMBHSTSTS); in ali1535_transaction()
256 if (temp & (ALI1535_STS_ERR | ALI1535_STS_BUSY)) { in ali1535_transaction()
259 temp = inb_p(SMBHSTSTS); in ali1535_transaction()
260 if (temp & (ALI1535_STS_ERR | ALI1535_STS_BUSY)) { in ali1535_transaction()
267 "device on bus is probably hung\n", temp); in ali1535_transaction()
272 if (temp & ALI1535_STS_DONE) in ali1535_transaction()
273 outb_p(temp, SMBHSTSTS); in ali1535_transaction()
283 temp = inb_p(SMBHSTSTS); in ali1535_transaction()
284 } while (((temp & ALI1535_STS_BUSY) && !(temp & ALI1535_STS_IDLE)) in ali1535_transaction()
293 if (temp & ALI1535_STS_FAIL) { in ali1535_transaction()
302 if (temp & ALI1535_STS_BUSERR) { in ali1535_transaction()
310 if (temp & ALI1535_STS_DEV) { in ali1535_transaction()
316 if (!(temp & ALI1535_STS_DONE)) { in ali1535_transaction()
327 if (!(temp & ALI1535_STS_DONE)) { in ali1535_transaction()
331 } else if (temp & ALI1535_STS_ERR) { in ali1535_transaction()
346 int temp; in ali1535_access() local
351 temp = inb_p(SMBHSTSTS); in ali1535_access()
353 (timeout < MAX_TIMEOUT) && !(temp & ALI1535_STS_IDLE); in ali1535_access()
356 temp = inb_p(SMBHSTSTS); in ali1535_access()
359 dev_warn(&adap->dev, "Idle wait Timeout! STS=0x%02x\n", temp); in ali1535_access()