Home
last modified time | relevance | path

Searched refs:m3_mem (Results 1 – 3 of 3) sorted by relevance

/wlan-driver/platform/cnss2/
H A Dpci.c5139 struct cnss_fw_mem *m3_mem = &plat_priv->m3_mem; in cnss_pci_load_m3() local
5173 if (!m3_mem->va && !m3_mem->size) { in cnss_pci_load_m3()
5184 m3_mem->va = dma_alloc_coherent(&pci_priv->pci_dev->dev, in cnss_pci_load_m3()
5185 fw_entry->size, &m3_mem->pa, in cnss_pci_load_m3()
5187 if (!m3_mem->va) { in cnss_pci_load_m3()
5194 memcpy(m3_mem->va, fw_entry->data, fw_entry->size); in cnss_pci_load_m3()
5195 m3_mem->size = fw_entry->size; in cnss_pci_load_m3()
5205 struct cnss_fw_mem *m3_mem = &plat_priv->m3_mem; in cnss_pci_free_m3_mem() local
5207 if (m3_mem->va && m3_mem->size) { in cnss_pci_free_m3_mem()
5209 m3_mem->va, &m3_mem->pa, m3_mem->size); in cnss_pci_free_m3_mem()
[all …]
H A Dqmi.c1105 struct cnss_fw_mem *m3_mem = &plat_priv->m3_mem; in cnss_wlfw_m3_dnld_send_sync() local
1121 if (!m3_mem->pa || !m3_mem->size) { in cnss_wlfw_m3_dnld_send_sync()
1128 m3_mem->va, &m3_mem->pa, m3_mem->size); in cnss_wlfw_m3_dnld_send_sync()
1130 req->addr = plat_priv->m3_mem.pa; in cnss_wlfw_m3_dnld_send_sync()
1131 req->size = plat_priv->m3_mem.size; in cnss_wlfw_m3_dnld_send_sync()
H A Dmain.h558 struct cnss_fw_mem m3_mem; member