Lines Matching refs:temp
131 unsigned char temp;
175 pci_read_config_byte(dev, SMBCFG, &temp);
176 if ((temp & ALI1535_SMBIO_EN) == 0) {
183 pci_read_config_byte(dev, SMBHSTCFG, &temp);
184 if ((temp & 1) == 0) {
200 pci_read_config_byte(dev, SMBREV, &temp);
201 dev_dbg(&dev->dev, "SMBREV = 0x%X\n", temp);
214 int temp;
224 temp = inb_p(SMBHSTSTS);
228 if (temp & ALI1535_STS_BUSY) {
250 temp);
252 temp = inb_p(SMBHSTSTS);
256 if (temp & (ALI1535_STS_ERR | ALI1535_STS_BUSY)) {
259 temp = inb_p(SMBHSTSTS);
260 if (temp & (ALI1535_STS_ERR | ALI1535_STS_BUSY)) {
267 "device on bus is probably hung\n", temp);
272 if (temp & ALI1535_STS_DONE)
273 outb_p(temp, SMBHSTSTS);
283 temp = inb_p(SMBHSTSTS);
284 } while (((temp & ALI1535_STS_BUSY) && !(temp & ALI1535_STS_IDLE))
293 if (temp & ALI1535_STS_FAIL) {
302 if (temp & ALI1535_STS_BUSERR) {
310 if (temp & ALI1535_STS_DEV) {
316 if (!(temp & ALI1535_STS_DONE)) {
327 if (!(temp & ALI1535_STS_DONE)) {
331 } else if (temp & ALI1535_STS_ERR) {
346 int temp;
351 temp = inb_p(SMBHSTSTS);
353 (timeout < MAX_TIMEOUT) && !(temp & ALI1535_STS_IDLE);
356 temp = inb_p(SMBHSTSTS);
359 dev_warn(&adap->dev, "Idle wait Timeout! STS=0x%02x\n", temp);