Home
last modified time | relevance | path

Searched refs:dma_addr (Results 1 – 25 of 28) sorted by relevance

12

/wlan-driver/qca-wifi-host-cmn/hif/src/ce/
H A Dce_service_legacy.c81 uint64_t dma_addr, in ce_buffer_addr_hi_set() argument
85 (uint32_t)((dma_addr >> 32) & CE_RING_BASE_ADDR_HIGH_MASK); in ce_buffer_addr_hi_set()
93 uint64_t dma_addr, in ce_buffer_addr_hi_set() argument
128 uint64_t dma_addr; in ce_send_fast() local
199 dma_addr = qdf_nbuf_get_frag_paddr(msdu, 0); in ce_send_fast()
200 shadow_src_desc->buffer_addr = (uint32_t)(dma_addr & in ce_send_fast()
203 ce_buffer_addr_hi_set(shadow_src_desc, dma_addr, user_flags); in ce_send_fast()
230 dma_addr = qdf_nbuf_get_frag_paddr(msdu, 1); in ce_send_fast()
231 shadow_src_desc->buffer_addr = (uint32_t)(dma_addr & in ce_send_fast()
237 ce_buffer_addr_hi_set(shadow_src_desc, dma_addr, user_flags); in ce_send_fast()
[all …]
H A Dce_service_srng.c74 #define CE_ADDR_COPY(desc, dma_addr) do {\ argument
75 (desc)->buffer_addr_lo = (uint32_t)((dma_addr) &\
78 (uint32_t)(((dma_addr) >> 32) & 0xFF);\
174 uint64_t dma_addr = buffer; in ce_send_nolock_srng() local
203 (uint32_t)(dma_addr & 0xFFFFFFFF); in ce_send_nolock_srng()
205 (uint32_t)((dma_addr >> 32) & 0xFF); in ce_send_nolock_srng()
334 uint64_t dma_addr = buffer; in ce_recv_buf_enqueue_srng() local
367 CE_ADDR_COPY(dest_desc, dma_addr); in ce_recv_buf_enqueue_srng()
1169 uint64_t **dma_addr, in ce_get_direct_link_dest_srng_buffers() argument
1209 *dma_addr = dma_addr_arr; in ce_get_direct_link_dest_srng_buffers()
H A Dce_api.h679 uint64_t **dma_addr,
H A Dce_internal.h767 qdf_dma_addr_t dma_addr; member
H A Dce_main.c3984 qdf_dma_addr_t dma_addr; in hif_alloc_pages_for_direct_link_recv_pipe() local
4020 dma_addr = scn->dl_recv_pages.dma_pages[i / num_elem_per_page].page_p_addr; in hif_alloc_pages_for_direct_link_recv_pipe()
4021 dma_addr += (i % num_elem_per_page) * pipe_info->buf_sz; in hif_alloc_pages_for_direct_link_recv_pipe()
4022 ce_recv_buf_enqueue(pipe_info->ce_hdl, NULL, dma_addr); in hif_alloc_pages_for_direct_link_recv_pipe()
6186 uint64_t **dma_addr, in hif_get_direct_link_ce_dest_srng_buffers() argument
6195 dma_addr, in hif_get_direct_link_ce_dest_srng_buffers()
H A Dce_service.c160 event->dma_addr = QDF_NBUF_CB_PADDR(memory); in hif_ce_desc_record_rx_paddr()
163 event->dma_addr); in hif_ce_desc_record_rx_paddr()
/wlan-driver/qca-wifi-host-cmn/qdf/linux/src/
H A Di_qdf_mem.h507 qdf_dma_addr_t dma_addr) in __qdf_mem_paddr_from_dmaaddr() argument
514 return iommu_iova_to_phys(domain, dma_addr); in __qdf_mem_paddr_from_dmaaddr()
517 return dma_addr; in __qdf_mem_paddr_from_dmaaddr()
522 qdf_dma_addr_t dma_addr) in __qdf_mem_paddr_from_dmaaddr() argument
524 return dma_addr; in __qdf_mem_paddr_from_dmaaddr()
540 qdf_dma_addr_t dma_addr, size_t size) in __qdf_os_mem_dma_get_sgtable() argument
542 return dma_get_sgtable(dev, (struct sg_table *)sgt, cpu_addr, dma_addr, in __qdf_os_mem_dma_get_sgtable()
633 qdf_dma_addr_t dma_addr, in __qdf_update_mem_map_table() argument
636 mem_info->pa = __qdf_mem_paddr_from_dmaaddr(osdev, dma_addr); in __qdf_update_mem_map_table()
637 mem_info->iova = dma_addr; in __qdf_update_mem_map_table()
H A Dqdf_mem.c2415 qdf_dma_addr_t dma_addr, paddr; in qdf_mem_shared_mem_alloc() local
2435 dma_addr = qdf_mem_get_dma_addr(osdev, &shared_mem->mem_info); in qdf_mem_shared_mem_alloc()
2436 paddr = qdf_mem_paddr_from_dmaaddr(osdev, dma_addr); in qdf_mem_shared_mem_alloc()
2440 shared_mem->vaddr, dma_addr, size); in qdf_mem_shared_mem_alloc()
2446 dma_addr, in qdf_mem_shared_mem_alloc()
3104 qdf_dma_addr_t dma_addr, in qdf_update_mem_map_table() argument
3112 __qdf_update_mem_map_table(osdev, mem_info, dma_addr, mem_size); in qdf_update_mem_map_table()
3118 qdf_dma_addr_t dma_addr) in qdf_mem_paddr_from_dmaaddr() argument
3120 return __qdf_mem_paddr_from_dmaaddr(osdev, dma_addr); in qdf_mem_paddr_from_dmaaddr()
H A Di_qdf_nbuf_w.h348 (((struct qdf_nbuf_cb *)((skb)->cb))->paddr.dma_addr)
549 (((struct qdf_nbuf_cb *)((skb)->cb))->u.tx.paddr.dma_addr)
H A Di_qdf_nbuf_m.h371 (((struct qdf_nbuf_cb *)((skb)->cb))->paddr.dma_addr)
556 (((struct qdf_nbuf_cb *)((skb)->cb))->u.tx.pa_ts.paddr.dma_addr)
H A Di_qdf_ipa.h214 (((struct ipa_rx_data *)(desc))->dma_addr)
H A Di_qdf_nbuf.h121 qdf_dma_addr_t dma_addr; member
/wlan-driver/qcacld-3.0/components/dp/core/src/
H A Dwlan_dp_wfds.c209 uint64_t *dma_addr = NULL; in dp_wfds_req_mem_msg() local
214 &dma_addr, in dp_wfds_req_mem_msg()
216 qdf_assert(dma_addr); in dp_wfds_req_mem_msg()
224 dma_addr[num_pages]; in dp_wfds_req_mem_msg()
226 qdf_mem_paddr_from_dmaaddr(qdf_dev, dma_addr[num_pages]), in dp_wfds_req_mem_msg()
227 dma_addr[num_pages], in dp_wfds_req_mem_msg()
231 qdf_mem_free(dma_addr); in dp_wfds_req_mem_msg()
604 uint64_t *dma_addr = NULL; in dp_wfds_del_server() local
629 &dma_addr, in dp_wfds_del_server()
631 qdf_assert(dma_addr); in dp_wfds_del_server()
[all …]
/wlan-driver/qca-wifi-host-cmn/qdf/inc/
H A Dqdf_mem.h1032 qdf_dma_addr_t dma_addr,
1048 qdf_dma_addr_t dma_addr);
1053 qdf_dma_addr_t dma_addr, in qdf_update_mem_map_table() argument
1061 __qdf_update_mem_map_table(osdev, mem_info, dma_addr, mem_size); in qdf_update_mem_map_table()
1066 qdf_dma_addr_t dma_addr) in qdf_mem_paddr_from_dmaaddr() argument
1068 return __qdf_mem_paddr_from_dmaaddr(osdev, dma_addr); in qdf_mem_paddr_from_dmaaddr()
1095 qdf_dma_addr_t dma_addr, size_t size) in qdf_mem_dma_get_sgtable() argument
1097 return __qdf_os_mem_dma_get_sgtable(dev, sgt, cpu_addr, dma_addr, size); in qdf_mem_dma_get_sgtable()
/wlan-driver/qca-wifi-host-cmn/wmi/src/
H A Dwmi_unified_vdev_tlv.c75 qdf_dma_addr_t dma_addr; in send_beacon_send_cmd_tlv() local
100 dma_addr = qdf_nbuf_get_frag_paddr(param->wbuf, 0); in send_beacon_send_cmd_tlv()
101 cmd->frag_ptr_lo = qdf_get_lower_32_bits(dma_addr); in send_beacon_send_cmd_tlv()
103 cmd->frag_ptr_hi = qdf_get_upper_32_bits(dma_addr) & 0x1F; in send_beacon_send_cmd_tlv()
H A Dwmi_unified.c268 dma_addr = da; \
3538 qdf_dma_addr_t dma_addr; in wmi_htc_tx_complete() local
3557 dma_addr = QDF_NBUF_CB_PADDR(wmi_cmd_buf); in wmi_htc_tx_complete()
3575 offset_ptr, dma_addr, in wmi_htc_tx_complete()
H A Dwmi_unified_tlv.c4761 uint64_t dma_addr; in send_mgmt_cmd_tlv() local
4809 dma_addr = qdf_nbuf_get_frag_paddr(param->tx_frame, 0); in send_mgmt_cmd_tlv()
4810 cmd->paddr_lo = (uint32_t)(dma_addr & 0xffffffff); in send_mgmt_cmd_tlv()
4812 cmd->paddr_hi = (uint32_t)((dma_addr >> 32) & 0x1F); in send_mgmt_cmd_tlv()
4883 uint64_t dma_addr; in send_offchan_data_tx_cmd_tlv() local
4915 dma_addr = qdf_nbuf_get_frag_paddr(param->tx_frame, 0); in send_offchan_data_tx_cmd_tlv()
4916 cmd->paddr_lo = (uint32_t)(dma_addr & 0xffffffff); in send_offchan_data_tx_cmd_tlv()
4918 cmd->paddr_hi = (uint32_t)((dma_addr >> 32) & 0x1F); in send_offchan_data_tx_cmd_tlv()
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/li/
H A Ddp_li_tx.c489 tx_desc->dma_addr, bm_id, tx_desc->id, in dp_tx_hw_enqueue_li()
542 (uint64_t)tx_desc->dma_addr, tx_desc->pkt_offset, in dp_tx_hw_enqueue_li()
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/rh/
H A Ddp_rh_tx.c310 tx_desc->dma_addr, 0, tx_desc->id, in dp_tx_hw_enqueue_rh()
353 (uint64_t)tx_desc->dma_addr, tx_desc->pkt_offset, in dp_tx_hw_enqueue_rh()
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/be/
H A Ddp_be_tx.c132 if (desc_dma_addr != (*r_tx_desc)->dma_addr) { in dp_tx_comp_desc_check_and_invalidate()
1346 tx_desc->dma_addr, bm_id, tx_desc->id, in dp_tx_hw_enqueue_be()
1943 tx_desc->dma_addr = paddr; in dp_tx_fast_send_be()
1946 hal_tx_desc_cached[0] = (uint32_t)tx_desc->dma_addr; in dp_tx_fast_send_be()
/wlan-driver/qca-wifi-host-cmn/dp/wifi3.0/
H A Ddp_tx.c1390 tx_desc->dma_addr = msdu_ext_desc->paddr; in dp_tx_prepare_desc()
2039 desc->dma_addr, in dp_tx_nbuf_unmap_regular()
3078 tx_desc->dma_addr = paddr; in dp_tx_send_msdu_single()
3079 dp_tx_desc_history_add(soc, tx_desc->dma_addr, nbuf, in dp_tx_send_msdu_single()
3090 dp_tx_desc_history_add(soc, tx_desc->dma_addr, nbuf, in dp_tx_send_msdu_single()
3158 dp_tx_desc_history_add(soc, desc->dma_addr, desc->nbuf, in dp_tx_comp_free_buf()
3199 dp_tx_desc_history_add(soc, desc->dma_addr, desc->nbuf, desc->id, type); in dp_tx_comp_free_buf()
6500 dp_tx_desc_history_add(soc, desc->dma_addr, desc->nbuf,
6541 (unsigned int)tx_desc->dma_addr);
H A Ddp_rx_tid.c566 static inline int dp_reo_desc_addr_chk(qdf_dma_addr_t dma_addr) in dp_reo_desc_addr_chk() argument
568 if (dma_addr < 0x50000000) in dp_reo_desc_addr_chk()
574 static inline int dp_reo_desc_addr_chk(qdf_dma_addr_t dma_addr) in dp_reo_desc_addr_chk() argument
H A Ddp_ipa.c400 qdf_dma_addr_t dma_addr, in dp_ipa_get_shared_mem_info() argument
408 *qdf_mem_get_dma_addr_ptr(osdev, &shared_mem->mem_info) = dma_addr; in dp_ipa_get_shared_mem_info()
410 paddr = qdf_mem_paddr_from_dmaaddr(osdev, dma_addr); in dp_ipa_get_shared_mem_info()
414 shared_mem->vaddr, dma_addr, size); in dp_ipa_get_shared_mem_info()
/wlan-driver/qca-wifi-host-cmn/hif/inc/
H A Dhif.h2834 uint64_t **dma_addr,
2859 uint64_t **dma_addr, in hif_get_direct_link_ce_dest_srng_buffers() argument
/wlan-driver/platform/cnss2/
H A Dpci.c6426 fw_image->mhi_buf[i].dma_addr, in cnss_pci_collect_dump_info()
6439 rddm_image->mhi_buf[i].dma_addr, in cnss_pci_collect_dump_info()
6501 fw_image->mhi_buf[i].dma_addr, in cnss_pci_clear_dump_info()
6509 rddm_image->mhi_buf[i].dma_addr, in cnss_pci_clear_dump_info()

12