Lines Matching refs:va
4794 mem = fw_mem[i].va; in cnss_send_buffer_to_afcmem()
4837 mem = fw_mem[i].va; in cnss_reset_afcmem()
4864 if (!fw_mem[i].va && fw_mem[i].size) { in cnss_pci_alloc_fw_mem()
4866 fw_mem[i].va = in cnss_pci_alloc_fw_mem()
4871 if (!fw_mem[i].va) { in cnss_pci_alloc_fw_mem()
4900 if (fw_mem[i].va && fw_mem[i].size) { in cnss_pci_free_fw_mem()
4902 fw_mem[i].va, &fw_mem[i].pa, in cnss_pci_free_fw_mem()
4905 fw_mem[i].va, fw_mem[i].pa, in cnss_pci_free_fw_mem()
4907 fw_mem[i].va = NULL; in cnss_pci_free_fw_mem()
4924 if (!qdss_mem[i].va && qdss_mem[i].size) { in cnss_pci_alloc_qdss_mem()
4925 qdss_mem[i].va = in cnss_pci_alloc_qdss_mem()
4930 if (!qdss_mem[i].va) { in cnss_pci_alloc_qdss_mem()
4958 if (qdss_mem[i].va && qdss_mem[i].size) { in cnss_pci_free_qdss_mem()
4963 qdss_mem[i].size, qdss_mem[i].va, in cnss_pci_free_qdss_mem()
4965 qdss_mem[i].va = NULL; in cnss_pci_free_qdss_mem()
5002 if (!tme_lite_mem->va && !tme_lite_mem->size) { in cnss_pci_load_tme_patch()
5013 tme_lite_mem->va = dma_alloc_coherent(&pci_priv->pci_dev->dev, in cnss_pci_load_tme_patch()
5016 if (!tme_lite_mem->va) { in cnss_pci_load_tme_patch()
5023 memcpy(tme_lite_mem->va, fw_entry->data, fw_entry->size); in cnss_pci_load_tme_patch()
5036 if (tme_lite_mem->va && tme_lite_mem->size) { in cnss_pci_free_tme_lite_mem()
5038 tme_lite_mem->va, &tme_lite_mem->pa, tme_lite_mem->size); in cnss_pci_free_tme_lite_mem()
5040 tme_lite_mem->va, tme_lite_mem->pa); in cnss_pci_free_tme_lite_mem()
5043 tme_lite_mem->va = NULL; in cnss_pci_free_tme_lite_mem()
5086 if (!tme_lite_mem->va && !tme_lite_mem->size) { in cnss_pci_load_tme_opt_file()
5098 tme_lite_mem->va = dma_alloc_coherent(&pci_priv->pci_dev->dev, in cnss_pci_load_tme_opt_file()
5101 if (!tme_lite_mem->va) { in cnss_pci_load_tme_opt_file()
5108 memcpy(tme_lite_mem->va, fw_entry->data, fw_entry->size); in cnss_pci_load_tme_opt_file()
5123 if (tme_opt_file_mem[i].va && tme_opt_file_mem[i].size) { in cnss_pci_free_tme_opt_file_mem()
5125 tme_opt_file_mem[i].va, &tme_opt_file_mem[i].pa, in cnss_pci_free_tme_opt_file_mem()
5128 tme_opt_file_mem[i].va, tme_opt_file_mem[i].pa); in cnss_pci_free_tme_opt_file_mem()
5130 tme_opt_file_mem[i].va = NULL; in cnss_pci_free_tme_opt_file_mem()
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()
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()
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()
5211 m3_mem->va, m3_mem->pa); in cnss_pci_free_m3_mem()
5214 m3_mem->va = NULL; in cnss_pci_free_m3_mem()
5239 if (!aux_mem->va && !aux_mem->size) { in cnss_pci_load_aux()
5250 aux_mem->va = dma_alloc_coherent(&pci_priv->pci_dev->dev, in cnss_pci_load_aux()
5253 if (!aux_mem->va) { in cnss_pci_load_aux()
5260 memcpy(aux_mem->va, fw_entry->data, fw_entry->size); in cnss_pci_load_aux()
5273 if (aux_mem->va && aux_mem->size) { in cnss_pci_free_aux_mem()
5275 aux_mem->va, &aux_mem->pa, aux_mem->size); in cnss_pci_free_aux_mem()
5277 aux_mem->va, aux_mem->pa); in cnss_pci_free_aux_mem()
5280 aux_mem->va = NULL; in cnss_pci_free_aux_mem()
5479 info->va = pci_priv->bar; in cnss_get_soc_info()
6172 void *va, dma_addr_t dma, size_t size) in cnss_pci_add_dump_seg() argument
6179 dump_seg->v_address = va; in cnss_pci_add_dump_seg()
6184 seg_no, va, &dma, size); in cnss_pci_add_dump_seg()
6186 if (type == CNSS_FW_CAL || cnss_va_to_pa(dev, size, va, dma, &pa, DMA_ATTR_FORCE_CONTIGUOUS)) in cnss_pci_add_dump_seg()
6189 cnss_minidump_add_region(plat_priv, type, seg_no, va, pa, size); in cnss_pci_add_dump_seg()
6195 void *va, dma_addr_t dma, size_t size) in cnss_pci_remove_dump_seg() argument
6201 cnss_va_to_pa(dev, size, va, dma, &pa, DMA_ATTR_FORCE_CONTIGUOUS); in cnss_pci_remove_dump_seg()
6202 cnss_minidump_remove_region(plat_priv, type, seg_no, va, pa, size); in cnss_pci_remove_dump_seg()
6275 fw_mem[i].va) { in cnss_pci_send_hang_event()
6280 hang_data_va = fw_mem[i].va + offset; in cnss_pci_send_hang_event()
6452 fw_mem[i].va, in cnss_pci_collect_dump_info()
6465 fw_mem[i].va, in cnss_pci_collect_dump_info()
6519 fw_mem[i].va, fw_mem[i].pa, in cnss_pci_clear_dump_info()
6526 fw_mem[i].va, fw_mem[i].pa, in cnss_pci_clear_dump_info()