Lines Matching refs:temp
98 int temp;
108 if ((temp = inw_p(SMB_GLOBAL_STATUS)) & (GS_HST_STS | GS_SMB_STS)) {
109 dev_dbg(&adap->dev, "SMBus busy (%04x). Waiting...\n", temp);
112 temp = inw_p(SMB_GLOBAL_STATUS);
113 } while ((temp & (GS_HST_STS | GS_SMB_STS)) &&
117 dev_dbg(&adap->dev, "Busy wait timeout (%04x)\n", temp);
129 temp = inw_p(SMB_GLOBAL_STATUS);
130 } while ((temp & GS_HST_STS) && (timeout++ < MAX_TIMEOUT));
138 if (temp & GS_PRERR_STS) {
143 if (temp & GS_COL_STS) {
148 if (temp & GS_TO_STS) {
153 if (temp & GS_HCYC_STS)
159 if (((temp = inw_p(SMB_GLOBAL_STATUS)) & GS_CLEAR_STS) != 0x00) {
161 "Failed reset at end of transaction (%04x)\n", temp);
318 u8 temp;
336 pci_read_config_byte(pdev, SMBGCFG, &temp);
337 if ((temp & 128) == 0) {
361 pci_read_config_byte(pdev, SMBREV, &temp);
362 dev_dbg(&pdev->dev, "SMBREV = 0x%X\n", temp);