Lines Matching refs:current_region
1627 const struct ath10k_mem_region *current_region, in ath10k_pci_dump_memory_generic() argument
1632 if (current_region->section_table.size > 0) in ath10k_pci_dump_memory_generic()
1635 current_region, in ath10k_pci_dump_memory_generic()
1637 current_region->len); in ath10k_pci_dump_memory_generic()
1643 current_region->start, in ath10k_pci_dump_memory_generic()
1645 current_region->len); in ath10k_pci_dump_memory_generic()
1648 current_region->name, ret); in ath10k_pci_dump_memory_generic()
1652 return current_region->len; in ath10k_pci_dump_memory_generic()
1659 const struct ath10k_mem_region *current_region; in ath10k_pci_dump_memory() local
1675 current_region = &mem_layout->region_table.regions[0]; in ath10k_pci_dump_memory()
1685 if (current_region->len > buf_len) { in ath10k_pci_dump_memory()
1687 current_region->name, in ath10k_pci_dump_memory()
1688 current_region->len, in ath10k_pci_dump_memory()
1696 if (current_region->type == ATH10K_MEM_REGION_TYPE_IRAM1 || in ath10k_pci_dump_memory()
1697 current_region->type == ATH10K_MEM_REGION_TYPE_IRAM2) { in ath10k_pci_dump_memory()
1698 shift = current_region->start >> 20; in ath10k_pci_dump_memory()
1703 current_region->name, ret); in ath10k_pci_dump_memory()
1713 switch (current_region->type) { in ath10k_pci_dump_memory()
1715 count = ath10k_pci_dump_memory_sram(ar, current_region, buf); in ath10k_pci_dump_memory()
1718 ret = ath10k_pci_dump_memory_reg(ar, current_region, buf); in ath10k_pci_dump_memory()
1725 ret = ath10k_pci_dump_memory_generic(ar, current_region, buf); in ath10k_pci_dump_memory()
1733 hdr->region_type = cpu_to_le32(current_region->type); in ath10k_pci_dump_memory()
1734 hdr->start = cpu_to_le32(current_region->start); in ath10k_pci_dump_memory()
1744 current_region++; in ath10k_pci_dump_memory()