/third_party/backends/backend/ |
H A D | epson2-ops.h | 31 extern SANE_Status e2_set_model(Epson_Scanner *s, unsigned char *model, size_t len); 33 extern void e2_set_fbf_area(Epson_Scanner *s, int x, int y, int unit); 34 extern void e2_set_adf_area(struct Epson_Scanner *s, int x, int y, int unit); 35 extern void e2_set_tpu_area(struct Epson_Scanner *s, int x, int y, int unit); 36 extern void e2_set_tpu2_area(struct Epson_Scanner *s, int x, int y, int unit); 38 extern SANE_Status e2_discover_capabilities(Epson_Scanner *s); 39 extern SANE_Status e2_set_extended_scanning_parameters(Epson_Scanner *s); 40 extern SANE_Status e2_set_scanning_parameters(Epson_Scanner *s); 41 extern void e2_setup_block_mode(Epson_Scanner *s); 42 extern SANE_Status e2_init_parameters(Epson_Scanner * [all...] |
H A D | epson2-io.h | 25 SANE_Status e2_cmd_simple(Epson_Scanner * s, void *buf, size_t buf_size); 26 int e2_send(Epson_Scanner * s, void *buf, size_t buf_size, 28 ssize_t e2_recv(Epson_Scanner * s, void *buf, ssize_t buf_size, 32 e2_txrx(Epson_Scanner * s, unsigned char *txbuf, size_t txlen, 36 e2_recv_info_block(Epson_Scanner * s, unsigned char *scanner_status, 44 SANE_Status e2_ack(Epson_Scanner * s); 45 SANE_Status e2_ack_next(Epson_Scanner * s, size_t reply_len); 46 SANE_Status e2_cancel(Epson_Scanner * s); 49 e2_esc_cmd(Epson_Scanner * s, unsigned char cmd, unsigned char val);
|
H A D | epson2-commands.c | 33 esci_set_zoom(Epson_Scanner * s, unsigned char x, unsigned char y) in esci_set_zoom() 60 esci_set_resolution(Epson_Scanner * s, int x, int y) in esci_set_resolution() 94 esci_set_scan_area(Epson_Scanner * s, int x, int y, int width, int height) in esci_set_scan_area() 276 esci_set_color_correction_coefficients(Epson_Scanner * s, SANE_Word *table) in esci_set_color_correction_coefficients() 316 esci_set_gamma_table(Epson_Scanner * s) in esci_set_gamma_table() 383 Epson_Scanner *s = (Epson_Scanner *) handle; in esci_request_status() 446 Epson_Scanner *s = (Epson_Scanner *) handle; in esci_request_extended_identity() 545 Epson_Scanner * in esci_request_scanner_status() [all...] |
H A D | epson2-commands.h | 38 SANE_Status esci_set_zoom(Epson_Scanner * s, unsigned char x, unsigned char y); 39 SANE_Status esci_set_resolution(Epson_Scanner * s, int x, int y); 40 SANE_Status esci_set_scan_area(Epson_Scanner * s, int x, int y, int width, 42 SANE_Status esci_set_color_correction_coefficients(Epson_Scanner * s, SANE_Word *table); 43 SANE_Status esci_set_gamma_table(Epson_Scanner * s); 58 SANE_Status esci_reset(Epson_Scanner * s); 59 SANE_Status esci_feed(Epson_Scanner * s); 60 SANE_Status esci_eject(Epson_Scanner * s);
|
H A D | epson2-io.c | 46 e2_send(Epson_Scanner * s, void *buf, size_t buf_size, size_t reply_len, in e2_send() 114 e2_recv(Epson_Scanner *s, void *buf, ssize_t buf_size, in e2_recv() 175 e2_txrx(Epson_Scanner * s, unsigned char *txbuf, size_t txlen, in e2_txrx() 203 e2_cmd_simple(Epson_Scanner * s, void *buf, size_t buf_size) in e2_cmd_simple() 232 e2_recv_info_block(Epson_Scanner * s, unsigned char *scanner_status, in e2_recv_info_block() 294 Epson_Scanner *s = (Epson_Scanner *) handle; in e2_cmd_info_block() 360 e2_esc_cmd(Epson_Scanner * s, unsigned char cmd, unsigned char val) in e2_esc_cmd() 384 e2_ack(Epson_Scanner * s) in e2_ack() 392 e2_ack_next(Epson_Scanner * [all...] |
H A D | epson2_net.h | 7 extern ssize_t sanei_epson_net_read(struct Epson_Scanner *s, unsigned char *buf, ssize_t buf_size, 9 extern size_t sanei_epson_net_write(struct Epson_Scanner *s, unsigned int cmd, const unsigned char *buf, 12 extern SANE_Status sanei_epson_net_lock(struct Epson_Scanner *s); 13 extern SANE_Status sanei_epson_net_unlock(struct Epson_Scanner *s);
|
H A D | epson2_net.c | 36 sanei_epson_net_read_raw(Epson_Scanner *s, unsigned char *buf, ssize_t wanted, in sanei_epson_net_read_raw() 67 sanei_epson_net_read_buf(Epson_Scanner *s, unsigned char *buf, ssize_t wanted, in sanei_epson_net_read_buf() 97 sanei_epson_net_read(Epson_Scanner *s, unsigned char *buf, ssize_t wanted, in sanei_epson_net_read() 164 sanei_epson_net_write(Epson_Scanner *s, unsigned int cmd, const unsigned char *buf, in sanei_epson_net_write() 242 sanei_epson_net_lock(struct Epson_Scanner *s) in sanei_epson_net_lock() 255 sanei_epson_net_unlock(struct Epson_Scanner *s) in sanei_epson_net_unlock()
|
H A D | epson.c | 850 static EpsonHdrUnion command (Epson_Scanner * s, u_char * cmd, size_t cmd_size, 854 static int send (Epson_Scanner * s, void *buf, size_t buf_size, 856 static ssize_t receive (Epson_Scanner * s, void *buf, ssize_t buf_size, 863 static void activateOption (Epson_Scanner * s, SANE_Int option, 865 static void deactivateOption (Epson_Scanner * s, SANE_Int option, 867 static void setOptionState (Epson_Scanner * s, SANE_Bool state, 869 static void close_scanner (Epson_Scanner * s); 870 static SANE_Status open_scanner (Epson_Scanner * s); 871 SANE_Status sane_auto_eject (Epson_Scanner * s); 873 static void filter_resolution_list (Epson_Scanner * [all...] |
H A D | epson2.c | 345 close_scanner(Epson_Scanner *s) in close_scanner() 434 open_scanner(Epson_Scanner *s) in open_scanner() 515 static SANE_Status detect_scsi(struct Epson_Scanner *s) in detect_scsi() 578 detect_usb(struct Epson_Scanner *s, SANE_Bool assume_valid) in detect_usb() 632 static struct Epson_Scanner * 635 struct Epson_Scanner *s; in scanner_create() 637 s = malloc(sizeof(struct Epson_Scanner)); in scanner_create() 643 memset(s, 0x00, sizeof(struct Epson_Scanner)); in scanner_create() 651 static struct Epson_Scanner * 654 struct Epson_Scanner * in device_detect() [all...] |
H A D | epson.h | 231 struct Epson_Scanner struct 233 struct Epson_Scanner *next; 258 typedef struct Epson_Scanner Epson_Scanner; typedef
|
H A D | epson2-ops.c | 327 Epson_Scanner *s = (Epson_Scanner *) handle; in e2_set_cmd_level() 354 e2_set_model(Epson_Scanner * s, unsigned char *model, size_t len) in e2_set_model() 406 e2_set_fbf_area(Epson_Scanner * s, int x, int y, int unit) in e2_set_fbf_area() 430 e2_set_adf_area(struct Epson_Scanner *s, int x, int y, int unit) in e2_set_adf_area() 451 e2_set_tpu_area(struct Epson_Scanner *s, int x, int y, int unit) in e2_set_tpu_area() 472 e2_set_tpu2_area(struct Epson_Scanner *s, int x, int y, int unit) in e2_set_tpu2_area() 508 fix_up_extended_status_reply(Epson_Scanner * s, unsigned char *buf) in fix_up_extended_status_reply() 521 e2_discover_capabilities(Epson_Scanner *s) in e2_discover_capabilities() 869 e2_set_extended_scanning_parameters(Epson_Scanner * [all...] |
H A D | epson2.h | 371 struct Epson_Scanner struct 373 struct Epson_Scanner *next; 411 typedef struct Epson_Scanner Epson_Scanner; typedef
|