• Home
  • Raw
  • Download

Lines Matching refs:temp

144 	unsigned char temp;  in ali1535_setup()  local
174 pci_read_config_byte(dev, SMBCFG, &temp); in ali1535_setup()
175 if ((temp & ALI1535_SMBIO_EN) == 0) { in ali1535_setup()
181 pci_read_config_byte(dev, SMBHSTCFG, &temp); in ali1535_setup()
182 if ((temp & 1) == 0) { in ali1535_setup()
197 pci_read_config_byte(dev, SMBREV, &temp); in ali1535_setup()
198 dev_dbg(&dev->dev, "SMBREV = 0x%X\n", temp); in ali1535_setup()
212 int temp; in ali1535_transaction() local
222 temp = inb_p(SMBHSTSTS); in ali1535_transaction()
226 if (temp & ALI1535_STS_BUSY) { in ali1535_transaction()
248 temp); in ali1535_transaction()
250 temp = inb_p(SMBHSTSTS); in ali1535_transaction()
254 if (temp & (ALI1535_STS_ERR | ALI1535_STS_BUSY)) { in ali1535_transaction()
257 if ((temp = inb_p(SMBHSTSTS)) & in ali1535_transaction()
265 "device on bus is probably hung\n", temp); in ali1535_transaction()
270 if (temp & ALI1535_STS_DONE) { in ali1535_transaction()
271 outb_p(temp, SMBHSTSTS); in ali1535_transaction()
282 temp = inb_p(SMBHSTSTS); in ali1535_transaction()
283 } while (((temp & ALI1535_STS_BUSY) && !(temp & ALI1535_STS_IDLE)) in ali1535_transaction()
292 if (temp & ALI1535_STS_FAIL) { in ali1535_transaction()
301 if (temp & ALI1535_STS_BUSERR) { in ali1535_transaction()
309 if (temp & ALI1535_STS_DEV) { in ali1535_transaction()
315 if (!(temp & ALI1535_STS_DONE)) { in ali1535_transaction()
326 if (!(temp & ALI1535_STS_DONE)) { in ali1535_transaction()
330 } else if (temp & ALI1535_STS_ERR) { in ali1535_transaction()
345 int temp; in ali1535_access() local
350 temp = inb_p(SMBHSTSTS); in ali1535_access()
352 (timeout < MAX_TIMEOUT) && !(temp & ALI1535_STS_IDLE); in ali1535_access()
355 temp = inb_p(SMBHSTSTS); in ali1535_access()
358 dev_warn(&adap->dev, "Idle wait Timeout! STS=0x%02x\n", temp); in ali1535_access()