Lines Matching refs:hal_soc

1373 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()
1799 hal_soc->ops->hal_get_hw_hptp = hal_get_hw_hptp_generic; in hal_hw_txrx_ops_attach_qcn9000()
1800 hal_soc->ops->hal_reo_setup = hal_reo_setup_generic_li; in hal_hw_txrx_ops_attach_qcn9000()
1801 hal_soc->ops->hal_get_window_address = hal_get_window_address_9000; in hal_hw_txrx_ops_attach_qcn9000()
1804 hal_soc->ops->hal_tx_desc_set_dscp_tid_table_id = in hal_hw_txrx_ops_attach_qcn9000()
1806 hal_soc->ops->hal_tx_set_dscp_tid_map = hal_tx_set_dscp_tid_map_9000; in hal_hw_txrx_ops_attach_qcn9000()
1807 hal_soc->ops->hal_tx_update_dscp_tid = hal_tx_update_dscp_tid_9000; in hal_hw_txrx_ops_attach_qcn9000()
1808 hal_soc->ops->hal_tx_desc_set_lmac_id = hal_tx_desc_set_lmac_id_9000; in hal_hw_txrx_ops_attach_qcn9000()
1809 hal_soc->ops->hal_tx_desc_set_buf_addr = in hal_hw_txrx_ops_attach_qcn9000()
1811 hal_soc->ops->hal_tx_desc_set_search_type = in hal_hw_txrx_ops_attach_qcn9000()
1813 hal_soc->ops->hal_tx_desc_set_search_index = in hal_hw_txrx_ops_attach_qcn9000()
1815 hal_soc->ops->hal_tx_desc_set_cache_set_num = in hal_hw_txrx_ops_attach_qcn9000()
1817 hal_soc->ops->hal_tx_comp_get_status = in hal_hw_txrx_ops_attach_qcn9000()
1819 hal_soc->ops->hal_tx_comp_get_release_reason = in hal_hw_txrx_ops_attach_qcn9000()
1821 hal_soc->ops->hal_get_wbm_internal_error = in hal_hw_txrx_ops_attach_qcn9000()
1823 hal_soc->ops->hal_tx_desc_set_mesh_en = hal_tx_desc_set_mesh_en_9000; in hal_hw_txrx_ops_attach_qcn9000()
1824 hal_soc->ops->hal_tx_init_cmd_credit_ring = in hal_hw_txrx_ops_attach_qcn9000()
1828 hal_soc->ops->hal_rx_msdu_start_nss_get = in hal_hw_txrx_ops_attach_qcn9000()
1830 hal_soc->ops->hal_rx_mon_hw_desc_get_mpdu_status = in hal_hw_txrx_ops_attach_qcn9000()
1832 hal_soc->ops->hal_rx_get_tlv = hal_rx_get_tlv_9000; in hal_hw_txrx_ops_attach_qcn9000()
1833 hal_soc->ops->hal_rx_proc_phyrx_other_receive_info_tlv = in hal_hw_txrx_ops_attach_qcn9000()
1836 hal_soc->ops->hal_rx_dump_msdu_end_tlv = hal_rx_dump_msdu_end_tlv_9000; in hal_hw_txrx_ops_attach_qcn9000()
1837 hal_soc->ops->hal_rx_dump_rx_attention_tlv = in hal_hw_txrx_ops_attach_qcn9000()
1839 hal_soc->ops->hal_rx_dump_msdu_start_tlv = in hal_hw_txrx_ops_attach_qcn9000()
1841 hal_soc->ops->hal_rx_dump_mpdu_start_tlv = in hal_hw_txrx_ops_attach_qcn9000()
1843 hal_soc->ops->hal_rx_dump_mpdu_end_tlv = in hal_hw_txrx_ops_attach_qcn9000()
1845 hal_soc->ops->hal_rx_dump_pkt_hdr_tlv = in hal_hw_txrx_ops_attach_qcn9000()
1848 hal_soc->ops->hal_get_link_desc_size = hal_get_link_desc_size_9000; in hal_hw_txrx_ops_attach_qcn9000()
1849 hal_soc->ops->hal_rx_mpdu_start_tid_get = in hal_hw_txrx_ops_attach_qcn9000()
1851 hal_soc->ops->hal_rx_msdu_start_reception_type_get = in hal_hw_txrx_ops_attach_qcn9000()
1853 hal_soc->ops->hal_rx_msdu_end_da_idx_get = in hal_hw_txrx_ops_attach_qcn9000()
1855 hal_soc->ops->hal_rx_msdu_desc_info_get_ptr = in hal_hw_txrx_ops_attach_qcn9000()
1857 hal_soc->ops->hal_rx_link_desc_msdu0_ptr = in hal_hw_txrx_ops_attach_qcn9000()
1859 hal_soc->ops->hal_reo_status_get_header = in hal_hw_txrx_ops_attach_qcn9000()
1861 hal_soc->ops->hal_rx_status_get_tlv_info = in hal_hw_txrx_ops_attach_qcn9000()
1863 hal_soc->ops->hal_rx_wbm_err_info_get = in hal_hw_txrx_ops_attach_qcn9000()
1866 hal_soc->ops->hal_tx_set_pcp_tid_map = in hal_hw_txrx_ops_attach_qcn9000()
1868 hal_soc->ops->hal_tx_update_pcp_tid_map = in hal_hw_txrx_ops_attach_qcn9000()
1870 hal_soc->ops->hal_tx_set_tidmap_prty = in hal_hw_txrx_ops_attach_qcn9000()
1872 hal_soc->ops->hal_rx_get_rx_fragment_number = in hal_hw_txrx_ops_attach_qcn9000()
1874 hal_soc->ops->hal_rx_msdu_end_da_is_mcbc_get = in hal_hw_txrx_ops_attach_qcn9000()
1876 hal_soc->ops->hal_rx_msdu_end_sa_is_valid_get = in hal_hw_txrx_ops_attach_qcn9000()
1878 hal_soc->ops->hal_rx_msdu_end_sa_idx_get = in hal_hw_txrx_ops_attach_qcn9000()
1880 hal_soc->ops->hal_rx_desc_is_first_msdu = in hal_hw_txrx_ops_attach_qcn9000()
1882 hal_soc->ops->hal_rx_msdu_end_l3_hdr_padding_get = in hal_hw_txrx_ops_attach_qcn9000()
1884 hal_soc->ops->hal_rx_encryption_info_valid = in hal_hw_txrx_ops_attach_qcn9000()
1886 hal_soc->ops->hal_rx_print_pn = hal_rx_print_pn_9000; in hal_hw_txrx_ops_attach_qcn9000()
1887 hal_soc->ops->hal_rx_msdu_end_first_msdu_get = in hal_hw_txrx_ops_attach_qcn9000()
1889 hal_soc->ops->hal_rx_msdu_end_da_is_valid_get = in hal_hw_txrx_ops_attach_qcn9000()
1891 hal_soc->ops->hal_rx_msdu_end_last_msdu_get = in hal_hw_txrx_ops_attach_qcn9000()
1893 hal_soc->ops->hal_rx_get_mpdu_mac_ad4_valid = in hal_hw_txrx_ops_attach_qcn9000()
1895 hal_soc->ops->hal_rx_mpdu_start_sw_peer_id_get = in hal_hw_txrx_ops_attach_qcn9000()
1897 hal_soc->ops->hal_rx_tlv_peer_meta_data_get = in hal_hw_txrx_ops_attach_qcn9000()
1899 hal_soc->ops->hal_rx_mpdu_get_to_ds = hal_rx_mpdu_get_to_ds_9000; in hal_hw_txrx_ops_attach_qcn9000()
1900 hal_soc->ops->hal_rx_mpdu_get_fr_ds = hal_rx_mpdu_get_fr_ds_9000; in hal_hw_txrx_ops_attach_qcn9000()
1901 hal_soc->ops->hal_rx_get_mpdu_frame_control_valid = in hal_hw_txrx_ops_attach_qcn9000()
1903 hal_soc->ops->hal_rx_get_frame_ctrl_field = in hal_hw_txrx_ops_attach_qcn9000()
1905 hal_soc->ops->hal_rx_mpdu_get_addr1 = hal_rx_mpdu_get_addr1_9000; in hal_hw_txrx_ops_attach_qcn9000()
1906 hal_soc->ops->hal_rx_mpdu_get_addr2 = hal_rx_mpdu_get_addr2_9000; in hal_hw_txrx_ops_attach_qcn9000()
1907 hal_soc->ops->hal_rx_mpdu_get_addr3 = hal_rx_mpdu_get_addr3_9000; in hal_hw_txrx_ops_attach_qcn9000()
1908 hal_soc->ops->hal_rx_mpdu_get_addr4 = hal_rx_mpdu_get_addr4_9000; in hal_hw_txrx_ops_attach_qcn9000()
1909 hal_soc->ops->hal_rx_get_mpdu_sequence_control_valid = in hal_hw_txrx_ops_attach_qcn9000()
1911 hal_soc->ops->hal_rx_is_unicast = hal_rx_is_unicast_9000; in hal_hw_txrx_ops_attach_qcn9000()
1912 hal_soc->ops->hal_rx_tid_get = hal_rx_tid_get_9000; in hal_hw_txrx_ops_attach_qcn9000()
1913 hal_soc->ops->hal_rx_hw_desc_get_ppduid_get = in hal_hw_txrx_ops_attach_qcn9000()
1915 hal_soc->ops->hal_rx_mpdu_start_mpdu_qos_control_valid_get = in hal_hw_txrx_ops_attach_qcn9000()
1917 hal_soc->ops->hal_rx_msdu_end_sa_sw_peer_id_get = in hal_hw_txrx_ops_attach_qcn9000()
1919 hal_soc->ops->hal_rx_msdu0_buffer_addr_lsb = in hal_hw_txrx_ops_attach_qcn9000()
1921 hal_soc->ops->hal_rx_msdu_desc_info_ptr_get = in hal_hw_txrx_ops_attach_qcn9000()
1923 hal_soc->ops->hal_ent_mpdu_desc_info = hal_ent_mpdu_desc_info_9000; in hal_hw_txrx_ops_attach_qcn9000()
1924 hal_soc->ops->hal_dst_mpdu_desc_info = hal_dst_mpdu_desc_info_9000; in hal_hw_txrx_ops_attach_qcn9000()
1925 hal_soc->ops->hal_rx_get_fc_valid = hal_rx_get_fc_valid_9000; in hal_hw_txrx_ops_attach_qcn9000()
1926 hal_soc->ops->hal_rx_get_to_ds_flag = hal_rx_get_to_ds_flag_9000; in hal_hw_txrx_ops_attach_qcn9000()
1927 hal_soc->ops->hal_rx_get_mac_addr2_valid = in hal_hw_txrx_ops_attach_qcn9000()
1929 hal_soc->ops->hal_rx_get_filter_category = in hal_hw_txrx_ops_attach_qcn9000()
1931 hal_soc->ops->hal_rx_get_ppdu_id = hal_rx_get_ppdu_id_9000; in hal_hw_txrx_ops_attach_qcn9000()
1932 hal_soc->ops->hal_reo_config = hal_reo_config_9000; in hal_hw_txrx_ops_attach_qcn9000()
1933 hal_soc->ops->hal_rx_msdu_flow_idx_get = hal_rx_msdu_flow_idx_get_9000; in hal_hw_txrx_ops_attach_qcn9000()
1934 hal_soc->ops->hal_rx_msdu_flow_idx_invalid = in hal_hw_txrx_ops_attach_qcn9000()
1936 hal_soc->ops->hal_rx_msdu_flow_idx_timeout = in hal_hw_txrx_ops_attach_qcn9000()
1938 hal_soc->ops->hal_rx_msdu_fse_metadata_get = in hal_hw_txrx_ops_attach_qcn9000()
1940 hal_soc->ops->hal_rx_msdu_cce_match_get = in hal_hw_txrx_ops_attach_qcn9000()
1942 hal_soc->ops->hal_rx_msdu_cce_metadata_get = in hal_hw_txrx_ops_attach_qcn9000()
1944 hal_soc->ops->hal_rx_msdu_get_flow_params = in hal_hw_txrx_ops_attach_qcn9000()
1946 hal_soc->ops->hal_rx_tlv_get_tcp_chksum = in hal_hw_txrx_ops_attach_qcn9000()
1948 hal_soc->ops->hal_rx_get_rx_sequence = hal_rx_get_rx_sequence_9000; in hal_hw_txrx_ops_attach_qcn9000()
1950 hal_soc->ops->hal_rx_get_bb_info = hal_rx_get_bb_info_9000; in hal_hw_txrx_ops_attach_qcn9000()
1951 hal_soc->ops->hal_rx_get_rtt_info = hal_rx_get_rtt_info_9000; in hal_hw_txrx_ops_attach_qcn9000()
1954 hal_soc->ops->hal_rx_msdu_packet_metadata_get = in hal_hw_txrx_ops_attach_qcn9000()
1956 hal_soc->ops->hal_rx_mpdu_start_tlv_tag_valid = in hal_hw_txrx_ops_attach_qcn9000()
1958 hal_soc->ops->hal_rx_sw_mon_desc_info_get = in hal_hw_txrx_ops_attach_qcn9000()
1960 hal_soc->ops->hal_rx_wbm_err_msdu_continuation_get = in hal_hw_txrx_ops_attach_qcn9000()
1964 hal_soc->ops->hal_rx_msdu_end_offset_get = in hal_hw_txrx_ops_attach_qcn9000()
1966 hal_soc->ops->hal_rx_attn_offset_get = hal_rx_attn_offset_get_generic; in hal_hw_txrx_ops_attach_qcn9000()
1967 hal_soc->ops->hal_rx_msdu_start_offset_get = in hal_hw_txrx_ops_attach_qcn9000()
1969 hal_soc->ops->hal_rx_mpdu_start_offset_get = in hal_hw_txrx_ops_attach_qcn9000()
1971 hal_soc->ops->hal_rx_mpdu_end_offset_get = in hal_hw_txrx_ops_attach_qcn9000()
1974 hal_soc->ops->hal_rx_pkt_tlv_offset_get = in hal_hw_txrx_ops_attach_qcn9000()
1977 hal_soc->ops->hal_rx_flow_setup_fse = hal_rx_flow_setup_fse_9000; in hal_hw_txrx_ops_attach_qcn9000()
1979 hal_soc->ops->hal_rx_flow_get_tuple_info = in hal_hw_txrx_ops_attach_qcn9000()
1981 hal_soc->ops->hal_rx_flow_delete_entry = in hal_hw_txrx_ops_attach_qcn9000()
1983 hal_soc->ops->hal_rx_fst_get_fse_size = hal_rx_fst_get_fse_size_li; in hal_hw_txrx_ops_attach_qcn9000()
1984 hal_soc->ops->hal_compute_reo_remap_ix2_ix3 = in hal_hw_txrx_ops_attach_qcn9000()
1986 hal_soc->ops->hal_setup_link_idle_list = in hal_hw_txrx_ops_attach_qcn9000()
1988 hal_soc->ops->hal_rx_tlv_get_pn_num = hal_rx_tlv_get_pn_num_li; in hal_hw_txrx_ops_attach_qcn9000()
1989 hal_soc->ops->hal_rx_tlv_mic_err_get = hal_rx_tlv_mic_err_get_li; in hal_hw_txrx_ops_attach_qcn9000()
1990 hal_soc->ops->hal_rx_tlv_decrypt_err_get = in hal_hw_txrx_ops_attach_qcn9000()
1992 hal_soc->ops->hal_rx_tlv_get_pkt_capture_flags = in hal_hw_txrx_ops_attach_qcn9000()
1994 hal_soc->ops->hal_rx_mpdu_info_ampdu_flag_get = in hal_hw_txrx_ops_attach_qcn9000()
1996 hal_soc->ops->hal_compute_reo_remap_ix0 = NULL; in hal_hw_txrx_ops_attach_qcn9000()
1997 hal_soc->ops->hal_rx_tlv_msdu_len_get = in hal_hw_txrx_ops_attach_qcn9000()
2433 void hal_qcn9000_attach(struct hal_soc *hal_soc) in hal_qcn9000_attach() argument
2435 hal_soc->hw_srng_table = hw_srng_table_9000; in hal_qcn9000_attach()
2436 hal_srng_hw_reg_offset_init_generic(hal_soc); in hal_qcn9000_attach()
2437 hal_hw_txrx_default_ops_attach_li(hal_soc); in hal_qcn9000_attach()
2438 hal_hw_txrx_ops_attach_qcn9000(hal_soc); in hal_qcn9000_attach()
2439 if (hal_soc->static_window_map) in hal_qcn9000_attach()
2440 hal_write_window_register(hal_soc); in hal_qcn9000_attach()