qcacmn: Replace void * Host Target Communications handle with abstract type

Replace void * Host Target Communications handle with abstract type handles
provided by Host Target Communications component

Change-Id: I16ca87e4f9716791d340da2fda0a8a640fa2ec34
CRs-Fixed: 2487151
This commit is contained in:
Himanshu Batra
2019-07-10 12:36:06 +05:30
committed by nshrivas
vanhempi 115309a008
commit 032d352263
10 muutettua tiedostoa jossa 33 lisäystä ja 33 poistoa

Näytä tiedosto

@@ -111,7 +111,6 @@ struct host_fw_ver {
struct common_dbglog_handle;
struct common_hif_handle;
struct common_htc_handle;
struct common_accelerator_handle;
/**
@@ -125,7 +124,7 @@ struct common_accelerator_handle;
*/
struct comp_hdls {
struct common_hif_handle *hif_hdl;
struct common_htc_handle *htc_hdl;
HTC_HANDLE htc_hdl;
struct wmi_unified *wmi_hdl;
struct common_accelerator_handle *accelerator_hdl;
struct common_dbglog_handle *dbglog_hdl;
@@ -910,9 +909,9 @@ static inline struct common_hif_handle *target_psoc_get_hif_hdl
*
* Return: void
*/
static inline void target_psoc_set_htc_hdl
(struct target_psoc_info *psoc_info,
struct common_htc_handle *htc_hdl)
static inline void target_psoc_set_htc_hdl(
struct target_psoc_info *psoc_info,
HTC_HANDLE htc_hdl)
{
if (!psoc_info)
return;
@@ -928,7 +927,7 @@ static inline void target_psoc_set_htc_hdl
*
* Return: htc_hdl
*/
static inline struct common_htc_handle *target_psoc_get_htc_hdl
static inline HTC_HANDLE target_psoc_get_htc_hdl
(struct target_psoc_info *psoc_info)
{
if (!psoc_info)

Näytä tiedosto

@@ -137,7 +137,7 @@ wmi_unified_t lmac_get_wmi_unified_hdl(struct wlan_objmgr_psoc *psoc);
*
* Return: htc handler
*/
struct common_htc_handle *lmac_get_htc_hdl(struct wlan_objmgr_psoc *psoc);
HTC_HANDLE lmac_get_htc_hdl(struct wlan_objmgr_psoc *psoc);
/**
* lmac_set_htc_hdl() - set htc handle
@@ -149,7 +149,7 @@ struct common_htc_handle *lmac_get_htc_hdl(struct wlan_objmgr_psoc *psoc);
* Return: void
*/
void lmac_set_htc_hdl(struct wlan_objmgr_psoc *psoc,
struct common_htc_handle *htc_hdl);
HTC_HANDLE htc_hdl);
/**
* lmac_get_hif_hdl() - get hif handle

Näytä tiedosto

@@ -212,7 +212,7 @@ wmi_unified_t lmac_get_wmi_unified_hdl(struct wlan_objmgr_psoc *psoc)
}
qdf_export_symbol(lmac_get_wmi_unified_hdl);
struct common_htc_handle *lmac_get_htc_hdl(struct wlan_objmgr_psoc *psoc)
HTC_HANDLE lmac_get_htc_hdl(struct wlan_objmgr_psoc *psoc)
{
struct target_psoc_info *tgt_hdl;
@@ -232,7 +232,7 @@ struct common_htc_handle *lmac_get_htc_hdl(struct wlan_objmgr_psoc *psoc)
qdf_export_symbol(lmac_get_htc_hdl);
void lmac_set_htc_hdl(struct wlan_objmgr_psoc *psoc,
struct common_htc_handle *htc_hdl)
HTC_HANDLE htc_hdl)
{
struct target_psoc_info *tgt_hdl;