Lines Matching defs:temp
124 int temp;
127 temp = sis630_read(SMB_CNT);
128 if ((temp & (SMB_PROBE | SMB_HOSTBUSY)) != 0x00) {
129 dev_dbg(&adap->dev, "SMBus busy (%02x). Resetting...\n", temp);
133 temp = sis630_read(SMB_CNT);
134 if (temp & (SMB_PROBE | SMB_HOSTBUSY)) {
135 dev_dbg(&adap->dev, "Failed! (%02x)\n", temp);
155 temp = sis630_read(SMB_STS);
156 sis630_write(SMB_STS, temp & 0x1e);
166 int temp, result = 0, timeout = 0;
171 temp = sis630_read(SMB_STS);
173 if (size == SIS630_BLOCK_DATA && (temp & BYTE_DONE_STS))
175 } while (!(temp & 0x0e) && (timeout++ < MAX_TIMEOUT));
183 if (temp & SMBERR_STS) {
188 if (temp & SMBCOL_STS) {