Lines Matching refs:hal_soc

232 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()
1607 hal_rx_flow_setup_cmem_fse_6450(struct hal_soc *hal_soc, uint32_t cmem_ba, in hal_rx_flow_setup_cmem_fse_6450() argument
1617 HAL_CMEM_WRITE(hal_soc, fse_offset + HAL_OFFSET(RX_FLOW_SEARCH_ENTRY_9, in hal_rx_flow_setup_cmem_fse_6450()
1622 HAL_CMEM_WRITE(hal_soc, fse_offset + HAL_OFFSET(RX_FLOW_SEARCH_ENTRY_0, in hal_rx_flow_setup_cmem_fse_6450()
1627 HAL_CMEM_WRITE(hal_soc, fse_offset + HAL_OFFSET(RX_FLOW_SEARCH_ENTRY_1, in hal_rx_flow_setup_cmem_fse_6450()
1632 HAL_CMEM_WRITE(hal_soc, fse_offset + HAL_OFFSET(RX_FLOW_SEARCH_ENTRY_2, in hal_rx_flow_setup_cmem_fse_6450()
1637 HAL_CMEM_WRITE(hal_soc, fse_offset + HAL_OFFSET(RX_FLOW_SEARCH_ENTRY_3, in hal_rx_flow_setup_cmem_fse_6450()
1642 HAL_CMEM_WRITE(hal_soc, fse_offset + HAL_OFFSET(RX_FLOW_SEARCH_ENTRY_4, in hal_rx_flow_setup_cmem_fse_6450()
1647 HAL_CMEM_WRITE(hal_soc, fse_offset + HAL_OFFSET(RX_FLOW_SEARCH_ENTRY_5, in hal_rx_flow_setup_cmem_fse_6450()
1652 HAL_CMEM_WRITE(hal_soc, fse_offset + HAL_OFFSET(RX_FLOW_SEARCH_ENTRY_6, in hal_rx_flow_setup_cmem_fse_6450()
1657 HAL_CMEM_WRITE(hal_soc, fse_offset + HAL_OFFSET(RX_FLOW_SEARCH_ENTRY_7, in hal_rx_flow_setup_cmem_fse_6450()
1664 HAL_CMEM_WRITE(hal_soc, fse_offset + HAL_OFFSET(RX_FLOW_SEARCH_ENTRY_8, in hal_rx_flow_setup_cmem_fse_6450()
1669 HAL_CMEM_WRITE(hal_soc, fse_offset + HAL_OFFSET(RX_FLOW_SEARCH_ENTRY_10, in hal_rx_flow_setup_cmem_fse_6450()
1673 HAL_CMEM_WRITE(hal_soc, fse_offset + HAL_OFFSET(RX_FLOW_SEARCH_ENTRY_11, in hal_rx_flow_setup_cmem_fse_6450()
1675 HAL_CMEM_WRITE(hal_soc, fse_offset + HAL_OFFSET(RX_FLOW_SEARCH_ENTRY_12, in hal_rx_flow_setup_cmem_fse_6450()
1677 HAL_CMEM_WRITE(hal_soc, fse_offset + HAL_OFFSET(RX_FLOW_SEARCH_ENTRY_13, in hal_rx_flow_setup_cmem_fse_6450()
1688 HAL_CMEM_WRITE(hal_soc, fse_offset + HAL_OFFSET(RX_FLOW_SEARCH_ENTRY_9, in hal_rx_flow_setup_cmem_fse_6450()
1701 static uint32_t hal_rx_flow_get_cmem_fse_ts_6450(struct hal_soc *hal_soc, in hal_rx_flow_get_cmem_fse_ts_6450() argument
1704 return HAL_CMEM_READ(hal_soc, fse_offset + in hal_rx_flow_get_cmem_fse_ts_6450()
1718 hal_rx_flow_get_cmem_fse_6450(struct hal_soc *hal_soc, uint32_t fse_offset, in hal_rx_flow_get_cmem_fse_6450() argument
1727 fse[i] = HAL_CMEM_READ(hal_soc, fse_offset + i * 4); in hal_rx_flow_get_cmem_fse_6450()
1790 static void hal_hw_txrx_ops_attach_wcn6450(struct hal_soc *hal_soc) in hal_hw_txrx_ops_attach_wcn6450() argument
1793 hal_soc->ops->hal_srng_dst_hw_init = hal_srng_dst_hw_init_generic; in hal_hw_txrx_ops_attach_wcn6450()
1794 hal_soc->ops->hal_srng_src_hw_init = hal_srng_src_hw_init_generic; in hal_hw_txrx_ops_attach_wcn6450()
1795 hal_soc->ops->hal_get_hw_hptp = hal_get_hw_hptp_6450; in hal_hw_txrx_ops_attach_wcn6450()
1796 hal_soc->ops->hal_reo_setup = hal_reo_setup_6450; in hal_hw_txrx_ops_attach_wcn6450()
1797 hal_soc->ops->hal_get_window_address = hal_get_window_address_6450; in hal_hw_txrx_ops_attach_wcn6450()
1798 hal_soc->ops->hal_reo_set_err_dst_remap = in hal_hw_txrx_ops_attach_wcn6450()
1802 hal_soc->ops->hal_tx_desc_set_dscp_tid_table_id = in hal_hw_txrx_ops_attach_wcn6450()
1804 hal_soc->ops->hal_tx_set_dscp_tid_map = hal_tx_set_dscp_tid_map_6450; in hal_hw_txrx_ops_attach_wcn6450()
1805 hal_soc->ops->hal_tx_update_dscp_tid = hal_tx_update_dscp_tid_6450; in hal_hw_txrx_ops_attach_wcn6450()
1806 hal_soc->ops->hal_tx_desc_set_lmac_id = hal_tx_desc_set_lmac_id_6450; in hal_hw_txrx_ops_attach_wcn6450()
1807 hal_soc->ops->hal_tx_desc_set_buf_addr = in hal_hw_txrx_ops_attach_wcn6450()
1809 hal_soc->ops->hal_tx_desc_set_search_type = in hal_hw_txrx_ops_attach_wcn6450()
1811 hal_soc->ops->hal_tx_desc_set_search_index = in hal_hw_txrx_ops_attach_wcn6450()
1813 hal_soc->ops->hal_tx_desc_set_cache_set_num = in hal_hw_txrx_ops_attach_wcn6450()
1815 hal_soc->ops->hal_tx_comp_get_status = in hal_hw_txrx_ops_attach_wcn6450()
1817 hal_soc->ops->hal_tx_comp_get_release_reason = in hal_hw_txrx_ops_attach_wcn6450()
1819 hal_soc->ops->hal_get_wbm_internal_error = in hal_hw_txrx_ops_attach_wcn6450()
1821 hal_soc->ops->hal_tx_desc_set_mesh_en = hal_tx_desc_set_mesh_en_6450; in hal_hw_txrx_ops_attach_wcn6450()
1822 hal_soc->ops->hal_tx_init_cmd_credit_ring = in hal_hw_txrx_ops_attach_wcn6450()
1826 hal_soc->ops->hal_rx_msdu_start_nss_get = in hal_hw_txrx_ops_attach_wcn6450()
1828 hal_soc->ops->hal_rx_mon_hw_desc_get_mpdu_status = in hal_hw_txrx_ops_attach_wcn6450()
1830 hal_soc->ops->hal_rx_get_tlv = hal_rx_get_tlv_6450; in hal_hw_txrx_ops_attach_wcn6450()
1831 hal_soc->ops->hal_rx_proc_phyrx_other_receive_info_tlv = in hal_hw_txrx_ops_attach_wcn6450()
1834 hal_soc->ops->hal_rx_dump_msdu_end_tlv = in hal_hw_txrx_ops_attach_wcn6450()
1836 hal_soc->ops->hal_rx_dump_rx_attention_tlv = in hal_hw_txrx_ops_attach_wcn6450()
1838 hal_soc->ops->hal_rx_dump_msdu_start_tlv = in hal_hw_txrx_ops_attach_wcn6450()
1840 hal_soc->ops->hal_rx_dump_mpdu_start_tlv = in hal_hw_txrx_ops_attach_wcn6450()
1842 hal_soc->ops->hal_rx_dump_mpdu_end_tlv = in hal_hw_txrx_ops_attach_wcn6450()
1844 hal_soc->ops->hal_rx_dump_pkt_hdr_tlv = in hal_hw_txrx_ops_attach_wcn6450()
1847 hal_soc->ops->hal_get_link_desc_size = hal_get_link_desc_size_6450; in hal_hw_txrx_ops_attach_wcn6450()
1848 hal_soc->ops->hal_rx_mpdu_start_tid_get = in hal_hw_txrx_ops_attach_wcn6450()
1850 hal_soc->ops->hal_rx_msdu_start_reception_type_get = in hal_hw_txrx_ops_attach_wcn6450()
1852 hal_soc->ops->hal_rx_msdu_end_da_idx_get = in hal_hw_txrx_ops_attach_wcn6450()
1854 hal_soc->ops->hal_rx_msdu_desc_info_get_ptr = in hal_hw_txrx_ops_attach_wcn6450()
1856 hal_soc->ops->hal_rx_link_desc_msdu0_ptr = in hal_hw_txrx_ops_attach_wcn6450()
1858 hal_soc->ops->hal_reo_status_get_header = in hal_hw_txrx_ops_attach_wcn6450()
1860 hal_soc->ops->hal_rx_status_get_tlv_info = in hal_hw_txrx_ops_attach_wcn6450()
1862 hal_soc->ops->hal_rx_wbm_err_info_get = in hal_hw_txrx_ops_attach_wcn6450()
1864 hal_soc->ops->hal_tx_set_pcp_tid_map = in hal_hw_txrx_ops_attach_wcn6450()
1866 hal_soc->ops->hal_tx_update_pcp_tid_map = in hal_hw_txrx_ops_attach_wcn6450()
1868 hal_soc->ops->hal_tx_set_tidmap_prty = in hal_hw_txrx_ops_attach_wcn6450()
1870 hal_soc->ops->hal_rx_get_rx_fragment_number = in hal_hw_txrx_ops_attach_wcn6450()
1872 hal_soc->ops->hal_rx_msdu_end_da_is_mcbc_get = in hal_hw_txrx_ops_attach_wcn6450()
1874 hal_soc->ops->hal_rx_msdu_end_sa_is_valid_get = in hal_hw_txrx_ops_attach_wcn6450()
1876 hal_soc->ops->hal_rx_msdu_end_sa_idx_get = in hal_hw_txrx_ops_attach_wcn6450()
1878 hal_soc->ops->hal_rx_desc_is_first_msdu = in hal_hw_txrx_ops_attach_wcn6450()
1880 hal_soc->ops->hal_rx_msdu_end_l3_hdr_padding_get = in hal_hw_txrx_ops_attach_wcn6450()
1882 hal_soc->ops->hal_rx_encryption_info_valid = in hal_hw_txrx_ops_attach_wcn6450()
1884 hal_soc->ops->hal_rx_print_pn = hal_rx_print_pn_6450; in hal_hw_txrx_ops_attach_wcn6450()
1885 hal_soc->ops->hal_rx_msdu_end_first_msdu_get = in hal_hw_txrx_ops_attach_wcn6450()
1887 hal_soc->ops->hal_rx_msdu_end_da_is_valid_get = in hal_hw_txrx_ops_attach_wcn6450()
1889 hal_soc->ops->hal_rx_msdu_end_last_msdu_get = in hal_hw_txrx_ops_attach_wcn6450()
1891 hal_soc->ops->hal_rx_get_mpdu_mac_ad4_valid = in hal_hw_txrx_ops_attach_wcn6450()
1893 hal_soc->ops->hal_rx_mpdu_start_sw_peer_id_get = in hal_hw_txrx_ops_attach_wcn6450()
1895 hal_soc->ops->hal_rx_tlv_peer_meta_data_get = in hal_hw_txrx_ops_attach_wcn6450()
1897 hal_soc->ops->hal_rx_mpdu_get_to_ds = hal_rx_mpdu_get_to_ds_6450; in hal_hw_txrx_ops_attach_wcn6450()
1898 hal_soc->ops->hal_rx_mpdu_get_fr_ds = hal_rx_mpdu_get_fr_ds_6450; in hal_hw_txrx_ops_attach_wcn6450()
1899 hal_soc->ops->hal_rx_get_mpdu_frame_control_valid = in hal_hw_txrx_ops_attach_wcn6450()
1901 hal_soc->ops->hal_rx_get_frame_ctrl_field = in hal_hw_txrx_ops_attach_wcn6450()
1903 hal_soc->ops->hal_rx_mpdu_get_addr1 = hal_rx_mpdu_get_addr1_6450; in hal_hw_txrx_ops_attach_wcn6450()
1904 hal_soc->ops->hal_rx_mpdu_get_addr2 = hal_rx_mpdu_get_addr2_6450; in hal_hw_txrx_ops_attach_wcn6450()
1905 hal_soc->ops->hal_rx_mpdu_get_addr3 = hal_rx_mpdu_get_addr3_6450; in hal_hw_txrx_ops_attach_wcn6450()
1906 hal_soc->ops->hal_rx_mpdu_get_addr4 = hal_rx_mpdu_get_addr4_6450; in hal_hw_txrx_ops_attach_wcn6450()
1907 hal_soc->ops->hal_rx_get_mpdu_sequence_control_valid = in hal_hw_txrx_ops_attach_wcn6450()
1909 hal_soc->ops->hal_rx_is_unicast = hal_rx_is_unicast_6450; in hal_hw_txrx_ops_attach_wcn6450()
1910 hal_soc->ops->hal_rx_tid_get = hal_rx_tid_get_6450; in hal_hw_txrx_ops_attach_wcn6450()
1911 hal_soc->ops->hal_rx_hw_desc_get_ppduid_get = in hal_hw_txrx_ops_attach_wcn6450()
1913 hal_soc->ops->hal_rx_msdu0_buffer_addr_lsb = in hal_hw_txrx_ops_attach_wcn6450()
1915 hal_soc->ops->hal_rx_msdu_desc_info_ptr_get = in hal_hw_txrx_ops_attach_wcn6450()
1917 hal_soc->ops->hal_ent_mpdu_desc_info = hal_ent_mpdu_desc_info_6450; in hal_hw_txrx_ops_attach_wcn6450()
1918 hal_soc->ops->hal_dst_mpdu_desc_info = hal_dst_mpdu_desc_info_6450; in hal_hw_txrx_ops_attach_wcn6450()
1919 hal_soc->ops->hal_rx_get_fc_valid = hal_rx_get_fc_valid_6450; in hal_hw_txrx_ops_attach_wcn6450()
1920 hal_soc->ops->hal_rx_get_to_ds_flag = hal_rx_get_to_ds_flag_6450; in hal_hw_txrx_ops_attach_wcn6450()
1921 hal_soc->ops->hal_rx_get_mac_addr2_valid = in hal_hw_txrx_ops_attach_wcn6450()
1923 hal_soc->ops->hal_rx_get_filter_category = in hal_hw_txrx_ops_attach_wcn6450()
1925 hal_soc->ops->hal_rx_get_ppdu_id = hal_rx_get_ppdu_id_6450; in hal_hw_txrx_ops_attach_wcn6450()
1926 hal_soc->ops->hal_reo_config = hal_reo_config_6450; in hal_hw_txrx_ops_attach_wcn6450()
1927 hal_soc->ops->hal_rx_msdu_flow_idx_get = hal_rx_msdu_flow_idx_get_6450; in hal_hw_txrx_ops_attach_wcn6450()
1928 hal_soc->ops->hal_rx_msdu_flow_idx_invalid = in hal_hw_txrx_ops_attach_wcn6450()
1930 hal_soc->ops->hal_rx_msdu_flow_idx_timeout = in hal_hw_txrx_ops_attach_wcn6450()
1932 hal_soc->ops->hal_rx_msdu_fse_metadata_get = in hal_hw_txrx_ops_attach_wcn6450()
1934 hal_soc->ops->hal_rx_msdu_cce_match_get = in hal_hw_txrx_ops_attach_wcn6450()
1936 hal_soc->ops->hal_rx_msdu_cce_metadata_get = in hal_hw_txrx_ops_attach_wcn6450()
1938 hal_soc->ops->hal_rx_msdu_get_flow_params = in hal_hw_txrx_ops_attach_wcn6450()
1940 hal_soc->ops->hal_rx_tlv_get_tcp_chksum = in hal_hw_txrx_ops_attach_wcn6450()
1942 hal_soc->ops->hal_rx_get_rx_sequence = hal_rx_get_rx_sequence_6450; in hal_hw_txrx_ops_attach_wcn6450()
1945 hal_soc->ops->hal_rx_get_bb_info = hal_rx_get_bb_info_6450; in hal_hw_txrx_ops_attach_wcn6450()
1946 hal_soc->ops->hal_rx_get_rtt_info = hal_rx_get_rtt_info_6450; in hal_hw_txrx_ops_attach_wcn6450()
1950 hal_soc->ops->hal_rx_msdu_packet_metadata_get = in hal_hw_txrx_ops_attach_wcn6450()
1952 hal_soc->ops->hal_rx_get_fisa_cumulative_l4_checksum = in hal_hw_txrx_ops_attach_wcn6450()
1954 hal_soc->ops->hal_rx_get_fisa_cumulative_ip_length = in hal_hw_txrx_ops_attach_wcn6450()
1956 hal_soc->ops->hal_rx_get_udp_proto = hal_rx_get_udp_proto_6450; in hal_hw_txrx_ops_attach_wcn6450()
1957 hal_soc->ops->hal_rx_get_fisa_flow_agg_continuation = in hal_hw_txrx_ops_attach_wcn6450()
1959 hal_soc->ops->hal_rx_get_fisa_flow_agg_count = in hal_hw_txrx_ops_attach_wcn6450()
1961 hal_soc->ops->hal_rx_get_fisa_timeout = hal_rx_get_fisa_timeout_6450; in hal_hw_txrx_ops_attach_wcn6450()
1962 hal_soc->ops->hal_rx_mpdu_start_tlv_tag_valid = in hal_hw_txrx_ops_attach_wcn6450()
1966 hal_soc->ops->hal_rx_msdu_end_offset_get = in hal_hw_txrx_ops_attach_wcn6450()
1968 hal_soc->ops->hal_rx_attn_offset_get = hal_rx_attn_offset_get_generic; in hal_hw_txrx_ops_attach_wcn6450()
1969 hal_soc->ops->hal_rx_msdu_start_offset_get = in hal_hw_txrx_ops_attach_wcn6450()
1971 hal_soc->ops->hal_rx_mpdu_start_offset_get = in hal_hw_txrx_ops_attach_wcn6450()
1973 hal_soc->ops->hal_rx_mpdu_end_offset_get = in hal_hw_txrx_ops_attach_wcn6450()
1976 hal_soc->ops->hal_rx_pkt_tlv_offset_get = in hal_hw_txrx_ops_attach_wcn6450()
1979 hal_soc->ops->hal_rx_flow_setup_fse = hal_rx_flow_setup_fse_6450; in hal_hw_txrx_ops_attach_wcn6450()
1980 hal_soc->ops->hal_rx_flow_get_tuple_info = in hal_hw_txrx_ops_attach_wcn6450()
1982 hal_soc->ops->hal_rx_flow_delete_entry = in hal_hw_txrx_ops_attach_wcn6450()
1984 hal_soc->ops->hal_rx_fst_get_fse_size = hal_rx_fst_get_fse_size_rh; in hal_hw_txrx_ops_attach_wcn6450()
1985 hal_soc->ops->hal_compute_reo_remap_ix2_ix3 = in hal_hw_txrx_ops_attach_wcn6450()
1989 hal_soc->ops->hal_rx_flow_setup_cmem_fse = in hal_hw_txrx_ops_attach_wcn6450()
1991 hal_soc->ops->hal_rx_flow_get_cmem_fse_ts = in hal_hw_txrx_ops_attach_wcn6450()
1993 hal_soc->ops->hal_rx_flow_get_cmem_fse = hal_rx_flow_get_cmem_fse_6450; in hal_hw_txrx_ops_attach_wcn6450()
1994 hal_soc->ops->hal_rx_msdu_get_reo_destination_indication = in hal_hw_txrx_ops_attach_wcn6450()
1996 hal_soc->ops->hal_setup_link_idle_list = in hal_hw_txrx_ops_attach_wcn6450()
1999 hal_soc->ops->hal_get_first_wow_wakeup_packet = in hal_hw_txrx_ops_attach_wcn6450()
2002 hal_soc->ops->hal_compute_reo_remap_ix0 = in hal_hw_txrx_ops_attach_wcn6450()
2004 hal_soc->ops->hal_rx_tlv_l3_type_get = in hal_hw_txrx_ops_attach_wcn6450()
2006 hal_soc->ops->hal_rx_tlv_msdu_len_get = in hal_hw_txrx_ops_attach_wcn6450()
2017 void hal_wcn6450_attach(struct hal_soc *hal_soc) in hal_wcn6450_attach() argument
2019 hal_soc->hw_srng_table = hw_srng_table_wcn6450; in hal_wcn6450_attach()
2020 hal_hw_txrx_default_ops_attach_rh(hal_soc); in hal_wcn6450_attach()
2021 hal_hw_txrx_ops_attach_wcn6450(hal_soc); in hal_wcn6450_attach()