Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/wireless/ath/ath11k/
Dqmi.c2491 struct m3_mem_region *m3_mem = &ab->qmi.m3_mem; in ath11k_qmi_m3_load() local
2505 if (m3_mem->vaddr || m3_mem->size) in ath11k_qmi_m3_load()
2508 m3_mem->vaddr = dma_alloc_coherent(ab->dev, in ath11k_qmi_m3_load()
2509 fw->size, &m3_mem->paddr, in ath11k_qmi_m3_load()
2511 if (!m3_mem->vaddr) { in ath11k_qmi_m3_load()
2519 memcpy(m3_mem->vaddr, fw->data, fw->size); in ath11k_qmi_m3_load()
2520 m3_mem->size = fw->size; in ath11k_qmi_m3_load()
2528 struct m3_mem_region *m3_mem = &ab->qmi.m3_mem; in ath11k_qmi_m3_free() local
2530 if (!ab->hw_params.m3_fw_support || !m3_mem->vaddr) in ath11k_qmi_m3_free()
2533 dma_free_coherent(ab->dev, m3_mem->size, in ath11k_qmi_m3_free()
[all …]
Dqmi.h142 struct m3_mem_region m3_mem; member