/* * * Copyright (c) 2003 by Karsten Wiese * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ enum E_In84{ eFader0 = 0, eFader1, eFader2, eFader3, eFader4, eFader5, eFader6, eFader7, eFaderM, eTransport, eModifier = 10, eFilterSelect, eSelect, eMute, eSwitch = 15, eWheelGain, eWheelFreq, eWheelQ, eWheelPan, eWheel = 20 }; #define T_RECORD 1 #define T_PLAY 2 #define T_STOP 4 #define T_F_FWD 8 #define T_REW 0x10 #define T_SOLO 0x20 #define T_REC 0x40 #define T_NULL 0x80 struct us428_ctls { unsigned char Fader[9]; unsigned char Transport; unsigned char Modifier; unsigned char FilterSelect; unsigned char Select; unsigned char Mute; unsigned char UNKNOWN; unsigned char Switch; unsigned char Wheel[5]; }; struct us428_setByte { unsigned char Offset, Value; }; enum { eLT_Volume = 0, eLT_Light }; struct usX2Y_volume { unsigned char Channel, LH, LL, RH, RL; }; struct us428_lights { struct us428_setByte Light[7]; }; struct us428_p4out { char type; union { struct usX2Y_volume vol; struct us428_lights lights; } val; }; #define N_us428_ctl_BUFS 16 #define N_us428_p4out_BUFS 16 struct us428ctls_sharedmem{ struct us428_ctls CtlSnapShot[N_us428_ctl_BUFS]; int CtlSnapShotDiffersAt[N_us428_ctl_BUFS]; int CtlSnapShotLast, CtlSnapShotRed; struct us428_p4out p4out[N_us428_p4out_BUFS]; int p4outLast, p4outSent; }; rm class='right' method='get' action='/cgit.cgi/linux/net-next.git/log/tools/power/cpupower/ToDo'>
path: root/tools/power/cpupower/ToDo
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2017-01-30 15:55:48 -0500
committerDavid S. Miller <davem@davemloft.net>2017-01-30 15:56:40 -0500
commit1930b60352e7e195f55b27cde15d2a8f43342a8b (patch)
treeec3f66cd8d8110bf7b4f61e0446bdea505915db9 /tools/power/cpupower/ToDo
parent4be9993493bc7ee3fdf950a83bc050a3e6cf2a45 (diff)
parentec960de61503ef349588dccfa3ae02efabcc2762 (diff)
Merge branch 'dsa-port-mirroring'
Florian Fainelli says: ==================== net: dsa: Port mirroring support This patch series adds support for port mirroring in the two Broadcom switch drivers. The major part of the functional are actually with the plumbing between tc and the drivers. Changes in v5: - Added Jiri's Reviewed-by tag to first patch - rebase against latest net-next/master after bcm_sf2 CFP series Changes in v4: - rebased against latest net-next/master after Vivien's changes Changes in v3: - removed multiline comments from added structures - simplify error handling in dsa_slave_add_cls_matchall Changes in v2: - fixed filter removal logic to disable the ingress or egress mirroring when there are no longer ports being monitored in ingress or egress - removed a stray list_head in dsa_port structure that is not used Tested using the two iproute2 examples: tc qdisc add dev eth1 handle ffff: ingress tc filter add dev eth1 parent ffff: \ matchall skip_sw \ action mirred egress mirror \ dev eth2 tc qdisc add dev eth1 handle 1: root prio tc filter add dev eth1 parent 1: \ matchall skip_sw \ action mirred egress mirror \ dev eth2 ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/power/cpupower/ToDo')