Shuai Xue 0270f32f20 UPSTREAM: PCI: Move pci_clear_and_set_dword() helper to PCI header
The clear and set pattern is commonly used for accessing PCI config,
move the helper pci_clear_and_set_dword() from aspm.c into PCI header.
In addition, rename to pci_clear_and_set_config_dword() to retain the
"config" information and match the other accessors.

No functional change intended.

Signed-off-by: Shuai Xue <xueshuai@linux.alibaba.com>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Tested-by: Ilkka Koskinen <ilkka@os.amperecomputing.com>
Link: https://lore.kernel.org/r/20231208025652.87192-4-xueshuai@linux.alibaba.com
Signed-off-by: Will Deacon <will@kernel.org>
(cherry-picked from ac16087134b837d42b75bb1c741070b6c142f258)

Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Change-Id: I35125190a4dd8ba25e6ec14b4712750605c22285
2024-09-25 18:40:59 +08:00
2024-08-17 17:42:29 +08:00
2024-08-17 17:42:29 +08:00
2024-08-17 17:42:29 +08:00
2024-08-17 17:42:29 +08:00
2024-08-17 17:42:29 +08:00
2022-09-28 09:02:20 +02:00
2024-03-06 14:45:17 +00:00
2024-04-03 15:19:55 +02:00

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.
Description
No description provided
Readme 7.9 GiB
Languages
C 97.7%
Assembly 1.6%
Makefile 0.3%
Perl 0.1%