1*8ffdff6aSGreg Kroah-Hartman // SPDX-License-Identifier: GPL-2.0+ 2*8ffdff6aSGreg Kroah-Hartman /* 3*8ffdff6aSGreg Kroah-Hartman * comedi/drivers/ni_routing/ni_device_routes/pxi-6030e.c 4*8ffdff6aSGreg Kroah-Hartman * List of valid routes for specific NI boards. 5*8ffdff6aSGreg Kroah-Hartman * 6*8ffdff6aSGreg Kroah-Hartman * COMEDI - Linux Control and Measurement Device Interface 7*8ffdff6aSGreg Kroah-Hartman * Copyright (C) 2016 Spencer E. Olson <olsonse@umich.edu> 8*8ffdff6aSGreg Kroah-Hartman * 9*8ffdff6aSGreg Kroah-Hartman * This program is free software; you can redistribute it and/or modify 10*8ffdff6aSGreg Kroah-Hartman * it under the terms of the GNU General Public License as published by 11*8ffdff6aSGreg Kroah-Hartman * the Free Software Foundation; either version 2 of the License, or 12*8ffdff6aSGreg Kroah-Hartman * (at your option) any later version. 13*8ffdff6aSGreg Kroah-Hartman * 14*8ffdff6aSGreg Kroah-Hartman * This program is distributed in the hope that it will be useful, 15*8ffdff6aSGreg Kroah-Hartman * but WITHOUT ANY WARRANTY; without even the implied warranty of 16*8ffdff6aSGreg Kroah-Hartman * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17*8ffdff6aSGreg Kroah-Hartman * GNU General Public License for more details. 18*8ffdff6aSGreg Kroah-Hartman */ 19*8ffdff6aSGreg Kroah-Hartman 20*8ffdff6aSGreg Kroah-Hartman /* 21*8ffdff6aSGreg Kroah-Hartman * The contents of this file are generated using the tools in 22*8ffdff6aSGreg Kroah-Hartman * comedi/drivers/ni_routing/tools 23*8ffdff6aSGreg Kroah-Hartman * 24*8ffdff6aSGreg Kroah-Hartman * Please use those tools to help maintain the contents of this file. 25*8ffdff6aSGreg Kroah-Hartman */ 26*8ffdff6aSGreg Kroah-Hartman 27*8ffdff6aSGreg Kroah-Hartman #include "../ni_device_routes.h" 28*8ffdff6aSGreg Kroah-Hartman #include "all.h" 29*8ffdff6aSGreg Kroah-Hartman 30*8ffdff6aSGreg Kroah-Hartman struct ni_device_routes ni_pxi_6030e_device_routes = { 31*8ffdff6aSGreg Kroah-Hartman .device = "pxi-6030e", 32*8ffdff6aSGreg Kroah-Hartman .routes = (struct ni_route_set[]){ 33*8ffdff6aSGreg Kroah-Hartman { 34*8ffdff6aSGreg Kroah-Hartman .dest = NI_PFI(0), 35*8ffdff6aSGreg Kroah-Hartman .src = (int[]){ 36*8ffdff6aSGreg Kroah-Hartman NI_AI_StartTrigger, 37*8ffdff6aSGreg Kroah-Hartman 0, /* Termination */ 38*8ffdff6aSGreg Kroah-Hartman } 39*8ffdff6aSGreg Kroah-Hartman }, 40*8ffdff6aSGreg Kroah-Hartman { 41*8ffdff6aSGreg Kroah-Hartman .dest = NI_PFI(1), 42*8ffdff6aSGreg Kroah-Hartman .src = (int[]){ 43*8ffdff6aSGreg Kroah-Hartman NI_AI_ReferenceTrigger, 44*8ffdff6aSGreg Kroah-Hartman 0, /* Termination */ 45*8ffdff6aSGreg Kroah-Hartman } 46*8ffdff6aSGreg Kroah-Hartman }, 47*8ffdff6aSGreg Kroah-Hartman { 48*8ffdff6aSGreg Kroah-Hartman .dest = NI_PFI(2), 49*8ffdff6aSGreg Kroah-Hartman .src = (int[]){ 50*8ffdff6aSGreg Kroah-Hartman NI_AI_ConvertClock, 51*8ffdff6aSGreg Kroah-Hartman 0, /* Termination */ 52*8ffdff6aSGreg Kroah-Hartman } 53*8ffdff6aSGreg Kroah-Hartman }, 54*8ffdff6aSGreg Kroah-Hartman { 55*8ffdff6aSGreg Kroah-Hartman .dest = NI_PFI(3), 56*8ffdff6aSGreg Kroah-Hartman .src = (int[]){ 57*8ffdff6aSGreg Kroah-Hartman NI_CtrSource(1), 58*8ffdff6aSGreg Kroah-Hartman 0, /* Termination */ 59*8ffdff6aSGreg Kroah-Hartman } 60*8ffdff6aSGreg Kroah-Hartman }, 61*8ffdff6aSGreg Kroah-Hartman { 62*8ffdff6aSGreg Kroah-Hartman .dest = NI_PFI(4), 63*8ffdff6aSGreg Kroah-Hartman .src = (int[]){ 64*8ffdff6aSGreg Kroah-Hartman NI_CtrGate(1), 65*8ffdff6aSGreg Kroah-Hartman 0, /* Termination */ 66*8ffdff6aSGreg Kroah-Hartman } 67*8ffdff6aSGreg Kroah-Hartman }, 68*8ffdff6aSGreg Kroah-Hartman { 69*8ffdff6aSGreg Kroah-Hartman .dest = NI_PFI(5), 70*8ffdff6aSGreg Kroah-Hartman .src = (int[]){ 71*8ffdff6aSGreg Kroah-Hartman NI_AO_SampleClock, 72*8ffdff6aSGreg Kroah-Hartman 0, /* Termination */ 73*8ffdff6aSGreg Kroah-Hartman } 74*8ffdff6aSGreg Kroah-Hartman }, 75*8ffdff6aSGreg Kroah-Hartman { 76*8ffdff6aSGreg Kroah-Hartman .dest = NI_PFI(6), 77*8ffdff6aSGreg Kroah-Hartman .src = (int[]){ 78*8ffdff6aSGreg Kroah-Hartman NI_AO_StartTrigger, 79*8ffdff6aSGreg Kroah-Hartman 0, /* Termination */ 80*8ffdff6aSGreg Kroah-Hartman } 81*8ffdff6aSGreg Kroah-Hartman }, 82*8ffdff6aSGreg Kroah-Hartman { 83*8ffdff6aSGreg Kroah-Hartman .dest = NI_PFI(7), 84*8ffdff6aSGreg Kroah-Hartman .src = (int[]){ 85*8ffdff6aSGreg Kroah-Hartman NI_AI_SampleClock, 86*8ffdff6aSGreg Kroah-Hartman 0, /* Termination */ 87*8ffdff6aSGreg Kroah-Hartman } 88*8ffdff6aSGreg Kroah-Hartman }, 89*8ffdff6aSGreg Kroah-Hartman { 90*8ffdff6aSGreg Kroah-Hartman .dest = NI_PFI(8), 91*8ffdff6aSGreg Kroah-Hartman .src = (int[]){ 92*8ffdff6aSGreg Kroah-Hartman NI_CtrSource(0), 93*8ffdff6aSGreg Kroah-Hartman 0, /* Termination */ 94*8ffdff6aSGreg Kroah-Hartman } 95*8ffdff6aSGreg Kroah-Hartman }, 96*8ffdff6aSGreg Kroah-Hartman { 97*8ffdff6aSGreg Kroah-Hartman .dest = NI_PFI(9), 98*8ffdff6aSGreg Kroah-Hartman .src = (int[]){ 99*8ffdff6aSGreg Kroah-Hartman NI_CtrGate(0), 100*8ffdff6aSGreg Kroah-Hartman 0, /* Termination */ 101*8ffdff6aSGreg Kroah-Hartman } 102*8ffdff6aSGreg Kroah-Hartman }, 103*8ffdff6aSGreg Kroah-Hartman { 104*8ffdff6aSGreg Kroah-Hartman .dest = TRIGGER_LINE(0), 105*8ffdff6aSGreg Kroah-Hartman .src = (int[]){ 106*8ffdff6aSGreg Kroah-Hartman NI_CtrSource(0), 107*8ffdff6aSGreg Kroah-Hartman NI_CtrGate(0), 108*8ffdff6aSGreg Kroah-Hartman NI_CtrInternalOutput(0), 109*8ffdff6aSGreg Kroah-Hartman NI_CtrOut(0), 110*8ffdff6aSGreg Kroah-Hartman NI_AI_SampleClock, 111*8ffdff6aSGreg Kroah-Hartman NI_AI_StartTrigger, 112*8ffdff6aSGreg Kroah-Hartman NI_AI_ReferenceTrigger, 113*8ffdff6aSGreg Kroah-Hartman NI_AI_ConvertClock, 114*8ffdff6aSGreg Kroah-Hartman NI_AO_SampleClock, 115*8ffdff6aSGreg Kroah-Hartman NI_AO_StartTrigger, 116*8ffdff6aSGreg Kroah-Hartman 0, /* Termination */ 117*8ffdff6aSGreg Kroah-Hartman } 118*8ffdff6aSGreg Kroah-Hartman }, 119*8ffdff6aSGreg Kroah-Hartman { 120*8ffdff6aSGreg Kroah-Hartman .dest = TRIGGER_LINE(1), 121*8ffdff6aSGreg Kroah-Hartman .src = (int[]){ 122*8ffdff6aSGreg Kroah-Hartman NI_CtrSource(0), 123*8ffdff6aSGreg Kroah-Hartman NI_CtrGate(0), 124*8ffdff6aSGreg Kroah-Hartman NI_CtrInternalOutput(0), 125*8ffdff6aSGreg Kroah-Hartman NI_CtrOut(0), 126*8ffdff6aSGreg Kroah-Hartman NI_AI_SampleClock, 127*8ffdff6aSGreg Kroah-Hartman NI_AI_StartTrigger, 128*8ffdff6aSGreg Kroah-Hartman NI_AI_ReferenceTrigger, 129*8ffdff6aSGreg Kroah-Hartman NI_AI_ConvertClock, 130*8ffdff6aSGreg Kroah-Hartman NI_AO_SampleClock, 131*8ffdff6aSGreg Kroah-Hartman NI_AO_StartTrigger, 132*8ffdff6aSGreg Kroah-Hartman 0, /* Termination */ 133*8ffdff6aSGreg Kroah-Hartman } 134*8ffdff6aSGreg Kroah-Hartman }, 135*8ffdff6aSGreg Kroah-Hartman { 136*8ffdff6aSGreg Kroah-Hartman .dest = TRIGGER_LINE(2), 137*8ffdff6aSGreg Kroah-Hartman .src = (int[]){ 138*8ffdff6aSGreg Kroah-Hartman NI_CtrSource(0), 139*8ffdff6aSGreg Kroah-Hartman NI_CtrGate(0), 140*8ffdff6aSGreg Kroah-Hartman NI_CtrInternalOutput(0), 141*8ffdff6aSGreg Kroah-Hartman NI_CtrOut(0), 142*8ffdff6aSGreg Kroah-Hartman NI_AI_SampleClock, 143*8ffdff6aSGreg Kroah-Hartman NI_AI_StartTrigger, 144*8ffdff6aSGreg Kroah-Hartman NI_AI_ReferenceTrigger, 145*8ffdff6aSGreg Kroah-Hartman NI_AI_ConvertClock, 146*8ffdff6aSGreg Kroah-Hartman NI_AO_SampleClock, 147*8ffdff6aSGreg Kroah-Hartman NI_AO_StartTrigger, 148*8ffdff6aSGreg Kroah-Hartman 0, /* Termination */ 149*8ffdff6aSGreg Kroah-Hartman } 150*8ffdff6aSGreg Kroah-Hartman }, 151*8ffdff6aSGreg Kroah-Hartman { 152*8ffdff6aSGreg Kroah-Hartman .dest = TRIGGER_LINE(3), 153*8ffdff6aSGreg Kroah-Hartman .src = (int[]){ 154*8ffdff6aSGreg Kroah-Hartman NI_CtrSource(0), 155*8ffdff6aSGreg Kroah-Hartman NI_CtrGate(0), 156*8ffdff6aSGreg Kroah-Hartman NI_CtrInternalOutput(0), 157*8ffdff6aSGreg Kroah-Hartman NI_CtrOut(0), 158*8ffdff6aSGreg Kroah-Hartman NI_AI_SampleClock, 159*8ffdff6aSGreg Kroah-Hartman NI_AI_StartTrigger, 160*8ffdff6aSGreg Kroah-Hartman NI_AI_ReferenceTrigger, 161*8ffdff6aSGreg Kroah-Hartman NI_AI_ConvertClock, 162*8ffdff6aSGreg Kroah-Hartman NI_AO_SampleClock, 163*8ffdff6aSGreg Kroah-Hartman NI_AO_StartTrigger, 164*8ffdff6aSGreg Kroah-Hartman 0, /* Termination */ 165*8ffdff6aSGreg Kroah-Hartman } 166*8ffdff6aSGreg Kroah-Hartman }, 167*8ffdff6aSGreg Kroah-Hartman { 168*8ffdff6aSGreg Kroah-Hartman .dest = TRIGGER_LINE(4), 169*8ffdff6aSGreg Kroah-Hartman .src = (int[]){ 170*8ffdff6aSGreg Kroah-Hartman NI_CtrSource(0), 171*8ffdff6aSGreg Kroah-Hartman NI_CtrGate(0), 172*8ffdff6aSGreg Kroah-Hartman NI_CtrInternalOutput(0), 173*8ffdff6aSGreg Kroah-Hartman NI_CtrOut(0), 174*8ffdff6aSGreg Kroah-Hartman NI_AI_SampleClock, 175*8ffdff6aSGreg Kroah-Hartman NI_AI_StartTrigger, 176*8ffdff6aSGreg Kroah-Hartman NI_AI_ReferenceTrigger, 177*8ffdff6aSGreg Kroah-Hartman NI_AI_ConvertClock, 178*8ffdff6aSGreg Kroah-Hartman NI_AO_SampleClock, 179*8ffdff6aSGreg Kroah-Hartman NI_AO_StartTrigger, 180*8ffdff6aSGreg Kroah-Hartman 0, /* Termination */ 181*8ffdff6aSGreg Kroah-Hartman } 182*8ffdff6aSGreg Kroah-Hartman }, 183*8ffdff6aSGreg Kroah-Hartman { 184*8ffdff6aSGreg Kroah-Hartman .dest = TRIGGER_LINE(5), 185*8ffdff6aSGreg Kroah-Hartman .src = (int[]){ 186*8ffdff6aSGreg Kroah-Hartman NI_CtrSource(0), 187*8ffdff6aSGreg Kroah-Hartman NI_CtrGate(0), 188*8ffdff6aSGreg Kroah-Hartman NI_CtrInternalOutput(0), 189*8ffdff6aSGreg Kroah-Hartman NI_CtrOut(0), 190*8ffdff6aSGreg Kroah-Hartman NI_AI_SampleClock, 191*8ffdff6aSGreg Kroah-Hartman NI_AI_StartTrigger, 192*8ffdff6aSGreg Kroah-Hartman NI_AI_ReferenceTrigger, 193*8ffdff6aSGreg Kroah-Hartman NI_AI_ConvertClock, 194*8ffdff6aSGreg Kroah-Hartman NI_AO_SampleClock, 195*8ffdff6aSGreg Kroah-Hartman NI_AO_StartTrigger, 196*8ffdff6aSGreg Kroah-Hartman 0, /* Termination */ 197*8ffdff6aSGreg Kroah-Hartman } 198*8ffdff6aSGreg Kroah-Hartman }, 199*8ffdff6aSGreg Kroah-Hartman { 200*8ffdff6aSGreg Kroah-Hartman .dest = TRIGGER_LINE(7), 201*8ffdff6aSGreg Kroah-Hartman .src = (int[]){ 202*8ffdff6aSGreg Kroah-Hartman NI_20MHzTimebase, 203*8ffdff6aSGreg Kroah-Hartman 0, /* Termination */ 204*8ffdff6aSGreg Kroah-Hartman } 205*8ffdff6aSGreg Kroah-Hartman }, 206*8ffdff6aSGreg Kroah-Hartman { 207*8ffdff6aSGreg Kroah-Hartman .dest = NI_CtrSource(0), 208*8ffdff6aSGreg Kroah-Hartman .src = (int[]){ 209*8ffdff6aSGreg Kroah-Hartman NI_PFI(0), 210*8ffdff6aSGreg Kroah-Hartman NI_PFI(1), 211*8ffdff6aSGreg Kroah-Hartman NI_PFI(2), 212*8ffdff6aSGreg Kroah-Hartman NI_PFI(3), 213*8ffdff6aSGreg Kroah-Hartman NI_PFI(4), 214*8ffdff6aSGreg Kroah-Hartman NI_PFI(5), 215*8ffdff6aSGreg Kroah-Hartman NI_PFI(6), 216*8ffdff6aSGreg Kroah-Hartman NI_PFI(7), 217*8ffdff6aSGreg Kroah-Hartman NI_PFI(8), 218*8ffdff6aSGreg Kroah-Hartman NI_PFI(9), 219*8ffdff6aSGreg Kroah-Hartman TRIGGER_LINE(0), 220*8ffdff6aSGreg Kroah-Hartman TRIGGER_LINE(1), 221*8ffdff6aSGreg Kroah-Hartman TRIGGER_LINE(2), 222*8ffdff6aSGreg Kroah-Hartman TRIGGER_LINE(3), 223*8ffdff6aSGreg Kroah-Hartman TRIGGER_LINE(4), 224*8ffdff6aSGreg Kroah-Hartman TRIGGER_LINE(5), 225*8ffdff6aSGreg Kroah-Hartman TRIGGER_LINE(7), 226*8ffdff6aSGreg Kroah-Hartman NI_MasterTimebase, 227*8ffdff6aSGreg Kroah-Hartman NI_20MHzTimebase, 228*8ffdff6aSGreg Kroah-Hartman NI_100kHzTimebase, 229*8ffdff6aSGreg Kroah-Hartman NI_AnalogComparisonEvent, 230*8ffdff6aSGreg Kroah-Hartman 0, /* Termination */ 231*8ffdff6aSGreg Kroah-Hartman } 232*8ffdff6aSGreg Kroah-Hartman }, 233*8ffdff6aSGreg Kroah-Hartman { 234*8ffdff6aSGreg Kroah-Hartman .dest = NI_CtrSource(1), 235*8ffdff6aSGreg Kroah-Hartman .src = (int[]){ 236*8ffdff6aSGreg Kroah-Hartman NI_PFI(0), 237*8ffdff6aSGreg Kroah-Hartman NI_PFI(1), 238*8ffdff6aSGreg Kroah-Hartman NI_PFI(2), 239*8ffdff6aSGreg Kroah-Hartman NI_PFI(3), 240*8ffdff6aSGreg Kroah-Hartman NI_PFI(4), 241*8ffdff6aSGreg Kroah-Hartman NI_PFI(5), 242*8ffdff6aSGreg Kroah-Hartman NI_PFI(6), 243*8ffdff6aSGreg Kroah-Hartman NI_PFI(7), 244*8ffdff6aSGreg Kroah-Hartman NI_PFI(8), 245*8ffdff6aSGreg Kroah-Hartman NI_PFI(9), 246*8ffdff6aSGreg Kroah-Hartman TRIGGER_LINE(0), 247*8ffdff6aSGreg Kroah-Hartman TRIGGER_LINE(1), 248*8ffdff6aSGreg Kroah-Hartman TRIGGER_LINE(2), 249*8ffdff6aSGreg Kroah-Hartman TRIGGER_LINE(3), 250*8ffdff6aSGreg Kroah-Hartman TRIGGER_LINE(4), 251*8ffdff6aSGreg Kroah-Hartman TRIGGER_LINE(5), 252*8ffdff6aSGreg Kroah-Hartman TRIGGER_LINE(7), 253*8ffdff6aSGreg Kroah-Hartman NI_MasterTimebase, 254*8ffdff6aSGreg Kroah-Hartman NI_20MHzTimebase, 255*8ffdff6aSGreg Kroah-Hartman NI_100kHzTimebase, 256*8ffdff6aSGreg Kroah-Hartman NI_AnalogComparisonEvent, 257*8ffdff6aSGreg Kroah-Hartman 0, /* Termination */ 258*8ffdff6aSGreg Kroah-Hartman } 259*8ffdff6aSGreg Kroah-Hartman }, 260*8ffdff6aSGreg Kroah-Hartman { 261*8ffdff6aSGreg Kroah-Hartman .dest = NI_CtrGate(0), 262*8ffdff6aSGreg Kroah-Hartman .src = (int[]){ 263*8ffdff6aSGreg Kroah-Hartman NI_PFI(0), 264*8ffdff6aSGreg Kroah-Hartman NI_PFI(1), 265*8ffdff6aSGreg Kroah-Hartman NI_PFI(2), 266*8ffdff6aSGreg Kroah-Hartman NI_PFI(3), 267*8ffdff6aSGreg Kroah-Hartman NI_PFI(4), 268*8ffdff6aSGreg Kroah-Hartman NI_PFI(5), 269*8ffdff6aSGreg Kroah-Hartman NI_PFI(6), 270*8ffdff6aSGreg Kroah-Hartman NI_PFI(7), 271*8ffdff6aSGreg Kroah-Hartman NI_PFI(8), 272*8ffdff6aSGreg Kroah-Hartman NI_PFI(9), 273*8ffdff6aSGreg Kroah-Hartman TRIGGER_LINE(0), 274*8ffdff6aSGreg Kroah-Hartman TRIGGER_LINE(1), 275*8ffdff6aSGreg Kroah-Hartman TRIGGER_LINE(2), 276*8ffdff6aSGreg Kroah-Hartman TRIGGER_LINE(3), 277*8ffdff6aSGreg Kroah-Hartman TRIGGER_LINE(4), 278*8ffdff6aSGreg Kroah-Hartman TRIGGER_LINE(5), 279*8ffdff6aSGreg Kroah-Hartman NI_CtrInternalOutput(1), 280*8ffdff6aSGreg Kroah-Hartman NI_AI_StartTrigger, 281*8ffdff6aSGreg Kroah-Hartman NI_AI_ReferenceTrigger, 282*8ffdff6aSGreg Kroah-Hartman NI_AnalogComparisonEvent, 283*8ffdff6aSGreg Kroah-Hartman 0, /* Termination */ 284*8ffdff6aSGreg Kroah-Hartman } 285*8ffdff6aSGreg Kroah-Hartman }, 286*8ffdff6aSGreg Kroah-Hartman { 287*8ffdff6aSGreg Kroah-Hartman .dest = NI_CtrGate(1), 288*8ffdff6aSGreg Kroah-Hartman .src = (int[]){ 289*8ffdff6aSGreg Kroah-Hartman NI_PFI(0), 290*8ffdff6aSGreg Kroah-Hartman NI_PFI(1), 291*8ffdff6aSGreg Kroah-Hartman NI_PFI(2), 292*8ffdff6aSGreg Kroah-Hartman NI_PFI(3), 293*8ffdff6aSGreg Kroah-Hartman NI_PFI(4), 294*8ffdff6aSGreg Kroah-Hartman NI_PFI(5), 295*8ffdff6aSGreg Kroah-Hartman NI_PFI(6), 296*8ffdff6aSGreg Kroah-Hartman NI_PFI(7), 297*8ffdff6aSGreg Kroah-Hartman NI_PFI(8), 298*8ffdff6aSGreg Kroah-Hartman NI_PFI(9), 299*8ffdff6aSGreg Kroah-Hartman TRIGGER_LINE(0), 300*8ffdff6aSGreg Kroah-Hartman TRIGGER_LINE(1), 301*8ffdff6aSGreg Kroah-Hartman TRIGGER_LINE(2), 302*8ffdff6aSGreg Kroah-Hartman TRIGGER_LINE(3), 303*8ffdff6aSGreg Kroah-Hartman TRIGGER_LINE(4), 304*8ffdff6aSGreg Kroah-Hartman TRIGGER_LINE(5), 305*8ffdff6aSGreg Kroah-Hartman NI_CtrInternalOutput(0), 306*8ffdff6aSGreg Kroah-Hartman NI_AI_StartTrigger, 307*8ffdff6aSGreg Kroah-Hartman NI_AI_ReferenceTrigger, 308*8ffdff6aSGreg Kroah-Hartman NI_AnalogComparisonEvent, 309*8ffdff6aSGreg Kroah-Hartman 0, /* Termination */ 310*8ffdff6aSGreg Kroah-Hartman } 311*8ffdff6aSGreg Kroah-Hartman }, 312*8ffdff6aSGreg Kroah-Hartman { 313*8ffdff6aSGreg Kroah-Hartman .dest = NI_CtrOut(0), 314*8ffdff6aSGreg Kroah-Hartman .src = (int[]){ 315*8ffdff6aSGreg Kroah-Hartman TRIGGER_LINE(0), 316*8ffdff6aSGreg Kroah-Hartman TRIGGER_LINE(1), 317*8ffdff6aSGreg Kroah-Hartman TRIGGER_LINE(2), 318*8ffdff6aSGreg Kroah-Hartman TRIGGER_LINE(3), 319*8ffdff6aSGreg Kroah-Hartman TRIGGER_LINE(4), 320*8ffdff6aSGreg Kroah-Hartman TRIGGER_LINE(5), 321*8ffdff6aSGreg Kroah-Hartman NI_CtrInternalOutput(0), 322*8ffdff6aSGreg Kroah-Hartman 0, /* Termination */ 323*8ffdff6aSGreg Kroah-Hartman } 324*8ffdff6aSGreg Kroah-Hartman }, 325*8ffdff6aSGreg Kroah-Hartman { 326*8ffdff6aSGreg Kroah-Hartman .dest = NI_CtrOut(1), 327*8ffdff6aSGreg Kroah-Hartman .src = (int[]){ 328*8ffdff6aSGreg Kroah-Hartman NI_CtrInternalOutput(1), 329*8ffdff6aSGreg Kroah-Hartman 0, /* Termination */ 330*8ffdff6aSGreg Kroah-Hartman } 331*8ffdff6aSGreg Kroah-Hartman }, 332*8ffdff6aSGreg Kroah-Hartman { 333*8ffdff6aSGreg Kroah-Hartman .dest = NI_AI_SampleClock, 334*8ffdff6aSGreg Kroah-Hartman .src = (int[]){ 335*8ffdff6aSGreg Kroah-Hartman NI_PFI(0), 336*8ffdff6aSGreg Kroah-Hartman NI_PFI(1), 337*8ffdff6aSGreg Kroah-Hartman NI_PFI(2), 338*8ffdff6aSGreg Kroah-Hartman NI_PFI(3), 339*8ffdff6aSGreg Kroah-Hartman NI_PFI(4), 340*8ffdff6aSGreg Kroah-Hartman NI_PFI(5), 341*8ffdff6aSGreg Kroah-Hartman NI_PFI(6), 342*8ffdff6aSGreg Kroah-Hartman NI_PFI(7), 343*8ffdff6aSGreg Kroah-Hartman NI_PFI(8), 344*8ffdff6aSGreg Kroah-Hartman NI_PFI(9), 345*8ffdff6aSGreg Kroah-Hartman TRIGGER_LINE(0), 346*8ffdff6aSGreg Kroah-Hartman TRIGGER_LINE(1), 347*8ffdff6aSGreg Kroah-Hartman TRIGGER_LINE(2), 348*8ffdff6aSGreg Kroah-Hartman TRIGGER_LINE(3), 349*8ffdff6aSGreg Kroah-Hartman TRIGGER_LINE(4), 350*8ffdff6aSGreg Kroah-Hartman TRIGGER_LINE(5), 351*8ffdff6aSGreg Kroah-Hartman NI_CtrInternalOutput(0), 352*8ffdff6aSGreg Kroah-Hartman NI_AI_SampleClockTimebase, 353*8ffdff6aSGreg Kroah-Hartman NI_AnalogComparisonEvent, 354*8ffdff6aSGreg Kroah-Hartman 0, /* Termination */ 355*8ffdff6aSGreg Kroah-Hartman } 356*8ffdff6aSGreg Kroah-Hartman }, 357*8ffdff6aSGreg Kroah-Hartman { 358*8ffdff6aSGreg Kroah-Hartman .dest = NI_AI_SampleClockTimebase, 359*8ffdff6aSGreg Kroah-Hartman .src = (int[]){ 360*8ffdff6aSGreg Kroah-Hartman NI_PFI(0), 361*8ffdff6aSGreg Kroah-Hartman NI_PFI(1), 362*8ffdff6aSGreg Kroah-Hartman NI_PFI(2), 363*8ffdff6aSGreg Kroah-Hartman NI_PFI(3), 364*8ffdff6aSGreg Kroah-Hartman NI_PFI(4), 365*8ffdff6aSGreg Kroah-Hartman NI_PFI(5), 366*8ffdff6aSGreg Kroah-Hartman NI_PFI(6), 367*8ffdff6aSGreg Kroah-Hartman NI_PFI(7), 368*8ffdff6aSGreg Kroah-Hartman NI_PFI(8), 369*8ffdff6aSGreg Kroah-Hartman NI_PFI(9), 370*8ffdff6aSGreg Kroah-Hartman TRIGGER_LINE(0), 371*8ffdff6aSGreg Kroah-Hartman TRIGGER_LINE(1), 372*8ffdff6aSGreg Kroah-Hartman TRIGGER_LINE(2), 373*8ffdff6aSGreg Kroah-Hartman TRIGGER_LINE(3), 374*8ffdff6aSGreg Kroah-Hartman TRIGGER_LINE(4), 375*8ffdff6aSGreg Kroah-Hartman TRIGGER_LINE(5), 376*8ffdff6aSGreg Kroah-Hartman TRIGGER_LINE(7), 377*8ffdff6aSGreg Kroah-Hartman NI_MasterTimebase, 378*8ffdff6aSGreg Kroah-Hartman NI_20MHzTimebase, 379*8ffdff6aSGreg Kroah-Hartman NI_100kHzTimebase, 380*8ffdff6aSGreg Kroah-Hartman NI_AnalogComparisonEvent, 381*8ffdff6aSGreg Kroah-Hartman 0, /* Termination */ 382*8ffdff6aSGreg Kroah-Hartman } 383*8ffdff6aSGreg Kroah-Hartman }, 384*8ffdff6aSGreg Kroah-Hartman { 385*8ffdff6aSGreg Kroah-Hartman .dest = NI_AI_StartTrigger, 386*8ffdff6aSGreg Kroah-Hartman .src = (int[]){ 387*8ffdff6aSGreg Kroah-Hartman NI_PFI(0), 388*8ffdff6aSGreg Kroah-Hartman NI_PFI(1), 389*8ffdff6aSGreg Kroah-Hartman NI_PFI(2), 390*8ffdff6aSGreg Kroah-Hartman NI_PFI(3), 391*8ffdff6aSGreg Kroah-Hartman NI_PFI(4), 392*8ffdff6aSGreg Kroah-Hartman NI_PFI(5), 393*8ffdff6aSGreg Kroah-Hartman NI_PFI(6), 394*8ffdff6aSGreg Kroah-Hartman NI_PFI(7), 395*8ffdff6aSGreg Kroah-Hartman NI_PFI(8), 396*8ffdff6aSGreg Kroah-Hartman NI_PFI(9), 397*8ffdff6aSGreg Kroah-Hartman TRIGGER_LINE(0), 398*8ffdff6aSGreg Kroah-Hartman TRIGGER_LINE(1), 399*8ffdff6aSGreg Kroah-Hartman TRIGGER_LINE(2), 400*8ffdff6aSGreg Kroah-Hartman TRIGGER_LINE(3), 401*8ffdff6aSGreg Kroah-Hartman TRIGGER_LINE(4), 402*8ffdff6aSGreg Kroah-Hartman TRIGGER_LINE(5), 403*8ffdff6aSGreg Kroah-Hartman NI_CtrInternalOutput(0), 404*8ffdff6aSGreg Kroah-Hartman NI_AnalogComparisonEvent, 405*8ffdff6aSGreg Kroah-Hartman 0, /* Termination */ 406*8ffdff6aSGreg Kroah-Hartman } 407*8ffdff6aSGreg Kroah-Hartman }, 408*8ffdff6aSGreg Kroah-Hartman { 409*8ffdff6aSGreg Kroah-Hartman .dest = NI_AI_ReferenceTrigger, 410*8ffdff6aSGreg Kroah-Hartman .src = (int[]){ 411*8ffdff6aSGreg Kroah-Hartman NI_PFI(0), 412*8ffdff6aSGreg Kroah-Hartman NI_PFI(1), 413*8ffdff6aSGreg Kroah-Hartman NI_PFI(2), 414*8ffdff6aSGreg Kroah-Hartman NI_PFI(3), 415*8ffdff6aSGreg Kroah-Hartman NI_PFI(4), 416*8ffdff6aSGreg Kroah-Hartman NI_PFI(5), 417*8ffdff6aSGreg Kroah-Hartman NI_PFI(6), 418*8ffdff6aSGreg Kroah-Hartman NI_PFI(7), 419*8ffdff6aSGreg Kroah-Hartman NI_PFI(8), 420*8ffdff6aSGreg Kroah-Hartman NI_PFI(9), 421*8ffdff6aSGreg Kroah-Hartman TRIGGER_LINE(0), 422*8ffdff6aSGreg Kroah-Hartman TRIGGER_LINE(1), 423*8ffdff6aSGreg Kroah-Hartman TRIGGER_LINE(2), 424*8ffdff6aSGreg Kroah-Hartman TRIGGER_LINE(3), 425*8ffdff6aSGreg Kroah-Hartman TRIGGER_LINE(4), 426*8ffdff6aSGreg Kroah-Hartman TRIGGER_LINE(5), 427*8ffdff6aSGreg Kroah-Hartman NI_AnalogComparisonEvent, 428*8ffdff6aSGreg Kroah-Hartman 0, /* Termination */ 429*8ffdff6aSGreg Kroah-Hartman } 430*8ffdff6aSGreg Kroah-Hartman }, 431*8ffdff6aSGreg Kroah-Hartman { 432*8ffdff6aSGreg Kroah-Hartman .dest = NI_AI_ConvertClock, 433*8ffdff6aSGreg Kroah-Hartman .src = (int[]){ 434*8ffdff6aSGreg Kroah-Hartman NI_PFI(0), 435*8ffdff6aSGreg Kroah-Hartman NI_PFI(1), 436*8ffdff6aSGreg Kroah-Hartman NI_PFI(2), 437*8ffdff6aSGreg Kroah-Hartman NI_PFI(3), 438*8ffdff6aSGreg Kroah-Hartman NI_PFI(4), 439*8ffdff6aSGreg Kroah-Hartman NI_PFI(5), 440*8ffdff6aSGreg Kroah-Hartman NI_PFI(6), 441*8ffdff6aSGreg Kroah-Hartman NI_PFI(7), 442*8ffdff6aSGreg Kroah-Hartman NI_PFI(8), 443*8ffdff6aSGreg Kroah-Hartman NI_PFI(9), 444*8ffdff6aSGreg Kroah-Hartman TRIGGER_LINE(0), 445*8ffdff6aSGreg Kroah-Hartman TRIGGER_LINE(1), 446*8ffdff6aSGreg Kroah-Hartman TRIGGER_LINE(2), 447*8ffdff6aSGreg Kroah-Hartman TRIGGER_LINE(3), 448*8ffdff6aSGreg Kroah-Hartman TRIGGER_LINE(4), 449*8ffdff6aSGreg Kroah-Hartman TRIGGER_LINE(5), 450*8ffdff6aSGreg Kroah-Hartman NI_CtrInternalOutput(0), 451*8ffdff6aSGreg Kroah-Hartman NI_AI_ConvertClockTimebase, 452*8ffdff6aSGreg Kroah-Hartman NI_AnalogComparisonEvent, 453*8ffdff6aSGreg Kroah-Hartman 0, /* Termination */ 454*8ffdff6aSGreg Kroah-Hartman } 455*8ffdff6aSGreg Kroah-Hartman }, 456*8ffdff6aSGreg Kroah-Hartman { 457*8ffdff6aSGreg Kroah-Hartman .dest = NI_AI_ConvertClockTimebase, 458*8ffdff6aSGreg Kroah-Hartman .src = (int[]){ 459*8ffdff6aSGreg Kroah-Hartman TRIGGER_LINE(7), 460*8ffdff6aSGreg Kroah-Hartman NI_AI_SampleClockTimebase, 461*8ffdff6aSGreg Kroah-Hartman NI_MasterTimebase, 462*8ffdff6aSGreg Kroah-Hartman NI_20MHzTimebase, 463*8ffdff6aSGreg Kroah-Hartman 0, /* Termination */ 464*8ffdff6aSGreg Kroah-Hartman } 465*8ffdff6aSGreg Kroah-Hartman }, 466*8ffdff6aSGreg Kroah-Hartman { 467*8ffdff6aSGreg Kroah-Hartman .dest = NI_AI_PauseTrigger, 468*8ffdff6aSGreg Kroah-Hartman .src = (int[]){ 469*8ffdff6aSGreg Kroah-Hartman NI_PFI(0), 470*8ffdff6aSGreg Kroah-Hartman NI_PFI(1), 471*8ffdff6aSGreg Kroah-Hartman NI_PFI(2), 472*8ffdff6aSGreg Kroah-Hartman NI_PFI(3), 473*8ffdff6aSGreg Kroah-Hartman NI_PFI(4), 474*8ffdff6aSGreg Kroah-Hartman NI_PFI(5), 475*8ffdff6aSGreg Kroah-Hartman NI_PFI(6), 476*8ffdff6aSGreg Kroah-Hartman NI_PFI(7), 477*8ffdff6aSGreg Kroah-Hartman NI_PFI(8), 478*8ffdff6aSGreg Kroah-Hartman NI_PFI(9), 479*8ffdff6aSGreg Kroah-Hartman TRIGGER_LINE(0), 480*8ffdff6aSGreg Kroah-Hartman TRIGGER_LINE(1), 481*8ffdff6aSGreg Kroah-Hartman TRIGGER_LINE(2), 482*8ffdff6aSGreg Kroah-Hartman TRIGGER_LINE(3), 483*8ffdff6aSGreg Kroah-Hartman TRIGGER_LINE(4), 484*8ffdff6aSGreg Kroah-Hartman TRIGGER_LINE(5), 485*8ffdff6aSGreg Kroah-Hartman NI_AnalogComparisonEvent, 486*8ffdff6aSGreg Kroah-Hartman 0, /* Termination */ 487*8ffdff6aSGreg Kroah-Hartman } 488*8ffdff6aSGreg Kroah-Hartman }, 489*8ffdff6aSGreg Kroah-Hartman { 490*8ffdff6aSGreg Kroah-Hartman .dest = NI_AI_HoldComplete, 491*8ffdff6aSGreg Kroah-Hartman .src = (int[]){ 492*8ffdff6aSGreg Kroah-Hartman NI_AI_HoldCompleteEvent, 493*8ffdff6aSGreg Kroah-Hartman 0, /* Termination */ 494*8ffdff6aSGreg Kroah-Hartman } 495*8ffdff6aSGreg Kroah-Hartman }, 496*8ffdff6aSGreg Kroah-Hartman { 497*8ffdff6aSGreg Kroah-Hartman .dest = NI_AO_SampleClock, 498*8ffdff6aSGreg Kroah-Hartman .src = (int[]){ 499*8ffdff6aSGreg Kroah-Hartman NI_PFI(0), 500*8ffdff6aSGreg Kroah-Hartman NI_PFI(1), 501*8ffdff6aSGreg Kroah-Hartman NI_PFI(2), 502*8ffdff6aSGreg Kroah-Hartman NI_PFI(3), 503*8ffdff6aSGreg Kroah-Hartman NI_PFI(4), 504*8ffdff6aSGreg Kroah-Hartman NI_PFI(5), 505*8ffdff6aSGreg Kroah-Hartman NI_PFI(6), 506*8ffdff6aSGreg Kroah-Hartman NI_PFI(7), 507*8ffdff6aSGreg Kroah-Hartman NI_PFI(8), 508*8ffdff6aSGreg Kroah-Hartman NI_PFI(9), 509*8ffdff6aSGreg Kroah-Hartman TRIGGER_LINE(0), 510*8ffdff6aSGreg Kroah-Hartman TRIGGER_LINE(1), 511*8ffdff6aSGreg Kroah-Hartman TRIGGER_LINE(2), 512*8ffdff6aSGreg Kroah-Hartman TRIGGER_LINE(3), 513*8ffdff6aSGreg Kroah-Hartman TRIGGER_LINE(4), 514*8ffdff6aSGreg Kroah-Hartman TRIGGER_LINE(5), 515*8ffdff6aSGreg Kroah-Hartman NI_CtrInternalOutput(1), 516*8ffdff6aSGreg Kroah-Hartman NI_AO_SampleClockTimebase, 517*8ffdff6aSGreg Kroah-Hartman NI_AnalogComparisonEvent, 518*8ffdff6aSGreg Kroah-Hartman 0, /* Termination */ 519*8ffdff6aSGreg Kroah-Hartman } 520*8ffdff6aSGreg Kroah-Hartman }, 521*8ffdff6aSGreg Kroah-Hartman { 522*8ffdff6aSGreg Kroah-Hartman .dest = NI_AO_SampleClockTimebase, 523*8ffdff6aSGreg Kroah-Hartman .src = (int[]){ 524*8ffdff6aSGreg Kroah-Hartman NI_PFI(0), 525*8ffdff6aSGreg Kroah-Hartman NI_PFI(1), 526*8ffdff6aSGreg Kroah-Hartman NI_PFI(2), 527*8ffdff6aSGreg Kroah-Hartman NI_PFI(3), 528*8ffdff6aSGreg Kroah-Hartman NI_PFI(4), 529*8ffdff6aSGreg Kroah-Hartman NI_PFI(5), 530*8ffdff6aSGreg Kroah-Hartman NI_PFI(6), 531*8ffdff6aSGreg Kroah-Hartman NI_PFI(7), 532*8ffdff6aSGreg Kroah-Hartman NI_PFI(8), 533*8ffdff6aSGreg Kroah-Hartman NI_PFI(9), 534*8ffdff6aSGreg Kroah-Hartman TRIGGER_LINE(0), 535*8ffdff6aSGreg Kroah-Hartman TRIGGER_LINE(1), 536*8ffdff6aSGreg Kroah-Hartman TRIGGER_LINE(2), 537*8ffdff6aSGreg Kroah-Hartman TRIGGER_LINE(3), 538*8ffdff6aSGreg Kroah-Hartman TRIGGER_LINE(4), 539*8ffdff6aSGreg Kroah-Hartman TRIGGER_LINE(5), 540*8ffdff6aSGreg Kroah-Hartman TRIGGER_LINE(7), 541*8ffdff6aSGreg Kroah-Hartman NI_MasterTimebase, 542*8ffdff6aSGreg Kroah-Hartman NI_20MHzTimebase, 543*8ffdff6aSGreg Kroah-Hartman NI_100kHzTimebase, 544*8ffdff6aSGreg Kroah-Hartman NI_AnalogComparisonEvent, 545*8ffdff6aSGreg Kroah-Hartman 0, /* Termination */ 546*8ffdff6aSGreg Kroah-Hartman } 547*8ffdff6aSGreg Kroah-Hartman }, 548*8ffdff6aSGreg Kroah-Hartman { 549*8ffdff6aSGreg Kroah-Hartman .dest = NI_AO_StartTrigger, 550*8ffdff6aSGreg Kroah-Hartman .src = (int[]){ 551*8ffdff6aSGreg Kroah-Hartman NI_PFI(0), 552*8ffdff6aSGreg Kroah-Hartman NI_PFI(1), 553*8ffdff6aSGreg Kroah-Hartman NI_PFI(2), 554*8ffdff6aSGreg Kroah-Hartman NI_PFI(3), 555*8ffdff6aSGreg Kroah-Hartman NI_PFI(4), 556*8ffdff6aSGreg Kroah-Hartman NI_PFI(5), 557*8ffdff6aSGreg Kroah-Hartman NI_PFI(6), 558*8ffdff6aSGreg Kroah-Hartman NI_PFI(7), 559*8ffdff6aSGreg Kroah-Hartman NI_PFI(8), 560*8ffdff6aSGreg Kroah-Hartman NI_PFI(9), 561*8ffdff6aSGreg Kroah-Hartman TRIGGER_LINE(0), 562*8ffdff6aSGreg Kroah-Hartman TRIGGER_LINE(1), 563*8ffdff6aSGreg Kroah-Hartman TRIGGER_LINE(2), 564*8ffdff6aSGreg Kroah-Hartman TRIGGER_LINE(3), 565*8ffdff6aSGreg Kroah-Hartman TRIGGER_LINE(4), 566*8ffdff6aSGreg Kroah-Hartman TRIGGER_LINE(5), 567*8ffdff6aSGreg Kroah-Hartman NI_AI_StartTrigger, 568*8ffdff6aSGreg Kroah-Hartman NI_AnalogComparisonEvent, 569*8ffdff6aSGreg Kroah-Hartman 0, /* Termination */ 570*8ffdff6aSGreg Kroah-Hartman } 571*8ffdff6aSGreg Kroah-Hartman }, 572*8ffdff6aSGreg Kroah-Hartman { 573*8ffdff6aSGreg Kroah-Hartman .dest = NI_AO_PauseTrigger, 574*8ffdff6aSGreg Kroah-Hartman .src = (int[]){ 575*8ffdff6aSGreg Kroah-Hartman NI_PFI(0), 576*8ffdff6aSGreg Kroah-Hartman NI_PFI(1), 577*8ffdff6aSGreg Kroah-Hartman NI_PFI(2), 578*8ffdff6aSGreg Kroah-Hartman NI_PFI(3), 579*8ffdff6aSGreg Kroah-Hartman NI_PFI(4), 580*8ffdff6aSGreg Kroah-Hartman NI_PFI(5), 581*8ffdff6aSGreg Kroah-Hartman NI_PFI(6), 582*8ffdff6aSGreg Kroah-Hartman NI_PFI(7), 583*8ffdff6aSGreg Kroah-Hartman NI_PFI(8), 584*8ffdff6aSGreg Kroah-Hartman NI_PFI(9), 585*8ffdff6aSGreg Kroah-Hartman TRIGGER_LINE(0), 586*8ffdff6aSGreg Kroah-Hartman TRIGGER_LINE(1), 587*8ffdff6aSGreg Kroah-Hartman TRIGGER_LINE(2), 588*8ffdff6aSGreg Kroah-Hartman TRIGGER_LINE(3), 589*8ffdff6aSGreg Kroah-Hartman TRIGGER_LINE(4), 590*8ffdff6aSGreg Kroah-Hartman TRIGGER_LINE(5), 591*8ffdff6aSGreg Kroah-Hartman NI_AnalogComparisonEvent, 592*8ffdff6aSGreg Kroah-Hartman 0, /* Termination */ 593*8ffdff6aSGreg Kroah-Hartman } 594*8ffdff6aSGreg Kroah-Hartman }, 595*8ffdff6aSGreg Kroah-Hartman { 596*8ffdff6aSGreg Kroah-Hartman .dest = NI_MasterTimebase, 597*8ffdff6aSGreg Kroah-Hartman .src = (int[]){ 598*8ffdff6aSGreg Kroah-Hartman TRIGGER_LINE(7), 599*8ffdff6aSGreg Kroah-Hartman NI_20MHzTimebase, 600*8ffdff6aSGreg Kroah-Hartman 0, /* Termination */ 601*8ffdff6aSGreg Kroah-Hartman } 602*8ffdff6aSGreg Kroah-Hartman }, 603*8ffdff6aSGreg Kroah-Hartman { /* Termination of list */ 604*8ffdff6aSGreg Kroah-Hartman .dest = 0, 605*8ffdff6aSGreg Kroah-Hartman }, 606*8ffdff6aSGreg Kroah-Hartman }, 607*8ffdff6aSGreg Kroah-Hartman }; 608