PCI/PM: Rename pci_dev.d3_delay to d3hot_delay
authorKrzysztof Wilczyński <kw@linux.com>
Thu, 30 Jul 2020 21:08:48 +0000 (21:08 +0000)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 29 Sep 2020 19:21:50 +0000 (14:21 -0500)
commit3789af9a13e5561738c0f2114e3a5e22c843ca3e
tree98bccb80f127447c64da4a69e0ce410c26d4d26e
parenta5d02e901e6dadd7dd60fafb6448a822a47430ff
PCI/PM: Rename pci_dev.d3_delay to d3hot_delay

PCI devices support two variants of the D3 power state: D3hot (main power
present) D3cold (main power removed).  Previously struct pci_dev contained:

  unsigned int    d3_delay;       /* D3->D0 transition time in ms */
  unsigned int    d3cold_delay;   /* D3cold->D0 transition time in ms */

"d3_delay" refers specifically to the D3hot state.  Rename it to
"d3hot_delay" to avoid ambiguity and align with the ACPI "_DSM for
Specifying Device Readiness Durations" in the PCI Firmware spec r3.2,
sec 4.6.9.

There is no change to the functionality.

Link: https://lore.kernel.org/r/20200730210848.1578826-1-kw@linux.com
Signed-off-by: Krzysztof Wilczyński <kw@linux.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
12 files changed:
Documentation/power/pci.rst
arch/x86/pci/fixup.c
arch/x86/pci/intel_mid_pci.c
drivers/hid/intel-ish-hid/ipc/ipc.c
drivers/net/ethernet/marvell/sky2.c
drivers/pci/pci-acpi.c
drivers/pci/pci.c
drivers/pci/pci.h
drivers/pci/quirks.c
drivers/staging/media/atomisp/pci/atomisp_v4l2.c
include/linux/pci.h
include/uapi/linux/pci_regs.h