diff options
author | Yoshihiro Shimoda <[email protected]> | 2023-10-18 17:56:24 +0900 |
---|---|---|
committer | Krzysztof Wilczyński <[email protected]> | 2023-10-23 12:40:09 +0000 |
commit | 9baa8a18e31b7167885c11c38841ce92bbe20f4f (patch) | |
tree | e49f81982bb2e5d7d224a8b447963580ff61a4ac /tools/perf/scripts/python/sched-migration.py | |
parent | 303e845351f5d2b4ff349bb3e59aba2b554d8229 (diff) |
PCI: dwc: endpoint: Introduce .pre_init() and .deinit()
Renesas R-Car Gen4 PCIe controllers require vendor-specific
initialization before .init().
To use dw->dbi and dw->num-lanes in the initialization code,
introduce .pre_init() into struct dw_pcie_ep_ops. While at it,
also introduce .deinit() to disable the controller by using
vendor-specific de-initialization.
Note that the ep_init in the struct dw_pcie_ep_ops should be
renamed to init later.
Link: https://lore.kernel.org/linux-pci/[email protected]
Signed-off-by: Yoshihiro Shimoda <[email protected]>
Signed-off-by: Krzysztof Wilczyński <[email protected]>
Reviewed-by: Manivannan Sadhasivam <[email protected]>
Reviewed-by: Serge Semin <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions