Lines Matching refs:find_origin
231 static SANE_Status find_origin (struct Rts8891_Device *dev,
1179 status = find_origin (dev, &changed);
1190 /* in case find_origin detected we need to change sensor */
3014 find_origin (struct Rts8891_Device *dev, SANE_Bool * changed)
3029 DBG (DBG_proc, "find_origin: start\n");
3039 DBG (DBG_error, "find_origin: failed to park head!\n");
3042 DBG (DBG_info, "find_origin: head parked\n");
3048 DBG (DBG_warn, "find_origin: unexpected control value 0x%02x\n",
3055 DBG (DBG_warn, "find_origin: unexpected control value 0x%02x\n",
3165 DBG (DBG_error, "find_origin: failed to allocate %d bytes\n", total);
3172 DBG (DBG_error, "find_origin: failed to allocate %d bytes\n", total);
3202 DBG (DBG_error, "find_origin: failed to scan\n");
3208 write_gray_data (data, "find_origin.pnm", width, height);
3242 "find_origin: sensor type needs to be changed (max=%d)\n", max);
3266 DBG (DBG_info, "find_origin: scan area offset=%d lines\n", sum);
3322 DBG (DBG_proc, "find_origin: exit\n");
3552 * and change it later if we detect black scans in find_origin(). In case the
6550 /* based on the register settings of find_origin() */
7615 /* based on the register settings of find_origin() */