Lines Matching refs:hal_soc
1216 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
1700 HAL_CMEM_WRITE(hal_soc, fse_offset + HAL_OFFSET(RX_FLOW_SEARCH_ENTRY_9, in hal_rx_flow_setup_cmem_fse_6750()
1705 HAL_CMEM_WRITE(hal_soc, fse_offset + HAL_OFFSET(RX_FLOW_SEARCH_ENTRY_0, in hal_rx_flow_setup_cmem_fse_6750()
1710 HAL_CMEM_WRITE(hal_soc, fse_offset + HAL_OFFSET(RX_FLOW_SEARCH_ENTRY_1, in hal_rx_flow_setup_cmem_fse_6750()
1715 HAL_CMEM_WRITE(hal_soc, fse_offset + HAL_OFFSET(RX_FLOW_SEARCH_ENTRY_2, in hal_rx_flow_setup_cmem_fse_6750()
1720 HAL_CMEM_WRITE(hal_soc, fse_offset + HAL_OFFSET(RX_FLOW_SEARCH_ENTRY_3, in hal_rx_flow_setup_cmem_fse_6750()
1725 HAL_CMEM_WRITE(hal_soc, fse_offset + HAL_OFFSET(RX_FLOW_SEARCH_ENTRY_4, in hal_rx_flow_setup_cmem_fse_6750()
1730 HAL_CMEM_WRITE(hal_soc, fse_offset + HAL_OFFSET(RX_FLOW_SEARCH_ENTRY_5, in hal_rx_flow_setup_cmem_fse_6750()
1735 HAL_CMEM_WRITE(hal_soc, fse_offset + HAL_OFFSET(RX_FLOW_SEARCH_ENTRY_6, in hal_rx_flow_setup_cmem_fse_6750()
1740 HAL_CMEM_WRITE(hal_soc, fse_offset + HAL_OFFSET(RX_FLOW_SEARCH_ENTRY_7, in hal_rx_flow_setup_cmem_fse_6750()
1747 HAL_CMEM_WRITE(hal_soc, fse_offset + HAL_OFFSET(RX_FLOW_SEARCH_ENTRY_8, in hal_rx_flow_setup_cmem_fse_6750()
1752 HAL_CMEM_WRITE(hal_soc, fse_offset + HAL_OFFSET(RX_FLOW_SEARCH_ENTRY_10, in hal_rx_flow_setup_cmem_fse_6750()
1756 HAL_CMEM_WRITE(hal_soc, fse_offset + HAL_OFFSET(RX_FLOW_SEARCH_ENTRY_11, in hal_rx_flow_setup_cmem_fse_6750()
1758 HAL_CMEM_WRITE(hal_soc, fse_offset + HAL_OFFSET(RX_FLOW_SEARCH_ENTRY_12, in hal_rx_flow_setup_cmem_fse_6750()
1760 HAL_CMEM_WRITE(hal_soc, fse_offset + HAL_OFFSET(RX_FLOW_SEARCH_ENTRY_13, in hal_rx_flow_setup_cmem_fse_6750()
1771 HAL_CMEM_WRITE(hal_soc, fse_offset + HAL_OFFSET(RX_FLOW_SEARCH_ENTRY_9, in hal_rx_flow_setup_cmem_fse_6750()
1784 static uint32_t hal_rx_flow_get_cmem_fse_ts_6750(struct hal_soc *hal_soc, in hal_rx_flow_get_cmem_fse_ts_6750() argument
1787 return HAL_CMEM_READ(hal_soc, fse_offset + in hal_rx_flow_get_cmem_fse_ts_6750()
1801 hal_rx_flow_get_cmem_fse_6750(struct hal_soc *hal_soc, uint32_t fse_offset, in hal_rx_flow_get_cmem_fse_6750() argument
1810 fse[i] = HAL_CMEM_READ(hal_soc, fse_offset + i * 4); in hal_rx_flow_get_cmem_fse_6750()
1910 static void hal_hw_txrx_ops_attach_qca6750(struct hal_soc *hal_soc) in hal_hw_txrx_ops_attach_qca6750() argument
1913 hal_soc->ops->hal_srng_dst_hw_init = hal_srng_dst_hw_init_generic; in hal_hw_txrx_ops_attach_qca6750()
1914 hal_soc->ops->hal_srng_src_hw_init = hal_srng_src_hw_init_generic; in hal_hw_txrx_ops_attach_qca6750()
1915 hal_soc->ops->hal_get_hw_hptp = hal_get_hw_hptp_generic; in hal_hw_txrx_ops_attach_qca6750()
1916 hal_soc->ops->hal_reo_setup = hal_reo_setup_generic_li; in hal_hw_txrx_ops_attach_qca6750()
1917 hal_soc->ops->hal_get_window_address = hal_get_window_address_6750; in hal_hw_txrx_ops_attach_qca6750()
1918 hal_soc->ops->hal_reo_set_err_dst_remap = hal_reo_set_err_dst_remap_6750; in hal_hw_txrx_ops_attach_qca6750()
1921 hal_soc->ops->hal_tx_desc_set_dscp_tid_table_id = in hal_hw_txrx_ops_attach_qca6750()
1923 hal_soc->ops->hal_tx_set_dscp_tid_map = hal_tx_set_dscp_tid_map_6750; in hal_hw_txrx_ops_attach_qca6750()
1924 hal_soc->ops->hal_tx_update_dscp_tid = hal_tx_update_dscp_tid_6750; in hal_hw_txrx_ops_attach_qca6750()
1925 hal_soc->ops->hal_tx_desc_set_lmac_id = hal_tx_desc_set_lmac_id_6750; in hal_hw_txrx_ops_attach_qca6750()
1926 hal_soc->ops->hal_tx_desc_set_buf_addr = in hal_hw_txrx_ops_attach_qca6750()
1928 hal_soc->ops->hal_tx_desc_set_search_type = in hal_hw_txrx_ops_attach_qca6750()
1930 hal_soc->ops->hal_tx_desc_set_search_index = in hal_hw_txrx_ops_attach_qca6750()
1932 hal_soc->ops->hal_tx_desc_set_cache_set_num = in hal_hw_txrx_ops_attach_qca6750()
1934 hal_soc->ops->hal_tx_comp_get_status = in hal_hw_txrx_ops_attach_qca6750()
1936 hal_soc->ops->hal_tx_comp_get_release_reason = in hal_hw_txrx_ops_attach_qca6750()
1938 hal_soc->ops->hal_get_wbm_internal_error = in hal_hw_txrx_ops_attach_qca6750()
1940 hal_soc->ops->hal_tx_desc_set_mesh_en = hal_tx_desc_set_mesh_en_6750; in hal_hw_txrx_ops_attach_qca6750()
1941 hal_soc->ops->hal_tx_init_cmd_credit_ring = in hal_hw_txrx_ops_attach_qca6750()
1945 hal_soc->ops->hal_rx_msdu_start_nss_get = in hal_hw_txrx_ops_attach_qca6750()
1947 hal_soc->ops->hal_rx_mon_hw_desc_get_mpdu_status = in hal_hw_txrx_ops_attach_qca6750()
1949 hal_soc->ops->hal_rx_get_tlv = hal_rx_get_tlv_6750; in hal_hw_txrx_ops_attach_qca6750()
1950 hal_soc->ops->hal_rx_proc_phyrx_other_receive_info_tlv = in hal_hw_txrx_ops_attach_qca6750()
1953 hal_soc->ops->hal_rx_dump_msdu_end_tlv = hal_rx_dump_msdu_end_tlv_6750; in hal_hw_txrx_ops_attach_qca6750()
1954 hal_soc->ops->hal_rx_dump_rx_attention_tlv = in hal_hw_txrx_ops_attach_qca6750()
1956 hal_soc->ops->hal_rx_dump_msdu_start_tlv = in hal_hw_txrx_ops_attach_qca6750()
1958 hal_soc->ops->hal_rx_dump_mpdu_start_tlv = in hal_hw_txrx_ops_attach_qca6750()
1960 hal_soc->ops->hal_rx_dump_mpdu_end_tlv = in hal_hw_txrx_ops_attach_qca6750()
1962 hal_soc->ops->hal_rx_dump_pkt_hdr_tlv = in hal_hw_txrx_ops_attach_qca6750()
1965 hal_soc->ops->hal_get_link_desc_size = hal_get_link_desc_size_6750; in hal_hw_txrx_ops_attach_qca6750()
1966 hal_soc->ops->hal_rx_mpdu_start_tid_get = in hal_hw_txrx_ops_attach_qca6750()
1968 hal_soc->ops->hal_rx_msdu_start_reception_type_get = in hal_hw_txrx_ops_attach_qca6750()
1970 hal_soc->ops->hal_rx_msdu_end_da_idx_get = in hal_hw_txrx_ops_attach_qca6750()
1972 hal_soc->ops->hal_rx_msdu_desc_info_get_ptr = in hal_hw_txrx_ops_attach_qca6750()
1974 hal_soc->ops->hal_rx_link_desc_msdu0_ptr = in hal_hw_txrx_ops_attach_qca6750()
1976 hal_soc->ops->hal_reo_status_get_header = in hal_hw_txrx_ops_attach_qca6750()
1978 hal_soc->ops->hal_rx_status_get_tlv_info = in hal_hw_txrx_ops_attach_qca6750()
1980 hal_soc->ops->hal_rx_wbm_err_info_get = in hal_hw_txrx_ops_attach_qca6750()
1983 hal_soc->ops->hal_tx_set_pcp_tid_map = in hal_hw_txrx_ops_attach_qca6750()
1985 hal_soc->ops->hal_tx_update_pcp_tid_map = in hal_hw_txrx_ops_attach_qca6750()
1987 hal_soc->ops->hal_tx_set_tidmap_prty = in hal_hw_txrx_ops_attach_qca6750()
1989 hal_soc->ops->hal_rx_get_rx_fragment_number = in hal_hw_txrx_ops_attach_qca6750()
1991 hal_soc->ops->hal_rx_msdu_end_da_is_mcbc_get = in hal_hw_txrx_ops_attach_qca6750()
1993 hal_soc->ops->hal_rx_msdu_end_sa_is_valid_get = in hal_hw_txrx_ops_attach_qca6750()
1995 hal_soc->ops->hal_rx_msdu_end_sa_idx_get = in hal_hw_txrx_ops_attach_qca6750()
1997 hal_soc->ops->hal_rx_desc_is_first_msdu = in hal_hw_txrx_ops_attach_qca6750()
1999 hal_soc->ops->hal_rx_msdu_end_l3_hdr_padding_get = in hal_hw_txrx_ops_attach_qca6750()
2001 hal_soc->ops->hal_rx_tlv_l3_type_get = hal_rx_tlv_l3_type_get_6750; in hal_hw_txrx_ops_attach_qca6750()
2002 hal_soc->ops->hal_rx_encryption_info_valid = in hal_hw_txrx_ops_attach_qca6750()
2004 hal_soc->ops->hal_rx_print_pn = hal_rx_print_pn_6750; in hal_hw_txrx_ops_attach_qca6750()
2005 hal_soc->ops->hal_rx_msdu_end_first_msdu_get = in hal_hw_txrx_ops_attach_qca6750()
2007 hal_soc->ops->hal_rx_msdu_end_da_is_valid_get = in hal_hw_txrx_ops_attach_qca6750()
2009 hal_soc->ops->hal_rx_msdu_end_last_msdu_get = in hal_hw_txrx_ops_attach_qca6750()
2011 hal_soc->ops->hal_rx_get_mpdu_mac_ad4_valid = in hal_hw_txrx_ops_attach_qca6750()
2013 hal_soc->ops->hal_rx_mpdu_start_sw_peer_id_get = in hal_hw_txrx_ops_attach_qca6750()
2015 hal_soc->ops->hal_rx_tlv_peer_meta_data_get = in hal_hw_txrx_ops_attach_qca6750()
2017 hal_soc->ops->hal_rx_mpdu_get_to_ds = hal_rx_mpdu_get_to_ds_6750; in hal_hw_txrx_ops_attach_qca6750()
2018 hal_soc->ops->hal_rx_mpdu_get_fr_ds = hal_rx_mpdu_get_fr_ds_6750; in hal_hw_txrx_ops_attach_qca6750()
2019 hal_soc->ops->hal_rx_get_mpdu_frame_control_valid = in hal_hw_txrx_ops_attach_qca6750()
2021 hal_soc->ops->hal_rx_get_frame_ctrl_field = in hal_hw_txrx_ops_attach_qca6750()
2023 hal_soc->ops->hal_rx_mpdu_get_addr1 = hal_rx_mpdu_get_addr1_6750; in hal_hw_txrx_ops_attach_qca6750()
2024 hal_soc->ops->hal_rx_mpdu_get_addr2 = hal_rx_mpdu_get_addr2_6750; in hal_hw_txrx_ops_attach_qca6750()
2025 hal_soc->ops->hal_rx_mpdu_get_addr3 = hal_rx_mpdu_get_addr3_6750; in hal_hw_txrx_ops_attach_qca6750()
2026 hal_soc->ops->hal_rx_mpdu_get_addr4 = hal_rx_mpdu_get_addr4_6750; in hal_hw_txrx_ops_attach_qca6750()
2027 hal_soc->ops->hal_rx_get_mpdu_sequence_control_valid = in hal_hw_txrx_ops_attach_qca6750()
2029 hal_soc->ops->hal_rx_is_unicast = hal_rx_is_unicast_6750; in hal_hw_txrx_ops_attach_qca6750()
2030 hal_soc->ops->hal_rx_tid_get = hal_rx_tid_get_6750; in hal_hw_txrx_ops_attach_qca6750()
2031 hal_soc->ops->hal_rx_hw_desc_get_ppduid_get = in hal_hw_txrx_ops_attach_qca6750()
2033 hal_soc->ops->hal_rx_msdu0_buffer_addr_lsb = in hal_hw_txrx_ops_attach_qca6750()
2035 hal_soc->ops->hal_rx_msdu_desc_info_ptr_get = in hal_hw_txrx_ops_attach_qca6750()
2037 hal_soc->ops->hal_ent_mpdu_desc_info = hal_ent_mpdu_desc_info_6750; in hal_hw_txrx_ops_attach_qca6750()
2038 hal_soc->ops->hal_dst_mpdu_desc_info = hal_dst_mpdu_desc_info_6750; in hal_hw_txrx_ops_attach_qca6750()
2039 hal_soc->ops->hal_rx_get_fc_valid = hal_rx_get_fc_valid_6750; in hal_hw_txrx_ops_attach_qca6750()
2040 hal_soc->ops->hal_rx_get_to_ds_flag = hal_rx_get_to_ds_flag_6750; in hal_hw_txrx_ops_attach_qca6750()
2041 hal_soc->ops->hal_rx_get_mac_addr2_valid = in hal_hw_txrx_ops_attach_qca6750()
2043 hal_soc->ops->hal_rx_get_filter_category = in hal_hw_txrx_ops_attach_qca6750()
2045 hal_soc->ops->hal_rx_get_ppdu_id = hal_rx_get_ppdu_id_6750; in hal_hw_txrx_ops_attach_qca6750()
2046 hal_soc->ops->hal_reo_config = hal_reo_config_6750; in hal_hw_txrx_ops_attach_qca6750()
2047 hal_soc->ops->hal_rx_msdu_flow_idx_get = hal_rx_msdu_flow_idx_get_6750; in hal_hw_txrx_ops_attach_qca6750()
2048 hal_soc->ops->hal_rx_msdu_flow_idx_invalid = in hal_hw_txrx_ops_attach_qca6750()
2050 hal_soc->ops->hal_rx_msdu_flow_idx_timeout = in hal_hw_txrx_ops_attach_qca6750()
2052 hal_soc->ops->hal_rx_msdu_fse_metadata_get = in hal_hw_txrx_ops_attach_qca6750()
2054 hal_soc->ops->hal_rx_msdu_cce_match_get = in hal_hw_txrx_ops_attach_qca6750()
2056 hal_soc->ops->hal_rx_msdu_cce_metadata_get = in hal_hw_txrx_ops_attach_qca6750()
2058 hal_soc->ops->hal_rx_msdu_get_flow_params = in hal_hw_txrx_ops_attach_qca6750()
2060 hal_soc->ops->hal_rx_tlv_get_tcp_chksum = in hal_hw_txrx_ops_attach_qca6750()
2062 hal_soc->ops->hal_rx_get_rx_sequence = hal_rx_get_rx_sequence_6750; in hal_hw_txrx_ops_attach_qca6750()
2065 hal_soc->ops->hal_rx_get_bb_info = hal_rx_get_bb_info_6750; in hal_hw_txrx_ops_attach_qca6750()
2066 hal_soc->ops->hal_rx_get_rtt_info = hal_rx_get_rtt_info_6750; in hal_hw_txrx_ops_attach_qca6750()
2069 hal_soc->ops->hal_rx_msdu_packet_metadata_get = in hal_hw_txrx_ops_attach_qca6750()
2071 hal_soc->ops->hal_rx_get_fisa_cumulative_l4_checksum = in hal_hw_txrx_ops_attach_qca6750()
2073 hal_soc->ops->hal_rx_get_fisa_cumulative_ip_length = in hal_hw_txrx_ops_attach_qca6750()
2075 hal_soc->ops->hal_rx_get_udp_proto = hal_rx_get_udp_proto_6750; in hal_hw_txrx_ops_attach_qca6750()
2076 hal_soc->ops->hal_rx_get_fisa_flow_agg_continuation = in hal_hw_txrx_ops_attach_qca6750()
2078 hal_soc->ops->hal_rx_get_fisa_flow_agg_count = in hal_hw_txrx_ops_attach_qca6750()
2080 hal_soc->ops->hal_rx_get_fisa_timeout = hal_rx_get_fisa_timeout_6750; in hal_hw_txrx_ops_attach_qca6750()
2081 hal_soc->ops->hal_rx_mpdu_start_tlv_tag_valid = in hal_hw_txrx_ops_attach_qca6750()
2085 hal_soc->ops->hal_rx_msdu_end_offset_get = in hal_hw_txrx_ops_attach_qca6750()
2087 hal_soc->ops->hal_rx_attn_offset_get = hal_rx_attn_offset_get_generic; in hal_hw_txrx_ops_attach_qca6750()
2088 hal_soc->ops->hal_rx_msdu_start_offset_get = in hal_hw_txrx_ops_attach_qca6750()
2090 hal_soc->ops->hal_rx_mpdu_start_offset_get = in hal_hw_txrx_ops_attach_qca6750()
2092 hal_soc->ops->hal_rx_mpdu_end_offset_get = in hal_hw_txrx_ops_attach_qca6750()
2095 hal_soc->ops->hal_rx_pkt_tlv_offset_get = in hal_hw_txrx_ops_attach_qca6750()
2098 hal_soc->ops->hal_rx_flow_setup_fse = hal_rx_flow_setup_fse_6750; in hal_hw_txrx_ops_attach_qca6750()
2099 hal_soc->ops->hal_rx_flow_get_tuple_info = in hal_hw_txrx_ops_attach_qca6750()
2101 hal_soc->ops->hal_rx_flow_delete_entry = in hal_hw_txrx_ops_attach_qca6750()
2103 hal_soc->ops->hal_rx_fst_get_fse_size = hal_rx_fst_get_fse_size_li; in hal_hw_txrx_ops_attach_qca6750()
2104 hal_soc->ops->hal_compute_reo_remap_ix2_ix3 = in hal_hw_txrx_ops_attach_qca6750()
2108 hal_soc->ops->hal_rx_flow_setup_cmem_fse = in hal_hw_txrx_ops_attach_qca6750()
2110 hal_soc->ops->hal_rx_flow_get_cmem_fse_ts = in hal_hw_txrx_ops_attach_qca6750()
2112 hal_soc->ops->hal_rx_flow_get_cmem_fse = hal_rx_flow_get_cmem_fse_6750; in hal_hw_txrx_ops_attach_qca6750()
2113 hal_soc->ops->hal_rx_msdu_get_reo_destination_indication = in hal_hw_txrx_ops_attach_qca6750()
2115 hal_soc->ops->hal_setup_link_idle_list = in hal_hw_txrx_ops_attach_qca6750()
2118 hal_soc->ops->hal_get_first_wow_wakeup_packet = in hal_hw_txrx_ops_attach_qca6750()
2121 hal_soc->ops->hal_rx_tlv_get_pn_num = hal_rx_tlv_get_pn_num_li; in hal_hw_txrx_ops_attach_qca6750()
2122 hal_soc->ops->hal_rx_tlv_mic_err_get = hal_rx_tlv_mic_err_get_li; in hal_hw_txrx_ops_attach_qca6750()
2123 hal_soc->ops->hal_rx_tlv_decrypt_err_get = in hal_hw_txrx_ops_attach_qca6750()
2125 hal_soc->ops->hal_rx_tlv_get_pkt_capture_flags = in hal_hw_txrx_ops_attach_qca6750()
2127 hal_soc->ops->hal_rx_mpdu_info_ampdu_flag_get = in hal_hw_txrx_ops_attach_qca6750()
2129 hal_soc->ops->hal_compute_reo_remap_ix0 = in hal_hw_txrx_ops_attach_qca6750()
2131 hal_soc->ops->hal_rx_tlv_msdu_len_get = in hal_hw_txrx_ops_attach_qca6750()
2562 void hal_qca6750_attach(struct hal_soc *hal_soc) in hal_qca6750_attach() argument
2564 hal_soc->hw_srng_table = hw_srng_table_6750; in hal_qca6750_attach()
2565 hal_srng_hw_reg_offset_init_generic(hal_soc); in hal_qca6750_attach()
2566 hal_hw_txrx_default_ops_attach_li(hal_soc); in hal_qca6750_attach()
2567 hal_hw_txrx_ops_attach_qca6750(hal_soc); in hal_qca6750_attach()