Lines Matching defs:read_data
550 if (read_data (camera->fd, buf, 256) == -1)
552 DBG (1, "%s: error: read_data returned -1\n", f);
629 read_data (SANE_Int fd, SANE_Byte * buf, SANE_Int sz)
654 DBG (1, "read_data: error: write ack\n");
664 "read_data: error: "
670 DBG (1, "read_data: error: incorrect packet control byte: %02x\n",
680 DBG (2, "read_data: warning: read returned -1\n");
686 DBG (2, "read_data: warning: buffer underrun or no checksum\n");
696 "read_data: warning: "
711 DBG (1, "read_data: error: write ack\n");
1301 if (read_data (Camera.fd, src->buffer, 512) == -1)
1303 DBG (5, "sane_start: read_data failed\n");
1872 if (read_data (Camera.fd, (SANE_Byte *) & dir_buf2, 256) == -1)
1874 DBG (1, "%s: error: read_data returned -1\n", f);
1895 if (read_data (Camera.fd, next_buf, 256) == -1)
1897 DBG (1, "%s: error: read_data returned -1\n", f);
1972 if (read_data (Camera.fd, info_buf, 256) != 0)
1974 DBG (1, "%s: error: Failed in read_data\n", f);