Lines Matching refs:tbuf
229 unsigned char tbuf[12 + 5];
235 memset (tbuf, 0, sizeof (tbuf));
236 buf_size = sizeof (tbuf);
237 status = get_scan_mode (fd, TRANSPARENCY_UNIT, tbuf, &buf_size);
245 DBG (3, "scan mode control byte[%d] = %d\n", (int) i, tbuf[i]);
246 dev->tpu.Status = (tbuf[2 + 4 + 5] >> 7) ?
250 dev->tpu.Status = (tbuf[2 + 4 + 5] & 0x04) ?
253 dev->tpu.ControlMode = tbuf[3 + 4 + 5] & 0x03;
254 dev->tpu.Transparency = tbuf[4 + 4 + 5] * 256 + tbuf[5 + 4 + 5];
255 dev->tpu.PosNeg = tbuf[6 + 4 + 5] & 0x01;
256 dev->tpu.FilmType = tbuf[7 + 4 + 5];