Searched refs:ui_Channel (Results 1 - 12 of 12) sorted by relevance

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/staging/comedi/drivers/addi-data/
H A Dhwdrv_apci1032.c137 | unsigned int ui_Channel : Channel number to read |
151 unsigned int ui_Channel; local
152 ui_Channel = CR_CHAN(insn->chanspec);
153 if (ui_Channel <= 31) {
159 *data = (ui_TmpValue >> ui_Channel) & 0x1;
160 } /* if(ui_Channel >= 0 && ui_Channel <=31) */
164 } /* else if(ui_Channel >= 0 && ui_Channel <=31) */
H A Dhwdrv_apci1516.c80 unsigned int ui_Channel; local
81 ui_Channel = CR_CHAN(insn->chanspec);
82 if (ui_Channel <= 7) {
86 *data = (ui_TmpValue >> ui_Channel) & 0x1;
87 } /* if(ui_Channel >= 0 && ui_Channel <=7) */
91 } /* else if(ui_Channel >= 0 && ui_Channel <=7) */
H A Dhwdrv_apci2200.c80 unsigned int ui_Channel; local
81 ui_Channel = CR_CHAN(insn->chanspec);
82 if (ui_Channel <= 7) {
84 *data = (ui_TmpValue >> ui_Channel) & 0x1;
85 } /* if(ui_Channel >= 0 && ui_Channel <=7) */
89 } /* else if(ui_Channel >= 0 && ui_Channel <=7) */
H A Dhwdrv_apci1564.c140 | unsigned int ui_Channel : Channel number to read |
154 unsigned int ui_Channel; local
156 ui_Channel = CR_CHAN(insn->chanspec);
157 if (ui_Channel <= 31) {
164 *data = (ui_TmpValue >> ui_Channel) & 0x1;
165 } /* if (ui_Channel >= 0 && ui_Channel <=31) */
169 } /* else if (ui_Channel >= 0 && ui_Channel <=31) */
H A Dhwdrv_apci1500.c510 | unsigned int ui_Channel : Channel number to read |
780 | unsigned int ui_Channel : Channel number to read |
971 unsigned int ui_Channel; local
973 ui_Channel = CR_CHAN(insn->chanspec);
977 if (ui_Channel <= 15) {
981 *data = (ui_TmpValue >> ui_Channel) & 0x1;
982 } /* if(ui_Channel >= 0 && ui_Channel <=15) */
986 } /* else if(ui_Channel >= 0 && ui_Channel <
[all...]
H A Dhwdrv_apci3120.c2587 unsigned int ui_Range, ui_Channel; local
2591 ui_Channel = CR_CHAN(insn->chanspec);
2593 /* this_board->i_hwdrv_InsnWriteAnalogOutput(dev, ui_Range, ui_Channel,data[0]); */
2598 ((((ui_Channel & 0x03) << 14) & 0xC000) | (1 <<
2602 ((((ui_Channel & 0x03) << 14) & 0xC000) | (1 <<
2607 ((((ui_Channel & 0x03) << 14) & 0xC000) | (0 << 13) |
2622 if (ui_Channel <= 3)
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/staging/comedi/drivers/addi-data/
H A Dhwdrv_apci1032.c137 | unsigned int ui_Channel : Channel number to read |
151 unsigned int ui_Channel; local
152 ui_Channel = CR_CHAN(insn->chanspec);
153 if (ui_Channel <= 31) {
159 *data = (ui_TmpValue >> ui_Channel) & 0x1;
160 } /* if(ui_Channel >= 0 && ui_Channel <=31) */
164 } /* else if(ui_Channel >= 0 && ui_Channel <=31) */
H A Dhwdrv_apci1516.c80 unsigned int ui_Channel; local
81 ui_Channel = CR_CHAN(insn->chanspec);
82 if (ui_Channel <= 7) {
86 *data = (ui_TmpValue >> ui_Channel) & 0x1;
87 } /* if(ui_Channel >= 0 && ui_Channel <=7) */
91 } /* else if(ui_Channel >= 0 && ui_Channel <=7) */
H A Dhwdrv_apci2200.c80 unsigned int ui_Channel; local
81 ui_Channel = CR_CHAN(insn->chanspec);
82 if (ui_Channel <= 7) {
84 *data = (ui_TmpValue >> ui_Channel) & 0x1;
85 } /* if(ui_Channel >= 0 && ui_Channel <=7) */
89 } /* else if(ui_Channel >= 0 && ui_Channel <=7) */
H A Dhwdrv_apci1564.c140 | unsigned int ui_Channel : Channel number to read |
154 unsigned int ui_Channel; local
156 ui_Channel = CR_CHAN(insn->chanspec);
157 if (ui_Channel <= 31) {
164 *data = (ui_TmpValue >> ui_Channel) & 0x1;
165 } /* if (ui_Channel >= 0 && ui_Channel <=31) */
169 } /* else if (ui_Channel >= 0 && ui_Channel <=31) */
H A Dhwdrv_apci1500.c510 | unsigned int ui_Channel : Channel number to read |
780 | unsigned int ui_Channel : Channel number to read |
971 unsigned int ui_Channel; local
973 ui_Channel = CR_CHAN(insn->chanspec);
977 if (ui_Channel <= 15) {
981 *data = (ui_TmpValue >> ui_Channel) & 0x1;
982 } /* if(ui_Channel >= 0 && ui_Channel <=15) */
986 } /* else if(ui_Channel >= 0 && ui_Channel <
[all...]
H A Dhwdrv_apci3120.c2587 unsigned int ui_Range, ui_Channel; local
2591 ui_Channel = CR_CHAN(insn->chanspec);
2593 /* this_board->i_hwdrv_InsnWriteAnalogOutput(dev, ui_Range, ui_Channel,data[0]); */
2598 ((((ui_Channel & 0x03) << 14) & 0xC000) | (1 <<
2602 ((((ui_Channel & 0x03) << 14) & 0xC000) | (1 <<
2607 ((((ui_Channel & 0x03) << 14) & 0xC000) | (0 << 13) |
2622 if (ui_Channel <= 3)

Completed in 186 milliseconds