mirror of
https://github.com/torvalds/linux.git
synced 2026-04-27 11:02:31 -04:00
Add initial support for suspend and hibernation PM callbacks to QAIC. The device can be suspended any time in which the data path is not busy as queued I/O operations are lost on suspension and cannot be resumed after suspend. Signed-off-by: Youssef Samir <youssef.abdulrahman@oss.qualcomm.com> Reviewed-by: Carl Vanderlip <carl.vanderlip@oss.qualcomm.com> Signed-off-by: Zack McKevitt <zachary.mckevitt@oss.qualcomm.com> Reviewed-by: Jeff Hugo <jeff.hugo@oss.qualcomm.com> Signed-off-by: Jeff Hugo <jeff.hugo@oss.qualcomm.com> Link: https://patch.msgid.link/20251029181808.1216466-1-zachary.mckevitt@oss.qualcomm.com
15 lines
360 B
C
15 lines
360 B
C
/* SPDX-License-Identifier: GPL-2.0-only
|
|
*
|
|
* Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
|
*/
|
|
|
|
#ifndef __QAIC_TIMESYNC_H__
|
|
#define __QAIC_TIMESYNC_H__
|
|
|
|
#include <linux/mhi.h>
|
|
|
|
int qaic_timesync_init(void);
|
|
void qaic_timesync_deinit(void);
|
|
void qaic_mqts_ch_stop_timer(struct mhi_device *mhi_dev);
|
|
#endif /* __QAIC_TIMESYNC_H__ */
|