Lines Matching refs:OPT_CALIBRATE
938 s->opt[OPT_CALIBRATE].name = "calibrate"; in init_options()
939 s->opt[OPT_CALIBRATE].title = SANE_I18N("Calibrate");; in init_options()
940 s->opt[OPT_CALIBRATE].desc = SANE_I18N("Performs calibration"); in init_options()
941 s->opt[OPT_CALIBRATE].type = SANE_TYPE_BUTTON; in init_options()
942 s->opt[OPT_CALIBRATE].size = sizeof (SANE_Word); in init_options()
943 s->opt[OPT_CALIBRATE].constraint_type = SANE_CONSTRAINT_NONE; in init_options()
944 s->opt[OPT_CALIBRATE].constraint.range = 0; in init_options()
945 s->opt[OPT_CALIBRATE].cap = SANE_CAP_SOFT_DETECT | SANE_CAP_SOFT_SELECT | in init_options()
947 _ENABLE(OPT_CALIBRATE); in init_options()
949 _DISABLE(OPT_CALIBRATE); in init_options()
950 s->val[OPT_CALIBRATE].w = 0; in init_options()
954 _DISABLE(OPT_CALIBRATE); in init_options()
1857 if (option == OPT_CALIBRATE) { in sane_control_option()
2024 _DISABLE(OPT_CALIBRATE); in sane_control_option()
2027 _ENABLE(OPT_CALIBRATE); in sane_control_option()
2033 case OPT_CALIBRATE: in sane_control_option()