Lines Matching defs:value

108                      compat, HpScl scl, int value);
183 * value. The function returns SANE_STATUS_GOOD if the command and the
184 * value is found in the support table of that scanner.
186 * table of that scanner, but the value is not included in the table.
192 HpScl scl, int value)
214 if (support_table[k][j] == value) return SANE_STATUS_GOOD;
244 DBG(3, "probed_choice: value %d is emulated\n", choice->val);
249 DBG(3, "probed_choice: value %d out of range (%d,%d)\n", choice->val,
263 DBG(3, "probed_choice: command/value found in support table\n");
268 DBG(3, "probed_choice: command found in support table, but value n.s.\n");
274 /* after specifying an unsupported command-value. */
281 DBG(3, "probed_choice: value %d %s\n", choice->val,
393 int value;
397 value = sanei_hp_accessor_getint(this->data_acsr, data);
401 value *= 3;
403 return sanei_hp_scl_set(scsi, scl, value);
538 DBG(3, "option_imm_set: value unchanged\n");
543 memcpy(old_val, valp, optd->size); /* Save requested value */
579 sprintf (sval," value=%d", *(int*)valp);
594 DBG(3, "option_set: %s: value unchanged\n",this->descriptor->name);
599 memcpy(old_val, valp, optd->size); /* Save requested value */
1163 DBG(3, "choice_option_probe_each: restore previous value %d for '%s'\n",
1165 /* Restore current value */
1443 /* Bad maximum value for extent-inquiry ? */
1689 /* Initial value: select RGB matrix, and upload it. */
1748 DBG(3, "simulate_brightness: value = %d\n", val);
1752 val *= 2; /* A value of 127 should give a totally white image */
1806 DBG(3, "simulate_contrast: value = %d\n", val);
1840 int value;
1849 value = 0;
1851 (scl == SCL_X_POS) ? 'x' : 'y', value);
1855 value = 2550;
1856 DBG(3,"program_geometry: set x-extent to %d\n", value);
1860 value = 4200;
1861 DBG(3,"program_geometry: set y-extent to %d\n", value);
1864 Status = sanei_hp_scl_set(scsi, scl, value);
1874 int value = sanei_hp_accessor_getint(this->data_acsr, data);
1879 value *= 3;
1880 if (value < 24)
1882 DBG(3,"program_data_width: map datawith from %d to 24\n", (int)value);
1883 value = 24;
1886 status = sanei_hp_scl_set(scsi, scl, value);
3980 /* Options without a value ? */
3984 valp = &my_val; /* Just simulate a return value locally. */
3986 else /* Others must return a value. So this is invalid */
3988 DBG(1, "sanei_hp_optset_control: get value, but valp == 0\n");