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
This commit is contained in:
Yeshwanth Sriram Guntuka
2022-11-04 00:59:05 +05:30
committed by Madan Koyyalamudi
parent 99615e170d
commit e228622034
9 changed files with 242 additions and 7 deletions

View File

@@ -2437,4 +2437,25 @@ QDF_STATUS hif_unregister_umac_reset_handler(struct hif_opaque_softc *hif_scn)
#endif /* DP_UMAC_HW_RESET_SUPPORT */
#ifdef FEATURE_DIRECT_LINK
/**
* hif_set_irq_config_by_ceid() - Set irq configuration for CE given by id
* @scn: hif opaque handle
* @ce_id: CE id
* @addr: irq trigger address
* @data: irq trigger data
*
* Return: QDF status
*/
QDF_STATUS
hif_set_irq_config_by_ceid(struct hif_opaque_softc *scn, uint8_t ce_id,
uint64_t addr, uint32_t data);
#else
static inline QDF_STATUS
hif_set_irq_config_by_ceid(struct hif_opaque_softc *scn, uint8_t ce_id,
uint64_t addr, uint32_t data)
{
return QDF_STATUS_SUCCESS;
}
#endif
#endif /* _HIF_H_ */