Lines Matching defs:step

396 				 SANE_Int step);
877 rst = (crv1->step[a] == crv2->step[a]) ? TRUE : FALSE;
917 /* step */
966 /* create new step curve */
971 /* add to step curve list */
991 /* get length of step buffer */
997 /* allocate step buffer */
998 curve->step =
1001 if (curve->step != NULL)
1003 memcpy (curve->step, buffer,
1052 if (curve->step != NULL)
1053 free (curve->step);
2675 /* set motor step type */
2741 /* set last step of accurve.smearing table to 2 */
2744 /* set last step of deccurve.scanbufferfull table to 16 */
2747 /* set last step of deccurve.normalscan table to 16 */
2750 /* set last step of deccurve.smearing table to 16 */
2753 /* set last step of deccurve.parkhome table to 16 */
2768 /* set last step of accurve.normalscan table */
2773 data_lsb_set (&cpRegs[0xe1], crv->step[crv->step_count - 1], 3);
2791 /* set last step of accurve.smearing table */
2796 /* Setting some motor step */
2847 /* set last step of accurve.normalscan table */
2996 Motor_AddStep (SANE_Byte * steps, SANE_Int * bwriten, SANE_Int step)
3001 data_msb_set (&steps[*bwriten], step, 3);
3040 /* get last acccurve step from acc.normalscan step table */
3043 /* sets pointer to acc.normalscan step table */
3046 /* Separate each step in three bytes */
3050 mystep = mycurve->step[cont];
3063 /* Write one step (last_acc_step + 0x01) to buffer */
3069 /* write another step (last_acc_step) */
3078 var1 = ((var1 * myvar) + mycurve->step[0] - varx20) - 0x0d;
3082 /* dec.scanbufferfull step table */
3087 /* set last step of deccurve.scanbufferfull table */
3090 data_lsb_set (&Regs[0xea], mycurve->step[mycurve->step_count - 1], 3);
3092 /* write another step mycurve->step_count,cont,last_acc_step */
3096 /* Separate each step in three bytes */
3100 mystep = mycurve->step[cont];
3116 var1 = mycurve->step[mycurve->step_count - 1]; /* last deccurve step */
3129 /* write another step , bwriten tiene 4b */
3132 /* acc.smearing step table */
3142 /* last step of acc.smearing table is the same as acc.normalscan */
3147 /* set pointer to next step table */
3151 /* set last step of acc.smearing table */
3157 mycurve->step[mycurve->step_count - 1], 3);
3163 Motor_AddStep (steps, &bwriten, mycurve->step[cont]);
3183 /* last step of dec.smearing table is the same as dec.scanbufferfull */
3188 /* set pointer to next step table */
3193 /* set last step of dec.smearing table */
3199 mycurve->step[mycurve->step_count - 1], 3);
3205 Motor_AddStep (steps, &bwriten, mycurve->step[cont]);
3225 /* last step of dec.normalscan table is the same as dec.scanbufferfull */
3235 /* last step of dec.normalscan table is the same as dec.smearing */
3240 /* set pointer to next step table */
3245 /* set last step of dec.normalscan table */
3251 mycurve->step[mycurve->step_count - 1], 3);
3257 Motor_AddStep (steps, &bwriten, mycurve->step[cont]);
3279 /* last step of acc.parkhome table is the same as acc.normalscan */
3289 /* last step of acc.parkhome table is the same as acc.smearing */
3294 /* set pointer to next step table */
3299 /* set last step of acc.parkhome table */
3304 mycurve->step[mycurve->step_count - 1], 3);
3310 Motor_AddStep (steps, &bwriten, mycurve->step[cont]);
3332 /* last step of dec.parkhome table is the same as dec.scanbufferfull */
3342 /* last step of dec.parkhome table is the same as dec.smearing */
3352 /* last step of dec.parkhome table is the same as dec.normalscan */
3357 /* set pointer to next step table */
3362 /* set last step of dec.parkhome table */
3367 mycurve->step[mycurve->step_count - 1], 3);
3373 Motor_AddStep (steps, &bwriten, mycurve->step[cont]);
3395 DBG (DBG_FNC, " -> Direction Type Offset Last step\n");
3718 /* set last acccurve step */
5222 /* if last step of accurve.normalscan table is lower than iValue ... */
8478 /* set motor step type */
8519 /* set last step of deccurve.scanbufferfull table to 16 */
8522 /* set last step of deccurve.normalscan table to 16 */
8525 /* set last step of deccurve.smearing table to 16 */
8528 /* set last step of deccurve.parkhome table to 16 */
8531 /* set step size */
8542 /* set last step of accurve.normalscan table */
8556 DBG (DBG_FNC, " -> Setting up step motor using motorcurve %i\n",
8577 /* set last step of accurve.smearing table (same as accurve.normalscan) */
8580 /* set last step of accurve.parkhome table (same as accurve.normalscan) */