diff options
| author | Mathias Nyman <mathias.nyman@linux.intel.com> | 2024-02-16 16:09:28 -0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-02-17 16:24:37 +0100 |
| commit | ace21625878f78708b75b7a872ec7a0e2ed15ca4 (patch) | |
| tree | d00a2ca38e5272291e89bb5523bc583e02b691d2 /tools/perf/scripts/python | |
| parent | xhci: Add interrupt pending autoclear flag to each interrupter (diff) | |
| download | linux-ace21625878f78708b75b7a872ec7a0e2ed15ca4.tar.gz linux-ace21625878f78708b75b7a872ec7a0e2ed15ca4.zip | |
xhci: Add helper to set an interrupters interrupt moderation interval
Add a helper to set the interrupt moderation interval for an interrupter.
Each interrupter can have its own moderation value.
Hardware has a 16bit register for the moderation value, each step is 250ns.
Helper function imod_interval argument is in nanoseconds.
Values from 0 to 16383750 (250 x 0xffff) are accepted.
0 means no interrupt throttling.
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Wesley Cheng <quic_wcheng@quicinc.com>
Link: https://lore.kernel.org/r/20240217001017.29969-3-quic_wcheng@quicinc.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
