Lines Matching full:cntrl_params
58 struct control_params cntrl_params = {
138 cntrl_params.sensitivity[0] = (unsigned short)sensitivity;
146 cntrl_params.sensitivity[1] = (unsigned short)sensitivity;
154 cntrl_params.sensitivity[2] = (unsigned short)sensitivity;
162 cntrl_params.sensitivity[3] = (unsigned short)sensitivity;
225 cntrl_params.functions = function;
374 cntrl_params.gridThreshold[0] = threshold;
377 cntrl_params.gridThreshold[1] = threshold;
380 cntrl_params.gridThreshold[2] = threshold;
383 cntrl_params.gridThreshold[3] = threshold;
422 cntrl_params.gridMaximum[0] = maximum;
425 cntrl_params.gridMaximum[1] = maximum;
428 cntrl_params.gridMaximum[2] = maximum;
431 cntrl_params.gridMaximum[3] = maximum;
480 cntrl_params.gridCallback = func;
533 cntrl_params.parameterArray[0] = parameterArray;
537 cntrl_params.parameterAxis[0] = 0;
541 cntrl_params.parameterAxis[0] = 1;
545 cntrl_params.parameterAxis[0] = 2;
557 cntrl_params.parameterArray[1] = parameterArray;
561 cntrl_params.parameterAxis[1] = 0;
565 cntrl_params.parameterAxis[1] = 1;
569 cntrl_params.parameterAxis[1] = 2;
581 cntrl_params.parameterArray[2] = parameterArray;
585 cntrl_params.parameterAxis[2] = 0;
589 cntrl_params.parameterAxis[2] = 1;
593 cntrl_params.parameterAxis[2] = 2;
605 cntrl_params.parameterArray[3] = parameterArray;
609 cntrl_params.parameterAxis[3] = 0;
613 cntrl_params.parameterAxis[3] = 1;
617 cntrl_params.parameterAxis[3] = 2;
689 if (cntrl_params.functions & INV_GRID) {
690 if (cntrl_params.functions & INV_HYSTERESIS) {
697 (128 * cntrl_params.gridThreshold[i])) / 128;
700 cntrl_params.gridThreshold[i]);
701 tmp = 1 + 16777216L / cntrl_params.gridThreshold[i];
710 if ((cntrl_params.functions & INV_HYSTERESIS)
714 128 * cntrl_params.gridThreshold[i];
715 cntrl_obj.controlInt[i] = cntrl_params.gridThreshold[i] / 2;
719 128 * cntrl_params.gridThreshold[i];
720 cntrl_obj.controlInt[i] = cntrl_params.gridThreshold[i] / 2;
724 if (cntrl_obj.gridNum[i] >= cntrl_params.gridMaximum[i]) {
725 cntrl_obj.gridNum[i] = cntrl_params.gridMaximum[i];
727 cntrl_params.gridThreshold[i] / 2) {
728 cntrl_obj.controlInt[i] = cntrl_params.gridThreshold[i] / 2;
732 if (cntrl_obj.controlInt[i] < cntrl_params.gridThreshold[i] / 2) {
733 cntrl_obj.controlInt[i] = cntrl_params.gridThreshold[i] / 2;
737 if ((cntrl_params.gridCallback) && (cntrl_obj.gridChange[i] != 0)) {
738 cntrl_params.gridCallback((INV_CONTROL_1 << i),