Lines Matching defs:res
1845 SANE_Status res;
1849 res = attach(devnam, &devp);
1850 if (res == SANE_STATUS_GOOD)
1867 return res;
2553 int width, length, res;
2558 res = s->val[OPT_RESOLUTION].w * s->dev->info.res_range.quant;
2574 s->params.pixels_per_line = width * res / s->dev->info.mud;
2575 s->params.lines = length * res / s->dev->info.mud;
2614 res = s->val[OPT_RESOLUTION].w * s->dev->info.res_range.quant;
2965 s->res = s->val[OPT_RESOLUTION].w * s->dev->info.res_range.quant;
2969 s->res = 75;
3151 wp.wdb.x_res[0] = s->res >> 8;
3152 wp.wdb.x_res[1] = s->res;
3153 wp.wdb.y_res[0] = s->res >> 8;
3154 wp.wdb.y_res[1] = s->res;