Lines Matching defs:start
245 struct timeval now, start;
251 gettimeofday (&start, 0);
285 if (now.tv_sec - start.tv_sec >= MAX_WAITING_TIME)
288 (u_long) (now.tv_sec - start.tv_sec));
301 struct timeval now, start;
304 gettimeofday (&start, 0);
321 if (now.tv_sec - start.tv_sec >= MAX_WAITING_TIME)
324 (u_long) (now.tv_sec - start.tv_sec));
340 struct timeval now, start;
343 gettimeofday (&start, 0);
362 if (now.tv_sec - start.tv_sec >= MAX_WAITING_TIME)
365 (u_long) (now.tv_sec - start.tv_sec));
381 struct timeval now, start;
384 gettimeofday (&start, 0);
402 if (now.tv_sec - start.tv_sec >= MAX_WAITING_TIME)
405 (u_long) (now.tv_sec - start.tv_sec));
421 struct timeval now, start;
424 gettimeofday (&start, 0);
434 if (now.tv_sec - start.tv_sec >= MAX_WAITING_TIME)
437 (u_long) (now.tv_sec - start.tv_sec));
447 struct timeval now, start;
450 gettimeofday (&start, 0);
460 if (now.tv_sec - start.tv_sec >= MAX_WAITING_TIME)
463 (u_long) (now.tv_sec - start.tv_sec));
674 /* Get image status (necessary to start new block) */
2016 /* need to add the start values of the transparency adapter */
2876 SANE_Byte start[6];
2879 memset (start, 0, sizeof (start));
2880 start[0] = MUSTEK_SCSI_START_STOP;
2881 start[4] = 0x01;
2890 start[4] |= ((s->pass + 1) << 3);
2892 start[4] |= 0x20;
2895 start[4] |= ((s->mode & MUSTEK_MODE_LINEART)
2903 start[4] |= 1 << 7;
2908 start[5] = 0x08;
2913 status = dev_cmd (s, start, sizeof (start), 0, 0);
3617 /* Since the blocks don't start necessarily with red note color. */
3634 DBG (5, "fix_line_distance_se: start color: %d; %d lines \n",
6271 struct timeval start;
6273 /* save start time */
6274 gettimeofday (&start, 0);
6275 s->start_time = start.tv_sec;