qcacmn: Add support for AP chipsets

Add copy engine configuration, extended set_hia functionality,
htc_module credit flow control function and physical address calculations.

Change-Id: I5e4394bed39cc92bb8323d332dc124d948737322
Acked-by: Venkateswara Swamy Bandaru <[email protected]>
CRs-Fixed: 1009050
This commit is contained in:
Houston Hoffman 2016-05-05 19:50:44 -07:00 • committed by Gerrit - the friendly Code Review server
commit fb698efe55
11 changed files with 613 additions and 72 deletions

View file

@ -711,6 +711,8 @@ void *htc_get_targetdef(HTC_HANDLE htc_handle);
int htc_runtime_suspend(HTC_HANDLE htc_ctx);
int htc_runtime_resume(HTC_HANDLE htc_ctx);
#endif
void htc_global_credit_flow_disable(void);
void htc_global_credit_flow_enable(void);
/* Disable ASPM : Disable PCIe low power */
bool htc_can_suspend_link(HTC_HANDLE HTCHandle);

View file

@ -36,6 +36,18 @@ unsigned int htc_credit_flow = 1;
#define DEBUG_CREDIT 0
#endif
/* HTC credit flow global disable */
void htc_global_credit_flow_disable(void)
{
htc_credit_flow = 0;
}
/* HTC credit flow global enable */
void htc_global_credit_flow_enable(void)
{
htc_credit_flow = 1;
}
A_STATUS htc_connect_service(HTC_HANDLE HTCHandle,
HTC_SERVICE_CONNECT_REQ *pConnectReq,
HTC_SERVICE_CONNECT_RESP *pConnectResp)