summaryrefslogtreecommitdiff
path: root/drivers/bluetooth/btintel_pcie.h
diff options
context:
space:
mode:
authorRavindra <ravindra@intel.com>2025-10-15 15:09:02 +0530
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2025-12-01 16:00:07 -0500
commit1fb0d830dab89d0dc99bb84a7087b0ceca63d2d8 (patch)
treeefc47aa3e29d3f41bdcfb9e54b2d38d6a94f94ef /drivers/bluetooth/btintel_pcie.h
parent5a6700a31c953af9a17a7e2681335f31d922614d (diff)
Bluetooth: btintel_pcie: Support for S4 (Hibernate)
During S4 (hibernate), the Bluetooth device loses power. Upon resume, the driver performs the following actions: 1. Unregisters hdev 2. Calls function level reset 3. Registers hdev Test case: - run command sudo rtcwake -m disk -s 60 Signed-off-by: Ravindra <ravindra@intel.com> Signed-off-by: Kiran K <kiran.k@intel.com> Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'drivers/bluetooth/btintel_pcie.h')
-rw-r--r--drivers/bluetooth/btintel_pcie.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/bluetooth/btintel_pcie.h b/drivers/bluetooth/btintel_pcie.h
index 04b21f968ad3..48e1ae1793e5 100644
--- a/drivers/bluetooth/btintel_pcie.h
+++ b/drivers/bluetooth/btintel_pcie.h
@@ -464,6 +464,7 @@ struct btintel_pcie_dump_header {
* @txq: TX Queue struct
* @rxq: RX Queue struct
* @alive_intr_ctxt: Alive interrupt context
+ * @pm_sx_event: PM event on which system got suspended
*/
struct btintel_pcie_data {
struct pci_dev *pdev;
@@ -513,6 +514,7 @@ struct btintel_pcie_data {
u32 alive_intr_ctxt;
struct btintel_pcie_dbgc dbgc;
struct btintel_pcie_dump_header dmp_hdr;
+ u8 pm_sx_event;
};
static inline u32 btintel_pcie_rd_reg32(struct btintel_pcie_data *data,