diff options
author | Hans Zhang <18255117159@163.com> | 2025-08-13 22:45:27 +0800 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2025-08-14 15:20:54 -0500 |
commit | 8ffc9f234fdf332310015d507ae22db9a2820d37 (patch) | |
tree | b40b7da3d418ce082b8ed0aa29a8fdd4a7adc00b /scripts/gdb/linux/modules.py | |
parent | 4d909bf1a53eb1e2e4d523a8d6f66532ac1bae0b (diff) |
PCI: dwc: Implement capability search using PCI core APIs
The PCI core now provides generic PCI_FIND_NEXT_CAP() and
PCI_FIND_NEXT_EXT_CAP() macros to search for PCI capabilities, using
config accessors we supply.
Use them in the DWC driver to implement dw_pcie_find_capability() and
dw_pcie_find_ext_capability() instead of duplicating the algorithm.
Signed-off-by: Hans Zhang <18255117159@163.com>
[bhelgaas: commit log]
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Link: https://patch.msgid.link/20250813144529.303548-5-18255117159@163.com
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions