Lines Matching refs:temp
106 int temp; in amd756_transaction() local
116 if ((temp = inw_p(SMB_GLOBAL_STATUS)) & (GS_HST_STS | GS_SMB_STS)) { in amd756_transaction()
117 dev_dbg(&adap->dev, "SMBus busy (%04x). Waiting...\n", temp); in amd756_transaction()
120 temp = inw_p(SMB_GLOBAL_STATUS); in amd756_transaction()
121 } while ((temp & (GS_HST_STS | GS_SMB_STS)) && in amd756_transaction()
125 dev_dbg(&adap->dev, "Busy wait timeout (%04x)\n", temp); in amd756_transaction()
137 temp = inw_p(SMB_GLOBAL_STATUS); in amd756_transaction()
138 } while ((temp & GS_HST_STS) && (timeout++ < MAX_TIMEOUT)); in amd756_transaction()
146 if (temp & GS_PRERR_STS) { in amd756_transaction()
151 if (temp & GS_COL_STS) { in amd756_transaction()
156 if (temp & GS_TO_STS) { in amd756_transaction()
161 if (temp & GS_HCYC_STS) in amd756_transaction()
167 if (((temp = inw_p(SMB_GLOBAL_STATUS)) & GS_CLEAR_STS) != 0x00) { in amd756_transaction()
169 "Failed reset at end of transaction (%04x)\n", temp); in amd756_transaction()
326 u8 temp; in amd756_probe() local
344 pci_read_config_byte(pdev, SMBGCFG, &temp); in amd756_probe()
345 if ((temp & 128) == 0) { in amd756_probe()
369 pci_read_config_byte(pdev, SMBREV, &temp); in amd756_probe()
370 dev_dbg(&pdev->dev, "SMBREV = 0x%X\n", temp); in amd756_probe()