/third_party/backends/tools/ |
H A D | umax_pp.c | 37 int lamp = -1; in main() local 71 -l --lamp : turn lamp on/off 1/0 in main() 305 if ((strcmp (argv[i], "-l") == 0) || (strcmp (argv[i], "--lamp") == 0)) in main() 310 fprintf (stderr, "expected lamp value\n"); in main() 313 lamp = atoi (argv[i + 1]); in main() 398 if ((!scan) && (lamp < 0) && (!probe)) in main() 403 if ((probe) || (lamp >= 0)) in main() 447 /* lamp on/off: must come after probing (610p handling) */ in main() 448 if (lamp > in main() [all...] |
/third_party/backends/backend/ |
H A D | sm3840_params.h | 57 int lamp; /* 1..15 mins */ member
|
H A D | gt68xx_high.c | 738 req.lamp = SANE_FALSE; in gt68xx_scanner_calibrate() 744 req.lamp = SANE_TRUE; in gt68xx_scanner_calibrate() 812 req.lamp = SANE_FALSE; in gt68xx_scanner_calibrate() 909 request->lamp = SANE_FALSE; in gt68xx_scanner_start_scan() 914 request->lamp = SANE_TRUE; in gt68xx_scanner_start_scan() 1190 /* Wait for lamp to give stable brightness */ 1251 DBG (0, "Please wait for lamp warm-up\n"); in gt68xx_wait_lamp_stable() 1271 break; /* lamp is warmed up */ in gt68xx_wait_lamp_stable() 1333 request.lamp = SANE_FALSE; in gt68xx_afe_ccd_auto() 1338 request.lamp in gt68xx_afe_ccd_auto() 1720 gt68xx_afe_cis_read_lines(GT68xx_Afe_Values * values, GT68xx_Scanner * scanner, SANE_Bool lamp, SANE_Bool first, unsigned int *r_buffer, unsigned int *g_buffer, unsigned int *b_buffer) gt68xx_afe_cis_read_lines() argument [all...] |
H A D | hp3900_config.c | 100 static SANE_Int cfg_checkstable_get(SANE_Int lamp, struct st_checkstable *check); 101 static SANE_Int ua4900_checkstable(SANE_Int lamp, struct st_checkstable *check); 102 static SANE_Int hp3800_checkstable(SANE_Int lamp, struct st_checkstable *check); 103 static SANE_Int hp3970_checkstable(SANE_Int lamp, struct st_checkstable *check); 104 static SANE_Int hp4370_checkstable(SANE_Int lamp, struct st_checkstable *check); 1508 static SANE_Int hp3800_checkstable(SANE_Int lamp, struct st_checkstable *check) in hp3800_checkstable() argument 1512 SANE_Int lamp; in hp3800_checkstable() member 1518 /* lamp , { diff, interval, tottime } */ in hp3800_checkstable() 1531 if (reg[a].lamp == lamp) in hp3800_checkstable() 1542 hp3970_checkstable(SANE_Int lamp, struct st_checkstable *check) hp3970_checkstable() argument 1546 SANE_Int lamp; hp3970_checkstable() member 1576 hp4370_checkstable(SANE_Int lamp, struct st_checkstable *check) hp4370_checkstable() argument 1580 SANE_Int lamp; hp4370_checkstable() member 1610 ua4900_checkstable(SANE_Int lamp, struct st_checkstable *check) ua4900_checkstable() argument 1614 SANE_Int lamp; ua4900_checkstable() member 1644 cfg_checkstable_get(SANE_Int lamp, struct st_checkstable *check) cfg_checkstable_get() argument [all...] |
H A D | sm3840.c | 166 /* Send lamp timeout */ in sane_read() 167 set_lamp_timer ((p_usb_dev_handle)s->udev, s->sm3840_params.lamp); in sane_read() 258 /* Send lamp timeout */ in sane_cancel() 259 set_lamp_timer ((p_usb_dev_handle) s->udev, s->sm3840_params.lamp); in sane_cancel() 346 s->sm3840_params.lamp = s->value[OPT_LAMP_TIMEOUT].w; in sane_get_parameters() 758 s->options_list[OPT_LAMP_TIMEOUT].name = "lamp-timeout"; in initialize_options_list() 761 SANE_I18N ("Minutes until lamp is turned off after scan"); in initialize_options_list()
|
H A D | epjitsu.h | 379 static SANE_Status lamp(struct scanner *s, unsigned char set);
|
H A D | hp3900_rts8822.c | 372 static SANE_Int Lamp_PWM_Setup (struct st_device *dev, SANE_Int lamp); 375 SANE_Int resolution, SANE_Int lamp); 381 SANE_Int turn_on, SANE_Int lamp); 385 SANE_Int lamp, SANE_Int resolution); 1595 /* setting scanner lamp */ in RTS_Scanner_SetParams() 1599 /* turn on appropriate lamp */ in RTS_Scanner_SetParams() 2362 SANE_Byte lamp; in IsScannerLinked() local 2372 lamp = FLB_LAMP; in IsScannerLinked() 2395 lamp = TMA_LAMP; in IsScannerLinked() 2408 lamp in IsScannerLinked() 2480 Lamp_PWM_Setup(struct st_device *dev, SANE_Int lamp) Lamp_PWM_Setup() argument 7957 Lamp_Warmup(struct st_device *dev, SANE_Byte * Regs, SANE_Int lamp, SANE_Int resolution) Lamp_Warmup() argument 10738 Lamp_Status_Set(struct st_device *dev, SANE_Byte * Regs, SANE_Int turn_on, SANE_Int lamp) Lamp_Status_Set() argument 11138 Lamp_PWM_CheckStable(struct st_device *dev, SANE_Int resolution, SANE_Int lamp) Lamp_PWM_CheckStable() argument [all...] |
H A D | mustek_pp_ccd300.c | 47 static void lamp (Mustek_pp_Handle * dev, int lamp_on); 1514 lamp (Mustek_pp_Handle * dev, int lamp_on) in lamp() function 1711 lamp (dev, SANE_TRUE); in ccd300_setup() 1728 lamp (dev, SANE_FALSE); in ccd300_close()
|
H A D | gt68xx_low.h | 104 #define GT68XX_FLAG_CIS_LAMP (1 << 6) /* CIS sensor with lamp */ 312 * @param fb_lamp #SANE_TRUE turns on the flatbed lamp. 313 * @param ta_lamp #SANE_TRUE turns on the transparency adapter lamp. 318 * turn on the TA lamp on a scanner which does not support TA). 559 SANE_Bool lamp; /**< Lamp on/off */ member 876 * @param fb_lamp #SANE_TRUE turns on the flatbed lamp. 877 * @param ta_lamp #SANE_TRUE turns on the transparency adapter lamp. 883 * turn on the TA lamp on a scanner which does not support TA).
|
H A D | gt68xx_generic.c | 569 motor_mode_2 = (request->lamp ? 0 : 1) << 0; in gt68xx_generic_setup_scan()
|
H A D | epjitsu.c | 2492 ret = lamp(s,1); in sane_start() 2494 DBG (5, "sane_start: ERROR: failed to heat lamp\n"); in sane_start() 2641 1. turn lamp off (d0) 2646 6. turn lamp on (d0) 2766 /* dark cal, lamp off */ in coarsecal_dark() 2767 ret = lamp(s,0); in coarsecal_dark() 2769 DBG (5, "coarsecal_dark: error lamp off\n"); in coarsecal_dark() 2803 /* since the lamp is off, there's no point in looking at the green or blue data - they're all from the same sensor anyway */ in coarsecal_dark() 2865 /* light cal, lamp on */ in coarsecal_light() 2866 ret = lamp( in coarsecal_light() 3456 lamp(struct scanner *s, unsigned char set) lamp() function [all...] |
H A D | sm3840_scan.c | 122 params.lamp = 15; in main() 193 DBG (2, "params.lamp = %d\n", p->lamp); in setup_scan()
|
H A D | kvs1025_opt.c | 238 /* List of lamp color dropout */ 816 dev->opt[OPT_LAMP].name = "lamp-color"; in kv_init_options() 818 dev->opt[OPT_LAMP].desc = SANE_I18N ("Sets the lamp color (color dropout)"); in kv_init_options() 1575 /* lamp -- color dropout */ in kv_set_window_data() 1576 windowdata[45] = GET_OPT_VAL_L (dev, OPT_LAMP, lamp) << 4; in kv_set_window_data()
|
H A D | gt68xx.c | 339 scan_request->lamp = SANE_TRUE; in setup_scan_request() 500 /* lamp on */ in init_options() 564 SANE_I18N ("Warm-up until the lamp's brightness is constant " in init_options()
|
H A D | mustek.c | 1966 set_window_se (Mustek_Scanner * s, SANE_Int lamp) in set_window_se() argument 2066 *cp++ = lamp; /* 0 = normal, 1 = on, 2 = off */ in set_window_se() 2105 *cp++ = lamp_off_time; /* Only needed for A3 Pro, default: 60 minutes until lamp-off */ in set_window_pro() 2630 mode[11] = speed_code; /* lamp setting not supported yet */ in mode_select_paragon() 2641 mode[11] = speed_code; /* lamp setting not supported yet */ in mode_select_paragon() 4330 /* lamp off time*/ in init_options() 4331 s->opt[OPT_LAMP_OFF_TIME].name = "lamp-off-time"; in init_options() 4334 "which the lamp is shut off."); in init_options() 4342 /* shut lamp off */ in init_options() 4343 s->opt[OPT_LAMP_OFF_BUTTON].name = "lamp in init_options() [all...] |
/third_party/backends/backend/pixma/ |
H A D | pixma.h | 291 pixma_lamp_status_t lamp; member
|
H A D | pixma_mp750.c | 174 PDBG (pixma_dbg (3, "Current status: paper=%u cal=%u lamp=%u\n", in query_status() 934 status->lamp = (is_warming_up (s)) ? PIXMA_LAMP_WARMING_UP : PIXMA_LAMP_OK; in mp750_get_status()
|