Lines Matching refs:temp
132 unsigned char temp; in piix4_setup() local
180 pci_read_config_byte(PIIX4_dev, SMBHSTCFG, &temp); in piix4_setup()
185 pci_write_config_byte(PIIX4_dev, SMBHSTCFG, temp & 0xfe); in piix4_setup()
187 pci_write_config_byte(PIIX4_dev, SMBHSTCFG, temp | 0x01); in piix4_setup()
190 } else if ((temp & 1) == 0) { in piix4_setup()
201 temp | 1); in piix4_setup()
212 if (((temp & 0x0E) == 8) || ((temp & 0x0E) == 2)) in piix4_setup()
214 else if ((temp & 0x0E) == 0) in piix4_setup()
220 pci_read_config_byte(PIIX4_dev, SMBREV, &temp); in piix4_setup()
223 piix4_smba, temp); in piix4_setup()
364 int temp; in piix4_transaction() local
374 if ((temp = inb_p(SMBHSTSTS)) != 0x00) { in piix4_transaction()
376 "Resetting...\n", temp); in piix4_transaction()
377 outb_p(temp, SMBHSTSTS); in piix4_transaction()
378 if ((temp = inb_p(SMBHSTSTS)) != 0x00) { in piix4_transaction()
379 dev_err(&piix4_adapter->dev, "Failed! (%02x)\n", temp); in piix4_transaction()
396 ((temp = inb_p(SMBHSTSTS)) & 0x01)) in piix4_transaction()
405 if (temp & 0x10) { in piix4_transaction()
410 if (temp & 0x08) { in piix4_transaction()
417 if (temp & 0x04) { in piix4_transaction()
425 if ((temp = inb_p(SMBHSTSTS)) != 0x00) { in piix4_transaction()
427 "transaction (%02x)\n", temp); in piix4_transaction()