/wlan-driver/qcacld-3.0/core/bmi/src/ |
D | bmi.c | 29 qdf_device_t qdf_dev = ol_ctx->qdf_dev; in bmi_init() local 37 if (!qdf_dev->dev) { in bmi_init() 46 qdf_mem_alloc_consistent(qdf_dev, qdf_dev->dev, in bmi_init() 57 qdf_mem_alloc_consistent(qdf_dev, qdf_dev->dev, in bmi_init() 67 qdf_mem_free_consistent(qdf_dev, qdf_dev->dev, MAX_BMI_CMDBUF_SZ, in bmi_init() 76 qdf_device_t qdf_dev; in bmi_cleanup() local 83 qdf_dev = ol_ctx->qdf_dev; in bmi_cleanup() 84 if (!qdf_dev || !qdf_dev->dev) { in bmi_cleanup() 90 qdf_mem_free_consistent(qdf_dev, qdf_dev->dev, in bmi_cleanup() 98 qdf_mem_free_consistent(qdf_dev, qdf_dev->dev, in bmi_cleanup() [all …]
|
D | ol_fw.c | 189 qdf_device_t qdf_dev = ol_ctx->qdf_dev; in __ol_transfer_bin_file() local 314 qdf_dev->dev); in __ol_transfer_bin_file() 326 qdf_dev->dev); in __ol_transfer_bin_file() 333 status = request_firmware(&fw_entry, filename, qdf_dev->dev); in __ol_transfer_bin_file() 352 if (ol_check_fw_hash(qdf_dev->dev, fw_entry->data, in __ol_transfer_bin_file() 554 qdf_device_t qdf_dev = ol_ctx->qdf_dev; in ol_check_clean_recovery_flag() local 556 if (!pld_have_platform_driver_support(qdf_dev->dev)) { in ol_check_clean_recovery_flag() 585 qdf_device_t qdf_dev = cds_get_context(QDF_MODULE_ID_QDF_DEVICE); in ol_copy_ramdump() local 587 if (!qdf_dev) in ol_copy_ramdump() 590 if (pld_is_fw_dump_skipped(qdf_dev->dev)) { in ol_copy_ramdump() [all …]
|
D | bmi_1.c | 272 qdf_device_t qdf_dev = ol_ctx->qdf_dev; in bmi_done_local() local 281 if (!qdf_dev->dev) { in bmi_done_local() 316 qdf_mem_free_consistent(qdf_dev, qdf_dev->dev, in bmi_done_local() 324 qdf_mem_free_consistent(qdf_dev, qdf_dev->dev, in bmi_done_local()
|
/wlan-driver/qcacld-3.0/components/dp/core/src/ |
D | wlan_dp_wfds.c | 44 qdf_device_t qdf_dev; in dp_wfds_send_config_msg() local 54 qdf_dev = dl_wfds->direct_link_ctx->dp_ctx->qdf_dev; in dp_wfds_send_config_msg() 56 if (!dp_soc || !dp_soc->hif_handle || !qdf_dev) in dp_wfds_send_config_msg() 84 pld_audio_smmu_map(qdf_dev->dev, in dp_wfds_send_config_msg() 85 qdf_mem_paddr_from_dmaaddr(qdf_dev, in dp_wfds_send_config_msg() 89 pld_audio_smmu_map(qdf_dev->dev, in dp_wfds_send_config_msg() 90 qdf_mem_paddr_from_dmaaddr(qdf_dev, in dp_wfds_send_config_msg() 123 pld_audio_smmu_map(qdf_dev->dev, in dp_wfds_send_config_msg() 124 qdf_mem_paddr_from_dmaaddr(qdf_dev, in dp_wfds_send_config_msg() 144 pld_audio_smmu_map(qdf_dev->dev, in dp_wfds_send_config_msg() [all …]
|
/wlan-driver/qca-wifi-host-cmn/hif/src/ipcie/ |
D | if_ipci.c | 168 ret = pld_get_user_msi_assignment(scn->qdf_dev->dev, "CE", in hif_ce_srng_msi_free_irq() 184 irq = pld_get_msi_irq(scn->qdf_dev->dev, msi_data); in hif_ce_srng_msi_free_irq() 191 pfrm_free_irq(scn->qdf_dev->dev, irq, &ce_sc->tasklets[ce_id]); in hif_ce_srng_msi_free_irq() 215 pfrm_free_irq(scn->qdf_dev->dev, in hif_ipci_deconfigure_grp_irq() 272 errno = pld_wlan_pm_control(scn->qdf_dev->dev, flag); in hif_ipci_prevent_linkdown() 425 pfrm_disable_irq_nosync(hif_sc->qdf_dev->dev, in hif_ce_srng_msi_irq_disable() 438 pfrm_enable_irq(hif_sc->qdf_dev->dev, in hif_ce_srng_msi_irq_enable() 464 ret = pld_get_user_msi_assignment(scn->qdf_dev->dev, "CE", in hif_ce_msi_configure_irq() 481 irq = pld_get_msi_irq(scn->qdf_dev->dev, msi_data); in hif_ce_msi_configure_irq() 491 ret = pfrm_request_irq(scn->qdf_dev->dev, in hif_ce_msi_configure_irq() [all …]
|
/wlan-driver/qcacld-3.0/core/hdd/src/ |
D | wlan_hdd_afc.c | 86 qdf_device_t qdf_dev; in wlan_hdd_send_response_to_afcmem() local 90 qdf_dev = wlan_psoc_get_qdf_dev(psoc); in wlan_hdd_send_response_to_afcmem() 91 if (!qdf_dev) { in wlan_hdd_send_response_to_afcmem() 98 return pld_send_buffer_to_afcmem(qdf_dev->dev, in wlan_hdd_send_response_to_afcmem()
|
D | wlan_hdd_driver_ops.c | 659 qdf_device_t qdf_dev = cds_get_context(QDF_MODULE_ID_QDF_DEVICE); in hdd_init_qdf_ctx() local 661 if (!qdf_dev) in hdd_init_qdf_ctx() 664 qdf_dev->dev = dev; in hdd_init_qdf_ctx() 665 qdf_dev->drv_hdl = bdev; in hdd_init_qdf_ctx() 666 qdf_dev->bus_type = bus_type; in hdd_init_qdf_ctx() 667 qdf_dev->bid = bid; in hdd_init_qdf_ctx() 671 if (cds_smmu_mem_map_setup(qdf_dev, ucfg_ipa_is_ready()) != in hdd_init_qdf_ctx() 687 qdf_device_t qdf_dev = cds_get_context(QDF_MODULE_ID_QDF_DEVICE); in hdd_deinit_qdf_ctx() local 689 if (!qdf_dev) in hdd_deinit_qdf_ctx() 692 qdf_dma_invalid_buf_free(qdf_dev->dev, domain); in hdd_deinit_qdf_ctx() [all …]
|
/wlan-driver/qca-wifi-host-cmn/hif/src/ce/ |
D | ce_diag.c | 200 data_buf = qdf_mem_alloc_consistent(scn->qdf_dev, scn->qdf_dev->dev, in hif_diag_read_mem() 292 qdf_mem_free_consistent(scn->qdf_dev, scn->qdf_dev->dev, in hif_diag_read_mem() 372 data_buf = qdf_mem_alloc_consistent(scn->qdf_dev, scn->qdf_dev->dev, in hif_diag_write_mem() 381 qdf_mem_dma_sync_single_for_device(scn->qdf_dev, CE_data_base, in hif_diag_write_mem() 473 qdf_mem_free_consistent(scn->qdf_dev, scn->qdf_dev->dev, in hif_diag_write_mem()
|
D | ce_main.c | 1414 if (pld_is_direct_link_supported(scn->qdf_dev->dev)) { in hif_select_service_to_pipe_map_kiwi() 1777 scn->qdf_dev, in ce_alloc_desc_ring() 1785 *base_addr = qdf_mem_get_dma_addr(scn->qdf_dev, in ce_alloc_desc_ring() 1823 qdf_mem_shared_mem_free(scn->qdf_dev, in ce_free_desc_ring() 2745 qdf_timer_init(scn->qdf_dev, in ce_init() 2824 qdf_timer_init(scn->qdf_dev, in ce_init() 2845 qdf_create_work(scn->qdf_dev, &CE_state->oom_allocation_work, in ce_init() 2925 nbuf = qdf_nbuf_alloc(scn->qdf_dev, pipe_info->buf_sz, in hif_ce_rx_nbuf_alloc() 3026 return qdf_nbuf_alloc(scn->qdf_dev, pipe_info->buf_sz, 0, 4, false); in hif_ce_rx_nbuf_alloc() 3176 qdf_nbuf_unmap_single(ce_state->scn->qdf_dev, nbuf, in ce_t2h_msg_ce_cleanup() [all …]
|
/wlan-driver/qca-wifi-host-cmn/target_if/init_deinit/src/ |
D | init_cmd_api.c | 63 qdf_device_t qdf_dev; in init_deinit_alloc_host_mem_chunk() local 70 qdf_dev = wlan_psoc_get_qdf_dev(psoc); in init_deinit_alloc_host_mem_chunk() 71 if (!qdf_dev) in init_deinit_alloc_host_mem_chunk() 91 info->mem_chunks[idx].vaddr = qdf_mem_alloc_consistent(qdf_dev, in init_deinit_alloc_host_mem_chunk() 92 qdf_dev->dev, num_units * unit_len, &paddr); in init_deinit_alloc_host_mem_chunk() 192 qdf_device_t qdf_dev; in init_deinit_free_num_units() local 205 qdf_dev = wlan_psoc_get_qdf_dev(psoc); in init_deinit_free_num_units() 206 if (!qdf_dev) { in init_deinit_free_num_units() 214 qdf_dev, qdf_dev->dev, in init_deinit_free_num_units()
|
/wlan-driver/qca-wifi-host-cmn/hif/src/snoc/ |
D | if_snoc.c | 138 ret = pld_get_soc_info(scn->qdf_dev->dev, &soc_info); in hif_snoc_get_soc_info() 184 scn->wake_irq = pld_get_irq(scn->qdf_dev->dev, wake_ce_id); in hif_snoc_bus_configure() 278 ret = hif_set_dma_coherent_mask(ol_sc->qdf_dev); in hif_snoc_enable_bus() 284 ret = qdf_device_init_wakeup(ol_sc->qdf_dev, true); in hif_snoc_enable_bus() 327 ret = qdf_device_init_wakeup(scn->qdf_dev, false); in hif_snoc_disable_bus() 455 return pld_get_irq(scn->qdf_dev->dev, ce_id); in hif_snoc_map_ce_to_irq() 515 irq = pld_get_irq(scn->qdf_dev->dev, ce_id); in hif_snoc_ce_dp_irq_set_affinity_hint()
|
D | if_ahb.c | 332 ret = pfrm_request_irq(scn->qdf_dev->dev, in hif_ahb_configure_grp_irq() 380 pfrm_free_irq(scn->qdf_dev->dev, in hif_ahb_deconfigure_grp_irq() 416 scn->qdf_dev->dev, in hif_ahb_disable_bus() 650 pfrm_free_irq(scn->qdf_dev->dev, sc->irq + i, sc); in hif_ahb_nointrs() 655 pfrm_free_irq(scn->qdf_dev->dev, sc->irq, sc); in hif_ahb_nointrs() 664 scn->qdf_dev->dev, in hif_ahb_nointrs()
|
/wlan-driver/qca-wifi-host-cmn/qdf/inc/ |
D | qdf_dev.h | 52 qdf_dev_alloc_mem(struct qdf_dev *qdfdev, struct qdf_devm **mrptr, 65 qdf_dev_release_mem(struct qdf_dev *qdfdev, struct qdf_devm *mrptr); 118 qdf_dev_alloc_mem(struct qdf_dev *qdfdev, struct qdf_devm **mrptr, in qdf_dev_alloc_mem() 125 qdf_dev_release_mem(struct qdf_dev *qdfdev, struct qdf_devm *mrptr) in qdf_dev_release_mem()
|
/wlan-driver/qca-wifi-host-cmn/hif/src/pcie/ |
D | if_pci.c | 197 int pci_slot = pld_get_pci_slot(scn->qdf_dev->dev); in hif_get_pci_slot() 2119 if (!pld_get_enable_intx(scn->qdf_dev->dev)) { in hif_ce_srng_free_irq() 2120 ret = pld_get_user_msi_assignment(scn->qdf_dev->dev, "CE", in hif_ce_srng_free_irq() 2144 pfrm_free_irq(scn->qdf_dev->dev, irq, &ce_sc->tasklets[ce_id]); in hif_ce_srng_free_irq() 2168 pfrm_free_irq(scn->qdf_dev->dev, in hif_pci_deconfigure_grp_irq() 2203 pfrm_free_irq(scn->qdf_dev->dev, scn->wake_irq, scn); in hif_pci_nointrs() 2304 errno = pld_wlan_pm_control(scn->qdf_dev->dev, flag); in hif_pci_prevent_linkdown() 2491 qdf_get_bus_reg_dump(scn->qdf_dev->dev, data, in hif_log_pcie_info() 2561 struct device *dev = scn->qdf_dev->dev; in hif_free_msi_ctx() 2933 pfrm_disable_irq_nosync(hif_sc->qdf_dev->dev, in hif_ce_srng_msi_irq_disable() [all …]
|
/wlan-driver/qca-wifi-host-cmn/qdf/linux/src/ |
D | i_qdf_dev.h | 38 struct qdf_dev; 66 __qdf_dev_alloc_mem(struct qdf_dev *qdfdev, struct qdf_devm **mrptr, in __qdf_dev_alloc_mem() 87 __qdf_dev_release_mem(struct qdf_dev *qdfdev, struct qdf_devm *mrptr) in __qdf_dev_release_mem()
|
D | qdf_dev.c | 31 qdf_dev_alloc_mem(struct qdf_dev *qdfdev, struct qdf_devm **mrptr, in qdf_dev_alloc_mem() 52 qdf_dev_release_mem(struct qdf_dev *qdfdev, struct qdf_devm *mrptr) in qdf_dev_release_mem()
|
/wlan-driver/qca-wifi-host-cmn/hal/wifi3.0/ |
D | hal_rx_flow.c | 357 qdf_device_t qdf_dev, in hal_rx_fst_attach() argument 388 fst->base_vaddr = (uint8_t *)qdf_mem_alloc_consistent(qdf_dev, in hal_rx_fst_attach() 389 qdf_dev->dev, in hal_rx_fst_attach() 428 qdf_device_t qdf_dev, uint64_t fst_cmem_base) in hal_rx_fst_detach() argument 431 if (!rx_fst || !qdf_dev) in hal_rx_fst_detach() 438 qdf_mem_free_consistent(qdf_dev, qdf_dev->dev, in hal_rx_fst_detach()
|
D | hal_srng.c | 1058 qdf_queue_work(hal_soc->qdf_dev, hal_soc->reg_write_wq, in hal_reg_write_enqueue() 1169 pld_get_mhi_state(hal_soc->qdf_dev->dev))) { in hal_delayed_reg_write() 1185 pld_get_mhi_state(hal_soc->qdf_dev->dev)) { in hal_delayed_reg_write() 1204 pld_is_device_awake(hal_soc->qdf_dev->dev)) { in hal_delayed_reg_write() 1255 void *hal_attach(struct hif_opaque_softc *hif_handle, qdf_device_t qdf_dev) in hal_attach() argument 1272 hal->qdf_dev = qdf_dev; in hal_attach() 1274 qdf_dev, qdf_dev->dev, sizeof(*(hal->shadow_rdptr_mem_vaddr)) * in hal_attach() 1286 (uint32_t *)qdf_mem_alloc_consistent(qdf_dev, qdf_dev->dev, in hal_attach() 1339 qdf_mem_free_consistent(qdf_dev, qdf_dev->dev, in hal_attach() 1345 qdf_mem_free_consistent(qdf_dev, qdf_dev->dev, in hal_attach() [all …]
|
D | hal_rx_flow.h | 147 qdf_device_t qdf_dev, 162 qdf_device_t qdf_dev, uint64_t fst_cmem_base);
|
/wlan-driver/qca-wifi-host-cmn/ipa/dispatcher/src/ |
D | wlan_ipa_obj_mgmt_api.c | 148 qdf_device_t qdf_dev; in ipa_register_ready_cb() local 208 qdf_dev = wlan_psoc_get_qdf_dev(psoc); in ipa_register_ready_cb() 209 if (!qdf_dev) { in ipa_register_ready_cb() 220 if (ucfg_ipa_uc_ol_init(pdev, qdf_dev)) { in ipa_register_ready_cb()
|
/wlan-driver/qca-wifi-host-cmn/hif/src/ |
D | hif_main.h | 371 qdf_device_t qdf_dev; member 753 return qdf_mem_alloc_consistent(scn->qdf_dev, in hif_mem_alloc_consistent_unaligned() 754 scn->qdf_dev->dev, in hif_mem_alloc_consistent_unaligned() 767 return qdf_mem_free_consistent(scn->qdf_dev, scn->qdf_dev->dev, in hif_mem_free_consistent_unaligned() 777 qdf_mem_multi_pages_alloc(scn->qdf_dev, pages, in hif_prealloc_get_multi_pages() 786 qdf_mem_multi_pages_free(scn->qdf_dev, pages, 0, in hif_prealloc_put_multi_pages()
|
/wlan-driver/qcacld-3.0/core/bmi/inc/ |
D | bmi.h | 54 QDF_STATUS ol_cds_init(qdf_device_t qdf_dev, void *hif_ctx); 75 ol_cds_init(qdf_device_t qdf_dev, void *hif_ctx) in ol_cds_init() argument
|
/wlan-driver/qcacld-3.0/components/target_if/pmo/src/ |
D | target_if_pmo_suspend_resume.c | 341 qdf_device_t qdf_dev; in target_if_pmo_psoc_send_host_wakeup_ind() local 344 qdf_dev = wlan_psoc_get_qdf_dev(psoc); in target_if_pmo_psoc_send_host_wakeup_ind() 345 if (!qdf_dev) in target_if_pmo_psoc_send_host_wakeup_ind() 348 ret = pld_exit_power_save(qdf_dev->dev); in target_if_pmo_psoc_send_host_wakeup_ind()
|
/wlan-driver/qca-wifi-host-cmn/dp/inc/ |
D | cdp_txrx_cmn_reg.h | 158 qdf_device_t qdf_dev, in cdp_soc_attach() argument 166 params.qdf_osdev = qdf_dev; in cdp_soc_attach()
|
/wlan-driver/qca-wifi-host-cmn/umac/dfs/dispatcher/src/ |
D | wlan_dfs_utils_api.c | 1037 qdf_device_t qdf_dev; in utils_dfs_init_nol() local 1049 qdf_dev = psoc->soc_objmgr.qdf_dev; in utils_dfs_init_nol() 1050 if (!qdf_dev->dev) { in utils_dfs_init_nol() 1060 len = pld_wlan_get_dfs_nol(qdf_dev->dev, (void *)dfs_nolinfo, in utils_dfs_init_nol() 1084 qdf_device_t qdf_dev; in utils_dfs_save_nol() local 1099 qdf_dev = psoc->soc_objmgr.qdf_dev; in utils_dfs_save_nol() 1100 if (!qdf_dev->dev) { in utils_dfs_save_nol() 1117 pld_wlan_set_dfs_nol(qdf_dev->dev, (void *)dfs_nolinfo, in utils_dfs_save_nol()
|