1 // SPDX-License-Identifier: GPL-2.0+
2 /*
3  *  comedi/drivers/ni_routing/ni_device_routes/pci-6251.c
4  *  List of valid routes for specific NI boards.
5  *
6  *  COMEDI - Linux Control and Measurement Device Interface
7  *  Copyright (C) 2016 Spencer E. Olson <olsonse@umich.edu>
8  *
9  *  This program is free software; you can redistribute it and/or modify
10  *  it under the terms of the GNU General Public License as published by
11  *  the Free Software Foundation; either version 2 of the License, or
12  *  (at your option) any later version.
13  *
14  *  This program is distributed in the hope that it will be useful,
15  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
16  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17  *  GNU General Public License for more details.
18  */
19 
20 /*
21  * The contents of this file are generated using the tools in
22  * comedi/drivers/ni_routing/tools
23  *
24  * Please use those tools to help maintain the contents of this file.
25  */
26 
27 #include "../ni_device_routes.h"
28 #include "all.h"
29 
30 struct ni_device_routes ni_pci_6251_device_routes = {
31 	.device = "pci-6251",
32 	.routes = (struct ni_route_set[]){
33 		{
34 			.dest = NI_PFI(0),
35 			.src = (int[]){
36 				TRIGGER_LINE(0),
37 				TRIGGER_LINE(1),
38 				TRIGGER_LINE(2),
39 				TRIGGER_LINE(3),
40 				TRIGGER_LINE(4),
41 				TRIGGER_LINE(5),
42 				TRIGGER_LINE(6),
43 				TRIGGER_LINE(7),
44 				NI_CtrSource(0),
45 				NI_CtrSource(1),
46 				NI_CtrGate(0),
47 				NI_CtrGate(1),
48 				NI_CtrInternalOutput(0),
49 				NI_CtrInternalOutput(1),
50 				NI_AI_SampleClock,
51 				NI_AI_StartTrigger,
52 				NI_AI_ReferenceTrigger,
53 				NI_AI_ConvertClock,
54 				NI_AO_SampleClock,
55 				NI_AO_StartTrigger,
56 				NI_DI_SampleClock,
57 				NI_DO_SampleClock,
58 				NI_FrequencyOutput,
59 				NI_ChangeDetectionEvent,
60 				NI_AnalogComparisonEvent,
61 				0, /* Termination */
62 			}
63 		},
64 		{
65 			.dest = NI_PFI(1),
66 			.src = (int[]){
67 				TRIGGER_LINE(0),
68 				TRIGGER_LINE(1),
69 				TRIGGER_LINE(2),
70 				TRIGGER_LINE(3),
71 				TRIGGER_LINE(4),
72 				TRIGGER_LINE(5),
73 				TRIGGER_LINE(6),
74 				TRIGGER_LINE(7),
75 				NI_CtrSource(0),
76 				NI_CtrSource(1),
77 				NI_CtrGate(0),
78 				NI_CtrGate(1),
79 				NI_CtrInternalOutput(0),
80 				NI_CtrInternalOutput(1),
81 				NI_AI_SampleClock,
82 				NI_AI_StartTrigger,
83 				NI_AI_ReferenceTrigger,
84 				NI_AI_ConvertClock,
85 				NI_AO_SampleClock,
86 				NI_AO_StartTrigger,
87 				NI_DI_SampleClock,
88 				NI_DO_SampleClock,
89 				NI_FrequencyOutput,
90 				NI_ChangeDetectionEvent,
91 				NI_AnalogComparisonEvent,
92 				0, /* Termination */
93 			}
94 		},
95 		{
96 			.dest = NI_PFI(2),
97 			.src = (int[]){
98 				TRIGGER_LINE(0),
99 				TRIGGER_LINE(1),
100 				TRIGGER_LINE(2),
101 				TRIGGER_LINE(3),
102 				TRIGGER_LINE(4),
103 				TRIGGER_LINE(5),
104 				TRIGGER_LINE(6),
105 				TRIGGER_LINE(7),
106 				NI_CtrSource(0),
107 				NI_CtrSource(1),
108 				NI_CtrGate(0),
109 				NI_CtrGate(1),
110 				NI_CtrInternalOutput(0),
111 				NI_CtrInternalOutput(1),
112 				NI_AI_SampleClock,
113 				NI_AI_StartTrigger,
114 				NI_AI_ReferenceTrigger,
115 				NI_AI_ConvertClock,
116 				NI_AO_SampleClock,
117 				NI_AO_StartTrigger,
118 				NI_DI_SampleClock,
119 				NI_DO_SampleClock,
120 				NI_FrequencyOutput,
121 				NI_ChangeDetectionEvent,
122 				NI_AnalogComparisonEvent,
123 				0, /* Termination */
124 			}
125 		},
126 		{
127 			.dest = NI_PFI(3),
128 			.src = (int[]){
129 				TRIGGER_LINE(0),
130 				TRIGGER_LINE(1),
131 				TRIGGER_LINE(2),
132 				TRIGGER_LINE(3),
133 				TRIGGER_LINE(4),
134 				TRIGGER_LINE(5),
135 				TRIGGER_LINE(6),
136 				TRIGGER_LINE(7),
137 				NI_CtrSource(0),
138 				NI_CtrSource(1),
139 				NI_CtrGate(0),
140 				NI_CtrGate(1),
141 				NI_CtrInternalOutput(0),
142 				NI_CtrInternalOutput(1),
143 				NI_AI_SampleClock,
144 				NI_AI_StartTrigger,
145 				NI_AI_ReferenceTrigger,
146 				NI_AI_ConvertClock,
147 				NI_AO_SampleClock,
148 				NI_AO_StartTrigger,
149 				NI_DI_SampleClock,
150 				NI_DO_SampleClock,
151 				NI_FrequencyOutput,
152 				NI_ChangeDetectionEvent,
153 				NI_AnalogComparisonEvent,
154 				0, /* Termination */
155 			}
156 		},
157 		{
158 			.dest = NI_PFI(4),
159 			.src = (int[]){
160 				TRIGGER_LINE(0),
161 				TRIGGER_LINE(1),
162 				TRIGGER_LINE(2),
163 				TRIGGER_LINE(3),
164 				TRIGGER_LINE(4),
165 				TRIGGER_LINE(5),
166 				TRIGGER_LINE(6),
167 				TRIGGER_LINE(7),
168 				NI_CtrSource(0),
169 				NI_CtrSource(1),
170 				NI_CtrGate(0),
171 				NI_CtrGate(1),
172 				NI_CtrInternalOutput(0),
173 				NI_CtrInternalOutput(1),
174 				NI_AI_SampleClock,
175 				NI_AI_StartTrigger,
176 				NI_AI_ReferenceTrigger,
177 				NI_AI_ConvertClock,
178 				NI_AO_SampleClock,
179 				NI_AO_StartTrigger,
180 				NI_DI_SampleClock,
181 				NI_DO_SampleClock,
182 				NI_FrequencyOutput,
183 				NI_ChangeDetectionEvent,
184 				NI_AnalogComparisonEvent,
185 				0, /* Termination */
186 			}
187 		},
188 		{
189 			.dest = NI_PFI(5),
190 			.src = (int[]){
191 				TRIGGER_LINE(0),
192 				TRIGGER_LINE(1),
193 				TRIGGER_LINE(2),
194 				TRIGGER_LINE(3),
195 				TRIGGER_LINE(4),
196 				TRIGGER_LINE(5),
197 				TRIGGER_LINE(6),
198 				TRIGGER_LINE(7),
199 				NI_CtrSource(0),
200 				NI_CtrSource(1),
201 				NI_CtrGate(0),
202 				NI_CtrGate(1),
203 				NI_CtrInternalOutput(0),
204 				NI_CtrInternalOutput(1),
205 				NI_AI_SampleClock,
206 				NI_AI_StartTrigger,
207 				NI_AI_ReferenceTrigger,
208 				NI_AI_ConvertClock,
209 				NI_AO_SampleClock,
210 				NI_AO_StartTrigger,
211 				NI_DI_SampleClock,
212 				NI_DO_SampleClock,
213 				NI_FrequencyOutput,
214 				NI_ChangeDetectionEvent,
215 				NI_AnalogComparisonEvent,
216 				0, /* Termination */
217 			}
218 		},
219 		{
220 			.dest = NI_PFI(6),
221 			.src = (int[]){
222 				TRIGGER_LINE(0),
223 				TRIGGER_LINE(1),
224 				TRIGGER_LINE(2),
225 				TRIGGER_LINE(3),
226 				TRIGGER_LINE(4),
227 				TRIGGER_LINE(5),
228 				TRIGGER_LINE(6),
229 				TRIGGER_LINE(7),
230 				NI_CtrSource(0),
231 				NI_CtrSource(1),
232 				NI_CtrGate(0),
233 				NI_CtrGate(1),
234 				NI_CtrInternalOutput(0),
235 				NI_CtrInternalOutput(1),
236 				NI_AI_SampleClock,
237 				NI_AI_StartTrigger,
238 				NI_AI_ReferenceTrigger,
239 				NI_AI_ConvertClock,
240 				NI_AO_SampleClock,
241 				NI_AO_StartTrigger,
242 				NI_DI_SampleClock,
243 				NI_DO_SampleClock,
244 				NI_FrequencyOutput,
245 				NI_ChangeDetectionEvent,
246 				NI_AnalogComparisonEvent,
247 				0, /* Termination */
248 			}
249 		},
250 		{
251 			.dest = NI_PFI(7),
252 			.src = (int[]){
253 				TRIGGER_LINE(0),
254 				TRIGGER_LINE(1),
255 				TRIGGER_LINE(2),
256 				TRIGGER_LINE(3),
257 				TRIGGER_LINE(4),
258 				TRIGGER_LINE(5),
259 				TRIGGER_LINE(6),
260 				TRIGGER_LINE(7),
261 				NI_CtrSource(0),
262 				NI_CtrSource(1),
263 				NI_CtrGate(0),
264 				NI_CtrGate(1),
265 				NI_CtrInternalOutput(0),
266 				NI_CtrInternalOutput(1),
267 				NI_AI_SampleClock,
268 				NI_AI_StartTrigger,
269 				NI_AI_ReferenceTrigger,
270 				NI_AI_ConvertClock,
271 				NI_AO_SampleClock,
272 				NI_AO_StartTrigger,
273 				NI_DI_SampleClock,
274 				NI_DO_SampleClock,
275 				NI_FrequencyOutput,
276 				NI_ChangeDetectionEvent,
277 				NI_AnalogComparisonEvent,
278 				0, /* Termination */
279 			}
280 		},
281 		{
282 			.dest = NI_PFI(8),
283 			.src = (int[]){
284 				TRIGGER_LINE(0),
285 				TRIGGER_LINE(1),
286 				TRIGGER_LINE(2),
287 				TRIGGER_LINE(3),
288 				TRIGGER_LINE(4),
289 				TRIGGER_LINE(5),
290 				TRIGGER_LINE(6),
291 				TRIGGER_LINE(7),
292 				NI_CtrSource(0),
293 				NI_CtrSource(1),
294 				NI_CtrGate(0),
295 				NI_CtrGate(1),
296 				NI_CtrInternalOutput(0),
297 				NI_CtrInternalOutput(1),
298 				NI_AI_SampleClock,
299 				NI_AI_StartTrigger,
300 				NI_AI_ReferenceTrigger,
301 				NI_AI_ConvertClock,
302 				NI_AO_SampleClock,
303 				NI_AO_StartTrigger,
304 				NI_DI_SampleClock,
305 				NI_DO_SampleClock,
306 				NI_FrequencyOutput,
307 				NI_ChangeDetectionEvent,
308 				NI_AnalogComparisonEvent,
309 				0, /* Termination */
310 			}
311 		},
312 		{
313 			.dest = NI_PFI(9),
314 			.src = (int[]){
315 				TRIGGER_LINE(0),
316 				TRIGGER_LINE(1),
317 				TRIGGER_LINE(2),
318 				TRIGGER_LINE(3),
319 				TRIGGER_LINE(4),
320 				TRIGGER_LINE(5),
321 				TRIGGER_LINE(6),
322 				TRIGGER_LINE(7),
323 				NI_CtrSource(0),
324 				NI_CtrSource(1),
325 				NI_CtrGate(0),
326 				NI_CtrGate(1),
327 				NI_CtrInternalOutput(0),
328 				NI_CtrInternalOutput(1),
329 				NI_AI_SampleClock,
330 				NI_AI_StartTrigger,
331 				NI_AI_ReferenceTrigger,
332 				NI_AI_ConvertClock,
333 				NI_AO_SampleClock,
334 				NI_AO_StartTrigger,
335 				NI_DI_SampleClock,
336 				NI_DO_SampleClock,
337 				NI_FrequencyOutput,
338 				NI_ChangeDetectionEvent,
339 				NI_AnalogComparisonEvent,
340 				0, /* Termination */
341 			}
342 		},
343 		{
344 			.dest = NI_PFI(10),
345 			.src = (int[]){
346 				TRIGGER_LINE(0),
347 				TRIGGER_LINE(1),
348 				TRIGGER_LINE(2),
349 				TRIGGER_LINE(3),
350 				TRIGGER_LINE(4),
351 				TRIGGER_LINE(5),
352 				TRIGGER_LINE(6),
353 				TRIGGER_LINE(7),
354 				NI_CtrSource(0),
355 				NI_CtrSource(1),
356 				NI_CtrGate(0),
357 				NI_CtrGate(1),
358 				NI_CtrInternalOutput(0),
359 				NI_CtrInternalOutput(1),
360 				NI_AI_SampleClock,
361 				NI_AI_StartTrigger,
362 				NI_AI_ReferenceTrigger,
363 				NI_AI_ConvertClock,
364 				NI_AO_SampleClock,
365 				NI_AO_StartTrigger,
366 				NI_DI_SampleClock,
367 				NI_DO_SampleClock,
368 				NI_FrequencyOutput,
369 				NI_ChangeDetectionEvent,
370 				NI_AnalogComparisonEvent,
371 				0, /* Termination */
372 			}
373 		},
374 		{
375 			.dest = NI_PFI(11),
376 			.src = (int[]){
377 				TRIGGER_LINE(0),
378 				TRIGGER_LINE(1),
379 				TRIGGER_LINE(2),
380 				TRIGGER_LINE(3),
381 				TRIGGER_LINE(4),
382 				TRIGGER_LINE(5),
383 				TRIGGER_LINE(6),
384 				TRIGGER_LINE(7),
385 				NI_CtrSource(0),
386 				NI_CtrSource(1),
387 				NI_CtrGate(0),
388 				NI_CtrGate(1),
389 				NI_CtrInternalOutput(0),
390 				NI_CtrInternalOutput(1),
391 				NI_AI_SampleClock,
392 				NI_AI_StartTrigger,
393 				NI_AI_ReferenceTrigger,
394 				NI_AI_ConvertClock,
395 				NI_AO_SampleClock,
396 				NI_AO_StartTrigger,
397 				NI_DI_SampleClock,
398 				NI_DO_SampleClock,
399 				NI_FrequencyOutput,
400 				NI_ChangeDetectionEvent,
401 				NI_AnalogComparisonEvent,
402 				0, /* Termination */
403 			}
404 		},
405 		{
406 			.dest = NI_PFI(12),
407 			.src = (int[]){
408 				TRIGGER_LINE(0),
409 				TRIGGER_LINE(1),
410 				TRIGGER_LINE(2),
411 				TRIGGER_LINE(3),
412 				TRIGGER_LINE(4),
413 				TRIGGER_LINE(5),
414 				TRIGGER_LINE(6),
415 				TRIGGER_LINE(7),
416 				NI_CtrSource(0),
417 				NI_CtrSource(1),
418 				NI_CtrGate(0),
419 				NI_CtrGate(1),
420 				NI_CtrInternalOutput(0),
421 				NI_CtrInternalOutput(1),
422 				NI_AI_SampleClock,
423 				NI_AI_StartTrigger,
424 				NI_AI_ReferenceTrigger,
425 				NI_AI_ConvertClock,
426 				NI_AO_SampleClock,
427 				NI_AO_StartTrigger,
428 				NI_DI_SampleClock,
429 				NI_DO_SampleClock,
430 				NI_FrequencyOutput,
431 				NI_ChangeDetectionEvent,
432 				NI_AnalogComparisonEvent,
433 				0, /* Termination */
434 			}
435 		},
436 		{
437 			.dest = NI_PFI(13),
438 			.src = (int[]){
439 				TRIGGER_LINE(0),
440 				TRIGGER_LINE(1),
441 				TRIGGER_LINE(2),
442 				TRIGGER_LINE(3),
443 				TRIGGER_LINE(4),
444 				TRIGGER_LINE(5),
445 				TRIGGER_LINE(6),
446 				TRIGGER_LINE(7),
447 				NI_CtrSource(0),
448 				NI_CtrSource(1),
449 				NI_CtrGate(0),
450 				NI_CtrGate(1),
451 				NI_CtrInternalOutput(0),
452 				NI_CtrInternalOutput(1),
453 				NI_AI_SampleClock,
454 				NI_AI_StartTrigger,
455 				NI_AI_ReferenceTrigger,
456 				NI_AI_ConvertClock,
457 				NI_AO_SampleClock,
458 				NI_AO_StartTrigger,
459 				NI_DI_SampleClock,
460 				NI_DO_SampleClock,
461 				NI_FrequencyOutput,
462 				NI_ChangeDetectionEvent,
463 				NI_AnalogComparisonEvent,
464 				0, /* Termination */
465 			}
466 		},
467 		{
468 			.dest = NI_PFI(14),
469 			.src = (int[]){
470 				TRIGGER_LINE(0),
471 				TRIGGER_LINE(1),
472 				TRIGGER_LINE(2),
473 				TRIGGER_LINE(3),
474 				TRIGGER_LINE(4),
475 				TRIGGER_LINE(5),
476 				TRIGGER_LINE(6),
477 				TRIGGER_LINE(7),
478 				NI_CtrSource(0),
479 				NI_CtrSource(1),
480 				NI_CtrGate(0),
481 				NI_CtrGate(1),
482 				NI_CtrInternalOutput(0),
483 				NI_CtrInternalOutput(1),
484 				NI_AI_SampleClock,
485 				NI_AI_StartTrigger,
486 				NI_AI_ReferenceTrigger,
487 				NI_AI_ConvertClock,
488 				NI_AO_SampleClock,
489 				NI_AO_StartTrigger,
490 				NI_DI_SampleClock,
491 				NI_DO_SampleClock,
492 				NI_FrequencyOutput,
493 				NI_ChangeDetectionEvent,
494 				NI_AnalogComparisonEvent,
495 				0, /* Termination */
496 			}
497 		},
498 		{
499 			.dest = NI_PFI(15),
500 			.src = (int[]){
501 				TRIGGER_LINE(0),
502 				TRIGGER_LINE(1),
503 				TRIGGER_LINE(2),
504 				TRIGGER_LINE(3),
505 				TRIGGER_LINE(4),
506 				TRIGGER_LINE(5),
507 				TRIGGER_LINE(6),
508 				TRIGGER_LINE(7),
509 				NI_CtrSource(0),
510 				NI_CtrSource(1),
511 				NI_CtrGate(0),
512 				NI_CtrGate(1),
513 				NI_CtrInternalOutput(0),
514 				NI_CtrInternalOutput(1),
515 				NI_AI_SampleClock,
516 				NI_AI_StartTrigger,
517 				NI_AI_ReferenceTrigger,
518 				NI_AI_ConvertClock,
519 				NI_AO_SampleClock,
520 				NI_AO_StartTrigger,
521 				NI_DI_SampleClock,
522 				NI_DO_SampleClock,
523 				NI_FrequencyOutput,
524 				NI_ChangeDetectionEvent,
525 				NI_AnalogComparisonEvent,
526 				0, /* Termination */
527 			}
528 		},
529 		{
530 			.dest = TRIGGER_LINE(0),
531 			.src = (int[]){
532 				NI_PFI(0),
533 				NI_PFI(1),
534 				NI_PFI(2),
535 				NI_PFI(3),
536 				NI_PFI(4),
537 				NI_PFI(5),
538 				NI_CtrSource(0),
539 				NI_CtrSource(1),
540 				NI_CtrGate(0),
541 				NI_CtrGate(1),
542 				NI_CtrInternalOutput(0),
543 				NI_CtrInternalOutput(1),
544 				NI_AI_SampleClock,
545 				NI_AI_StartTrigger,
546 				NI_AI_ReferenceTrigger,
547 				NI_AI_ConvertClock,
548 				NI_AI_PauseTrigger,
549 				NI_AO_SampleClock,
550 				NI_AO_StartTrigger,
551 				NI_AO_PauseTrigger,
552 				NI_10MHzRefClock,
553 				NI_FrequencyOutput,
554 				NI_ChangeDetectionEvent,
555 				NI_AnalogComparisonEvent,
556 				0, /* Termination */
557 			}
558 		},
559 		{
560 			.dest = TRIGGER_LINE(1),
561 			.src = (int[]){
562 				NI_PFI(0),
563 				NI_PFI(1),
564 				NI_PFI(2),
565 				NI_PFI(3),
566 				NI_PFI(4),
567 				NI_PFI(5),
568 				NI_CtrSource(0),
569 				NI_CtrSource(1),
570 				NI_CtrGate(0),
571 				NI_CtrGate(1),
572 				NI_CtrInternalOutput(0),
573 				NI_CtrInternalOutput(1),
574 				NI_AI_SampleClock,
575 				NI_AI_StartTrigger,
576 				NI_AI_ReferenceTrigger,
577 				NI_AI_ConvertClock,
578 				NI_AI_PauseTrigger,
579 				NI_AO_SampleClock,
580 				NI_AO_StartTrigger,
581 				NI_AO_PauseTrigger,
582 				NI_10MHzRefClock,
583 				NI_FrequencyOutput,
584 				NI_ChangeDetectionEvent,
585 				NI_AnalogComparisonEvent,
586 				0, /* Termination */
587 			}
588 		},
589 		{
590 			.dest = TRIGGER_LINE(2),
591 			.src = (int[]){
592 				NI_PFI(0),
593 				NI_PFI(1),
594 				NI_PFI(2),
595 				NI_PFI(3),
596 				NI_PFI(4),
597 				NI_PFI(5),
598 				NI_CtrSource(0),
599 				NI_CtrSource(1),
600 				NI_CtrGate(0),
601 				NI_CtrGate(1),
602 				NI_CtrInternalOutput(0),
603 				NI_CtrInternalOutput(1),
604 				NI_AI_SampleClock,
605 				NI_AI_StartTrigger,
606 				NI_AI_ReferenceTrigger,
607 				NI_AI_ConvertClock,
608 				NI_AI_PauseTrigger,
609 				NI_AO_SampleClock,
610 				NI_AO_StartTrigger,
611 				NI_AO_PauseTrigger,
612 				NI_10MHzRefClock,
613 				NI_FrequencyOutput,
614 				NI_ChangeDetectionEvent,
615 				NI_AnalogComparisonEvent,
616 				0, /* Termination */
617 			}
618 		},
619 		{
620 			.dest = TRIGGER_LINE(3),
621 			.src = (int[]){
622 				NI_PFI(0),
623 				NI_PFI(1),
624 				NI_PFI(2),
625 				NI_PFI(3),
626 				NI_PFI(4),
627 				NI_PFI(5),
628 				NI_CtrSource(0),
629 				NI_CtrSource(1),
630 				NI_CtrGate(0),
631 				NI_CtrGate(1),
632 				NI_CtrInternalOutput(0),
633 				NI_CtrInternalOutput(1),
634 				NI_AI_SampleClock,
635 				NI_AI_StartTrigger,
636 				NI_AI_ReferenceTrigger,
637 				NI_AI_ConvertClock,
638 				NI_AI_PauseTrigger,
639 				NI_AO_SampleClock,
640 				NI_AO_StartTrigger,
641 				NI_AO_PauseTrigger,
642 				NI_10MHzRefClock,
643 				NI_FrequencyOutput,
644 				NI_ChangeDetectionEvent,
645 				NI_AnalogComparisonEvent,
646 				0, /* Termination */
647 			}
648 		},
649 		{
650 			.dest = TRIGGER_LINE(4),
651 			.src = (int[]){
652 				NI_PFI(0),
653 				NI_PFI(1),
654 				NI_PFI(2),
655 				NI_PFI(3),
656 				NI_PFI(4),
657 				NI_PFI(5),
658 				NI_CtrSource(0),
659 				NI_CtrSource(1),
660 				NI_CtrGate(0),
661 				NI_CtrGate(1),
662 				NI_CtrInternalOutput(0),
663 				NI_CtrInternalOutput(1),
664 				NI_AI_SampleClock,
665 				NI_AI_StartTrigger,
666 				NI_AI_ReferenceTrigger,
667 				NI_AI_ConvertClock,
668 				NI_AI_PauseTrigger,
669 				NI_AO_SampleClock,
670 				NI_AO_StartTrigger,
671 				NI_AO_PauseTrigger,
672 				NI_10MHzRefClock,
673 				NI_FrequencyOutput,
674 				NI_ChangeDetectionEvent,
675 				NI_AnalogComparisonEvent,
676 				0, /* Termination */
677 			}
678 		},
679 		{
680 			.dest = TRIGGER_LINE(5),
681 			.src = (int[]){
682 				NI_PFI(0),
683 				NI_PFI(1),
684 				NI_PFI(2),
685 				NI_PFI(3),
686 				NI_PFI(4),
687 				NI_PFI(5),
688 				NI_CtrSource(0),
689 				NI_CtrSource(1),
690 				NI_CtrGate(0),
691 				NI_CtrGate(1),
692 				NI_CtrInternalOutput(0),
693 				NI_CtrInternalOutput(1),
694 				NI_AI_SampleClock,
695 				NI_AI_StartTrigger,
696 				NI_AI_ReferenceTrigger,
697 				NI_AI_ConvertClock,
698 				NI_AI_PauseTrigger,
699 				NI_AO_SampleClock,
700 				NI_AO_StartTrigger,
701 				NI_AO_PauseTrigger,
702 				NI_10MHzRefClock,
703 				NI_FrequencyOutput,
704 				NI_ChangeDetectionEvent,
705 				NI_AnalogComparisonEvent,
706 				0, /* Termination */
707 			}
708 		},
709 		{
710 			.dest = TRIGGER_LINE(6),
711 			.src = (int[]){
712 				NI_PFI(0),
713 				NI_PFI(1),
714 				NI_PFI(2),
715 				NI_PFI(3),
716 				NI_PFI(4),
717 				NI_PFI(5),
718 				NI_CtrSource(0),
719 				NI_CtrSource(1),
720 				NI_CtrGate(0),
721 				NI_CtrGate(1),
722 				NI_CtrInternalOutput(0),
723 				NI_CtrInternalOutput(1),
724 				NI_AI_SampleClock,
725 				NI_AI_StartTrigger,
726 				NI_AI_ReferenceTrigger,
727 				NI_AI_ConvertClock,
728 				NI_AI_PauseTrigger,
729 				NI_AO_SampleClock,
730 				NI_AO_StartTrigger,
731 				NI_AO_PauseTrigger,
732 				NI_10MHzRefClock,
733 				NI_FrequencyOutput,
734 				NI_ChangeDetectionEvent,
735 				NI_AnalogComparisonEvent,
736 				0, /* Termination */
737 			}
738 		},
739 		{
740 			.dest = TRIGGER_LINE(7),
741 			.src = (int[]){
742 				NI_PFI(0),
743 				NI_PFI(1),
744 				NI_PFI(2),
745 				NI_PFI(3),
746 				NI_PFI(4),
747 				NI_PFI(5),
748 				NI_CtrSource(0),
749 				NI_CtrSource(1),
750 				NI_CtrGate(0),
751 				NI_CtrGate(1),
752 				NI_CtrInternalOutput(0),
753 				NI_CtrInternalOutput(1),
754 				NI_AI_SampleClock,
755 				NI_AI_StartTrigger,
756 				NI_AI_ReferenceTrigger,
757 				NI_AI_ConvertClock,
758 				NI_AI_PauseTrigger,
759 				NI_AO_SampleClock,
760 				NI_AO_StartTrigger,
761 				NI_AO_PauseTrigger,
762 				NI_10MHzRefClock,
763 				NI_FrequencyOutput,
764 				NI_ChangeDetectionEvent,
765 				NI_AnalogComparisonEvent,
766 				0, /* Termination */
767 			}
768 		},
769 		{
770 			.dest = NI_CtrSource(0),
771 			.src = (int[]){
772 				NI_PFI(0),
773 				NI_PFI(1),
774 				NI_PFI(2),
775 				NI_PFI(3),
776 				NI_PFI(4),
777 				NI_PFI(5),
778 				NI_PFI(6),
779 				NI_PFI(7),
780 				NI_PFI(8),
781 				NI_PFI(9),
782 				NI_PFI(10),
783 				NI_PFI(11),
784 				NI_PFI(12),
785 				NI_PFI(13),
786 				NI_PFI(14),
787 				NI_PFI(15),
788 				TRIGGER_LINE(0),
789 				TRIGGER_LINE(1),
790 				TRIGGER_LINE(2),
791 				TRIGGER_LINE(3),
792 				TRIGGER_LINE(4),
793 				TRIGGER_LINE(5),
794 				TRIGGER_LINE(6),
795 				TRIGGER_LINE(7),
796 				NI_CtrGate(1),
797 				NI_20MHzTimebase,
798 				NI_80MHzTimebase,
799 				NI_100kHzTimebase,
800 				NI_AnalogComparisonEvent,
801 				0, /* Termination */
802 			}
803 		},
804 		{
805 			.dest = NI_CtrSource(1),
806 			.src = (int[]){
807 				NI_PFI(0),
808 				NI_PFI(1),
809 				NI_PFI(2),
810 				NI_PFI(3),
811 				NI_PFI(4),
812 				NI_PFI(5),
813 				NI_PFI(6),
814 				NI_PFI(7),
815 				NI_PFI(8),
816 				NI_PFI(9),
817 				NI_PFI(10),
818 				NI_PFI(11),
819 				NI_PFI(12),
820 				NI_PFI(13),
821 				NI_PFI(14),
822 				NI_PFI(15),
823 				TRIGGER_LINE(0),
824 				TRIGGER_LINE(1),
825 				TRIGGER_LINE(2),
826 				TRIGGER_LINE(3),
827 				TRIGGER_LINE(4),
828 				TRIGGER_LINE(5),
829 				TRIGGER_LINE(6),
830 				TRIGGER_LINE(7),
831 				NI_CtrGate(0),
832 				NI_20MHzTimebase,
833 				NI_80MHzTimebase,
834 				NI_100kHzTimebase,
835 				NI_AnalogComparisonEvent,
836 				0, /* Termination */
837 			}
838 		},
839 		{
840 			.dest = NI_CtrGate(0),
841 			.src = (int[]){
842 				NI_PFI(0),
843 				NI_PFI(1),
844 				NI_PFI(2),
845 				NI_PFI(3),
846 				NI_PFI(4),
847 				NI_PFI(5),
848 				NI_PFI(6),
849 				NI_PFI(7),
850 				NI_PFI(8),
851 				NI_PFI(9),
852 				NI_PFI(10),
853 				NI_PFI(11),
854 				NI_PFI(12),
855 				NI_PFI(13),
856 				NI_PFI(14),
857 				NI_PFI(15),
858 				TRIGGER_LINE(0),
859 				TRIGGER_LINE(1),
860 				TRIGGER_LINE(2),
861 				TRIGGER_LINE(3),
862 				TRIGGER_LINE(4),
863 				TRIGGER_LINE(5),
864 				TRIGGER_LINE(6),
865 				TRIGGER_LINE(7),
866 				NI_CtrSource(1),
867 				NI_CtrInternalOutput(1),
868 				NI_AI_StartTrigger,
869 				NI_AI_ReferenceTrigger,
870 				NI_AnalogComparisonEvent,
871 				0, /* Termination */
872 			}
873 		},
874 		{
875 			.dest = NI_CtrGate(1),
876 			.src = (int[]){
877 				NI_PFI(0),
878 				NI_PFI(1),
879 				NI_PFI(2),
880 				NI_PFI(3),
881 				NI_PFI(4),
882 				NI_PFI(5),
883 				NI_PFI(6),
884 				NI_PFI(7),
885 				NI_PFI(8),
886 				NI_PFI(9),
887 				NI_PFI(10),
888 				NI_PFI(11),
889 				NI_PFI(12),
890 				NI_PFI(13),
891 				NI_PFI(14),
892 				NI_PFI(15),
893 				TRIGGER_LINE(0),
894 				TRIGGER_LINE(1),
895 				TRIGGER_LINE(2),
896 				TRIGGER_LINE(3),
897 				TRIGGER_LINE(4),
898 				TRIGGER_LINE(5),
899 				TRIGGER_LINE(6),
900 				TRIGGER_LINE(7),
901 				NI_CtrSource(0),
902 				NI_CtrInternalOutput(0),
903 				NI_AI_StartTrigger,
904 				NI_AI_ReferenceTrigger,
905 				NI_AnalogComparisonEvent,
906 				0, /* Termination */
907 			}
908 		},
909 		{
910 			.dest = NI_CtrAux(0),
911 			.src = (int[]){
912 				NI_PFI(0),
913 				NI_PFI(1),
914 				NI_PFI(2),
915 				NI_PFI(3),
916 				NI_PFI(4),
917 				NI_PFI(5),
918 				NI_PFI(6),
919 				NI_PFI(7),
920 				NI_PFI(8),
921 				NI_PFI(9),
922 				NI_PFI(10),
923 				NI_PFI(11),
924 				NI_PFI(12),
925 				NI_PFI(13),
926 				NI_PFI(14),
927 				NI_PFI(15),
928 				TRIGGER_LINE(0),
929 				TRIGGER_LINE(1),
930 				TRIGGER_LINE(2),
931 				TRIGGER_LINE(3),
932 				TRIGGER_LINE(4),
933 				TRIGGER_LINE(5),
934 				TRIGGER_LINE(6),
935 				TRIGGER_LINE(7),
936 				NI_CtrSource(1),
937 				NI_CtrGate(0),
938 				NI_CtrGate(1),
939 				NI_CtrInternalOutput(1),
940 				NI_AI_StartTrigger,
941 				NI_AI_ReferenceTrigger,
942 				NI_AnalogComparisonEvent,
943 				0, /* Termination */
944 			}
945 		},
946 		{
947 			.dest = NI_CtrAux(1),
948 			.src = (int[]){
949 				NI_PFI(0),
950 				NI_PFI(1),
951 				NI_PFI(2),
952 				NI_PFI(3),
953 				NI_PFI(4),
954 				NI_PFI(5),
955 				NI_PFI(6),
956 				NI_PFI(7),
957 				NI_PFI(8),
958 				NI_PFI(9),
959 				NI_PFI(10),
960 				NI_PFI(11),
961 				NI_PFI(12),
962 				NI_PFI(13),
963 				NI_PFI(14),
964 				NI_PFI(15),
965 				TRIGGER_LINE(0),
966 				TRIGGER_LINE(1),
967 				TRIGGER_LINE(2),
968 				TRIGGER_LINE(3),
969 				TRIGGER_LINE(4),
970 				TRIGGER_LINE(5),
971 				TRIGGER_LINE(6),
972 				TRIGGER_LINE(7),
973 				NI_CtrSource(0),
974 				NI_CtrGate(0),
975 				NI_CtrGate(1),
976 				NI_CtrInternalOutput(0),
977 				NI_AI_StartTrigger,
978 				NI_AI_ReferenceTrigger,
979 				NI_AnalogComparisonEvent,
980 				0, /* Termination */
981 			}
982 		},
983 		{
984 			.dest = NI_CtrA(0),
985 			.src = (int[]){
986 				NI_PFI(0),
987 				NI_PFI(1),
988 				NI_PFI(2),
989 				NI_PFI(3),
990 				NI_PFI(4),
991 				NI_PFI(5),
992 				NI_PFI(6),
993 				NI_PFI(7),
994 				NI_PFI(8),
995 				NI_PFI(9),
996 				NI_PFI(10),
997 				NI_PFI(11),
998 				NI_PFI(12),
999 				NI_PFI(13),
1000 				NI_PFI(14),
1001 				NI_PFI(15),
1002 				TRIGGER_LINE(0),
1003 				TRIGGER_LINE(1),
1004 				TRIGGER_LINE(2),
1005 				TRIGGER_LINE(3),
1006 				TRIGGER_LINE(4),
1007 				TRIGGER_LINE(5),
1008 				TRIGGER_LINE(6),
1009 				TRIGGER_LINE(7),
1010 				NI_AnalogComparisonEvent,
1011 				0, /* Termination */
1012 			}
1013 		},
1014 		{
1015 			.dest = NI_CtrA(1),
1016 			.src = (int[]){
1017 				NI_PFI(0),
1018 				NI_PFI(1),
1019 				NI_PFI(2),
1020 				NI_PFI(3),
1021 				NI_PFI(4),
1022 				NI_PFI(5),
1023 				NI_PFI(6),
1024 				NI_PFI(7),
1025 				NI_PFI(8),
1026 				NI_PFI(9),
1027 				NI_PFI(10),
1028 				NI_PFI(11),
1029 				NI_PFI(12),
1030 				NI_PFI(13),
1031 				NI_PFI(14),
1032 				NI_PFI(15),
1033 				TRIGGER_LINE(0),
1034 				TRIGGER_LINE(1),
1035 				TRIGGER_LINE(2),
1036 				TRIGGER_LINE(3),
1037 				TRIGGER_LINE(4),
1038 				TRIGGER_LINE(5),
1039 				TRIGGER_LINE(6),
1040 				TRIGGER_LINE(7),
1041 				NI_AnalogComparisonEvent,
1042 				0, /* Termination */
1043 			}
1044 		},
1045 		{
1046 			.dest = NI_CtrB(0),
1047 			.src = (int[]){
1048 				NI_PFI(0),
1049 				NI_PFI(1),
1050 				NI_PFI(2),
1051 				NI_PFI(3),
1052 				NI_PFI(4),
1053 				NI_PFI(5),
1054 				NI_PFI(6),
1055 				NI_PFI(7),
1056 				NI_PFI(8),
1057 				NI_PFI(9),
1058 				NI_PFI(10),
1059 				NI_PFI(11),
1060 				NI_PFI(12),
1061 				NI_PFI(13),
1062 				NI_PFI(14),
1063 				NI_PFI(15),
1064 				TRIGGER_LINE(0),
1065 				TRIGGER_LINE(1),
1066 				TRIGGER_LINE(2),
1067 				TRIGGER_LINE(3),
1068 				TRIGGER_LINE(4),
1069 				TRIGGER_LINE(5),
1070 				TRIGGER_LINE(6),
1071 				TRIGGER_LINE(7),
1072 				NI_AnalogComparisonEvent,
1073 				0, /* Termination */
1074 			}
1075 		},
1076 		{
1077 			.dest = NI_CtrB(1),
1078 			.src = (int[]){
1079 				NI_PFI(0),
1080 				NI_PFI(1),
1081 				NI_PFI(2),
1082 				NI_PFI(3),
1083 				NI_PFI(4),
1084 				NI_PFI(5),
1085 				NI_PFI(6),
1086 				NI_PFI(7),
1087 				NI_PFI(8),
1088 				NI_PFI(9),
1089 				NI_PFI(10),
1090 				NI_PFI(11),
1091 				NI_PFI(12),
1092 				NI_PFI(13),
1093 				NI_PFI(14),
1094 				NI_PFI(15),
1095 				TRIGGER_LINE(0),
1096 				TRIGGER_LINE(1),
1097 				TRIGGER_LINE(2),
1098 				TRIGGER_LINE(3),
1099 				TRIGGER_LINE(4),
1100 				TRIGGER_LINE(5),
1101 				TRIGGER_LINE(6),
1102 				TRIGGER_LINE(7),
1103 				NI_AnalogComparisonEvent,
1104 				0, /* Termination */
1105 			}
1106 		},
1107 		{
1108 			.dest = NI_CtrZ(0),
1109 			.src = (int[]){
1110 				NI_PFI(0),
1111 				NI_PFI(1),
1112 				NI_PFI(2),
1113 				NI_PFI(3),
1114 				NI_PFI(4),
1115 				NI_PFI(5),
1116 				NI_PFI(6),
1117 				NI_PFI(7),
1118 				NI_PFI(8),
1119 				NI_PFI(9),
1120 				NI_PFI(10),
1121 				NI_PFI(11),
1122 				NI_PFI(12),
1123 				NI_PFI(13),
1124 				NI_PFI(14),
1125 				NI_PFI(15),
1126 				TRIGGER_LINE(0),
1127 				TRIGGER_LINE(1),
1128 				TRIGGER_LINE(2),
1129 				TRIGGER_LINE(3),
1130 				TRIGGER_LINE(4),
1131 				TRIGGER_LINE(5),
1132 				TRIGGER_LINE(6),
1133 				TRIGGER_LINE(7),
1134 				NI_AnalogComparisonEvent,
1135 				0, /* Termination */
1136 			}
1137 		},
1138 		{
1139 			.dest = NI_CtrZ(1),
1140 			.src = (int[]){
1141 				NI_PFI(0),
1142 				NI_PFI(1),
1143 				NI_PFI(2),
1144 				NI_PFI(3),
1145 				NI_PFI(4),
1146 				NI_PFI(5),
1147 				NI_PFI(6),
1148 				NI_PFI(7),
1149 				NI_PFI(8),
1150 				NI_PFI(9),
1151 				NI_PFI(10),
1152 				NI_PFI(11),
1153 				NI_PFI(12),
1154 				NI_PFI(13),
1155 				NI_PFI(14),
1156 				NI_PFI(15),
1157 				TRIGGER_LINE(0),
1158 				TRIGGER_LINE(1),
1159 				TRIGGER_LINE(2),
1160 				TRIGGER_LINE(3),
1161 				TRIGGER_LINE(4),
1162 				TRIGGER_LINE(5),
1163 				TRIGGER_LINE(6),
1164 				TRIGGER_LINE(7),
1165 				NI_AnalogComparisonEvent,
1166 				0, /* Termination */
1167 			}
1168 		},
1169 		{
1170 			.dest = NI_CtrArmStartTrigger(0),
1171 			.src = (int[]){
1172 				NI_PFI(0),
1173 				NI_PFI(1),
1174 				NI_PFI(2),
1175 				NI_PFI(3),
1176 				NI_PFI(4),
1177 				NI_PFI(5),
1178 				NI_PFI(6),
1179 				NI_PFI(7),
1180 				NI_PFI(8),
1181 				NI_PFI(9),
1182 				NI_PFI(10),
1183 				NI_PFI(11),
1184 				NI_PFI(12),
1185 				NI_PFI(13),
1186 				NI_PFI(14),
1187 				NI_PFI(15),
1188 				TRIGGER_LINE(0),
1189 				TRIGGER_LINE(1),
1190 				TRIGGER_LINE(2),
1191 				TRIGGER_LINE(3),
1192 				TRIGGER_LINE(4),
1193 				TRIGGER_LINE(5),
1194 				TRIGGER_LINE(6),
1195 				TRIGGER_LINE(7),
1196 				NI_CtrInternalOutput(1),
1197 				NI_AI_StartTrigger,
1198 				NI_AI_ReferenceTrigger,
1199 				NI_AnalogComparisonEvent,
1200 				0, /* Termination */
1201 			}
1202 		},
1203 		{
1204 			.dest = NI_CtrArmStartTrigger(1),
1205 			.src = (int[]){
1206 				NI_PFI(0),
1207 				NI_PFI(1),
1208 				NI_PFI(2),
1209 				NI_PFI(3),
1210 				NI_PFI(4),
1211 				NI_PFI(5),
1212 				NI_PFI(6),
1213 				NI_PFI(7),
1214 				NI_PFI(8),
1215 				NI_PFI(9),
1216 				NI_PFI(10),
1217 				NI_PFI(11),
1218 				NI_PFI(12),
1219 				NI_PFI(13),
1220 				NI_PFI(14),
1221 				NI_PFI(15),
1222 				TRIGGER_LINE(0),
1223 				TRIGGER_LINE(1),
1224 				TRIGGER_LINE(2),
1225 				TRIGGER_LINE(3),
1226 				TRIGGER_LINE(4),
1227 				TRIGGER_LINE(5),
1228 				TRIGGER_LINE(6),
1229 				TRIGGER_LINE(7),
1230 				NI_CtrInternalOutput(0),
1231 				NI_AI_StartTrigger,
1232 				NI_AI_ReferenceTrigger,
1233 				NI_AnalogComparisonEvent,
1234 				0, /* Termination */
1235 			}
1236 		},
1237 		{
1238 			.dest = NI_AI_SampleClock,
1239 			.src = (int[]){
1240 				NI_PFI(0),
1241 				NI_PFI(1),
1242 				NI_PFI(2),
1243 				NI_PFI(3),
1244 				NI_PFI(4),
1245 				NI_PFI(5),
1246 				NI_PFI(6),
1247 				NI_PFI(7),
1248 				NI_PFI(8),
1249 				NI_PFI(9),
1250 				NI_PFI(10),
1251 				NI_PFI(11),
1252 				NI_PFI(12),
1253 				NI_PFI(13),
1254 				NI_PFI(14),
1255 				NI_PFI(15),
1256 				TRIGGER_LINE(0),
1257 				TRIGGER_LINE(1),
1258 				TRIGGER_LINE(2),
1259 				TRIGGER_LINE(3),
1260 				TRIGGER_LINE(4),
1261 				TRIGGER_LINE(5),
1262 				TRIGGER_LINE(6),
1263 				TRIGGER_LINE(7),
1264 				NI_CtrInternalOutput(0),
1265 				NI_CtrInternalOutput(1),
1266 				NI_AI_SampleClockTimebase,
1267 				NI_AnalogComparisonEvent,
1268 				0, /* Termination */
1269 			}
1270 		},
1271 		{
1272 			.dest = NI_AI_SampleClockTimebase,
1273 			.src = (int[]){
1274 				NI_PFI(0),
1275 				NI_PFI(1),
1276 				NI_PFI(2),
1277 				NI_PFI(3),
1278 				NI_PFI(4),
1279 				NI_PFI(5),
1280 				NI_PFI(6),
1281 				NI_PFI(7),
1282 				NI_PFI(8),
1283 				NI_PFI(9),
1284 				NI_PFI(10),
1285 				NI_PFI(11),
1286 				NI_PFI(12),
1287 				NI_PFI(13),
1288 				NI_PFI(14),
1289 				NI_PFI(15),
1290 				TRIGGER_LINE(0),
1291 				TRIGGER_LINE(1),
1292 				TRIGGER_LINE(2),
1293 				TRIGGER_LINE(3),
1294 				TRIGGER_LINE(4),
1295 				TRIGGER_LINE(5),
1296 				TRIGGER_LINE(6),
1297 				TRIGGER_LINE(7),
1298 				NI_20MHzTimebase,
1299 				NI_100kHzTimebase,
1300 				NI_AnalogComparisonEvent,
1301 				0, /* Termination */
1302 			}
1303 		},
1304 		{
1305 			.dest = NI_AI_StartTrigger,
1306 			.src = (int[]){
1307 				NI_PFI(0),
1308 				NI_PFI(1),
1309 				NI_PFI(2),
1310 				NI_PFI(3),
1311 				NI_PFI(4),
1312 				NI_PFI(5),
1313 				NI_PFI(6),
1314 				NI_PFI(7),
1315 				NI_PFI(8),
1316 				NI_PFI(9),
1317 				NI_PFI(10),
1318 				NI_PFI(11),
1319 				NI_PFI(12),
1320 				NI_PFI(13),
1321 				NI_PFI(14),
1322 				NI_PFI(15),
1323 				TRIGGER_LINE(0),
1324 				TRIGGER_LINE(1),
1325 				TRIGGER_LINE(2),
1326 				TRIGGER_LINE(3),
1327 				TRIGGER_LINE(4),
1328 				TRIGGER_LINE(5),
1329 				TRIGGER_LINE(6),
1330 				TRIGGER_LINE(7),
1331 				NI_CtrInternalOutput(0),
1332 				NI_CtrInternalOutput(1),
1333 				NI_AnalogComparisonEvent,
1334 				0, /* Termination */
1335 			}
1336 		},
1337 		{
1338 			.dest = NI_AI_ReferenceTrigger,
1339 			.src = (int[]){
1340 				NI_PFI(0),
1341 				NI_PFI(1),
1342 				NI_PFI(2),
1343 				NI_PFI(3),
1344 				NI_PFI(4),
1345 				NI_PFI(5),
1346 				NI_PFI(6),
1347 				NI_PFI(7),
1348 				NI_PFI(8),
1349 				NI_PFI(9),
1350 				NI_PFI(10),
1351 				NI_PFI(11),
1352 				NI_PFI(12),
1353 				NI_PFI(13),
1354 				NI_PFI(14),
1355 				NI_PFI(15),
1356 				TRIGGER_LINE(0),
1357 				TRIGGER_LINE(1),
1358 				TRIGGER_LINE(2),
1359 				TRIGGER_LINE(3),
1360 				TRIGGER_LINE(4),
1361 				TRIGGER_LINE(5),
1362 				TRIGGER_LINE(6),
1363 				TRIGGER_LINE(7),
1364 				NI_AnalogComparisonEvent,
1365 				0, /* Termination */
1366 			}
1367 		},
1368 		{
1369 			.dest = NI_AI_ConvertClock,
1370 			.src = (int[]){
1371 				NI_PFI(0),
1372 				NI_PFI(1),
1373 				NI_PFI(2),
1374 				NI_PFI(3),
1375 				NI_PFI(4),
1376 				NI_PFI(5),
1377 				NI_PFI(6),
1378 				NI_PFI(7),
1379 				NI_PFI(8),
1380 				NI_PFI(9),
1381 				NI_PFI(10),
1382 				NI_PFI(11),
1383 				NI_PFI(12),
1384 				NI_PFI(13),
1385 				NI_PFI(14),
1386 				NI_PFI(15),
1387 				TRIGGER_LINE(0),
1388 				TRIGGER_LINE(1),
1389 				TRIGGER_LINE(2),
1390 				TRIGGER_LINE(3),
1391 				TRIGGER_LINE(4),
1392 				TRIGGER_LINE(5),
1393 				TRIGGER_LINE(6),
1394 				TRIGGER_LINE(7),
1395 				NI_CtrInternalOutput(0),
1396 				NI_CtrInternalOutput(1),
1397 				NI_AI_ConvertClockTimebase,
1398 				NI_AnalogComparisonEvent,
1399 				0, /* Termination */
1400 			}
1401 		},
1402 		{
1403 			.dest = NI_AI_ConvertClockTimebase,
1404 			.src = (int[]){
1405 				NI_AI_SampleClockTimebase,
1406 				NI_20MHzTimebase,
1407 				0, /* Termination */
1408 			}
1409 		},
1410 		{
1411 			.dest = NI_AI_PauseTrigger,
1412 			.src = (int[]){
1413 				NI_PFI(0),
1414 				NI_PFI(1),
1415 				NI_PFI(2),
1416 				NI_PFI(3),
1417 				NI_PFI(4),
1418 				NI_PFI(5),
1419 				NI_PFI(6),
1420 				NI_PFI(7),
1421 				NI_PFI(8),
1422 				NI_PFI(9),
1423 				NI_PFI(10),
1424 				NI_PFI(11),
1425 				NI_PFI(12),
1426 				NI_PFI(13),
1427 				NI_PFI(14),
1428 				NI_PFI(15),
1429 				TRIGGER_LINE(0),
1430 				TRIGGER_LINE(1),
1431 				TRIGGER_LINE(2),
1432 				TRIGGER_LINE(3),
1433 				TRIGGER_LINE(4),
1434 				TRIGGER_LINE(5),
1435 				TRIGGER_LINE(6),
1436 				TRIGGER_LINE(7),
1437 				NI_AnalogComparisonEvent,
1438 				0, /* Termination */
1439 			}
1440 		},
1441 		{
1442 			.dest = NI_AO_SampleClock,
1443 			.src = (int[]){
1444 				NI_PFI(0),
1445 				NI_PFI(1),
1446 				NI_PFI(2),
1447 				NI_PFI(3),
1448 				NI_PFI(4),
1449 				NI_PFI(5),
1450 				NI_PFI(6),
1451 				NI_PFI(7),
1452 				NI_PFI(8),
1453 				NI_PFI(9),
1454 				NI_PFI(10),
1455 				NI_PFI(11),
1456 				NI_PFI(12),
1457 				NI_PFI(13),
1458 				NI_PFI(14),
1459 				NI_PFI(15),
1460 				TRIGGER_LINE(0),
1461 				TRIGGER_LINE(1),
1462 				TRIGGER_LINE(2),
1463 				TRIGGER_LINE(3),
1464 				TRIGGER_LINE(4),
1465 				TRIGGER_LINE(5),
1466 				TRIGGER_LINE(6),
1467 				TRIGGER_LINE(7),
1468 				NI_CtrInternalOutput(0),
1469 				NI_CtrInternalOutput(1),
1470 				NI_AO_SampleClockTimebase,
1471 				NI_AnalogComparisonEvent,
1472 				0, /* Termination */
1473 			}
1474 		},
1475 		{
1476 			.dest = NI_AO_SampleClockTimebase,
1477 			.src = (int[]){
1478 				NI_PFI(0),
1479 				NI_PFI(1),
1480 				NI_PFI(2),
1481 				NI_PFI(3),
1482 				NI_PFI(4),
1483 				NI_PFI(5),
1484 				NI_PFI(6),
1485 				NI_PFI(7),
1486 				NI_PFI(8),
1487 				NI_PFI(9),
1488 				NI_PFI(10),
1489 				NI_PFI(11),
1490 				NI_PFI(12),
1491 				NI_PFI(13),
1492 				NI_PFI(14),
1493 				NI_PFI(15),
1494 				TRIGGER_LINE(0),
1495 				TRIGGER_LINE(1),
1496 				TRIGGER_LINE(2),
1497 				TRIGGER_LINE(3),
1498 				TRIGGER_LINE(4),
1499 				TRIGGER_LINE(5),
1500 				TRIGGER_LINE(6),
1501 				TRIGGER_LINE(7),
1502 				NI_20MHzTimebase,
1503 				NI_100kHzTimebase,
1504 				NI_AnalogComparisonEvent,
1505 				0, /* Termination */
1506 			}
1507 		},
1508 		{
1509 			.dest = NI_AO_StartTrigger,
1510 			.src = (int[]){
1511 				NI_PFI(0),
1512 				NI_PFI(1),
1513 				NI_PFI(2),
1514 				NI_PFI(3),
1515 				NI_PFI(4),
1516 				NI_PFI(5),
1517 				NI_PFI(6),
1518 				NI_PFI(7),
1519 				NI_PFI(8),
1520 				NI_PFI(9),
1521 				NI_PFI(10),
1522 				NI_PFI(11),
1523 				NI_PFI(12),
1524 				NI_PFI(13),
1525 				NI_PFI(14),
1526 				NI_PFI(15),
1527 				TRIGGER_LINE(0),
1528 				TRIGGER_LINE(1),
1529 				TRIGGER_LINE(2),
1530 				TRIGGER_LINE(3),
1531 				TRIGGER_LINE(4),
1532 				TRIGGER_LINE(5),
1533 				TRIGGER_LINE(6),
1534 				TRIGGER_LINE(7),
1535 				NI_AI_StartTrigger,
1536 				NI_AnalogComparisonEvent,
1537 				0, /* Termination */
1538 			}
1539 		},
1540 		{
1541 			.dest = NI_AO_PauseTrigger,
1542 			.src = (int[]){
1543 				NI_PFI(0),
1544 				NI_PFI(1),
1545 				NI_PFI(2),
1546 				NI_PFI(3),
1547 				NI_PFI(4),
1548 				NI_PFI(5),
1549 				NI_PFI(6),
1550 				NI_PFI(7),
1551 				NI_PFI(8),
1552 				NI_PFI(9),
1553 				NI_PFI(10),
1554 				NI_PFI(11),
1555 				NI_PFI(12),
1556 				NI_PFI(13),
1557 				NI_PFI(14),
1558 				NI_PFI(15),
1559 				TRIGGER_LINE(0),
1560 				TRIGGER_LINE(1),
1561 				TRIGGER_LINE(2),
1562 				TRIGGER_LINE(3),
1563 				TRIGGER_LINE(4),
1564 				TRIGGER_LINE(5),
1565 				TRIGGER_LINE(6),
1566 				TRIGGER_LINE(7),
1567 				NI_AnalogComparisonEvent,
1568 				0, /* Termination */
1569 			}
1570 		},
1571 		{
1572 			.dest = NI_DI_SampleClock,
1573 			.src = (int[]){
1574 				NI_PFI(0),
1575 				NI_PFI(1),
1576 				NI_PFI(2),
1577 				NI_PFI(3),
1578 				NI_PFI(4),
1579 				NI_PFI(5),
1580 				NI_PFI(6),
1581 				NI_PFI(7),
1582 				NI_PFI(8),
1583 				NI_PFI(9),
1584 				NI_PFI(10),
1585 				NI_PFI(11),
1586 				NI_PFI(12),
1587 				NI_PFI(13),
1588 				NI_PFI(14),
1589 				NI_PFI(15),
1590 				TRIGGER_LINE(0),
1591 				TRIGGER_LINE(1),
1592 				TRIGGER_LINE(2),
1593 				TRIGGER_LINE(3),
1594 				TRIGGER_LINE(4),
1595 				TRIGGER_LINE(5),
1596 				TRIGGER_LINE(6),
1597 				TRIGGER_LINE(7),
1598 				NI_CtrInternalOutput(0),
1599 				NI_CtrInternalOutput(1),
1600 				NI_AI_SampleClock,
1601 				NI_AI_ConvertClock,
1602 				NI_AO_SampleClock,
1603 				NI_FrequencyOutput,
1604 				NI_ChangeDetectionEvent,
1605 				NI_AnalogComparisonEvent,
1606 				0, /* Termination */
1607 			}
1608 		},
1609 		{
1610 			.dest = NI_DO_SampleClock,
1611 			.src = (int[]){
1612 				NI_PFI(0),
1613 				NI_PFI(1),
1614 				NI_PFI(2),
1615 				NI_PFI(3),
1616 				NI_PFI(4),
1617 				NI_PFI(5),
1618 				NI_PFI(6),
1619 				NI_PFI(7),
1620 				NI_PFI(8),
1621 				NI_PFI(9),
1622 				NI_PFI(10),
1623 				NI_PFI(11),
1624 				NI_PFI(12),
1625 				NI_PFI(13),
1626 				NI_PFI(14),
1627 				NI_PFI(15),
1628 				TRIGGER_LINE(0),
1629 				TRIGGER_LINE(1),
1630 				TRIGGER_LINE(2),
1631 				TRIGGER_LINE(3),
1632 				TRIGGER_LINE(4),
1633 				TRIGGER_LINE(5),
1634 				TRIGGER_LINE(6),
1635 				TRIGGER_LINE(7),
1636 				NI_CtrInternalOutput(0),
1637 				NI_CtrInternalOutput(1),
1638 				NI_AI_SampleClock,
1639 				NI_AI_ConvertClock,
1640 				NI_AO_SampleClock,
1641 				NI_FrequencyOutput,
1642 				NI_ChangeDetectionEvent,
1643 				NI_AnalogComparisonEvent,
1644 				0, /* Termination */
1645 			}
1646 		},
1647 		{ /* Termination of list */
1648 			.dest = 0,
1649 		},
1650 	},
1651 };
1652