Searched refs:m3_mem (Results 1 – 4 of 4) sorted by relevance
/linux-6.12.1/drivers/net/wireless/ath/ath12k/ |
D | qmi.c | 2722 struct m3_mem_region *m3_mem = &ab->qmi.m3_mem; in ath12k_qmi_m3_free() local 2724 if (!m3_mem->vaddr) in ath12k_qmi_m3_free() 2727 dma_free_coherent(ab->dev, m3_mem->size, in ath12k_qmi_m3_free() 2728 m3_mem->vaddr, m3_mem->paddr); in ath12k_qmi_m3_free() 2729 m3_mem->vaddr = NULL; in ath12k_qmi_m3_free() 2730 m3_mem->size = 0; in ath12k_qmi_m3_free() 2735 struct m3_mem_region *m3_mem = &ab->qmi.m3_mem; in ath12k_qmi_m3_load() local 2764 if (m3_mem->vaddr) { in ath12k_qmi_m3_load() 2765 if (m3_mem->size >= m3_len) in ath12k_qmi_m3_load() 2772 m3_mem->vaddr = dma_alloc_coherent(ab->dev, in ath12k_qmi_m3_load() [all …]
|
D | qmi.h | 147 struct m3_mem_region m3_mem; member
|
/linux-6.12.1/drivers/net/wireless/ath/ath11k/ |
D | qmi.c | 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() [all …]
|
D | qmi.h | 142 struct m3_mem_region m3_mem; member
|