Lines Matching refs:hw_vres
757 return (int)((dist * dev->CIS.hw_vres) / dev->desc->dev->maxres + 0.5);
777 return (int)((dist * dev->desc->dev->maxres) / dev->CIS.hw_vres + 0.5);
1115 switch (dev->CIS.hw_vres)
1132 switch (dev->CIS.hw_vres)
1152 DBG(4, "cis_motor_forward: @%d dpi: 0x%02X.\n", dev->CIS.hw_vres, control);
2061 int i, saved_res = dev->CIS.res, saved_vres = dev->CIS.hw_vres;
2117 dev->CIS.hw_vres = dev->desc->dev->maxres;
2155 dev->CIS.hw_vres = saved_vres;
2388 cisdev->CIS.hw_vres = 300;
2599 cisdev->CIS.hw_vres = 150;
2603 cisdev->CIS.hw_vres = 300;
2607 cisdev->CIS.hw_vres = 600;
2614 cisdev->CIS.hw_vres = 300;
2618 cisdev->CIS.hw_vres = 600;
2622 cisdev->CIS.hw_vres = 1200;
2641 cisdev->CIS.hw_hres, cisdev->CIS.hw_vres, cisdev->CIS.cisRes);
2763 SANE_FIX ((float) cisdev->CIS.hw_vres / (float) cisdev->CIS.res);