diff options
author | Vincent Mailhol <[email protected]> | 2021-09-18 18:56:37 +0900 |
---|---|---|
committer | Marc Kleine-Budde <[email protected]> | 2021-10-24 16:24:29 +0200 |
commit | fa759a9395ea81c17db613dde43c46f0607df7e7 (patch) | |
tree | 1706f3ba2d84c6a7c0c1748031ff6c0a2859cec4 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | e8060f08cd69d1d692cfb9f0a2808477a501f35a (diff) |
can: dev: add can_tdc_get_relative_tdco() helper function
struct can_tdc::tdco represents the absolute offset from TDCV. Some
controllers use instead an offset relative to the Sample Point (SP)
such that:
| SSP = TDCV + absolute TDCO
| = TDCV + SP + relative TDCO
Consequently:
| relative TDCO = absolute TDCO - SP
The function can_tdc_get_relative_tdco() allow to retrieve this
relative TDCO value.
Link: https://lore.kernel.org/all/[email protected]
CC: Stefan Mätje <[email protected]>
Signed-off-by: Vincent Mailhol <[email protected]>
Signed-off-by: Marc Kleine-Budde <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions