Lines Matching refs:tmpbuf
363 char tmpbuf[BUFSZ];
412 t = qcam_read_bytes(q, tmpbuf, s);
417 if (__copy_to_user(buf+outptr, tmpbuf, sz))
442 l = qcam_read_bytes(q, tmpbuf, 3);
444 } while (l && (tmpbuf[0] == 0x7e || tmpbuf[1] == 0x7e || tmpbuf[2] == 0x7e));
446 if (tmpbuf[0] != 0xe || tmpbuf[1] != 0x0 || tmpbuf[2] != 0xf)
449 if (tmpbuf[0] != 0xf || tmpbuf[1] != 0x0 || tmpbuf[2] != 0xe)
474 l = qcam_read_bytes(q, tmpbuf, 1);
476 } while (l && tmpbuf[0] == 0x7e);
477 l = qcam_read_bytes(q, tmpbuf+1, 2);
479 if (tmpbuf[0] != 0xe || tmpbuf[1] != 0x0 || tmpbuf[2] != 0xf)
482 if (tmpbuf[0] != 0xf || tmpbuf[1] != 0x0 || tmpbuf[2] != 0xe)