diff options
| author | Ilpo Järvinen <[email protected]> | 2023-09-19 12:56:46 +0000 |
|---|---|---|
| committer | Bjorn Helgaas <[email protected]> | 2023-10-18 01:10:31 +0000 |
| commit | d1f9b39da4a5347150246871325190018cda8cb3 (patch) | |
| tree | a34c1e3cb38fa7ae51f6e4925c43b0976baa6cd3 /drivers/pci/controller/dwc | |
| parent | PCI: mvebu: Use FIELD_PREP() with Link Width (diff) | |
| download | kernel-d1f9b39da4a5347150246871325190018cda8cb3.tar.gz kernel-d1f9b39da4a5347150246871325190018cda8cb3.zip | |
PCI: Use FIELD_GET() to extract Link Width
Use FIELD_GET() to extract PCIe Negotiated and Maximum Link Width fields
instead of custom masking and shifting.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Ilpo Järvinen <[email protected]>
[bhelgaas: drop duplicate include of <linux/bitfield.h>]
Signed-off-by: Bjorn Helgaas <[email protected]>
Reviewed-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'drivers/pci/controller/dwc')
0 files changed, 0 insertions, 0 deletions
