qcacmn: Add support to configure MSI registers for Direct Link CE
The MSI address and data information for Direct Link copy engines will be available once the WiFi driver on LPASS is initialized. Add support to configure the IPCC address and data values into Direct Link copy engines at runtime. Change-Id: I5e7dff90c2f1ff764462c235deb5795ed019a16b CRs-Fixed: 3316679
此提交包含在:

提交者
Madan Koyyalamudi

父節點
99615e170d
當前提交
e228622034
@@ -3387,4 +3387,33 @@ uint16_t hal_srng_dst_get_hpidx(hal_ring_handle_t hal_ring_hdl)
|
||||
|
||||
return hp / srng->entry_size;
|
||||
}
|
||||
|
||||
#ifdef FEATURE_DIRECT_LINK
|
||||
/**
|
||||
* hal_srng_set_msi_irq_config() - Set the MSI irq configuration for srng
|
||||
* @hal_soc_hdl: hal soc handle
|
||||
* @hal_ring_hdl: srng handle
|
||||
* @addr: MSI address
|
||||
* @data: MSI data
|
||||
*
|
||||
* Return: QDF status
|
||||
*/
|
||||
static inline QDF_STATUS
|
||||
hal_srng_set_msi_irq_config(hal_soc_handle_t hal_soc_hdl,
|
||||
hal_ring_handle_t hal_ring_hdl,
|
||||
struct hal_srng_params *ring_params)
|
||||
{
|
||||
struct hal_soc *hal_soc = (struct hal_soc *)hal_soc_hdl;
|
||||
|
||||
return hal_soc->ops->hal_srng_set_msi_config(hal_ring_hdl, ring_params);
|
||||
}
|
||||
#else
|
||||
static inline QDF_STATUS
|
||||
hal_srng_set_msi_irq_config(hal_soc_handle_t hal_soc_hdl,
|
||||
hal_ring_handle_t hal_ring_hdl,
|
||||
struct hal_srng_params *ring_params)
|
||||
{
|
||||
return QDF_STATUS_E_NOSUPPORT;
|
||||
}
|
||||
#endif
|
||||
#endif /* _HAL_APIH_ */
|
||||
|
新增問題並參考
封鎖使用者