Lines Matching full:steps

115  * min delay steps for more than one channel
118 * steps at 30MHz in the FX2
123 * max number of 1/30MHz delay steps
355 unsigned int steps; in usbduxfast_ai_cmdtest() local
397 * for 1 channel the timing in 30MHz "steps" is: in usbduxfast_ai_cmdtest()
398 * steps <= MAX_SAMPLING_PERIOD in usbduxfast_ai_cmdtest()
400 * MIN_SAMPLING_PERIOD <= steps <= MAX_SAMPLING_PERIOD in usbduxfast_ai_cmdtest()
402 steps = (cmd->convert_arg * 30) / 1000; in usbduxfast_ai_cmdtest()
404 err2 |= comedi_check_trigger_arg_min(&steps, in usbduxfast_ai_cmdtest()
407 err2 |= comedi_check_trigger_arg_min(&steps, 1); in usbduxfast_ai_cmdtest()
408 err2 |= comedi_check_trigger_arg_max(&steps, MAX_SAMPLING_PERIOD); in usbduxfast_ai_cmdtest()
411 arg = (steps * 1000) / 30; in usbduxfast_ai_cmdtest()
471 long steps, steps_tmp; in usbduxfast_ai_cmd() local
485 steps = (cmd->convert_arg * 30) / 1000; in usbduxfast_ai_cmd()
513 if (steps < MIN_SAMPLING_PERIOD) { in usbduxfast_ai_cmd()
515 if (steps <= 1) { in usbduxfast_ai_cmd()
534 usbduxfast_cmd_data(dev, 1, steps - 1, in usbduxfast_ai_cmd()
550 steps = steps - 1; in usbduxfast_ai_cmd()
554 steps / 2, 0x00, rngmask, 0x00); in usbduxfast_ai_cmd()
557 usbduxfast_cmd_data(dev, 2, steps - steps / 2, in usbduxfast_ai_cmd()
585 steps_tmp = steps - 1; in usbduxfast_ai_cmd()
608 steps_tmp = steps - 2; in usbduxfast_ai_cmd()
644 usbduxfast_cmd_data(dev, index, steps / 2, in usbduxfast_ai_cmd()
655 usbduxfast_cmd_data(dev, index + 1, steps - steps / 2, in usbduxfast_ai_cmd()
659 /* 2 steps with duration 1: the idele step and step 6: */ in usbduxfast_ai_cmd()
660 steps_tmp = steps - 2; in usbduxfast_ai_cmd()
714 steps = steps - 2; in usbduxfast_ai_cmd()
717 usbduxfast_cmd_data(dev, 2, steps / 2, in usbduxfast_ai_cmd()
721 usbduxfast_cmd_data(dev, 3, steps - steps / 2, in usbduxfast_ai_cmd()