/wlan-driver/qca-wifi-host-cmn/target_if/cfr/src/ |
H A D | target_if_cfr.c | 186 uint32_t target_type = 0; in target_if_cfr_get_target_type() local 193 return target_type; in target_if_cfr_get_target_type() 198 target_type = target_type_tx_ops->tgt_get_tgt_type(psoc); in target_if_cfr_get_target_type() 200 return target_type; in target_if_cfr_get_target_type() 205 uint32_t target_type, in target_if_cfr_fill_header() argument 215 if (target_type == TARGET_TYPE_QCA8074V2) { in target_if_cfr_fill_header() 218 } else if (target_type == TARGET_TYPE_QCA9574) { in target_if_cfr_fill_header() 222 if ((target_type == TARGET_TYPE_QCN9000) || in target_if_cfr_fill_header() 223 (target_type == TARGET_TYPE_QCN9160) || in target_if_cfr_fill_header() 224 (target_type == TARGET_TYPE_QCN9224)) in target_if_cfr_fill_header() [all …]
|
H A D | target_if_cfr_enh.c | 76 void target_if_snr_to_signal_strength(uint32_t target_type, in target_if_snr_to_signal_strength() argument 83 if (target_type == TARGET_TYPE_QCN9160) { in target_if_snr_to_signal_strength() 744 uint32_t target_type) in check_dma_length() argument 746 if (target_type == TARGET_TYPE_QCN9000) { in check_dma_length() 751 } else if (target_type == TARGET_TYPE_QCN6122 || in check_dma_length() 752 target_type == TARGET_TYPE_QCN9160) { in check_dma_length() 757 } else if (target_type == TARGET_TYPE_QCA5018) { in check_dma_length() 762 } else if (target_type == TARGET_TYPE_QCN9224) { in check_dma_length() 767 } else if (target_type == TARGET_TYPE_QCN6432) { in check_dma_length() 772 } else if (target_type == TARGET_TYPE_QCA5332) { in check_dma_length() [all …]
|
H A D | target_if_cfr_dbr.c | 413 uint32_t target_type) in prepare_cfr_header_txstatus() argument 415 target_if_cfr_fill_header(header, false, target_type, false); in prepare_cfr_header_txstatus() 448 uint32_t target_type; in target_if_peer_capture_event() local 518 target_type = target_if_cfr_get_target_type(psoc); in target_if_peer_capture_event() 566 target_if_cfr_fill_header(header, false, target_type, false); in target_if_peer_capture_event() 629 prepare_cfr_header_txstatus(&tx_evt_param, &header_error, target_type); in target_if_peer_capture_event()
|
/wlan-driver/qca-wifi-host-cmn/hif/src/ |
H A D | ath_procfs.c | 111 ((tgt_info->target_type == TARGET_TYPE_QCA6290) || in ath_procfs_diag_read_legacy() 112 (tgt_info->target_type == TARGET_TYPE_QCA6390) || in ath_procfs_diag_read_legacy() 113 (tgt_info->target_type == TARGET_TYPE_QCA6490) || in ath_procfs_diag_read_legacy() 114 (tgt_info->target_type == TARGET_TYPE_QCA8074) || in ath_procfs_diag_read_legacy() 115 (tgt_info->target_type == TARGET_TYPE_QCA8074V2) || in ath_procfs_diag_read_legacy() 116 (tgt_info->target_type == TARGET_TYPE_QCA9574) || in ath_procfs_diag_read_legacy() 117 (tgt_info->target_type == TARGET_TYPE_QCN9000) || in ath_procfs_diag_read_legacy() 118 (tgt_info->target_type == TARGET_TYPE_QCN9224) || in ath_procfs_diag_read_legacy() 119 (tgt_info->target_type == TARGET_TYPE_QCN6122) || in ath_procfs_diag_read_legacy() 120 (tgt_info->target_type == TARGET_TYPE_QCN9160) || in ath_procfs_diag_read_legacy() [all …]
|
H A D | hif_main.c | 206 uint32_t hif_hia_item_address(uint32_t target_type, uint32_t item_offset) in hif_hia_item_address() argument 208 switch (target_type) { in hif_hia_item_address() 2249 uint32_t *hif_type, uint32_t *target_type) in hif_get_device_type() argument 2257 *target_type = TARGET_TYPE_ADRASTEA; in hif_get_device_type() 2262 *target_type = TARGET_TYPE_AR9888; in hif_get_device_type() 2270 *target_type = TARGET_TYPE_AR6320; in hif_get_device_type() 2277 *target_type = TARGET_TYPE_AR6320V2; in hif_get_device_type() 2290 *target_type = TARGET_TYPE_AR9888; in hif_get_device_type() 2296 *target_type = TARGET_TYPE_QCA9984; in hif_get_device_type() 2302 *target_type = TARGET_TYPE_QCA9888; in hif_get_device_type() [all …]
|
/wlan-driver/qca-wifi-host-cmn/hif/src/snoc/ |
H A D | if_ahb.c | 427 if (tgt_info->target_type == TARGET_TYPE_QCA5018 || in hif_ahb_disable_bus() 428 tgt_info->target_type == TARGET_TYPE_QCA5332) { in hif_ahb_disable_bus() 475 int target_type; in hif_ahb_enable_bus() local 491 &hif_type, &target_type); in hif_ahb_enable_bus() 498 if (target_type == TARGET_TYPE_QCN6122 || in hif_ahb_enable_bus() 499 target_type == TARGET_TYPE_QCN9160 || in hif_ahb_enable_bus() 500 target_type == TARGET_TYPE_QCN6432) { in hif_ahb_enable_bus() 505 if (target_type == TARGET_TYPE_QCA5332 || in hif_ahb_enable_bus() 506 target_type == TARGET_TYPE_QCN6432) in hif_ahb_enable_bus() 509 if (target_type == TARGET_TYPE_QCN6122 || in hif_ahb_enable_bus() [all …]
|
H A D | if_snoc.c | 217 uint32_t *hif_type, uint32_t *target_type) in hif_snoc_get_target_type() argument 222 *target_type = TARGET_TYPE_ADRASTEA; in hif_snoc_get_target_type() 225 *target_type = 0; in hif_snoc_get_target_type() 271 int target_type; in hif_snoc_enable_bus() local 293 &hif_type, &target_type); in hif_snoc_enable_bus() 299 ol_sc->target_info.target_type = target_type; in hif_snoc_enable_bus() 302 hif_target_register_tbl_attach(ol_sc, target_type); in hif_snoc_enable_bus() 308 hif_type, target_type); in hif_snoc_enable_bus()
|
/wlan-driver/qca-wifi-host-cmn/gpio/dispatcher/src/ |
H A D | wlan_gpio_tgt_api.c | 89 uint32_t target_type = 0; in tgt_gpio_disabled() local 101 target_type = target_type_tx_ops->tgt_get_tgt_type(psoc); in tgt_gpio_disabled() 103 if ((target_type == TARGET_TYPE_QCA8074) || in tgt_gpio_disabled() 104 (target_type == TARGET_TYPE_QCN6122) || in tgt_gpio_disabled() 105 (target_type == TARGET_TYPE_QCN9160) || in tgt_gpio_disabled() 106 (target_type == TARGET_TYPE_QCA8074V2) || in tgt_gpio_disabled() 107 (target_type == TARGET_TYPE_QCA9574) || in tgt_gpio_disabled() 108 (target_type == TARGET_TYPE_QCA5332) || in tgt_gpio_disabled() 109 (target_type == TARGET_TYPE_QCN6432) || in tgt_gpio_disabled() 110 (target_type == TARGET_TYPE_QCA5018) || in tgt_gpio_disabled() [all …]
|
/wlan-driver/qca-wifi-host-cmn/umac/dfs/core/src/filtering/ |
H A D | dfs_partial_offload_radar.c | 398 uint32_t target_type, in dfs_assign_fcc_pulse_table() argument 401 if (tx_ops->tgt_is_tgt_type_qcn7605(target_type)) { in dfs_assign_fcc_pulse_table() 409 if (tx_ops->tgt_is_tgt_type_ar900b(target_type)) { in dfs_assign_fcc_pulse_table() 412 } else if (tx_ops->tgt_is_tgt_type_qca9984(target_type) || in dfs_assign_fcc_pulse_table() 413 tx_ops->tgt_is_tgt_type_qca9888(target_type)) { in dfs_assign_fcc_pulse_table() 427 uint32_t target_type, in dfs_set_adrastea_rf_thrshold() argument 442 if (tgt_tx_ops->tgt_is_tgt_type_adrastea(target_type) && in dfs_set_adrastea_rf_thrshold() 455 uint32_t target_type, in dfs_set_adrastea_rf_thrshold() argument 521 uint32_t target_type, in dfs_assign_mkk_bin5_radars() argument 524 if (tgt_tx_ops->tgt_is_tgt_type_ar900b(target_type)) { in dfs_assign_mkk_bin5_radars() [all …]
|
/wlan-driver/qcacld-3.0/core/bmi/src/ |
H A D | ol_fw_common.c | 80 hif_hia_item_address(tgt_info->target_type, in ol_usb_extra_initialization() 99 uint32_t target_type = tgt_info->target_type; in ol_sdio_extra_initialization() local 116 status = bmi_write_memory(hif_hia_item_address(target_type, in ol_sdio_extra_initialization() 131 bmi_write_memory(hif_hia_item_address(target_type, in ol_sdio_extra_initialization() 144 status = bmi_read_memory(hif_hia_item_address(target_type, in ol_sdio_extra_initialization() 168 bmi_write_memory(hif_hia_item_address(target_type, in ol_sdio_extra_initialization() 201 uint32_t target_type = tgt_info->target_type; in ol_target_ready() local 206 hif_hia_item_address(target_type, in ol_target_ready()
|
H A D | ol_fw.c | 187 uint32_t target_type = tgt_info->target_type; in __ol_transfer_bin_file() local 373 switch (target_type) { in __ol_transfer_bin_file() 389 bmi_read_memory(HOST_INTEREST_ITEM_ADDRESS(target_type, in __ol_transfer_bin_file() 415 HOST_INTEREST_ITEM_ADDRESS(target_type, in __ol_transfer_bin_file() 618 uint32_t target_type; in __ramdump_work_handler() local 631 target_type = tgt_info->target_type; in __ramdump_work_handler() 644 hif_hia_item_address(target_type, in __ramdump_work_handler() 804 uint32_t target_type = tgt_info->target_type; in ol_disable_cdc_max_perf() local 807 if (bmi_read_memory(hif_hia_item_address(target_type, in ol_disable_cdc_max_perf() 816 hif_hia_item_address(target_type, in ol_disable_cdc_max_perf() [all …]
|
/wlan-driver/qca-wifi-host-cmn/target_if/core/src/ |
H A D | target_if_main.c | 826 bool target_is_tgt_type_ar900b(uint32_t target_type) in target_is_tgt_type_ar900b() argument 828 return target_type == TARGET_TYPE_AR900B; in target_is_tgt_type_ar900b() 831 bool target_is_tgt_type_qca9984(uint32_t target_type) in target_is_tgt_type_qca9984() argument 833 return target_type == TARGET_TYPE_QCA9984; in target_is_tgt_type_qca9984() 836 bool target_is_tgt_type_qca9888(uint32_t target_type) in target_is_tgt_type_qca9888() argument 838 return target_type == TARGET_TYPE_QCA9888; in target_is_tgt_type_qca9888() 841 bool target_is_tgt_type_adrastea(uint32_t target_type) in target_is_tgt_type_adrastea() argument 843 return target_type == TARGET_TYPE_ADRASTEA; in target_is_tgt_type_adrastea() 846 bool target_is_tgt_type_qcn9000(uint32_t target_type) in target_is_tgt_type_qcn9000() argument 848 return target_type == TARGET_TYPE_QCN9000; in target_is_tgt_type_qcn9000() [all …]
|
/wlan-driver/qca-wifi-host-cmn/hif/src/ce/ |
H A D | ce_diag.c | 95 unsigned int target_type) in get_ce_phy_addr() argument 100 if ((target_type == TARGET_TYPE_AR900B) || in get_ce_phy_addr() 101 (target_type == TARGET_TYPE_QCA9984) || in get_ce_phy_addr() 102 (target_type == TARGET_TYPE_QCA9888)) { in get_ce_phy_addr() 142 unsigned int target_type = 0; in hif_diag_read_mem() local 158 target_type = (hif_get_target_info_handle(hif_ctx))->target_type; in hif_diag_read_mem() 164 if ((target_type == TARGET_TYPE_AR900B) || in hif_diag_read_mem() 165 (target_type == TARGET_TYPE_QCA9984) || in hif_diag_read_mem() 166 (target_type == TARGET_TYPE_AR9888) || in hif_diag_read_mem() 167 (target_type == TARGET_TYPE_QCA9888)) in hif_diag_read_mem() [all …]
|
/wlan-driver/qca-wifi-host-cmn/hif/src/usb/ |
H A D | if_usb.c | 61 if (tgt_info->target_type == TARGET_TYPE_QCN7605) in hif_usb_diag_write_cold_reset() 197 u32 target_type; in hif_usb_enable_bus() local 221 hif_get_device_type(product_id, 0, &hif_type, &target_type); in hif_usb_enable_bus() 223 if (target_type == TARGET_TYPE_QCN7605) in hif_usb_enable_bus() 224 tgt_info->target_type = TARGET_TYPE_QCN7605; in hif_usb_enable_bus() 230 if (target_type != TARGET_TYPE_QCN7605) { in hif_usb_enable_bus() 270 if (target_type != TARGET_TYPE_QCN7605) in hif_usb_enable_bus() 274 if (target_type != TARGET_TYPE_QCN7605) in hif_usb_enable_bus() 309 if (tgt_info->target_type != TARGET_TYPE_QCN7605) in hif_usb_disable_bus() 323 if (tgt_info->target_type != TARGET_TYPE_QCN7605) { in hif_usb_disable_bus() [all …]
|
H A D | regtable_usb.c | 28 uint32_t target_type) in target_register_tbl_attach() argument 30 switch (target_type) { in target_register_tbl_attach() 41 hif_err("Unknown target_type: %u", target_type); in target_register_tbl_attach()
|
/wlan-driver/qca-wifi-host-cmn/hif/src/pcie/ |
H A D | if_pci.c | 1261 uint32_t target_type = tgt_info->target_type; in hif_set_hia_extnd() local 1265 if ((target_type == TARGET_TYPE_AR900B) || in hif_set_hia_extnd() 1266 target_type == TARGET_TYPE_QCA9984 || in hif_set_hia_extnd() 1267 target_type == TARGET_TYPE_QCA9888) { in hif_set_hia_extnd() 1275 target_type, tgt_info->target_revision); in hif_set_hia_extnd() 1281 host_interest_item_address(target_type, in hif_set_hia_extnd() 1299 if (target_type == TARGET_TYPE_AR900B in hif_set_hia_extnd() 1300 || target_type == TARGET_TYPE_QCA9984 in hif_set_hia_extnd() 1301 || target_type == TARGET_TYPE_QCA9888) { in hif_set_hia_extnd() 1321 host_interest_item_address(target_type, in hif_set_hia_extnd() [all …]
|
/wlan-driver/qca-wifi-host-cmn/umac/cfr/dispatcher/src/ |
H A D | wlan_cfr_tgt_api.c | 119 uint32_t target_type = 0; in tgt_cfr_get_target_type() local 126 return target_type; in tgt_cfr_get_target_type() 131 target_type = target_type_tx_ops->tgt_get_tgt_type(psoc); in tgt_cfr_get_target_type() 133 return target_type; in tgt_cfr_get_target_type() 138 uint32_t target_type = tgt_cfr_get_target_type(psoc); in tgt_cfr_validate_period() local 141 if (target_type == TARGET_TYPE_UNKNOWN) { in tgt_cfr_validate_period() 152 if (target_type == TARGET_TYPE_QCN9000 || in tgt_cfr_validate_period() 153 target_type == TARGET_TYPE_QCA6018 || in tgt_cfr_validate_period() 154 target_type == TARGET_TYPE_QCA8074V2 || in tgt_cfr_validate_period() 155 target_type == TARGET_TYPE_QCA5018 || in tgt_cfr_validate_period() [all …]
|
/wlan-driver/qca-wifi-host-cmn/target_if/spectral/ |
H A D | target_if_spectral.c | 2120 enum spectral_gen gen, uint32_t target_type) in target_if_init_spectral_param_min_max() argument 2129 if (is_spectral_arch_beryllium(target_type)) in target_if_init_spectral_param_min_max() 2140 if (target_type == TARGET_TYPE_QCN9000 || in target_if_init_spectral_param_min_max() 2141 target_type == TARGET_TYPE_QCN6122 || in target_if_init_spectral_param_min_max() 2142 target_type == TARGET_TYPE_QCN9160 || in target_if_init_spectral_param_min_max() 2143 target_type == TARGET_TYPE_QCA5018 || in target_if_init_spectral_param_min_max() 2144 target_type == TARGET_TYPE_QCA6490 || in target_if_init_spectral_param_min_max() 2145 target_type == TARGET_TYPE_KIWI || in target_if_init_spectral_param_min_max() 2146 target_type == TARGET_TYPE_MANGO || in target_if_init_spectral_param_min_max() 2147 target_type == TARGET_TYPE_PEACH) { in target_if_init_spectral_param_min_max() [all …]
|
/wlan-driver/qca-wifi-host-cmn/target_if/init_deinit/src/ |
H A D | init_deinit_lmac.c | 100 uint32_t *target_type) in lmac_get_pdev_target_type() argument 110 *target_type = lmac_get_tgt_type(psoc); in lmac_get_pdev_target_type() 156 uint32_t target_type; in lmac_is_target_ar900b() local 168 target_type = tgt_hdl->info.target_type; in lmac_is_target_ar900b() 170 switch (target_type) { in lmac_is_target_ar900b()
|
/wlan-driver/qca-wifi-host-cmn/umac/dfs/dispatcher/src/ |
H A D | wlan_dfs_lmac_api.c | 202 uint32_t target_type = 0; in lmac_get_target_type() local 209 return target_type; in lmac_get_target_type() 215 dfs_tx_ops->dfs_get_target_type(pdev, &target_type); in lmac_get_target_type() 217 return target_type; in lmac_get_target_type()
|
/wlan-driver/qcacld-3.0/core/cds/src/ |
H A D | cds_api.c | 850 hdd_ctx->target_type); in cds_open() 884 hdd_ctx->target_type, in cds_open() 894 soc_attach_params.target_type = hdd_ctx->target_type; in cds_open() 1010 if (hdd_ctx->target_type == TARGET_TYPE_QCA6290 || in cds_dp_open() 1011 hdd_ctx->target_type == TARGET_TYPE_QCA6390 || in cds_dp_open() 1012 hdd_ctx->target_type == TARGET_TYPE_QCA6490 || in cds_dp_open() 1013 hdd_ctx->target_type == TARGET_TYPE_QCA6750 || in cds_dp_open() 1014 hdd_ctx->target_type == TARGET_TYPE_KIWI || in cds_dp_open() 1015 hdd_ctx->target_type == TARGET_TYPE_MANGO || in cds_dp_open() 1016 hdd_ctx->target_type == TARGET_TYPE_PEACH || in cds_dp_open() [all …]
|
/wlan-driver/qca-wifi-host-cmn/hif/src/sdio/ |
H A D | regtable_sdio.c | 31 void target_register_tbl_attach(struct hif_softc *scn, u32 target_type) in target_register_tbl_attach() argument 33 switch (target_type) { in target_register_tbl_attach()
|
/wlan-driver/qca-wifi-host-cmn/target_if/core/inc/ |
H A D | target_if.h | 225 uint32_t target_type; member 554 bool target_is_tgt_type_ar900b(uint32_t target_type); 562 bool target_is_tgt_type_qca9984(uint32_t target_type); 570 bool target_is_tgt_type_qca9888(uint32_t target_type); 578 bool target_is_tgt_type_adrastea(uint32_t target_type); 586 bool target_is_tgt_type_qcn9000(uint32_t target_type); 594 bool target_is_tgt_type_qcn6122(uint32_t target_type); 602 bool target_is_tgt_type_qcn9160(uint32_t target_type); 610 bool target_is_tgt_type_qcn6432(uint32_t target_type); 618 bool target_is_tgt_type_qcn7605(uint32_t target_type); [all …]
|
/wlan-driver/qca-wifi-host-cmn/target_if/dfs/src/ |
H A D | target_if_dfs.c | 87 static bool target_if_is_dfs_3(uint32_t target_type) in target_if_is_dfs_3() argument 91 switch (target_type) { in target_if_is_dfs_3() 278 uint32_t *target_type) in target_if_dfs_get_target_type() argument 294 *target_type = target_psoc_get_target_type(tgt_psoc_info); in target_if_dfs_get_target_type()
|
/wlan-driver/qca-wifi-host-cmn/umac/dfs/core/src/misc/ |
H A D | dfs.c | 870 uint32_t target_type; in dfs_is_true_160mhz_supported() local 877 target_type = lmac_get_target_type(dfs->dfs_pdev_obj); in dfs_is_true_160mhz_supported() 880 tgt_tx_ops->tgt_is_tgt_type_qcn9000(target_type)) in dfs_is_true_160mhz_supported() 884 tgt_tx_ops->tgt_is_tgt_type_qcn6122(target_type)) in dfs_is_true_160mhz_supported() 888 tgt_tx_ops->tgt_is_tgt_type_qcn9160(target_type)) in dfs_is_true_160mhz_supported() 892 tgt_tx_ops->tgt_is_tgt_type_qcn6432(target_type)) in dfs_is_true_160mhz_supported()
|