cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

pci-6534.c (5459B)


      1// SPDX-License-Identifier: GPL-2.0+
      2/*
      3 *  comedi/drivers/ni_routing/ni_device_routes/pci-6534.c
      4 *  List of valid routes for specific NI boards.
      5 *
      6 *  COMEDI - Linux Control and Measurement Device Interface
      7 *  Copyright (C) 2016 Spencer E. Olson <olsonse@umich.edu>
      8 *
      9 *  This program is free software; you can redistribute it and/or modify
     10 *  it under the terms of the GNU General Public License as published by
     11 *  the Free Software Foundation; either version 2 of the License, or
     12 *  (at your option) any later version.
     13 *
     14 *  This program is distributed in the hope that it will be useful,
     15 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
     16 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     17 *  GNU General Public License for more details.
     18 */
     19
     20/*
     21 * The contents of this file are generated using the tools in
     22 * comedi/drivers/ni_routing/tools
     23 *
     24 * Please use those tools to help maintain the contents of this file.
     25 */
     26
     27#include "../ni_device_routes.h"
     28#include "all.h"
     29
     30struct ni_device_routes ni_pci_6534_device_routes = {
     31	.device = "pci-6534",
     32	.routes = (struct ni_route_set[]){
     33		{
     34			.dest = NI_PFI(0),
     35			.src = (int[]){
     36				TRIGGER_LINE(0),
     37				TRIGGER_LINE(1),
     38				TRIGGER_LINE(2),
     39				TRIGGER_LINE(3),
     40				TRIGGER_LINE(4),
     41				TRIGGER_LINE(5),
     42				TRIGGER_LINE(6),
     43				0, /* Termination */
     44			}
     45		},
     46		{
     47			.dest = NI_PFI(1),
     48			.src = (int[]){
     49				TRIGGER_LINE(0),
     50				TRIGGER_LINE(1),
     51				TRIGGER_LINE(2),
     52				TRIGGER_LINE(3),
     53				TRIGGER_LINE(4),
     54				TRIGGER_LINE(5),
     55				TRIGGER_LINE(6),
     56				0, /* Termination */
     57			}
     58		},
     59		{
     60			.dest = NI_PFI(2),
     61			.src = (int[]){
     62				TRIGGER_LINE(0),
     63				TRIGGER_LINE(1),
     64				TRIGGER_LINE(2),
     65				TRIGGER_LINE(3),
     66				TRIGGER_LINE(4),
     67				TRIGGER_LINE(5),
     68				TRIGGER_LINE(6),
     69				0, /* Termination */
     70			}
     71		},
     72		{
     73			.dest = NI_PFI(3),
     74			.src = (int[]){
     75				TRIGGER_LINE(0),
     76				TRIGGER_LINE(1),
     77				TRIGGER_LINE(2),
     78				TRIGGER_LINE(3),
     79				TRIGGER_LINE(4),
     80				TRIGGER_LINE(5),
     81				TRIGGER_LINE(6),
     82				0, /* Termination */
     83			}
     84		},
     85		{
     86			.dest = NI_PFI(4),
     87			.src = (int[]){
     88				TRIGGER_LINE(0),
     89				TRIGGER_LINE(1),
     90				TRIGGER_LINE(2),
     91				TRIGGER_LINE(3),
     92				TRIGGER_LINE(4),
     93				TRIGGER_LINE(5),
     94				TRIGGER_LINE(6),
     95				0, /* Termination */
     96			}
     97		},
     98		{
     99			.dest = NI_PFI(5),
    100			.src = (int[]){
    101				TRIGGER_LINE(0),
    102				TRIGGER_LINE(1),
    103				TRIGGER_LINE(2),
    104				TRIGGER_LINE(3),
    105				TRIGGER_LINE(4),
    106				TRIGGER_LINE(5),
    107				TRIGGER_LINE(6),
    108				0, /* Termination */
    109			}
    110		},
    111		{
    112			.dest = NI_PFI(6),
    113			.src = (int[]){
    114				TRIGGER_LINE(0),
    115				TRIGGER_LINE(1),
    116				TRIGGER_LINE(2),
    117				TRIGGER_LINE(3),
    118				TRIGGER_LINE(4),
    119				TRIGGER_LINE(5),
    120				TRIGGER_LINE(6),
    121				0, /* Termination */
    122			}
    123		},
    124		{
    125			.dest = NI_PFI(7),
    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				0, /* Termination */
    135			}
    136		},
    137		{
    138			.dest = TRIGGER_LINE(0),
    139			.src = (int[]){
    140				NI_PFI(0),
    141				NI_PFI(1),
    142				NI_PFI(2),
    143				NI_PFI(3),
    144				NI_PFI(4),
    145				NI_PFI(5),
    146				NI_PFI(6),
    147				TRIGGER_LINE(1),
    148				TRIGGER_LINE(2),
    149				TRIGGER_LINE(3),
    150				TRIGGER_LINE(4),
    151				TRIGGER_LINE(5),
    152				TRIGGER_LINE(6),
    153				0, /* Termination */
    154			}
    155		},
    156		{
    157			.dest = TRIGGER_LINE(1),
    158			.src = (int[]){
    159				NI_PFI(0),
    160				NI_PFI(1),
    161				NI_PFI(2),
    162				NI_PFI(3),
    163				NI_PFI(4),
    164				NI_PFI(5),
    165				NI_PFI(6),
    166				TRIGGER_LINE(0),
    167				TRIGGER_LINE(2),
    168				TRIGGER_LINE(3),
    169				TRIGGER_LINE(4),
    170				TRIGGER_LINE(5),
    171				TRIGGER_LINE(6),
    172				0, /* Termination */
    173			}
    174		},
    175		{
    176			.dest = TRIGGER_LINE(2),
    177			.src = (int[]){
    178				NI_PFI(0),
    179				NI_PFI(1),
    180				NI_PFI(2),
    181				NI_PFI(3),
    182				NI_PFI(4),
    183				NI_PFI(5),
    184				NI_PFI(6),
    185				TRIGGER_LINE(0),
    186				TRIGGER_LINE(1),
    187				TRIGGER_LINE(3),
    188				TRIGGER_LINE(4),
    189				TRIGGER_LINE(5),
    190				TRIGGER_LINE(6),
    191				0, /* Termination */
    192			}
    193		},
    194		{
    195			.dest = TRIGGER_LINE(3),
    196			.src = (int[]){
    197				NI_PFI(0),
    198				NI_PFI(1),
    199				NI_PFI(2),
    200				NI_PFI(3),
    201				NI_PFI(4),
    202				NI_PFI(5),
    203				NI_PFI(6),
    204				TRIGGER_LINE(0),
    205				TRIGGER_LINE(1),
    206				TRIGGER_LINE(2),
    207				TRIGGER_LINE(4),
    208				TRIGGER_LINE(5),
    209				TRIGGER_LINE(6),
    210				0, /* Termination */
    211			}
    212		},
    213		{
    214			.dest = TRIGGER_LINE(4),
    215			.src = (int[]){
    216				NI_PFI(0),
    217				NI_PFI(1),
    218				NI_PFI(2),
    219				NI_PFI(3),
    220				NI_PFI(4),
    221				NI_PFI(5),
    222				NI_PFI(6),
    223				TRIGGER_LINE(0),
    224				TRIGGER_LINE(1),
    225				TRIGGER_LINE(2),
    226				TRIGGER_LINE(3),
    227				TRIGGER_LINE(5),
    228				TRIGGER_LINE(6),
    229				0, /* Termination */
    230			}
    231		},
    232		{
    233			.dest = TRIGGER_LINE(5),
    234			.src = (int[]){
    235				NI_PFI(0),
    236				NI_PFI(1),
    237				NI_PFI(2),
    238				NI_PFI(3),
    239				NI_PFI(4),
    240				NI_PFI(5),
    241				NI_PFI(6),
    242				TRIGGER_LINE(0),
    243				TRIGGER_LINE(1),
    244				TRIGGER_LINE(2),
    245				TRIGGER_LINE(3),
    246				TRIGGER_LINE(4),
    247				TRIGGER_LINE(6),
    248				0, /* Termination */
    249			}
    250		},
    251		{
    252			.dest = TRIGGER_LINE(6),
    253			.src = (int[]){
    254				NI_PFI(0),
    255				NI_PFI(1),
    256				NI_PFI(2),
    257				NI_PFI(3),
    258				NI_PFI(4),
    259				NI_PFI(5),
    260				NI_PFI(6),
    261				TRIGGER_LINE(0),
    262				TRIGGER_LINE(1),
    263				TRIGGER_LINE(2),
    264				TRIGGER_LINE(3),
    265				TRIGGER_LINE(4),
    266				TRIGGER_LINE(5),
    267				0, /* Termination */
    268			}
    269		},
    270		{
    271			.dest = TRIGGER_LINE(7),
    272			.src = (int[]){
    273				NI_20MHzTimebase,
    274				0, /* Termination */
    275			}
    276		},
    277		{
    278			.dest = NI_MasterTimebase,
    279			.src = (int[]){
    280				TRIGGER_LINE(7),
    281				NI_20MHzTimebase,
    282				0, /* Termination */
    283			}
    284		},
    285		{ /* Termination of list */
    286			.dest = 0,
    287		},
    288	},
    289};