Lines Matching refs:hal_soc
1374 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()
1802 hal_soc->ops->hal_get_hw_hptp = hal_get_hw_hptp_generic; in hal_hw_txrx_ops_attach_qcn6122()
1803 hal_soc->ops->hal_reo_setup = hal_reo_setup_generic_li; in hal_hw_txrx_ops_attach_qcn6122()
1804 hal_soc->ops->hal_get_window_address = hal_get_window_address_6122; in hal_hw_txrx_ops_attach_qcn6122()
1807 hal_soc->ops->hal_tx_desc_set_dscp_tid_table_id = in hal_hw_txrx_ops_attach_qcn6122()
1809 hal_soc->ops->hal_tx_set_dscp_tid_map = hal_tx_set_dscp_tid_map_6122; in hal_hw_txrx_ops_attach_qcn6122()
1810 hal_soc->ops->hal_tx_update_dscp_tid = hal_tx_update_dscp_tid_6122; in hal_hw_txrx_ops_attach_qcn6122()
1811 hal_soc->ops->hal_tx_desc_set_lmac_id = hal_tx_desc_set_lmac_id_6122; in hal_hw_txrx_ops_attach_qcn6122()
1812 hal_soc->ops->hal_tx_desc_set_buf_addr = in hal_hw_txrx_ops_attach_qcn6122()
1814 hal_soc->ops->hal_tx_desc_set_search_type = in hal_hw_txrx_ops_attach_qcn6122()
1816 hal_soc->ops->hal_tx_desc_set_search_index = in hal_hw_txrx_ops_attach_qcn6122()
1818 hal_soc->ops->hal_tx_desc_set_cache_set_num = in hal_hw_txrx_ops_attach_qcn6122()
1820 hal_soc->ops->hal_tx_comp_get_status = in hal_hw_txrx_ops_attach_qcn6122()
1822 hal_soc->ops->hal_tx_comp_get_release_reason = in hal_hw_txrx_ops_attach_qcn6122()
1824 hal_soc->ops->hal_get_wbm_internal_error = in hal_hw_txrx_ops_attach_qcn6122()
1826 hal_soc->ops->hal_tx_desc_set_mesh_en = hal_tx_desc_set_mesh_en_6122; in hal_hw_txrx_ops_attach_qcn6122()
1827 hal_soc->ops->hal_tx_init_cmd_credit_ring = in hal_hw_txrx_ops_attach_qcn6122()
1831 hal_soc->ops->hal_rx_msdu_start_nss_get = in hal_hw_txrx_ops_attach_qcn6122()
1833 hal_soc->ops->hal_rx_mon_hw_desc_get_mpdu_status = in hal_hw_txrx_ops_attach_qcn6122()
1835 hal_soc->ops->hal_rx_get_tlv = hal_rx_get_tlv_6122; in hal_hw_txrx_ops_attach_qcn6122()
1836 hal_soc->ops->hal_rx_proc_phyrx_other_receive_info_tlv = in hal_hw_txrx_ops_attach_qcn6122()
1839 hal_soc->ops->hal_rx_dump_msdu_end_tlv = hal_rx_dump_msdu_end_tlv_6122; in hal_hw_txrx_ops_attach_qcn6122()
1840 hal_soc->ops->hal_rx_dump_rx_attention_tlv = in hal_hw_txrx_ops_attach_qcn6122()
1842 hal_soc->ops->hal_rx_dump_msdu_start_tlv = in hal_hw_txrx_ops_attach_qcn6122()
1844 hal_soc->ops->hal_rx_dump_mpdu_start_tlv = in hal_hw_txrx_ops_attach_qcn6122()
1846 hal_soc->ops->hal_rx_dump_mpdu_end_tlv = in hal_hw_txrx_ops_attach_qcn6122()
1848 hal_soc->ops->hal_rx_dump_pkt_hdr_tlv = in hal_hw_txrx_ops_attach_qcn6122()
1851 hal_soc->ops->hal_get_link_desc_size = hal_get_link_desc_size_6122; in hal_hw_txrx_ops_attach_qcn6122()
1852 hal_soc->ops->hal_rx_mpdu_start_tid_get = in hal_hw_txrx_ops_attach_qcn6122()
1854 hal_soc->ops->hal_rx_msdu_start_reception_type_get = in hal_hw_txrx_ops_attach_qcn6122()
1856 hal_soc->ops->hal_rx_msdu_end_da_idx_get = in hal_hw_txrx_ops_attach_qcn6122()
1858 hal_soc->ops->hal_rx_msdu_desc_info_get_ptr = in hal_hw_txrx_ops_attach_qcn6122()
1860 hal_soc->ops->hal_rx_link_desc_msdu0_ptr = in hal_hw_txrx_ops_attach_qcn6122()
1862 hal_soc->ops->hal_reo_status_get_header = in hal_hw_txrx_ops_attach_qcn6122()
1864 hal_soc->ops->hal_rx_status_get_tlv_info = in hal_hw_txrx_ops_attach_qcn6122()
1866 hal_soc->ops->hal_rx_wbm_err_info_get = in hal_hw_txrx_ops_attach_qcn6122()
1869 hal_soc->ops->hal_tx_set_pcp_tid_map = in hal_hw_txrx_ops_attach_qcn6122()
1871 hal_soc->ops->hal_tx_update_pcp_tid_map = in hal_hw_txrx_ops_attach_qcn6122()
1873 hal_soc->ops->hal_tx_set_tidmap_prty = in hal_hw_txrx_ops_attach_qcn6122()
1875 hal_soc->ops->hal_rx_get_rx_fragment_number = in hal_hw_txrx_ops_attach_qcn6122()
1877 hal_soc->ops->hal_rx_msdu_end_da_is_mcbc_get = in hal_hw_txrx_ops_attach_qcn6122()
1879 hal_soc->ops->hal_rx_msdu_end_sa_is_valid_get = in hal_hw_txrx_ops_attach_qcn6122()
1881 hal_soc->ops->hal_rx_msdu_end_sa_idx_get = in hal_hw_txrx_ops_attach_qcn6122()
1883 hal_soc->ops->hal_rx_desc_is_first_msdu = in hal_hw_txrx_ops_attach_qcn6122()
1885 hal_soc->ops->hal_rx_msdu_end_l3_hdr_padding_get = in hal_hw_txrx_ops_attach_qcn6122()
1887 hal_soc->ops->hal_rx_encryption_info_valid = in hal_hw_txrx_ops_attach_qcn6122()
1889 hal_soc->ops->hal_rx_print_pn = hal_rx_print_pn_6122; in hal_hw_txrx_ops_attach_qcn6122()
1890 hal_soc->ops->hal_rx_msdu_end_first_msdu_get = in hal_hw_txrx_ops_attach_qcn6122()
1892 hal_soc->ops->hal_rx_msdu_end_da_is_valid_get = in hal_hw_txrx_ops_attach_qcn6122()
1894 hal_soc->ops->hal_rx_msdu_end_last_msdu_get = in hal_hw_txrx_ops_attach_qcn6122()
1896 hal_soc->ops->hal_rx_get_mpdu_mac_ad4_valid = in hal_hw_txrx_ops_attach_qcn6122()
1898 hal_soc->ops->hal_rx_mpdu_start_sw_peer_id_get = in hal_hw_txrx_ops_attach_qcn6122()
1900 hal_soc->ops->hal_rx_tlv_peer_meta_data_get = in hal_hw_txrx_ops_attach_qcn6122()
1902 hal_soc->ops->hal_rx_mpdu_get_to_ds = hal_rx_mpdu_get_to_ds_6122; in hal_hw_txrx_ops_attach_qcn6122()
1903 hal_soc->ops->hal_rx_mpdu_get_fr_ds = hal_rx_mpdu_get_fr_ds_6122; in hal_hw_txrx_ops_attach_qcn6122()
1904 hal_soc->ops->hal_rx_get_mpdu_frame_control_valid = in hal_hw_txrx_ops_attach_qcn6122()
1906 hal_soc->ops->hal_rx_get_frame_ctrl_field = in hal_hw_txrx_ops_attach_qcn6122()
1908 hal_soc->ops->hal_rx_mpdu_get_addr1 = hal_rx_mpdu_get_addr1_6122; in hal_hw_txrx_ops_attach_qcn6122()
1909 hal_soc->ops->hal_rx_mpdu_get_addr2 = hal_rx_mpdu_get_addr2_6122; in hal_hw_txrx_ops_attach_qcn6122()
1910 hal_soc->ops->hal_rx_mpdu_get_addr3 = hal_rx_mpdu_get_addr3_6122; in hal_hw_txrx_ops_attach_qcn6122()
1911 hal_soc->ops->hal_rx_mpdu_get_addr4 = hal_rx_mpdu_get_addr4_6122; in hal_hw_txrx_ops_attach_qcn6122()
1912 hal_soc->ops->hal_rx_get_mpdu_sequence_control_valid = in hal_hw_txrx_ops_attach_qcn6122()
1914 hal_soc->ops->hal_rx_is_unicast = hal_rx_is_unicast_6122; in hal_hw_txrx_ops_attach_qcn6122()
1915 hal_soc->ops->hal_rx_tid_get = hal_rx_tid_get_6122; in hal_hw_txrx_ops_attach_qcn6122()
1916 hal_soc->ops->hal_rx_hw_desc_get_ppduid_get = in hal_hw_txrx_ops_attach_qcn6122()
1918 hal_soc->ops->hal_rx_mpdu_start_mpdu_qos_control_valid_get = in hal_hw_txrx_ops_attach_qcn6122()
1920 hal_soc->ops->hal_rx_msdu_end_sa_sw_peer_id_get = in hal_hw_txrx_ops_attach_qcn6122()
1922 hal_soc->ops->hal_rx_msdu0_buffer_addr_lsb = in hal_hw_txrx_ops_attach_qcn6122()
1924 hal_soc->ops->hal_rx_msdu_desc_info_ptr_get = in hal_hw_txrx_ops_attach_qcn6122()
1926 hal_soc->ops->hal_ent_mpdu_desc_info = hal_ent_mpdu_desc_info_6122; in hal_hw_txrx_ops_attach_qcn6122()
1927 hal_soc->ops->hal_dst_mpdu_desc_info = hal_dst_mpdu_desc_info_6122; in hal_hw_txrx_ops_attach_qcn6122()
1928 hal_soc->ops->hal_rx_get_fc_valid = hal_rx_get_fc_valid_6122; in hal_hw_txrx_ops_attach_qcn6122()
1929 hal_soc->ops->hal_rx_get_to_ds_flag = hal_rx_get_to_ds_flag_6122; in hal_hw_txrx_ops_attach_qcn6122()
1930 hal_soc->ops->hal_rx_get_mac_addr2_valid = in hal_hw_txrx_ops_attach_qcn6122()
1932 hal_soc->ops->hal_rx_get_filter_category = in hal_hw_txrx_ops_attach_qcn6122()
1934 hal_soc->ops->hal_rx_get_ppdu_id = hal_rx_get_ppdu_id_6122; in hal_hw_txrx_ops_attach_qcn6122()
1935 hal_soc->ops->hal_reo_config = hal_reo_config_6122; in hal_hw_txrx_ops_attach_qcn6122()
1936 hal_soc->ops->hal_rx_msdu_flow_idx_get = hal_rx_msdu_flow_idx_get_6122; in hal_hw_txrx_ops_attach_qcn6122()
1937 hal_soc->ops->hal_rx_msdu_flow_idx_invalid = in hal_hw_txrx_ops_attach_qcn6122()
1939 hal_soc->ops->hal_rx_msdu_flow_idx_timeout = in hal_hw_txrx_ops_attach_qcn6122()
1941 hal_soc->ops->hal_rx_msdu_fse_metadata_get = in hal_hw_txrx_ops_attach_qcn6122()
1943 hal_soc->ops->hal_rx_msdu_cce_match_get = in hal_hw_txrx_ops_attach_qcn6122()
1945 hal_soc->ops->hal_rx_msdu_cce_metadata_get = in hal_hw_txrx_ops_attach_qcn6122()
1947 hal_soc->ops->hal_rx_msdu_get_flow_params = in hal_hw_txrx_ops_attach_qcn6122()
1949 hal_soc->ops->hal_rx_tlv_get_tcp_chksum = in hal_hw_txrx_ops_attach_qcn6122()
1951 hal_soc->ops->hal_rx_get_rx_sequence = hal_rx_get_rx_sequence_6122; in hal_hw_txrx_ops_attach_qcn6122()
1953 hal_soc->ops->hal_rx_get_bb_info = hal_rx_get_bb_info_6122; in hal_hw_txrx_ops_attach_qcn6122()
1954 hal_soc->ops->hal_rx_get_rtt_info = hal_rx_get_rtt_info_6122; in hal_hw_txrx_ops_attach_qcn6122()
1957 hal_soc->ops->hal_rx_msdu_packet_metadata_get = in hal_hw_txrx_ops_attach_qcn6122()
1959 hal_soc->ops->hal_rx_mpdu_start_tlv_tag_valid = in hal_hw_txrx_ops_attach_qcn6122()
1961 hal_soc->ops->hal_rx_sw_mon_desc_info_get = in hal_hw_txrx_ops_attach_qcn6122()
1963 hal_soc->ops->hal_rx_wbm_err_msdu_continuation_get = in hal_hw_txrx_ops_attach_qcn6122()
1967 hal_soc->ops->hal_rx_msdu_end_offset_get = in hal_hw_txrx_ops_attach_qcn6122()
1969 hal_soc->ops->hal_rx_attn_offset_get = hal_rx_attn_offset_get_generic; in hal_hw_txrx_ops_attach_qcn6122()
1970 hal_soc->ops->hal_rx_msdu_start_offset_get = in hal_hw_txrx_ops_attach_qcn6122()
1972 hal_soc->ops->hal_rx_mpdu_start_offset_get = in hal_hw_txrx_ops_attach_qcn6122()
1974 hal_soc->ops->hal_rx_mpdu_end_offset_get = in hal_hw_txrx_ops_attach_qcn6122()
1977 hal_soc->ops->hal_rx_pkt_tlv_offset_get = in hal_hw_txrx_ops_attach_qcn6122()
1980 hal_soc->ops->hal_rx_flow_setup_fse = hal_rx_flow_setup_fse_6122; in hal_hw_txrx_ops_attach_qcn6122()
1981 hal_soc->ops->hal_rx_flow_get_tuple_info = in hal_hw_txrx_ops_attach_qcn6122()
1983 hal_soc->ops->hal_rx_flow_delete_entry = in hal_hw_txrx_ops_attach_qcn6122()
1985 hal_soc->ops->hal_rx_fst_get_fse_size = hal_rx_fst_get_fse_size_li; in hal_hw_txrx_ops_attach_qcn6122()
1986 hal_soc->ops->hal_compute_reo_remap_ix2_ix3 = in hal_hw_txrx_ops_attach_qcn6122()
1988 hal_soc->ops->hal_setup_link_idle_list = in hal_hw_txrx_ops_attach_qcn6122()
1990 hal_soc->ops->hal_rx_tlv_get_pn_num = hal_rx_tlv_get_pn_num_li; in hal_hw_txrx_ops_attach_qcn6122()
1991 hal_soc->ops->hal_rx_tlv_mic_err_get = hal_rx_tlv_mic_err_get_li; in hal_hw_txrx_ops_attach_qcn6122()
1992 hal_soc->ops->hal_rx_tlv_decrypt_err_get = in hal_hw_txrx_ops_attach_qcn6122()
1994 hal_soc->ops->hal_rx_tlv_get_pkt_capture_flags = in hal_hw_txrx_ops_attach_qcn6122()
1996 hal_soc->ops->hal_rx_mpdu_info_ampdu_flag_get = in hal_hw_txrx_ops_attach_qcn6122()
1998 hal_soc->ops->hal_compute_reo_remap_ix0 = NULL; in hal_hw_txrx_ops_attach_qcn6122()
1999 hal_soc->ops->hal_rx_tlv_msdu_len_get = in hal_hw_txrx_ops_attach_qcn6122()
2431 void hal_qcn6122_attach(struct hal_soc *hal_soc) in hal_qcn6122_attach() argument
2433 hal_soc->hw_srng_table = hw_srng_table_6122; in hal_qcn6122_attach()
2434 hal_srng_hw_reg_offset_init_generic(hal_soc); in hal_qcn6122_attach()
2436 hal_hw_txrx_default_ops_attach_li(hal_soc); in hal_qcn6122_attach()
2437 hal_hw_txrx_ops_attach_qcn6122(hal_soc); in hal_qcn6122_attach()
2438 if (hal_soc->static_window_map) in hal_qcn6122_attach()
2439 hal_write_window_register(hal_soc); in hal_qcn6122_attach()