Lines Matching refs:u_short
90 static u_short m_wFastFeedStepSize;
91 static u_short m_wLineLength;
92 static u_short m_wStepSize;
131 static u_short
132 usb_get_res( u_short base, u_short idx )
139 return (u_short)((double)base/div_list[idx-1]);
151 static u_short
152 usb_SetAsicDpiX( Plustek_Device *dev, u_short xdpi )
154 u_short res;
217 res = (u_short)((double)scaps->OpticDpi.x / m_dHDPIDivider);
229 static u_short
230 usb_SetAsicDpiY( Plustek_Device *dev, u_short ydpi )
236 u_short wMinDpi, wDpi;
381 u_short wDataPixelStart, wLineEnd;
396 (u_short)(m_dHDPIDivider * sp->Size.dwValidPixels + 0.5);
399 wDataPixelStart = (u_short)((u_long)sp->Origin.x *
409 (u_short)(m_dHDPIDivider * sp->Size.dwValidPixels + 0.5);
415 wLineEnd = wDataPixelStart + (u_short)(m_dHDPIDivider *
494 sp->Origin.y=(u_short)((u_long)sp->Origin.y * hw->wMotorDpi/300UL);
512 u_short ssize;
517 ssize = (u_short)((double)CRYSTAL_FREQ / ( mclkdiv * 8.0 *
719 m_wStepSize = (u_short)((u_long) m_wStepSize *
767 m_wStepSize = (u_short)(((u_long) pParam->PhyDpi.y * m_wLineLength *
771 m_wStepSize = (u_short)(((u_long) pParam->PhyDpi.y * m_wLineLength *
811 u_short le;
1230 m_wFastFeedStepSize = (u_short)(CRYSTAL_FREQ /
1303 u_short scansteps = (u_short)ceil((double)lines*
1331 u_short inches;
1401 inches = (u_short)((m_pParam->Origin.y *300UL)/hw->wMotorDpi);