Lines Matching refs:device

45 static struct device *devices_head = NULL;	/* sane_get_devices list */
101 static int decompress(struct device __sane_unused__ *dev,
161 static int copy_decompress_data(struct device *dev, unsigned char *pDest, int maxlen, int *destLen)
185 static int decompress_tempfile(struct device *dev)
192 static int dump_to_tmp_file(struct device *dev)
207 static int isSupportedDevice(struct device __sane_unused__ *dev)
210 /* Checking device which supports JPEG Lossy compression for color scanning*/
212 /* blacklist malfunctioning device(s) */
228 static int isJPEGEnabled(struct device __sane_unused__ *dev)
233 static void dbg_dump(struct device *dev)
253 /* one command to device */
255 static int dev_command(struct device *dev, SANE_Byte *cmd, size_t reqlen)
342 /* one short command to device */
343 static int dev_cmd(struct device *dev, SANE_Byte command)
351 static SANE_Status dev_stop(struct device *dev)
374 SANE_Status ret_cancel(struct device *dev, SANE_Status ret)
384 static int cancelled(struct device *dev)
393 static int dev_cmd_wait(struct device *dev, int cmd)
447 static void resolv_inq_dpi(struct device *dev)
523 static void reset_options(struct device *dev)
546 static void init_options(struct device *dev)
657 static void set_parameters(struct device *dev)
706 static int fix_window(struct device *dev)
778 static int dev_set_window(struct device *dev)
824 dev_inquiry(struct device *dev)
896 struct device *dev = h;
908 struct device *dev = h;
964 dev_free(struct device *dev)
990 struct device *next;
991 struct device *dev;
1014 struct device *dev;
1027 dev = calloc(1, sizeof(struct device));
1049 /* good device, add it to list */
1080 struct device *dev;
1093 struct device *dev;
1133 struct device *dev = h;
1145 struct device *dev;
1153 /* special case of empty name: open first available device */
1175 struct device *dev = h;
1187 static int dev_acquire(struct device *dev)
1230 static int fill_slack(struct device *dev, SANE_Byte *buf, int maxlen)
1243 static int copy_plain_trim(struct device *dev, SANE_Byte *buf, int maxlen, int *olenp)
1266 static int copy_mix_bands_trim(struct device *dev, SANE_Byte *buf, int maxlen, int *olenp)
1307 struct device *dev = h;
1455 struct device *dev = h;
1541 struct device *dev = h;
1561 struct device *dev = h;