Lines Matching refs:SANE_Byte

60 #define LOBYTE(w) (SANE_Byte)((unsigned short)(w) & 0x00ff)
64 #define HIBYTE(w) (SANE_Byte)((unsigned short)(w)>>8 & 0x00ff)
110 SANE_Byte LineGap;
111 SANE_Byte TG_Pulse_Width_Pixel;
112 SANE_Byte TG_Wait_Width_Pixel;
115 SANE_Byte Dummy_Cycle;
116 SANE_Byte TG_Times;
132 SANE_Byte LineGap;
146 SANE_Byte AFE_Secondary_FF_LatchPos;
149 SANE_Byte PHTG_PluseWidth;
150 SANE_Byte PHTG_WaitWidth;
157 SANE_Byte PHTG_TimingAdj;
158 SANE_Byte PHTG_TimingSetup;
165 SANE_Byte DE_CCD_SETUP_REGISTER_1200;
173 SANE_Byte DE_CCD_SETUP_REGISTER_600;
180 SANE_Byte GainR;
181 SANE_Byte GainG;
182 SANE_Byte GainB;
183 SANE_Byte OffsetR;
184 SANE_Byte OffsetG;
185 SANE_Byte OffsetB;
196 SANE_Byte Shading_0;
197 SANE_Byte Shading_1;
198 SANE_Byte Shading_2;
201 SANE_Byte Motor_0;
202 SANE_Byte Motor_1;
203 SANE_Byte Motor_2;
205 SANE_Byte ImageEndAddr_0;
206 SANE_Byte ImageEndAddr_1;
207 SANE_Byte ImageEndAddr_2;
209 SANE_Byte ImageFullBank_0;
210 SANE_Byte ImageFullBank_1;
244 SANE_Byte isMotorMove;
253 SANE_Byte isMotorGoToFirstLine; /*Roy add */
254 SANE_Byte * lpShadingTable; /*Roy add */
255 SANE_Byte isUniformSpeedToScan;
1212 static SANE_Status GetChipStatus (PAsic chip, SANE_Byte Selector, SANE_Byte * ChipStatus);
1215 static SANE_Status SetScanMode (PAsic chip, SANE_Byte bScanBits);
1219 SANE_Byte byClear_Pulse_Width,
1227 static SANE_Status Mustek_SendData (PAsic chip, unsigned short reg, SANE_Byte data);
1228 static SANE_Status Mustek_SendData2Byte (PAsic chip, unsigned short reg, SANE_Byte data);
1229 static SANE_Status Mustek_ReceiveData (PAsic chip, SANE_Byte * reg);
1230 static SANE_Status Mustek_WriteAddressLineForRegister (PAsic chip, SANE_Byte x);
1232 unsigned short wLength, SANE_Byte * lpbuf);
1234 unsigned short wLength, SANE_Byte * lpbuf);
1235 static SANE_Status Mustek_DMARead (PAsic chip, unsigned int size, SANE_Byte * lpdata);
1236 static SANE_Status Mustek_DMAWrite (PAsic chip, unsigned int size, SANE_Byte * lpdata);
1238 static SANE_Status SetRWSize (PAsic chip, SANE_Byte ReadWrite, unsigned int size);
1241 static SANE_Status Asic_Open (PAsic chip, SANE_Byte *pDeviceName);
1251 static SANE_Status Asic_SetWindow (PAsic chip, SANE_Byte bScanBits,
1267 static SANE_Status Asic_ReadImage (PAsic chip, SANE_Byte * pBuffer, unsigned short LinesCount);
1270 static SANE_Status Asic_CheckFunctionKey (PAsic chip, SANE_Byte * key);
1280 unsigned int dwXferBytes, SANE_Byte bScanBits);
1297 static SANE_Status Asic_SetCalibrate (PAsic chip, SANE_Byte bScanBits, unsigned short wXResolution,
1312 SANE_Byte MoveType;
1313 SANE_Byte FillPhase;
1314 SANE_Byte MotorDriverIs3967;
1315 SANE_Byte MotorCurrentTableA[32];
1316 SANE_Byte MotorCurrentTableB[32];
1317 SANE_Byte MotorPhaseTable[32];
1322 SANE_Byte ReadWrite;
1323 SANE_Byte IsOnChipGamma;
1327 SANE_Byte DramDelayTime;
1328 SANE_Byte *BufferPtr;
1333 SANE_Byte MoveType;
1334 SANE_Byte FillPhase;
1335 SANE_Byte MotorDriverIs3967;
1336 SANE_Byte MotorCurrentTableA[32];
1337 SANE_Byte MotorCurrentTableB[32];
1338 SANE_Byte MotorPhaseTable[32];
1346 SANE_Byte DecStepAfterScan;
1353 SANE_Byte MotorTableAddress;
1359 SANE_Byte ActionMode; /* 0: AccDec Mode, 1: Uniform Speed Mode, 2: Test Mode */
1360 SANE_Byte ActionType; /* 0: Forward, 1: Backward, 2:Back To Home */
1361 SANE_Byte MotorSelect; /* 0: Motor 0 only, 1: Motor 1 only, 2: Motor 0 & 1 */
1362 SANE_Byte HomeSensorSelect; /* 0: Sensor 0, 1: Sensor 1, 2: Sensor 0 & 1, 3:Invert Sensor 1 */
1365 SANE_Byte MotorSpeedUnit;
1366 SANE_Byte MotorSyncUnit;
1368 SANE_Byte DecStep; /* Max = 255 */
1369 SANE_Byte MotorMoveUnit;
1370 SANE_Byte WaitOrNoWait; /* 0: no wait, 1: wait */
1371 SANE_Byte Lamp0PwmFreq; /* Lamp0 PWM freq */
1372 SANE_Byte Lamp1PwmFreq; /* Lamp1 PWM freq */
1376 SANE_Byte bScanDecSteps;
1402 unsigned int dwEndAddr, SANE_Byte byAccessTarget);
1404 static SANE_Status MotorBackHome (PAsic chip, SANE_Byte WaitOrNoWait);