Lines Matching refs:m3_mem
2504 struct m3_mem_region *m3_mem = &ab->qmi.m3_mem; in ath11k_qmi_m3_load() local
2511 if (m3_mem->vaddr) in ath11k_qmi_m3_load()
2536 m3_mem->vaddr = dma_alloc_coherent(ab->dev, in ath11k_qmi_m3_load()
2537 m3_len, &m3_mem->paddr, in ath11k_qmi_m3_load()
2539 if (!m3_mem->vaddr) { in ath11k_qmi_m3_load()
2546 memcpy(m3_mem->vaddr, m3_data, m3_len); in ath11k_qmi_m3_load()
2547 m3_mem->size = m3_len; in ath11k_qmi_m3_load()
2559 struct m3_mem_region *m3_mem = &ab->qmi.m3_mem; in ath11k_qmi_m3_free() local
2561 if (!ab->hw_params.m3_fw_support || !m3_mem->vaddr) in ath11k_qmi_m3_free()
2564 dma_free_coherent(ab->dev, m3_mem->size, in ath11k_qmi_m3_free()
2565 m3_mem->vaddr, m3_mem->paddr); in ath11k_qmi_m3_free()
2566 m3_mem->vaddr = NULL; in ath11k_qmi_m3_free()
2567 m3_mem->size = 0; in ath11k_qmi_m3_free()
2572 struct m3_mem_region *m3_mem = &ab->qmi.m3_mem; in ath11k_qmi_wlanfw_m3_info_send() local
2588 req.addr = m3_mem->paddr; in ath11k_qmi_wlanfw_m3_info_send()
2589 req.size = m3_mem->size; in ath11k_qmi_wlanfw_m3_info_send()