Lines Matching refs:temp
145 unsigned char temp; in ali1535_setup() local
189 pci_read_config_byte(dev, SMBCFG, &temp); in ali1535_setup()
190 if ((temp & ALI1535_SMBIO_EN) == 0) { in ali1535_setup()
197 pci_read_config_byte(dev, SMBHSTCFG, &temp); in ali1535_setup()
198 if ((temp & 1) == 0) { in ali1535_setup()
214 pci_read_config_byte(dev, SMBREV, &temp); in ali1535_setup()
215 dev_dbg(&dev->dev, "SMBREV = 0x%X\n", temp); in ali1535_setup()
228 int temp; in ali1535_transaction() local
238 temp = inb_p(SMBHSTSTS); in ali1535_transaction()
242 if (temp & ALI1535_STS_BUSY) { in ali1535_transaction()
264 temp); in ali1535_transaction()
266 temp = inb_p(SMBHSTSTS); in ali1535_transaction()
270 if (temp & (ALI1535_STS_ERR | ALI1535_STS_BUSY)) { in ali1535_transaction()
273 temp = inb_p(SMBHSTSTS); in ali1535_transaction()
274 if (temp & (ALI1535_STS_ERR | ALI1535_STS_BUSY)) { in ali1535_transaction()
281 "device on bus is probably hung\n", temp); in ali1535_transaction()
286 if (temp & ALI1535_STS_DONE) in ali1535_transaction()
287 outb_p(temp, SMBHSTSTS); in ali1535_transaction()
297 temp = inb_p(SMBHSTSTS); in ali1535_transaction()
298 } while (((temp & ALI1535_STS_BUSY) && !(temp & ALI1535_STS_IDLE)) in ali1535_transaction()
307 if (temp & ALI1535_STS_FAIL) { in ali1535_transaction()
316 if (temp & ALI1535_STS_BUSERR) { in ali1535_transaction()
324 if (temp & ALI1535_STS_DEV) { in ali1535_transaction()
330 if (!(temp & ALI1535_STS_DONE)) { in ali1535_transaction()
341 if (!(temp & ALI1535_STS_DONE)) { in ali1535_transaction()
345 } else if (temp & ALI1535_STS_ERR) { in ali1535_transaction()
360 int temp; in ali1535_access() local
365 temp = inb_p(SMBHSTSTS); in ali1535_access()
367 (timeout < MAX_TIMEOUT) && !(temp & ALI1535_STS_IDLE); in ali1535_access()
370 temp = inb_p(SMBHSTSTS); in ali1535_access()
373 dev_warn(&adap->dev, "Idle wait Timeout! STS=0x%02x\n", temp); in ali1535_access()