Lines Matching refs:tmpbuf
259 unsigned char tmpbuf[6];
265 if (6 != i2c_master_recv(client, &tmpbuf[0], 6)) {
271 s->sync = tmpbuf[0] & 0x10;
274 blocknum = tmpbuf[0] >> 5;
299 tmp = tmpbuf[2];
300 tmpbuf[2] = tmpbuf[0];
301 tmpbuf[0] = tmp;
314 if ((tmpbuf[2] & 0x03) == 0x03)
316 else if ((tmpbuf[2] & 0x03) != 0x00)
318 tmpbuf[2] = tmp; /* Is this enough ? Should we also check other bits ? */
321 block_to_buf(s, tmpbuf);