Lines Matching refs:scanner
11 * this driver. If a certain scanner cannot handle a certain option, there's
87 int lines_rx; /* received from scanner */
88 int lines_pass; /* passed thru from scanner to user (might be smaller than tx for 225dpi) */
94 struct scanner
97 /* immutable values which are set during init of scanner. */
98 struct scanner *next;
122 /* immutable values which are set during inquiry probing of the scanner. */
133 /* instead of in global vars so that they can differ for each scanner */
182 /* values which are set by user parameter changes, scanner specific */
216 /* scanner transmits more data per line than requested */
234 /* scanner transmits data in blocks, up to 512k */
252 int fd; /* The scanner device file descriptor. */
349 static SANE_Status connect_fd (struct scanner *s);
350 static SANE_Status disconnect_fd (struct scanner *s);
353 do_cmd(struct scanner *s, int shortTime,
360 static SANE_Status load_calibration (struct scanner *s);
361 static SANE_Status read_from_scanner_gray(struct scanner *s);
365 static SANE_Status load_fw(struct scanner *s);
366 static SANE_Status get_ident(struct scanner *s);
368 static SANE_Status change_params(struct scanner *s);
370 static SANE_Status destroy(struct scanner *s);
371 static SANE_Status teardown_buffers(struct scanner *s);
372 static SANE_Status setup_buffers(struct scanner *s);
374 static SANE_Status object_position(struct scanner *s, int ingest);
375 static SANE_Status six5 (struct scanner *s);
376 static SANE_Status coarsecal(struct scanner *s);
377 static SANE_Status finecal(struct scanner *s);
378 static SANE_Status send_lut(struct scanner *s);
379 static SANE_Status lamp(struct scanner *s, unsigned char set);
380 static SANE_Status set_window(struct scanner *s, int window);
381 static SANE_Status scan(struct scanner *s);
383 static SANE_Status read_from_scanner(struct scanner *s, struct transfer *tp);
384 static SANE_Status descramble_raw_gray(struct scanner *s, struct transfer * tp);
385 static SANE_Status descramble_raw(struct scanner *s, struct transfer * tp);
386 static SANE_Status copy_block_to_page(struct scanner *s, int side);
387 static SANE_Status binarize_line(struct scanner *s, unsigned char *lineOut, int width);
389 static SANE_Status get_hardware_status (struct scanner *s);
394 static int get_page_width (struct scanner *s);
395 static int get_page_height (struct scanner *s);
396 static unsigned char get_stat(struct scanner *s);