Lines Matching refs:temp

140 	unsigned char temp;  in ali1535_setup()  local
184 pci_read_config_byte(dev, SMBCFG, &temp); in ali1535_setup()
185 if ((temp & ALI1535_SMBIO_EN) == 0) { in ali1535_setup()
192 pci_read_config_byte(dev, SMBHSTCFG, &temp); in ali1535_setup()
193 if ((temp & 1) == 0) { in ali1535_setup()
209 pci_read_config_byte(dev, SMBREV, &temp); in ali1535_setup()
210 dev_dbg(&dev->dev, "SMBREV = 0x%X\n", temp); in ali1535_setup()
223 int temp; in ali1535_transaction() local
233 temp = inb_p(SMBHSTSTS); in ali1535_transaction()
237 if (temp & ALI1535_STS_BUSY) { in ali1535_transaction()
259 temp); in ali1535_transaction()
261 temp = inb_p(SMBHSTSTS); in ali1535_transaction()
265 if (temp & (ALI1535_STS_ERR | ALI1535_STS_BUSY)) { in ali1535_transaction()
268 temp = inb_p(SMBHSTSTS); in ali1535_transaction()
269 if (temp & (ALI1535_STS_ERR | ALI1535_STS_BUSY)) { in ali1535_transaction()
276 "device on bus is probably hung\n", temp); in ali1535_transaction()
281 if (temp & ALI1535_STS_DONE) in ali1535_transaction()
282 outb_p(temp, SMBHSTSTS); in ali1535_transaction()
292 temp = inb_p(SMBHSTSTS); in ali1535_transaction()
293 } while (((temp & ALI1535_STS_BUSY) && !(temp & ALI1535_STS_IDLE)) in ali1535_transaction()
302 if (temp & ALI1535_STS_FAIL) { in ali1535_transaction()
311 if (temp & ALI1535_STS_BUSERR) { in ali1535_transaction()
319 if (temp & ALI1535_STS_DEV) { in ali1535_transaction()
325 if (!(temp & ALI1535_STS_DONE)) { in ali1535_transaction()
336 if (!(temp & ALI1535_STS_DONE)) { in ali1535_transaction()
340 } else if (temp & ALI1535_STS_ERR) { in ali1535_transaction()
355 int temp; in ali1535_access() local
360 temp = inb_p(SMBHSTSTS); in ali1535_access()
362 (timeout < MAX_TIMEOUT) && !(temp & ALI1535_STS_IDLE); in ali1535_access()
365 temp = inb_p(SMBHSTSTS); in ali1535_access()
368 dev_warn(&adap->dev, "Idle wait Timeout! STS=0x%02x\n", temp); in ali1535_access()