qcacmn: add APIs to access CMEM

Adding write/read APIs for accessing the CMEM.

Currently in QCA6750, UMAC and CE windows are statically mapped,
a new static window for CMEM is added for CMEM transactions.

Change-Id: Ie10b33a6f468c6e4db314ea85856414962ef29e3
CRs-Fixed: 2771193
Esse commit está contido em:
Manikanta Pubbisetty
2020-09-04 18:39:47 +05:30
commit de snandini
commit 1a4e3a96c7
3 arquivos alterados com 86 adições e 15 exclusões

Ver arquivo

@@ -122,6 +122,12 @@
#define HAL_REG_READ(_soc, _offset) \
hal_read32_mb(_soc, (_offset))
#define HAL_CMEM_WRITE(_soc, _reg, _value) \
hal_write32_mb_cmem(_soc, (_reg), (_value))
#define HAL_CMEM_READ(_soc, _offset) \
hal_read32_mb_cmem(_soc, (_offset))
#define WBM_IDLE_DESC_LIST 1
/**