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