diff options
author | Ilpo Järvinen <[email protected]> | 2023-10-18 14:32:52 +0300 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2023-10-24 10:54:04 -0500 |
commit | f00e8dbdedfb0dc2b5712d2170e7fcbe4eb93603 (patch) | |
tree | ed22c7f05e5fe0974a4c5dad5a20378ff0cf9981 /tools/perf/util/trace-event-scripting.c | |
parent | 9a9eec4765737b9b2a8d6ae03de6480a5f12dd5c (diff) |
PCI/DPC: Use defined fields with DPC_CTL register
Instead of using a literal to clear bits, add PCI_EXP_DPC_CTL_EN_MASK
and use the usual pattern to modify a bitfield.
While at it, rearrange RMW code more logically together.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Ilpo Järvinen <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions