Lines Matching full:msa

1439 	hdr->start = cpu_to_le32((unsigned long)ar->msa.vaddr);  in ath10k_msa_dump_memory()
1440 hdr->length = cpu_to_le32(ar->msa.mem_size); in ath10k_msa_dump_memory()
1442 if (current_region->len < ar->msa.mem_size) { in ath10k_msa_dump_memory()
1443 memcpy(buf, ar->msa.vaddr, current_region->len); in ath10k_msa_dump_memory()
1444 ath10k_warn(ar, "msa dump length is less than msa size %x, %x\n", in ath10k_msa_dump_memory()
1445 current_region->len, ar->msa.mem_size); in ath10k_msa_dump_memory()
1447 memcpy(buf, ar->msa.vaddr, ar->msa.mem_size); in ath10k_msa_dump_memory()
1555 dev_err(dev, "failed to resolve msa fixed region\n"); in ath10k_setup_msa_resources()
1559 ar->msa.paddr = r.start; in ath10k_setup_msa_resources()
1560 ar->msa.mem_size = resource_size(&r); in ath10k_setup_msa_resources()
1561 ar->msa.vaddr = devm_memremap(dev, ar->msa.paddr, in ath10k_setup_msa_resources()
1562 ar->msa.mem_size, in ath10k_setup_msa_resources()
1564 if (IS_ERR(ar->msa.vaddr)) { in ath10k_setup_msa_resources()
1567 return PTR_ERR(ar->msa.vaddr); in ath10k_setup_msa_resources()
1570 ar->msa.vaddr = dmam_alloc_coherent(dev, msa_size, in ath10k_setup_msa_resources()
1571 &ar->msa.paddr, in ath10k_setup_msa_resources()
1573 if (!ar->msa.vaddr) { in ath10k_setup_msa_resources()
1574 ath10k_err(ar, "failed to allocate dma memory for msa region\n"); in ath10k_setup_msa_resources()
1577 ar->msa.mem_size = msa_size; in ath10k_setup_msa_resources()
1580 ath10k_dbg(ar, ATH10K_DBG_QMI, "qmi msa.paddr: %pad , msa.vaddr: 0x%p\n", in ath10k_setup_msa_resources()
1581 &ar->msa.paddr, in ath10k_setup_msa_resources()
1582 ar->msa.vaddr); in ath10k_setup_msa_resources()
1639 ar_snoc->fw.fw_start_addr = ar->msa.paddr; in ath10k_fw_init()
1642 ar->msa.paddr, ar->msa.mem_size, in ath10k_fw_init()
1790 ath10k_warn(ar, "failed to setup msa resources: %d\n", ret); in ath10k_snoc_probe()