Lines Matching defs:dpi
47 int dpi);
64 unsigned dpi;
78 * master motor settings, for a given motor and dpi,
139 /* HP2400/G2410 motor settings base motor dpi = 600 */
274 /* non half ccd settings for 300 dpi
285 /* vfinal=(exposure/(1200/dpi))/step_type */
430 DBG(DBG_error, "%s: failed to find match for %d dpi\n", __func__, required);
455 motor_master[i].dpi == session.params.yres &&
462 throw SaneException("unable to find settings for motor %d at %d dpi, color=%d",
596 /* HP2400 1200dpi mode tuning */
680 int feed_offset = (total_lines * dev->motor.base_ydpi) / motor->dpi;
697 switch (motor->dpi) {
721 switch (motor->dpi) {
742 switch (motor->dpi) {
1061 * @param dpi resolution of the scan since it affects settings
1064 unsigned dpi)
1088 if (dpi > sensor.full_resolution / 2) {
1089 /* fe_reg_0x03 must be 0x12 for 1200 dpi in WOLFSON_HP3670.
1090 * WOLFSON_HP2400 in 1200 dpi mode works well with
1111 * @param dpi dpi to setup the AFE
1114 int dpi)
1118 set == AFE_POWER_SAVE ? "powersave" : "huh?", dpi);
1139 gl646_wm_hp3670(dev, sensor, set, dpi);
1866 case 0: /* 600 dpi */
1869 case 1: /* 1200 dpi */
1872 case 2: /* 2400 dpi */
1876 throw SaneException("invalid dpi");
2315 * @param dpi resolutnio to calibrate at
2318 Genesys_Register_Set& regs, int dpi) const
2321 (void) dpi;
2886 /* XP200 sets dpi, what other scanner put is unknown yet */
2890 /* we put scan's dpi, not motor one */