Home
last modified time | relevance | path

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

/src/sys/contrib/dev/athk/ath12k/
H A Dqmi.c3119 struct m3_mem_region *m3_mem = &ab->qmi.m3_mem; in ath12k_qmi_m3_free() local
3124 if (!m3_mem->vaddr) in ath12k_qmi_m3_free()
3127 dma_free_coherent(ab->dev, m3_mem->total_size, in ath12k_qmi_m3_free()
3128 m3_mem->vaddr, m3_mem->paddr); in ath12k_qmi_m3_free()
3129 m3_mem->vaddr = NULL; in ath12k_qmi_m3_free()
3130 m3_mem->total_size = 0; in ath12k_qmi_m3_free()
3131 m3_mem->size = 0; in ath12k_qmi_m3_free()
3136 struct m3_mem_region *m3_mem = &ab->qmi.m3_mem; in ath12k_qmi_m3_load() local
3165 if (m3_mem->vaddr) { in ath12k_qmi_m3_load()
3166 if (m3_mem->total_size >= m3_len) in ath12k_qmi_m3_load()
[all …]
H A Dqmi.h156 struct m3_mem_region m3_mem; member
/src/sys/contrib/dev/athk/ath11k/
H A Dqmi.c2546 struct m3_mem_region *m3_mem = &ab->qmi.m3_mem; in ath11k_qmi_m3_load() local
2553 if (m3_mem->vaddr) in ath11k_qmi_m3_load()
2578 m3_mem->vaddr = dma_alloc_coherent(ab->dev, in ath11k_qmi_m3_load()
2579 m3_len, &m3_mem->paddr, in ath11k_qmi_m3_load()
2581 if (!m3_mem->vaddr) { in ath11k_qmi_m3_load()
2588 memcpy(m3_mem->vaddr, m3_data, m3_len); in ath11k_qmi_m3_load()
2589 m3_mem->size = m3_len; in ath11k_qmi_m3_load()
2601 struct m3_mem_region *m3_mem = &ab->qmi.m3_mem; in ath11k_qmi_m3_free() local
2603 if (!ab->hw_params.m3_fw_support || !m3_mem->vaddr) in ath11k_qmi_m3_free()
2606 dma_free_coherent(ab->dev, m3_mem->size, in ath11k_qmi_m3_free()
[all …]
H A Dqmi.h149 struct m3_mem_region m3_mem; member