diff options
| author | Dave Jiang <[email protected]> | 2023-10-16 17:57:48 +0000 |
|---|---|---|
| committer | Dan Williams <[email protected]> | 2023-10-28 03:29:41 +0000 |
| commit | 458ba8189cb4380aa6a6cc4d52ab067f80a64829 (patch) | |
| tree | 1f5220e5c47e52604cf9f81f1e7b5db7e9516b1f /drivers/usb/cdns3/cdns3-starfive.c | |
| parent | tools/testing/cxl: Slow down the mock firmware transfer (diff) | |
| download | kernel-458ba8189cb4380aa6a6cc4d52ab067f80a64829.tar.gz kernel-458ba8189cb4380aa6a6cc4d52ab067f80a64829.zip | |
cxl: Add cxl_decoders_committed() helper
Add a helper to retrieve the number of decoders committed for the port.
Replace all the open coding of the calculation with the helper.
Link: https://lore.kernel.org/linux-cxl/[email protected]/
Suggested-by: Dan Williams <[email protected]>
Signed-off-by: Dave Jiang <[email protected]>
Reviewed-by: Jonathan Cameron <[email protected]>
Reviewed-by: Jim Harris <[email protected]>
Reviewed-by: Alison Schofield <[email protected]>
Link: https://lore.kernel.org/r/169747906849.272156.1729290904857372335.stgit@djiang5-mobl3
Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-starfive.c')
0 files changed, 0 insertions, 0 deletions
