root/drivers/staging/comedi/drivers/ni_routing/ni_device_routes/pci-6221.c

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

/* [<][>][^][v][top][bottom][index][help] */