aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorH Hartley Sweeten <[email protected]>2013-12-05 16:54:10 -0700
committerGreg Kroah-Hartman <[email protected]>2013-12-06 13:10:03 -0800
commit4344158f3ea32eefd4942915c76d35afdc11b76e (patch)
tree9fad08284a5d03ee67cf78886b387d269f205ce6 /tools/perf/scripts/python/net_dropmonitor.py
parentd3d2d75da52982968ddb25f715c86c65dde04903 (diff)
staging: comedi: pcmuio: add inline helpers to get the 'iobase', 'asic', and 'port'
To reduce the potential for bugs, and better document the code, introduce some inline helper functions to consolidate the calculations needed to get the 'iobase' for a given asic and the 'asic' and 'port' associated with a given subdevice. Signed-off-by: H Hartley Sweeten <[email protected]> Cc: Ian Abbott <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions