diff options
| author | 2025-08-13 22:45:27 +0800 | |
|---|---|---|
| committer | 2025-08-14 15:20:54 -0500 | |
| commit | 8ffc9f234fdf332310015d507ae22db9a2820d37 (patch) | |
| tree | b40b7da3d418ce082b8ed0aa29a8fdd4a7adc00b /drivers/pci/controller/dwc/pcie-qcom-common.c | |
| parent | PCI: Refactor extended capability search into PCI_FIND_NEXT_EXT_CAP() (diff) | |
| download | wireguard-linux-8ffc9f234fdf332310015d507ae22db9a2820d37.tar.xz wireguard-linux-8ffc9f234fdf332310015d507ae22db9a2820d37.zip | |
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 'drivers/pci/controller/dwc/pcie-qcom-common.c')
0 files changed, 0 insertions, 0 deletions
