Home
last modified time | relevance | path

Searched refs:mem (Results 1 – 25 of 27) sorted by relevance

12

/wlan-driver/qca-wifi-host-cmn/hif/src/
Dmp_dev.c73 void __iomem *mem, uint32_t reg, in set_target_reg_bits() argument
76 uint32_t value = hif_read32_mb(scn, mem + (reg)); in set_target_reg_bits()
84 hif_write32_mb(scn, mem + (reg), value); in set_target_reg_bits()
88 void __iomem *mem, in get_target_reg_bits() argument
91 uint32_t value = hif_read32_mb(scn, mem + (reg)); in get_target_reg_bits()
102 set_target_reg_bits(scn, scn->mem, BB_chaninfo_ctrl, in priv_start_cap_chaninfo()
109 hif_read32_mb(scn, scn->mem + BB_gains_min_offsets); in priv_start_agc()
110 set_target_reg_bits(scn, scn->mem, BB_gains_min_offsets, in priv_start_agc()
117 set_target_reg_bits(scn, scn->mem, BB_gains_min_offsets, in priv_stop_agc()
130 get_target_reg_bits(scn, scn->mem, BB_multichain_enable, in priv_dump_chaninfo()
[all …]
Dhif_io32.h166 value = qdf_ioread32(sc->mem + offset); in hif_reg_write_result_check()
192 qdf_iowrite32(sc->mem + WINDOW_REG_ADDRESS, in hif_select_window_confirm()
206 qdf_iowrite32(sc->mem + WINDOW_REG_ADDRESS, in hif_select_window_confirm()
269 uint32_t offset = addr - sc->mem; in hif_write32_mb_reg_window()
278 qdf_iowrite32(sc->mem + WINDOW_START + in hif_write32_mb_reg_window()
288 uint32_t offset = addr - sc->mem; in hif_read32_mb_reg_window()
297 ret = qdf_ioread32(sc->mem + WINDOW_START + in hif_read32_mb_reg_window()
322 hif_read32_mb(scn, scn->mem + (offset))
324 hif_write32_mb(scn, (scn->mem) + (offset), value)
Dhif_main.c79 return scn->mem; in hif_get_target_id()
544 return scn->mem; in hif_get_dev_ba()
2923 hif_write32_mb(scn, scn->mem + offset, value); in hif_reg_write()
2941 return hif_read32_mb(scn, scn->mem + offset); in hif_reg_read()
Dhif_main.h364 void __iomem *mem; member
/wlan-driver/qca-wifi-host-cmn/hif/src/pcie/
Dif_pci.c229 target_enable0 = hif_read32_mb(sc, sc->mem + Q6_ENABLE_REGISTER_0); in hif_pci_route_adrastea_interrupt()
230 target_enable1 = hif_read32_mb(sc, sc->mem + Q6_ENABLE_REGISTER_1); in hif_pci_route_adrastea_interrupt()
231 target_cause0 = hif_read32_mb(sc, sc->mem + Q6_CAUSE_REGISTER_0); in hif_pci_route_adrastea_interrupt()
232 target_cause1 = hif_read32_mb(sc, sc->mem + Q6_CAUSE_REGISTER_1); in hif_pci_route_adrastea_interrupt()
236 hif_write32_mb(sc, sc->mem + Q6_ENABLE_REGISTER_0, 0); in hif_pci_route_adrastea_interrupt()
237 hif_write32_mb(sc, sc->mem + Q6_ENABLE_REGISTER_1, 0); in hif_pci_route_adrastea_interrupt()
270 hif_write32_mb(scn, scn->mem + in pci_dispatch_interrupt()
275 hif_read32_mb(scn, scn->mem + in pci_dispatch_interrupt()
311 host_enable = hif_read32_mb(sc, sc->mem + in hif_pci_legacy_ce_interrupt_handler()
313 host_cause = hif_read32_mb(sc, sc->mem + in hif_pci_legacy_ce_interrupt_handler()
[all …]
Dif_pci_internal.h37 tmp_cause0 = hif_read32_mb(sc, sc->mem + PCIE_INTR_CAUSE_ADDRESS); \
38 hif_write32_mb(sc, sc->mem + PCIE_INTR_CLR_ADDRESS, \
40 hif_read32_mb(sc, sc->mem + PCIE_INTR_CLR_ADDRESS); \
41 hif_write32_mb(sc, sc->mem + PCIE_INTR_CLR_ADDRESS, 0); \
42 hif_read32_mb(sc, sc->mem + PCIE_INTR_CLR_ADDRESS); \
Dif_pci.h124 void __iomem *mem; /* PCI address. */ member
163 bool hif_pci_targ_is_present(struct hif_softc *scn, void *__iomem *mem);
/wlan-driver/qca-wifi-host-cmn/hif/src/snoc/
Dif_ahb.c216 sc->mem = info.v_addr; in hif_ahb_get_bar_addr_pld()
218 sc->ce_sc.ol_sc.mem = info.v_addr; in hif_ahb_get_bar_addr_pld()
404 void __iomem *mem; in hif_ahb_disable_bus() local
414 if (sc->mem) { in hif_ahb_disable_bus()
443 mem = (void __iomem *)sc->mem; in hif_ahb_disable_bus()
444 if (mem) { in hif_ahb_disable_bus()
445 pfrm_devm_iounmap(&pdev->dev, mem); in hif_ahb_disable_bus()
448 sc->mem = NULL; in hif_ahb_disable_bus()
452 scn->mem = NULL; in hif_ahb_disable_bus()
480 void __iomem *mem = NULL; in hif_ahb_enable_bus() local
[all …]
Dhif_io32_snoc.h46 hif_write32_mb(scn, scn->mem + offset, 1); in ce_enable_irq_in_individual_register()
59 hif_write32_mb(scn, scn->mem + offset, 0); in ce_disable_irq_in_individual_register()
65 hif_read32_mb(scn, scn->mem + offset); in ce_disable_irq_in_individual_register()
Dif_snoc.c144 scn->mem = soc_info.v_addr; in hif_snoc_get_soc_info()
/wlan-driver/platform/cnss_prealloc/
Dcnss_prealloc.c233 static int cnss_pool_get_index(void *mem) in cnss_pool_get_index() argument
239 if (!virt_addr_valid(mem)) in cnss_pool_get_index()
243 slab = virt_to_slab(mem); in cnss_pool_get_index()
260 static int cnss_pool_get_index(void *mem) in cnss_pool_get_index() argument
266 if (!virt_addr_valid(mem)) in cnss_pool_get_index()
270 page = virt_to_head_page(mem); in cnss_pool_get_index()
300 void *mem = NULL; in wcnss_prealloc_get() local
305 return mem; in wcnss_prealloc_get()
316 mem = mempool_alloc(cnss_pools[i].mp, gfp_mask); in wcnss_prealloc_get()
317 if (mem) in wcnss_prealloc_get()
[all …]
/wlan-driver/qca-wifi-host-cmn/hif/src/ipcie/
Dif_ipci.c244 void __iomem *mem; in hif_ipci_disable_bus() local
252 mem = (void __iomem *)sc->mem; in hif_ipci_disable_bus()
253 if (mem) { in hif_ipci_disable_bus()
259 scn->mem = NULL; in hif_ipci_disable_bus()
773 sc->mem = info.v_addr; in hif_ipci_get_soc_info_pld()
774 sc->ce_sc.ol_sc.mem = info.v_addr; in hif_ipci_get_soc_info_pld()
Dif_ipci.h93 void __iomem *mem; /* PCI address. */ member
/wlan-driver/qca-wifi-host-cmn/hif/src/usb/
Dif_usb.c639 (sc->ramdump[i])->mem = (uint8_t *) (sc->ramdump[i] + 1); in hif_fw_assert_ramdump_pattern()
640 fw_ram_seg_addr[i] = (sc->ramdump[i])->mem; in hif_fw_assert_ramdump_pattern()
644 (sc->ramdump[i])->mem); in hif_fw_assert_ramdump_pattern()
649 ram_ptr = (sc->ramdump[i])->mem + (sc->ramdump[i])->length; in hif_fw_assert_ramdump_pattern()
Dif_usb.h75 uint8_t *mem; member
/wlan-driver/qca-wifi-host-cmn/hif/src/ce/
Dce_diag.c50 val = hif_read32_mb(scn, scn->mem + loc + j); in hif_ce_dump_target_memory()
104 TARG_CPU_SPACE_TO_CE_SPACE_AR900B(sc, sc->mem, address); in get_ce_phy_addr()
107 TARG_CPU_SPACE_TO_CE_SPACE(sc, sc->mem, address); in get_ce_phy_addr()
Dce_main.c5158 hif_write32_mb(scn, scn->mem + BYPASS_QMI_TEMP_REGISTER, target_pa); in hif_post_static_buf_to_target()
5178 hif_write32_mb(scn, scn->mem + BYPASS_QMI_TEMP_REGISTER, 0); in hif_cleanup_static_buf_to_target()
5204 hif_write32_mb(scn, scn->mem + BYPASS_QMI_TEMP_REGISTER, target_pa); in hif_post_static_buf_to_target()
5222 hif_write32_mb(scn, scn->mem + BYPASS_QMI_TEMP_REGISTER, 0); in hif_cleanup_static_buf_to_target()
Dce_service.c466 indicator_addr = scn->mem + ctrl_addr + DST_WATERMARK_ADDRESS; in war_ce_src_ring_write_idx_set()
/wlan-driver/qca-wifi-host-cmn/hal/wifi3.0/
Dhal_srng.c1355 void hal_get_meminfo(hal_soc_handle_t hal_soc_hdl, struct hal_mem_info *mem) in hal_get_meminfo() argument
1358 mem->dev_base_addr = (void *)hal->dev_base_addr; in hal_get_meminfo()
1359 mem->shadow_rdptr_mem_vaddr = (void *)hal->shadow_rdptr_mem_vaddr; in hal_get_meminfo()
1360 mem->shadow_wrptr_mem_vaddr = (void *)hal->shadow_wrptr_mem_vaddr; in hal_get_meminfo()
1361 mem->shadow_rdptr_mem_paddr = (void *)hal->shadow_rdptr_mem_paddr; in hal_get_meminfo()
1362 mem->shadow_wrptr_mem_paddr = (void *)hal->shadow_wrptr_mem_paddr; in hal_get_meminfo()
1364 (qdf_dma_addr_t *)&mem->dev_base_paddr); in hal_get_meminfo()
1365 mem->lmac_srng_start_id = HAL_SRNG_LMAC1_ID_START; in hal_get_meminfo()
/wlan-driver/qcacld-3.0/core/pld/src/
Dpld_common.c691 void *mem = NULL; in pld_get_virt_ramdump_mem() local
695 mem = pld_pcie_get_virt_ramdump_mem(dev, size); in pld_get_virt_ramdump_mem()
704 mem = pld_sdio_get_virt_ramdump_mem(dev, size); in pld_get_virt_ramdump_mem()
711 return mem; in pld_get_virt_ramdump_mem()
/wlan-driver/platform/cnss2/
Dpci.c4773 void *mem = NULL; in cnss_send_buffer_to_afcmem() local
4794 mem = fw_mem[i].va; in cnss_send_buffer_to_afcmem()
4795 status = mem + (slotid * AFC_SLOT_SIZE); in cnss_send_buffer_to_afcmem()
4800 if (!mem) { in cnss_send_buffer_to_afcmem()
4806 memcpy(mem + (slotid * AFC_SLOT_SIZE), afcdb, len); in cnss_send_buffer_to_afcmem()
4808 memset(mem + (slotid * AFC_SLOT_SIZE) + len, in cnss_send_buffer_to_afcmem()
4822 void *mem = NULL; in cnss_reset_afcmem() local
4837 mem = fw_mem[i].va; in cnss_reset_afcmem()
4842 if (!mem) { in cnss_reset_afcmem()
4848 memset(mem + (slotid * AFC_SLOT_SIZE), 0, AFC_SLOT_SIZE); in cnss_reset_afcmem()
/wlan-driver/qca-wifi-host-cmn/iot_sim/
DKbuild58 -I$(obj)/$(DEPTH)/os/linux/mem/ \
/wlan-driver/qca-wifi-host-cmn/spectral/
DKbuild83 -I$(obj)/$(DEPTH)/os/linux/mem/ \
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/
Ddp_main.c1280 void *mem; in dp_srng_aligned_mem_alloc_consistent() local
1289 mem = in dp_srng_aligned_mem_alloc_consistent()
1297 if (mem) { in dp_srng_aligned_mem_alloc_consistent()
1302 mem = qdf_aligned_mem_alloc_consistent(soc->osdev, &srng->alloc_size, in dp_srng_aligned_mem_alloc_consistent()
1309 srng->is_mem_prealloc ? "pre-alloc" : "dynamic-alloc", mem, in dp_srng_aligned_mem_alloc_consistent()
1311 return mem; in dp_srng_aligned_mem_alloc_consistent()
1397 void *mem; in dp_srng_aligned_mem_alloc_consistent() local
1399 mem = qdf_aligned_mem_alloc_consistent(soc->osdev, &srng->alloc_size, in dp_srng_aligned_mem_alloc_consistent()
1404 if (mem) in dp_srng_aligned_mem_alloc_consistent()
1407 return mem; in dp_srng_aligned_mem_alloc_consistent()
/wlan-driver/fw-api/fw/
Dwlan_defs.h1261 struct wlan_dbg_mem_stats mem; member

12