Home
last modified time | relevance | path

Searched refs:hal_soc (Results 1 – 25 of 126) sorted by relevance

123456

/wlan-driver/qca-wifi-host-cmn/hal/wifi3.0/
Dhal_rx.h489 struct hal_soc *hal_soc = (struct hal_soc *)hal_soc_hdl; in hal_rx_msdu_flags_get() local
491 return hal_soc->ops->hal_rx_msdu_flags_get(msdu_desc_info_hdl); in hal_rx_msdu_flags_get()
502 struct hal_soc *hal_soc = (struct hal_soc *)hal_soc_hdl; in hal_rx_desc_get_80211_hdr() local
504 return hal_soc->ops->hal_rx_desc_get_80211_hdr(hw_desc_addr); in hal_rx_desc_get_80211_hdr()
519 struct hal_soc *hal_soc = (struct hal_soc *)hal_soc_hdl; in hal_rx_mpdu_desc_info_get() local
521 return hal_soc->ops->hal_rx_mpdu_desc_info_get(desc_addr, in hal_rx_mpdu_desc_info_get()
717 struct hal_soc *hal_soc = (struct hal_soc *)hal_soc_hdl; in hal_rx_msdu_is_wlan_mcast() local
719 return hal_soc->ops->hal_rx_msdu_is_wlan_mcast(nbuf); in hal_rx_msdu_is_wlan_mcast()
737 struct hal_soc *hal_soc = (struct hal_soc *)hal_soc_hdl; in hal_rx_priv_info_set_in_tlv() local
739 return hal_soc->ops->hal_rx_priv_info_set_in_tlv(buf, in hal_rx_priv_info_set_in_tlv()
[all …]
Dhal_reo.h601 struct hal_soc *hal_soc = (struct hal_soc *)hal_soc_hdl; in hal_reo_send_cmd() local
603 if (!hal_soc || !hal_soc->ops) { in hal_reo_send_cmd()
609 if (hal_soc->ops->hal_reo_send_cmd) in hal_reo_send_cmd()
610 return hal_soc->ops->hal_reo_send_cmd(hal_soc_hdl, hal_ring_hdl, in hal_reo_send_cmd()
625 struct hal_soc *hal_soc = (struct hal_soc *)hal_soc_hdl; in hal_register_reo_send_cmd() local
627 if (!hal_soc || !hal_soc->ops) { in hal_register_reo_send_cmd()
633 if (hal_soc->ops->hal_register_reo_send_cmd) in hal_register_reo_send_cmd()
634 hal_soc->ops->hal_register_reo_send_cmd(hal_soc); in hal_register_reo_send_cmd()
646 struct hal_soc *hal_soc = (struct hal_soc *)hal_soc_hdl; in hal_unregister_reo_send_cmd() local
648 if (!hal_soc || !hal_soc->ops) { in hal_unregister_reo_send_cmd()
[all …]
Dhal_api.h119 #define HAL_REG_WRITE_FAIL_HIST_ADD(hal_soc, offset, wr_val, rd_val) \ argument
120 hal_reg_wr_fail_history_add(hal_soc, offset, wr_val, rd_val)
122 void hal_reg_wr_fail_history_add(struct hal_soc *hal_soc,
135 #define HAL_REG_WRITE_FAIL_HIST_ADD(hal_soc, offset, wr_val, rd_val) \ argument
150 static inline QDF_STATUS hal_reg_write_result_check(struct hal_soc *hal_soc, in hal_reg_write_result_check() argument
156 value = qdf_ioread32(hal_soc->dev_base_addr + offset); in hal_reg_write_result_check()
158 HAL_REG_WRITE_FAIL_HIST_ADD(hal_soc, offset, exp_val, value); in hal_reg_write_result_check()
159 HAL_STATS_INC(hal_soc, reg_write_fail, 1); in hal_reg_write_result_check()
168 static inline void hal_lock_reg_access(struct hal_soc *soc, in hal_lock_reg_access()
174 static inline void hal_unlock_reg_access(struct hal_soc *soc, in hal_unlock_reg_access()
[all …]
Dhal_srng.c32 void hal_qca6290_attach(struct hal_soc *hal);
35 void hal_qca8074_attach(struct hal_soc *hal);
39 void hal_qca8074v2_attach(struct hal_soc *hal);
42 void hal_qca6390_attach(struct hal_soc *hal);
45 void hal_qca6490_attach(struct hal_soc *hal);
48 void hal_qcn9000_attach(struct hal_soc *hal);
51 void hal_qcn9224v2_attach(struct hal_soc *hal);
54 void hal_qcn6122_attach(struct hal_soc *hal);
57 void hal_qcn6432_attach(struct hal_soc *hal);
60 void hal_qca6750_attach(struct hal_soc *hal);
[all …]
Dhal_tx.h654 struct hal_soc *hal_soc = (struct hal_soc *)hal_soc_hdl; in hal_tx_comp_get_buffer_source() local
656 return hal_soc->ops->hal_tx_comp_get_buffer_source(hal_desc); in hal_tx_comp_get_buffer_source()
680 struct hal_soc *hal_soc = (struct hal_soc *)hal_soc_hdl; in hal_tx_comp_get_release_reason() local
682 return hal_soc->ops->hal_tx_comp_get_release_reason(hal_desc); in hal_tx_comp_get_release_reason()
793 struct hal_soc *hal_soc = (struct hal_soc *)hal_soc_hdl; in hal_tx_init_data_ring() local
795 hal_soc->ops->hal_tx_init_data_ring(hal_soc_hdl, hal_ring_hdl); in hal_tx_init_data_ring()
809 struct hal_soc *hal_soc = (struct hal_soc *)hal_soc_hdl; in hal_tx_set_dscp_tid_map() local
811 hal_soc->ops->hal_tx_set_dscp_tid_map(hal_soc, map, id); in hal_tx_set_dscp_tid_map()
827 struct hal_soc *hal_soc = (struct hal_soc *)hal_soc_hdl; in hal_tx_update_dscp_tid() local
829 hal_soc->ops->hal_tx_update_dscp_tid(hal_soc, tid, id, dscp); in hal_tx_update_dscp_tid()
[all …]
/wlan-driver/qca-wifi-host-cmn/hal/wifi3.0/qcn9224/
Dhal_9224.h161 uint32_t hal_read_pmm_scratch_reg(struct hal_soc *soc, in hal_read_pmm_scratch_reg()
182 struct hal_soc *soc = (struct hal_soc *)hal_soc_hdl; in hal_get_tsf2_scratch_reg_qcn9224()
209 struct hal_soc *soc = (struct hal_soc *)hal_soc_hdl; in hal_get_tqm_scratch_reg_qcn9224()
390 hal_rx_parse_ru_allocation_9224(struct hal_soc *hal_soc, void *tlv, in hal_rx_parse_ru_allocation_9224() argument
532 hal_rx_parse_eht_sig_non_ofdma_9224(struct hal_soc *hal_soc, void *tlv, in hal_rx_parse_eht_sig_non_ofdma_9224() argument
535 hal_rx_parse_usig_overflow(hal_soc, tlv, ppdu_info); in hal_rx_parse_eht_sig_non_ofdma_9224()
536 hal_rx_parse_non_ofdma_users(hal_soc, tlv, ppdu_info); in hal_rx_parse_eht_sig_non_ofdma_9224()
538 if (hal_rx_is_mu_mimo_user(hal_soc, ppdu_info)) { in hal_rx_parse_eht_sig_non_ofdma_9224()
540 hal_rx_parse_eht_sig_mumimo_user_info(hal_soc, tlv, in hal_rx_parse_eht_sig_non_ofdma_9224()
544 hal_rx_parse_eht_sig_non_mumimo_user_info(hal_soc, tlv, in hal_rx_parse_eht_sig_non_ofdma_9224()
[all …]
/wlan-driver/qca-wifi-host-cmn/hal/wifi3.0/qcn6432/
Dhal_6432.c177 uint32_t hal_read_pmm_scratch_reg_5332(struct hal_soc *soc,
201 struct hal_soc *soc = (struct hal_soc *)hal_soc_hdl;
225 struct hal_soc *soc = (struct hal_soc *)hal_soc_hdl;
847 hal_reo_config_6432(struct hal_soc *soc, in hal_reo_config_6432()
886 static inline qdf_iomem_t hal_get_window_address_6432(struct hal_soc *hal_soc, in hal_get_window_address_6432() argument
889 uint32_t offset = addr - hal_soc->dev_base_addr; in hal_get_window_address_6432()
897 new_offset = (hal_soc->dev_base_addr + (3 * WINDOW_START) + in hal_get_window_address_6432()
904 new_offset = (hal_soc->dev_base_addr + (2 * WINDOW_START) + in hal_get_window_address_6432()
915 static inline void hal_write_window_register(struct hal_soc *hal_soc) in hal_write_window_register() argument
918 qdf_iowrite32(hal_soc->dev_base_addr + WINDOW_REG_ADDRESS, in hal_write_window_register()
[all …]
/wlan-driver/qca-wifi-host-cmn/hal/wifi3.0/qca5332/
Dhal_5332.c124 uint32_t hal_read_pmm_scratch_reg_5332(struct hal_soc *soc, in hal_read_pmm_scratch_reg_5332()
146 struct hal_soc *soc = (struct hal_soc *)hal_soc_hdl; in hal_get_tsf2_scratch_reg_qca5332()
172 struct hal_soc *soc = (struct hal_soc *)hal_soc_hdl; in hal_get_tqm_scratch_reg_qca5332()
833 hal_reo_config_5332(struct hal_soc *soc, in hal_reo_config_5332()
871 static inline qdf_iomem_t hal_get_window_address_5332(struct hal_soc *hal_soc, in hal_get_window_address_5332() argument
874 uint32_t offset = addr - hal_soc->dev_base_addr; in hal_get_window_address_5332()
885 new_offset = (hal_soc->dev_base_addr_ce + offset); in hal_get_window_address_5332()
1173 struct hal_soc *hal = (struct hal_soc *)hal_soc_hdl; in hal_cmem_write_5332()
1193 static void hal_reo_setup_5332(struct hal_soc *soc, void *reoparams, in hal_reo_setup_5332()
1345 static void hal_hw_txrx_ops_attach_qca5332(struct hal_soc *hal_soc) in hal_hw_txrx_ops_attach_qca5332() argument
[all …]
/wlan-driver/qca-wifi-host-cmn/hal/wifi3.0/be/
Dhal_be_tx.h648 struct hal_soc *hal_soc = (struct hal_soc *)hal_soc_hdl; in hal_tx_get_num_tcl_banks() local
651 if (hal_soc->ops->hal_tx_get_num_tcl_banks) { in hal_tx_get_num_tcl_banks()
652 hal_banks = hal_soc->ops->hal_tx_get_num_tcl_banks(); in hal_tx_get_num_tcl_banks()
674 struct hal_soc *hal_soc = (struct hal_soc *)hal_soc_hdl; in hal_tx_populate_bank_register() local
676 hal_soc->ops->hal_tx_populate_bank_register(hal_soc_hdl, config, in hal_tx_populate_bank_register()
703 struct hal_soc *hal_soc = (struct hal_soc *)hal_soc_hdl; in hal_tx_config_rbm_mapping_be() local
705 hal_soc->ops->hal_tx_config_rbm_mapping_be(hal_soc_hdl, hal_ring_hdl, in hal_tx_config_rbm_mapping_be()
806 struct hal_soc *hal_soc = (struct hal_soc *)hal_soc_hdl; in hal_tx_vdev_mismatch_routing_set() local
808 hal_soc->ops->hal_tx_vdev_mismatch_routing_set(hal_soc_hdl, config); in hal_tx_vdev_mismatch_routing_set()
833 struct hal_soc *hal_soc = (struct hal_soc *)hal_soc_hdl; in hal_tx_mcast_mlo_reinject_routing_set() local
[all …]
Dhal_be_generic_api.c56 void hal_setup_reo_swap(struct hal_soc *soc) in hal_setup_reo_swap()
70 void hal_setup_reo_swap(struct hal_soc *soc) in hal_setup_reo_swap()
88 void hal_reo_setup_generic_be(struct hal_soc *soc, void *reoparams, in hal_reo_setup_generic_be()
626 struct hal_soc *hal_soc = (struct hal_soc *)hal_soc_hdl; in hal_cookie_conversion_reg_cfg_be() local
628 hal_soc->ops->hal_cookie_conversion_reg_cfg_be(hal_soc_hdl, cc_cfg); in hal_cookie_conversion_reg_cfg_be()
692 struct hal_soc *hal_soc = (struct hal_soc *)hal_soc_hdl; in hal_rx_msdu_reo_dst_ind_get_be() local
698 msdu_details = hal_rx_link_desc_msdu0_ptr(msdu_link, hal_soc); in hal_rx_msdu_reo_dst_ind_get_be()
702 hal_soc); in hal_rx_msdu_reo_dst_ind_get_be()
813 void hal_unregister_reo_send_cmd_be(struct hal_soc *hal_soc) in hal_unregister_reo_send_cmd_be() argument
815 hal_soc->ops->hal_reo_send_cmd = NULL; in hal_unregister_reo_send_cmd_be()
[all …]
/wlan-driver/qca-wifi-host-cmn/hal/wifi3.0/wcn6450/
Dhal_wcn6450.c232 static void hal_get_hw_hptp_6450(struct hal_soc *hal_soc, in hal_get_hw_hptp_6450() argument
239 static void hal_reo_setup_6450(struct hal_soc *soc, void *reoparams, in hal_reo_setup_6450()
244 static void hal_reo_set_err_dst_remap_6450(void *hal_soc) in hal_reo_set_err_dst_remap_6450() argument
252 static void hal_tx_set_dscp_tid_map_6450(struct hal_soc *hal_soc, in hal_tx_set_dscp_tid_map_6450() argument
257 static void hal_tx_update_dscp_tid_6450(struct hal_soc *hal_soc, uint8_t tid, in hal_tx_update_dscp_tid_6450() argument
343 static void hal_reo_config_6450(struct hal_soc *soc, in hal_reo_config_6450()
372 hal_setup_link_idle_list_6450(struct hal_soc *soc, in hal_setup_link_idle_list_6450()
397 static inline qdf_iomem_t hal_get_window_address_6450(struct hal_soc *hal_soc, in hal_get_window_address_6450() argument
404 offset = addr - hal_soc->dev_base_addr; in hal_get_window_address_6450()
425 return hal_soc->dev_base_addr + (scale * WINDOW_START) + in hal_get_window_address_6450()
[all …]
/wlan-driver/qca-wifi-host-cmn/hal/wifi3.0/kiwi/
Dhal_kiwi.c786 void hal_register_rx_pkt_hdr_tlv_api_kiwi(struct hal_soc *hal_soc) in hal_register_rx_pkt_hdr_tlv_api_kiwi() argument
840 void hal_register_rx_pkt_hdr_tlv_api_kiwi(struct hal_soc *hal_soc) in hal_register_rx_pkt_hdr_tlv_api_kiwi() argument
842 hal_soc->ops->hal_rx_pkt_tlv_offset_get = in hal_register_rx_pkt_hdr_tlv_api_kiwi()
1348 void hal_reo_config_kiwi(struct hal_soc *soc, in hal_reo_config_kiwi()
1386 static inline qdf_iomem_t hal_get_window_address_kiwi(struct hal_soc *hal_soc, in hal_get_window_address_kiwi() argument
1400 hal_reo_set_err_dst_remap_kiwi(void *hal_soc) in hal_reo_set_err_dst_remap_kiwi() argument
1425 HAL_REG_WRITE(hal_soc, in hal_reo_set_err_dst_remap_kiwi()
1432 hal_soc, in hal_reo_set_err_dst_remap_kiwi()
1436 HAL_REG_WRITE(hal_soc, in hal_reo_set_err_dst_remap_kiwi()
1443 hal_soc, in hal_reo_set_err_dst_remap_kiwi()
[all …]
/wlan-driver/qca-wifi-host-cmn/hal/wifi3.0/rh/
Dhal_rh_generic_api.c265 struct hal_soc *hal_soc = (struct hal_soc *)hal_soc_hdl; in hal_rx_dump_pkt_tlvs_rh() local
267 hal_rx_dump_msdu_end_tlv(hal_soc, pkt_tlvs, dbg_level); in hal_rx_dump_pkt_tlvs_rh()
268 hal_rx_dump_rx_attention_tlv(hal_soc, pkt_tlvs, dbg_level); in hal_rx_dump_pkt_tlvs_rh()
269 hal_rx_dump_msdu_start_tlv(hal_soc, pkt_tlvs, dbg_level); in hal_rx_dump_pkt_tlvs_rh()
270 hal_rx_dump_mpdu_start_tlv(hal_soc, pkt_tlvs, dbg_level); in hal_rx_dump_pkt_tlvs_rh()
271 hal_rx_dump_mpdu_end_tlv(hal_soc, pkt_tlvs, dbg_level); in hal_rx_dump_pkt_tlvs_rh()
272 hal_rx_dump_pkt_hdr_tlv(hal_soc, pkt_tlvs, dbg_level); in hal_rx_dump_pkt_tlvs_rh()
836 void hal_hw_txrx_default_ops_attach_rh(struct hal_soc *hal_soc) in hal_hw_txrx_default_ops_attach_rh() argument
838 hal_soc->ops->hal_get_reo_qdesc_size = hal_get_reo_qdesc_size_rh; in hal_hw_txrx_default_ops_attach_rh()
839 hal_soc->ops->hal_get_rx_max_ba_window = in hal_hw_txrx_default_ops_attach_rh()
[all …]
Dhal_rh_tx.h59 struct hal_soc *hal_soc = (struct hal_soc *)hal_soc_hdl; in hal_tx_desc_set_buf_addr() local
61 hal_soc->ops->hal_tx_desc_set_buf_addr(desc, paddr, pool_id, in hal_tx_desc_set_buf_addr()
80 struct hal_soc *hal_soc = (struct hal_soc *)hal_soc_hdl; in hal_tx_desc_set_lmac_id() local
82 hal_soc->ops->hal_tx_desc_set_lmac_id(desc, lmac_id); in hal_tx_desc_set_lmac_id()
100 struct hal_soc *hal_soc = (struct hal_soc *)hal_soc_hdl; in hal_tx_desc_set_search_type() local
102 hal_soc->ops->hal_tx_desc_set_search_type(desc, search_type); in hal_tx_desc_set_search_type()
119 struct hal_soc *hal_soc = (struct hal_soc *)hal_soc_hdl; in hal_tx_desc_set_search_index() local
121 hal_soc->ops->hal_tx_desc_set_search_index(desc, search_index); in hal_tx_desc_set_search_index()
142 struct hal_soc *hal_soc = (struct hal_soc *)hal_soc_hdl; in hal_tx_desc_set_cache_set_num() local
144 hal_soc->ops->hal_tx_desc_set_cache_set_num(desc, cache_num); in hal_tx_desc_set_cache_set_num()
[all …]
/wlan-driver/qca-wifi-host-cmn/hal/wifi3.0/qca6290/
Dhal_6290.c826 void hal_reo_config_6290(struct hal_soc *soc, in hal_reo_config_6290()
992 static inline qdf_iomem_t hal_get_window_address_6290(struct hal_soc *hal_soc, in hal_get_window_address_6290() argument
1062 static void hal_hw_txrx_ops_attach_6290(struct hal_soc *hal_soc) in hal_hw_txrx_ops_attach_6290() argument
1065 hal_soc->ops->hal_srng_dst_hw_init = hal_srng_dst_hw_init_generic; in hal_hw_txrx_ops_attach_6290()
1066 hal_soc->ops->hal_srng_src_hw_init = hal_srng_src_hw_init_generic; in hal_hw_txrx_ops_attach_6290()
1067 hal_soc->ops->hal_get_hw_hptp = hal_get_hw_hptp_generic; in hal_hw_txrx_ops_attach_6290()
1068 hal_soc->ops->hal_reo_setup = hal_reo_setup_generic_li; in hal_hw_txrx_ops_attach_6290()
1069 hal_soc->ops->hal_get_window_address = hal_get_window_address_6290; in hal_hw_txrx_ops_attach_6290()
1072 hal_soc->ops->hal_tx_desc_set_dscp_tid_table_id = in hal_hw_txrx_ops_attach_6290()
1074 hal_soc->ops->hal_tx_set_dscp_tid_map = hal_tx_set_dscp_tid_map_6290; in hal_hw_txrx_ops_attach_6290()
[all …]
/wlan-driver/qca-wifi-host-cmn/hal/wifi3.0/qca6390/
Dhal_6390.c828 void hal_reo_config_6390(struct hal_soc *soc, in hal_reo_config_6390()
1010 static inline qdf_iomem_t hal_get_window_address_6390(struct hal_soc *hal_soc, in hal_get_window_address_6390() argument
1024 hal_reo_set_err_dst_remap_6390(void *hal_soc) in hal_reo_set_err_dst_remap_6390() argument
1042 HAL_REG_WRITE(hal_soc, in hal_reo_set_err_dst_remap_6390()
1049 hal_soc, in hal_reo_set_err_dst_remap_6390()
1131 static void hal_hw_txrx_ops_attach_qca6390(struct hal_soc *hal_soc) in hal_hw_txrx_ops_attach_qca6390() argument
1134 hal_soc->ops->hal_srng_dst_hw_init = hal_srng_dst_hw_init_generic; in hal_hw_txrx_ops_attach_qca6390()
1135 hal_soc->ops->hal_srng_src_hw_init = hal_srng_src_hw_init_generic; in hal_hw_txrx_ops_attach_qca6390()
1136 hal_soc->ops->hal_get_hw_hptp = hal_get_hw_hptp_generic; in hal_hw_txrx_ops_attach_qca6390()
1137 hal_soc->ops->hal_reo_setup = hal_reo_setup_generic_li; in hal_hw_txrx_ops_attach_qca6390()
[all …]
/wlan-driver/qca-wifi-host-cmn/hal/wifi3.0/qca6750/
Dhal_6750.c1216 void hal_reo_config_6750(struct hal_soc *soc, in hal_reo_config_6750()
1386 static inline qdf_iomem_t hal_get_window_address_6750(struct hal_soc *hal_soc, in hal_get_window_address_6750() argument
1393 offset = addr - hal_soc->dev_base_addr; in hal_get_window_address_6750()
1414 return hal_soc->dev_base_addr + (scale * WINDOW_START) + in hal_get_window_address_6750()
1518 hal_reo_set_err_dst_remap_6750(void *hal_soc) in hal_reo_set_err_dst_remap_6750() argument
1543 HAL_REG_WRITE(hal_soc, in hal_reo_set_err_dst_remap_6750()
1550 hal_soc, in hal_reo_set_err_dst_remap_6750()
1554 HAL_REG_WRITE(hal_soc, in hal_reo_set_err_dst_remap_6750()
1561 hal_soc, in hal_reo_set_err_dst_remap_6750()
1690 hal_rx_flow_setup_cmem_fse_6750(struct hal_soc *hal_soc, uint32_t cmem_ba, in hal_rx_flow_setup_cmem_fse_6750() argument
[all …]
/wlan-driver/qca-wifi-host-cmn/hal/wifi3.0/qca8074v2/
Dhal_8074v2.c858 hal_reo_config_8074v2(struct hal_soc *soc, in hal_reo_config_8074v2()
1023 static inline qdf_iomem_t hal_get_window_address_8074v2(struct hal_soc *hal_soc, in hal_get_window_address_8074v2() argument
1244 static void hal_hw_txrx_ops_attach_qca8074v2(struct hal_soc *hal_soc) in hal_hw_txrx_ops_attach_qca8074v2() argument
1248 hal_soc->ops->hal_srng_dst_hw_init = hal_srng_dst_hw_init_generic; in hal_hw_txrx_ops_attach_qca8074v2()
1249 hal_soc->ops->hal_srng_src_hw_init = hal_srng_src_hw_init_generic; in hal_hw_txrx_ops_attach_qca8074v2()
1250 hal_soc->ops->hal_get_hw_hptp = hal_get_hw_hptp_generic; in hal_hw_txrx_ops_attach_qca8074v2()
1251 hal_soc->ops->hal_reo_setup = hal_reo_setup_generic_li; in hal_hw_txrx_ops_attach_qca8074v2()
1252 hal_soc->ops->hal_get_window_address = hal_get_window_address_8074v2; in hal_hw_txrx_ops_attach_qca8074v2()
1255 hal_soc->ops->hal_tx_desc_set_dscp_tid_table_id = in hal_hw_txrx_ops_attach_qca8074v2()
1257 hal_soc->ops->hal_tx_set_dscp_tid_map = hal_tx_set_dscp_tid_map_8074v2; in hal_hw_txrx_ops_attach_qca8074v2()
[all …]
/wlan-driver/qca-wifi-host-cmn/hal/wifi3.0/qca8074v1/
Dhal_8074v1.c127 static inline qdf_iomem_t hal_get_window_address_8074(struct hal_soc *hal_soc, in hal_get_window_address_8074() argument
875 hal_reo_config_8074v1(struct hal_soc *soc, in hal_reo_config_8074v1()
1249 static void hal_hw_txrx_ops_attach_qca8074(struct hal_soc *hal_soc) in hal_hw_txrx_ops_attach_qca8074() argument
1253 hal_soc->ops->hal_srng_dst_hw_init = hal_srng_dst_hw_init_generic; in hal_hw_txrx_ops_attach_qca8074()
1254 hal_soc->ops->hal_srng_src_hw_init = hal_srng_src_hw_init_generic; in hal_hw_txrx_ops_attach_qca8074()
1255 hal_soc->ops->hal_get_hw_hptp = hal_get_hw_hptp_generic; in hal_hw_txrx_ops_attach_qca8074()
1256 hal_soc->ops->hal_reo_setup = hal_reo_setup_generic_li; in hal_hw_txrx_ops_attach_qca8074()
1257 hal_soc->ops->hal_get_window_address = hal_get_window_address_8074; in hal_hw_txrx_ops_attach_qca8074()
1260 hal_soc->ops->hal_tx_desc_set_dscp_tid_table_id = in hal_hw_txrx_ops_attach_qca8074()
1262 hal_soc->ops->hal_tx_set_dscp_tid_map = hal_tx_set_dscp_tid_map_8074; in hal_hw_txrx_ops_attach_qca8074()
[all …]
/wlan-driver/qca-wifi-host-cmn/hal/wifi3.0/li/
Dhal_li_generic_api.c151 struct hal_soc *hal_soc = (struct hal_soc *)hal_soc_hdl; in hal_rx_dump_pkt_tlvs_li() local
153 hal_rx_dump_msdu_end_tlv(hal_soc, pkt_tlvs, dbg_level); in hal_rx_dump_pkt_tlvs_li()
154 hal_rx_dump_rx_attention_tlv(hal_soc, pkt_tlvs, dbg_level); in hal_rx_dump_pkt_tlvs_li()
155 hal_rx_dump_msdu_start_tlv(hal_soc, pkt_tlvs, dbg_level); in hal_rx_dump_pkt_tlvs_li()
156 hal_rx_dump_mpdu_start_tlv(hal_soc, pkt_tlvs, dbg_level); in hal_rx_dump_pkt_tlvs_li()
157 hal_rx_dump_mpdu_end_tlv(hal_soc, pkt_tlvs, dbg_level); in hal_rx_dump_pkt_tlvs_li()
158 hal_rx_dump_pkt_hdr_tlv(hal_soc, pkt_tlvs, dbg_level); in hal_rx_dump_pkt_tlvs_li()
476 struct hal_soc *hal_soc = (struct hal_soc *)hal_soc_hdl; in hal_rx_msdu_list_get_li() local
484 msdu_details = hal_rx_link_desc_msdu0_ptr(msdu_link, hal_soc); in hal_rx_msdu_list_get_li()
499 (&msdu_details[i - 1], hal_soc); in hal_rx_msdu_list_get_li()
[all …]
Dhal_li_tx.h60 struct hal_soc *hal_soc = (struct hal_soc *)hal_soc_hdl; in hal_tx_desc_set_buf_addr() local
62 hal_soc->ops->hal_tx_desc_set_buf_addr(desc, paddr, pool_id, in hal_tx_desc_set_buf_addr()
81 struct hal_soc *hal_soc = (struct hal_soc *)hal_soc_hdl; in hal_tx_desc_set_lmac_id_li() local
83 hal_soc->ops->hal_tx_desc_set_lmac_id(desc, lmac_id); in hal_tx_desc_set_lmac_id_li()
101 struct hal_soc *hal_soc = (struct hal_soc *)hal_soc_hdl; in hal_tx_desc_set_search_type_li() local
103 hal_soc->ops->hal_tx_desc_set_search_type(desc, search_type); in hal_tx_desc_set_search_type_li()
120 struct hal_soc *hal_soc = (struct hal_soc *)hal_soc_hdl; in hal_tx_desc_set_search_index_li() local
122 hal_soc->ops->hal_tx_desc_set_search_index(desc, search_index); in hal_tx_desc_set_search_index_li()
143 struct hal_soc *hal_soc = (struct hal_soc *)hal_soc_hdl; in hal_tx_desc_set_cache_set_num() local
145 hal_soc->ops->hal_tx_desc_set_cache_set_num(desc, cache_num); in hal_tx_desc_set_cache_set_num()
[all …]
/wlan-driver/qca-wifi-host-cmn/hal/wifi3.0/qca6490/
Dhal_6490.c1215 void hal_reo_config_6490(struct hal_soc *soc, in hal_reo_config_6490()
1398 static inline qdf_iomem_t hal_get_window_address_6490(struct hal_soc *hal_soc, in hal_get_window_address_6490() argument
1503 hal_reo_set_err_dst_remap_6490(void *hal_soc) in hal_reo_set_err_dst_remap_6490() argument
1528 HAL_REG_WRITE(hal_soc, in hal_reo_set_err_dst_remap_6490()
1535 hal_soc, in hal_reo_set_err_dst_remap_6490()
1539 HAL_REG_WRITE(hal_soc, in hal_reo_set_err_dst_remap_6490()
1546 hal_soc, in hal_reo_set_err_dst_remap_6490()
1759 static void hal_hw_txrx_ops_attach_qca6490(struct hal_soc *hal_soc) in hal_hw_txrx_ops_attach_qca6490() argument
1762 hal_soc->ops->hal_srng_dst_hw_init = hal_srng_dst_hw_init_generic; in hal_hw_txrx_ops_attach_qca6490()
1763 hal_soc->ops->hal_srng_src_hw_init = hal_srng_src_hw_init_generic; in hal_hw_txrx_ops_attach_qca6490()
[all …]
/wlan-driver/qca-wifi-host-cmn/hal/wifi3.0/qca5018/
Dhal_5018.c1373 hal_reo_config_5018(struct hal_soc *soc, in hal_reo_config_5018()
1539 static inline qdf_iomem_t hal_get_window_address_5018(struct hal_soc *hal_soc, in hal_get_window_address_5018() argument
1542 uint32_t offset = addr - hal_soc->dev_base_addr; in hal_get_window_address_5018()
1553 new_offset = (hal_soc->dev_base_addr_ce + offset); in hal_get_window_address_5018()
1565 static inline void hal_write_window_register(struct hal_soc *hal_soc) in hal_write_window_register() argument
1568 qdf_iowrite32(hal_soc->dev_base_addr + WINDOW_REG_ADDRESS, in hal_write_window_register()
1707 static void hal_hw_txrx_ops_attach_qca5018(struct hal_soc *hal_soc) in hal_hw_txrx_ops_attach_qca5018() argument
1710 hal_soc->ops->hal_srng_dst_hw_init = hal_srng_dst_hw_init_generic; in hal_hw_txrx_ops_attach_qca5018()
1711 hal_soc->ops->hal_srng_src_hw_init = hal_srng_src_hw_init_generic; in hal_hw_txrx_ops_attach_qca5018()
1712 hal_soc->ops->hal_get_hw_hptp = hal_get_hw_hptp_generic; in hal_hw_txrx_ops_attach_qca5018()
[all …]
/wlan-driver/qca-wifi-host-cmn/hal/wifi3.0/qcn6122/
Dhal_qcn6122.c1374 hal_reo_config_6122(struct hal_soc *soc, in hal_reo_config_6122()
1542 static inline qdf_iomem_t hal_get_window_address_6122(struct hal_soc *hal_soc, in hal_get_window_address_6122() argument
1545 uint32_t offset = addr - hal_soc->dev_base_addr; in hal_get_window_address_6122()
1553 new_offset = (hal_soc->dev_base_addr + (3 * WINDOW_START) + in hal_get_window_address_6122()
1560 new_offset = (hal_soc->dev_base_addr + (2 * WINDOW_START) + in hal_get_window_address_6122()
1571 static inline void hal_write_window_register(struct hal_soc *hal_soc) in hal_write_window_register() argument
1574 qdf_iowrite32(hal_soc->dev_base_addr + WINDOW_REG_ADDRESS, in hal_write_window_register()
1796 static void hal_hw_txrx_ops_attach_qcn6122(struct hal_soc *hal_soc) in hal_hw_txrx_ops_attach_qcn6122() argument
1800 hal_soc->ops->hal_srng_dst_hw_init = hal_srng_dst_hw_init_generic; in hal_hw_txrx_ops_attach_qcn6122()
1801 hal_soc->ops->hal_srng_src_hw_init = hal_srng_src_hw_init_generic; in hal_hw_txrx_ops_attach_qcn6122()
[all …]
/wlan-driver/qca-wifi-host-cmn/hal/wifi3.0/qcn9000/
Dhal_9000.c1373 hal_reo_config_9000(struct hal_soc *soc, in hal_reo_config_9000()
1538 static inline qdf_iomem_t hal_get_window_address_9000(struct hal_soc *hal_soc, in hal_get_window_address_9000() argument
1541 uint32_t offset = addr - hal_soc->dev_base_addr; in hal_get_window_address_9000()
1549 new_offset = (hal_soc->dev_base_addr + (3 * WINDOW_START) + in hal_get_window_address_9000()
1556 new_offset = (hal_soc->dev_base_addr + (2 * WINDOW_START) + in hal_get_window_address_9000()
1567 static inline void hal_write_window_register(struct hal_soc *hal_soc) in hal_write_window_register() argument
1570 qdf_iowrite32(hal_soc->dev_base_addr + WINDOW_REG_ADDRESS, in hal_write_window_register()
1793 static void hal_hw_txrx_ops_attach_qcn9000(struct hal_soc *hal_soc) in hal_hw_txrx_ops_attach_qcn9000() argument
1797 hal_soc->ops->hal_srng_dst_hw_init = hal_srng_dst_hw_init_generic; in hal_hw_txrx_ops_attach_qcn9000()
1798 hal_soc->ops->hal_srng_src_hw_init = hal_srng_src_hw_init_generic; in hal_hw_txrx_ops_attach_qcn9000()
[all …]

123456