
Change-Id: I196832c62a6109178cb234f000d3db7c481e0ef5 Signed-off-by: Arnav Sharma <arnav_s@codeaurora.org>
50 satır
953 B
C
50 satır
953 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* Copyright (c) 2018, The Linux Foundation. All rights reserved.
|
|
*/
|
|
|
|
#ifndef __IMP_H_
|
|
#define __IMP_H_
|
|
|
|
#ifdef CONFIG_IPA3_MHI_PROXY
|
|
|
|
#include "ipa_qmi_service.h"
|
|
|
|
void imp_handle_modem_ready(void);
|
|
|
|
struct ipa_mhi_alloc_channel_resp_msg_v01 *imp_handle_allocate_channel_req(
|
|
struct ipa_mhi_alloc_channel_req_msg_v01 *req);
|
|
|
|
struct ipa_mhi_clk_vote_resp_msg_v01 *imp_handle_vote_req(bool vote);
|
|
|
|
void imp_handle_modem_shutdown(void);
|
|
|
|
#else /* CONFIG_IPA3_MHI_PROXY */
|
|
|
|
static inline void imp_handle_modem_ready(void)
|
|
{
|
|
|
|
}
|
|
|
|
static inline struct ipa_mhi_alloc_channel_resp_msg_v01
|
|
*imp_handle_allocate_channel_req(
|
|
struct ipa_mhi_alloc_channel_req_msg_v01 *req)
|
|
{
|
|
return NULL;
|
|
}
|
|
|
|
static inline struct ipa_mhi_clk_vote_resp_msg_v01
|
|
*imp_handle_vote_req(bool vote)
|
|
{
|
|
return NULL;
|
|
}
|
|
|
|
static inline void imp_handle_modem_shutdown(void)
|
|
{
|
|
|
|
}
|
|
|
|
#endif /* CONFIG_IPA3_MHI_PROXY */
|
|
|
|
#endif /* __IMP_H_ */
|