aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stat-cpi.py
diff options
context:
space:
mode:
authorIan Abbott <[email protected]>2021-01-18 14:43:59 +0000
committerGreg Kroah-Hartman <[email protected]>2021-01-26 18:48:11 +0100
commitb4783da2c18599bc6688f5027709712a9a1a5256 (patch)
tree75c3aa8d26f2943d0879bd291b9ec9520283a030 /tools/perf/scripts/python/stat-cpi.py
parent2e0e629d0f62541d0f82f6e3f7a64aab8fb3e989 (diff)
staging: comedi: adv_pci_dio: Support falling edge triggers
The interrupt support for Advantech PCI-1730 currrently supports only rising edge inputs for the trigger sources. Each of four interrupt sources (each with its own Comedi subdevice) can be set to trigger on either a rising edge or a falling edge. Add support for choosing the edge during set-up of the asynchronous command for the subdevice, using the `CR_INVERT` bit of `scan_begin_arg` to indicate falling edge when set, or rising edge when clear. Also allow the `CR_EDGE` bit to be set, but ignore it. All other bits of `scan_begin_arg` must be zero. Signed-off-by: Ian Abbott <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions