Lines Matching refs:hal_soc
1373 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()
1713 hal_soc->ops->hal_reo_setup = hal_reo_setup_generic_li; in hal_hw_txrx_ops_attach_qca5018()
1714 hal_soc->ops->hal_get_window_address = hal_get_window_address_5018; in hal_hw_txrx_ops_attach_qca5018()
1717 hal_soc->ops->hal_tx_desc_set_dscp_tid_table_id = in hal_hw_txrx_ops_attach_qca5018()
1719 hal_soc->ops->hal_tx_set_dscp_tid_map = hal_tx_set_dscp_tid_map_5018; in hal_hw_txrx_ops_attach_qca5018()
1720 hal_soc->ops->hal_tx_update_dscp_tid = hal_tx_update_dscp_tid_5018; in hal_hw_txrx_ops_attach_qca5018()
1721 hal_soc->ops->hal_tx_desc_set_lmac_id = hal_tx_desc_set_lmac_id_5018; in hal_hw_txrx_ops_attach_qca5018()
1722 hal_soc->ops->hal_tx_desc_set_buf_addr = in hal_hw_txrx_ops_attach_qca5018()
1724 hal_soc->ops->hal_tx_desc_set_search_type = in hal_hw_txrx_ops_attach_qca5018()
1726 hal_soc->ops->hal_tx_desc_set_search_index = in hal_hw_txrx_ops_attach_qca5018()
1728 hal_soc->ops->hal_tx_desc_set_cache_set_num = in hal_hw_txrx_ops_attach_qca5018()
1730 hal_soc->ops->hal_tx_comp_get_status = in hal_hw_txrx_ops_attach_qca5018()
1732 hal_soc->ops->hal_tx_comp_get_release_reason = in hal_hw_txrx_ops_attach_qca5018()
1734 hal_soc->ops->hal_get_wbm_internal_error = in hal_hw_txrx_ops_attach_qca5018()
1736 hal_soc->ops->hal_tx_desc_set_mesh_en = hal_tx_desc_set_mesh_en_5018; in hal_hw_txrx_ops_attach_qca5018()
1737 hal_soc->ops->hal_tx_init_cmd_credit_ring = in hal_hw_txrx_ops_attach_qca5018()
1741 hal_soc->ops->hal_rx_msdu_start_nss_get = in hal_hw_txrx_ops_attach_qca5018()
1743 hal_soc->ops->hal_rx_mon_hw_desc_get_mpdu_status = in hal_hw_txrx_ops_attach_qca5018()
1745 hal_soc->ops->hal_rx_get_tlv = hal_rx_get_tlv_5018; in hal_hw_txrx_ops_attach_qca5018()
1746 hal_soc->ops->hal_rx_proc_phyrx_other_receive_info_tlv = in hal_hw_txrx_ops_attach_qca5018()
1748 hal_soc->ops->hal_get_link_desc_size = hal_get_link_desc_size_5018; in hal_hw_txrx_ops_attach_qca5018()
1749 hal_soc->ops->hal_rx_mpdu_start_tid_get = in hal_hw_txrx_ops_attach_qca5018()
1751 hal_soc->ops->hal_rx_msdu_start_reception_type_get = in hal_hw_txrx_ops_attach_qca5018()
1753 hal_soc->ops->hal_rx_msdu_end_da_idx_get = in hal_hw_txrx_ops_attach_qca5018()
1755 hal_soc->ops->hal_rx_msdu_desc_info_get_ptr = in hal_hw_txrx_ops_attach_qca5018()
1757 hal_soc->ops->hal_rx_link_desc_msdu0_ptr = in hal_hw_txrx_ops_attach_qca5018()
1759 hal_soc->ops->hal_reo_status_get_header = in hal_hw_txrx_ops_attach_qca5018()
1761 hal_soc->ops->hal_rx_status_get_tlv_info = in hal_hw_txrx_ops_attach_qca5018()
1763 hal_soc->ops->hal_rx_wbm_err_info_get = in hal_hw_txrx_ops_attach_qca5018()
1766 hal_soc->ops->hal_rx_dump_msdu_end_tlv = hal_rx_dump_msdu_end_tlv_5018; in hal_hw_txrx_ops_attach_qca5018()
1767 hal_soc->ops->hal_rx_dump_rx_attention_tlv = in hal_hw_txrx_ops_attach_qca5018()
1769 hal_soc->ops->hal_rx_dump_msdu_start_tlv = in hal_hw_txrx_ops_attach_qca5018()
1771 hal_soc->ops->hal_rx_dump_mpdu_start_tlv = in hal_hw_txrx_ops_attach_qca5018()
1773 hal_soc->ops->hal_rx_dump_mpdu_end_tlv = in hal_hw_txrx_ops_attach_qca5018()
1775 hal_soc->ops->hal_rx_dump_pkt_hdr_tlv = in hal_hw_txrx_ops_attach_qca5018()
1778 hal_soc->ops->hal_tx_set_pcp_tid_map = in hal_hw_txrx_ops_attach_qca5018()
1780 hal_soc->ops->hal_tx_update_pcp_tid_map = in hal_hw_txrx_ops_attach_qca5018()
1782 hal_soc->ops->hal_tx_set_tidmap_prty = in hal_hw_txrx_ops_attach_qca5018()
1784 hal_soc->ops->hal_rx_get_rx_fragment_number = in hal_hw_txrx_ops_attach_qca5018()
1786 hal_soc->ops->hal_rx_msdu_end_da_is_mcbc_get = in hal_hw_txrx_ops_attach_qca5018()
1788 hal_soc->ops->hal_rx_msdu_end_sa_is_valid_get = in hal_hw_txrx_ops_attach_qca5018()
1790 hal_soc->ops->hal_rx_msdu_end_sa_idx_get = in hal_hw_txrx_ops_attach_qca5018()
1792 hal_soc->ops->hal_rx_desc_is_first_msdu = in hal_hw_txrx_ops_attach_qca5018()
1794 hal_soc->ops->hal_rx_msdu_end_l3_hdr_padding_get = in hal_hw_txrx_ops_attach_qca5018()
1796 hal_soc->ops->hal_rx_encryption_info_valid = in hal_hw_txrx_ops_attach_qca5018()
1798 hal_soc->ops->hal_rx_print_pn = hal_rx_print_pn_5018; in hal_hw_txrx_ops_attach_qca5018()
1799 hal_soc->ops->hal_rx_msdu_end_first_msdu_get = in hal_hw_txrx_ops_attach_qca5018()
1801 hal_soc->ops->hal_rx_msdu_end_da_is_valid_get = in hal_hw_txrx_ops_attach_qca5018()
1803 hal_soc->ops->hal_rx_msdu_end_last_msdu_get = in hal_hw_txrx_ops_attach_qca5018()
1805 hal_soc->ops->hal_rx_get_mpdu_mac_ad4_valid = in hal_hw_txrx_ops_attach_qca5018()
1807 hal_soc->ops->hal_rx_mpdu_start_sw_peer_id_get = in hal_hw_txrx_ops_attach_qca5018()
1809 hal_soc->ops->hal_rx_tlv_peer_meta_data_get = in hal_hw_txrx_ops_attach_qca5018()
1811 hal_soc->ops->hal_rx_mpdu_get_to_ds = hal_rx_mpdu_get_to_ds_5018; in hal_hw_txrx_ops_attach_qca5018()
1812 hal_soc->ops->hal_rx_mpdu_get_fr_ds = hal_rx_mpdu_get_fr_ds_5018; in hal_hw_txrx_ops_attach_qca5018()
1813 hal_soc->ops->hal_rx_get_mpdu_frame_control_valid = in hal_hw_txrx_ops_attach_qca5018()
1815 hal_soc->ops->hal_rx_get_frame_ctrl_field = in hal_hw_txrx_ops_attach_qca5018()
1817 hal_soc->ops->hal_rx_mpdu_get_addr1 = hal_rx_mpdu_get_addr1_5018; in hal_hw_txrx_ops_attach_qca5018()
1818 hal_soc->ops->hal_rx_mpdu_get_addr2 = hal_rx_mpdu_get_addr2_5018; in hal_hw_txrx_ops_attach_qca5018()
1819 hal_soc->ops->hal_rx_mpdu_get_addr3 = hal_rx_mpdu_get_addr3_5018; in hal_hw_txrx_ops_attach_qca5018()
1820 hal_soc->ops->hal_rx_mpdu_get_addr4 = hal_rx_mpdu_get_addr4_5018; in hal_hw_txrx_ops_attach_qca5018()
1821 hal_soc->ops->hal_rx_get_mpdu_sequence_control_valid = in hal_hw_txrx_ops_attach_qca5018()
1823 hal_soc->ops->hal_rx_is_unicast = hal_rx_is_unicast_5018; in hal_hw_txrx_ops_attach_qca5018()
1824 hal_soc->ops->hal_rx_tid_get = hal_rx_tid_get_5018; in hal_hw_txrx_ops_attach_qca5018()
1825 hal_soc->ops->hal_rx_hw_desc_get_ppduid_get = in hal_hw_txrx_ops_attach_qca5018()
1827 hal_soc->ops->hal_rx_mpdu_start_mpdu_qos_control_valid_get = in hal_hw_txrx_ops_attach_qca5018()
1829 hal_soc->ops->hal_rx_msdu_end_sa_sw_peer_id_get = in hal_hw_txrx_ops_attach_qca5018()
1831 hal_soc->ops->hal_rx_msdu0_buffer_addr_lsb = in hal_hw_txrx_ops_attach_qca5018()
1833 hal_soc->ops->hal_rx_msdu_desc_info_ptr_get = in hal_hw_txrx_ops_attach_qca5018()
1835 hal_soc->ops->hal_ent_mpdu_desc_info = hal_ent_mpdu_desc_info_5018; in hal_hw_txrx_ops_attach_qca5018()
1836 hal_soc->ops->hal_dst_mpdu_desc_info = hal_dst_mpdu_desc_info_5018; in hal_hw_txrx_ops_attach_qca5018()
1837 hal_soc->ops->hal_rx_get_fc_valid = hal_rx_get_fc_valid_5018; in hal_hw_txrx_ops_attach_qca5018()
1838 hal_soc->ops->hal_rx_get_to_ds_flag = hal_rx_get_to_ds_flag_5018; in hal_hw_txrx_ops_attach_qca5018()
1839 hal_soc->ops->hal_rx_get_mac_addr2_valid = in hal_hw_txrx_ops_attach_qca5018()
1841 hal_soc->ops->hal_rx_get_filter_category = in hal_hw_txrx_ops_attach_qca5018()
1843 hal_soc->ops->hal_rx_get_ppdu_id = hal_rx_get_ppdu_id_5018; in hal_hw_txrx_ops_attach_qca5018()
1844 hal_soc->ops->hal_reo_config = hal_reo_config_5018; in hal_hw_txrx_ops_attach_qca5018()
1845 hal_soc->ops->hal_rx_msdu_flow_idx_get = hal_rx_msdu_flow_idx_get_5018; in hal_hw_txrx_ops_attach_qca5018()
1846 hal_soc->ops->hal_rx_msdu_flow_idx_invalid = in hal_hw_txrx_ops_attach_qca5018()
1848 hal_soc->ops->hal_rx_msdu_flow_idx_timeout = in hal_hw_txrx_ops_attach_qca5018()
1850 hal_soc->ops->hal_rx_msdu_fse_metadata_get = in hal_hw_txrx_ops_attach_qca5018()
1852 hal_soc->ops->hal_rx_msdu_cce_match_get = in hal_hw_txrx_ops_attach_qca5018()
1854 hal_soc->ops->hal_rx_msdu_cce_metadata_get = in hal_hw_txrx_ops_attach_qca5018()
1856 hal_soc->ops->hal_rx_msdu_get_flow_params = in hal_hw_txrx_ops_attach_qca5018()
1858 hal_soc->ops->hal_rx_tlv_get_tcp_chksum = in hal_hw_txrx_ops_attach_qca5018()
1860 hal_soc->ops->hal_rx_get_rx_sequence = hal_rx_get_rx_sequence_5018; in hal_hw_txrx_ops_attach_qca5018()
1862 hal_soc->ops->hal_rx_get_bb_info = hal_rx_get_bb_info_5018; in hal_hw_txrx_ops_attach_qca5018()
1863 hal_soc->ops->hal_rx_get_rtt_info = hal_rx_get_rtt_info_5018; in hal_hw_txrx_ops_attach_qca5018()
1866 hal_soc->ops->hal_rx_msdu_packet_metadata_get = in hal_hw_txrx_ops_attach_qca5018()
1868 hal_soc->ops->hal_rx_mpdu_start_tlv_tag_valid = in hal_hw_txrx_ops_attach_qca5018()
1870 hal_soc->ops->hal_rx_wbm_err_msdu_continuation_get = in hal_hw_txrx_ops_attach_qca5018()
1874 hal_soc->ops->hal_rx_msdu_end_offset_get = hal_rx_msdu_end_offset_get_generic; in hal_hw_txrx_ops_attach_qca5018()
1875 hal_soc->ops->hal_rx_attn_offset_get = hal_rx_attn_offset_get_generic; in hal_hw_txrx_ops_attach_qca5018()
1876 hal_soc->ops->hal_rx_msdu_start_offset_get = hal_rx_msdu_start_offset_get_generic; in hal_hw_txrx_ops_attach_qca5018()
1877 hal_soc->ops->hal_rx_mpdu_start_offset_get = hal_rx_mpdu_start_offset_get_generic; in hal_hw_txrx_ops_attach_qca5018()
1878 hal_soc->ops->hal_rx_mpdu_end_offset_get = hal_rx_mpdu_end_offset_get_generic; in hal_hw_txrx_ops_attach_qca5018()
1880 hal_soc->ops->hal_rx_pkt_tlv_offset_get = hal_rx_pkt_tlv_offset_get_generic; in hal_hw_txrx_ops_attach_qca5018()
1882 hal_soc->ops->hal_rx_flow_setup_fse = hal_rx_flow_setup_fse_5018; in hal_hw_txrx_ops_attach_qca5018()
1883 hal_soc->ops->hal_rx_flow_get_tuple_info = in hal_hw_txrx_ops_attach_qca5018()
1885 hal_soc->ops->hal_rx_flow_delete_entry = in hal_hw_txrx_ops_attach_qca5018()
1887 hal_soc->ops->hal_rx_fst_get_fse_size = hal_rx_fst_get_fse_size_li; in hal_hw_txrx_ops_attach_qca5018()
1888 hal_soc->ops->hal_compute_reo_remap_ix2_ix3 = hal_compute_reo_remap_ix2_ix3_5018; in hal_hw_txrx_ops_attach_qca5018()
1889 hal_soc->ops->hal_setup_link_idle_list = in hal_hw_txrx_ops_attach_qca5018()
1891 hal_soc->ops->hal_rx_tlv_get_pn_num = hal_rx_tlv_get_pn_num_li; in hal_hw_txrx_ops_attach_qca5018()
1892 hal_soc->ops->hal_rx_tlv_mic_err_get = hal_rx_tlv_mic_err_get_li; in hal_hw_txrx_ops_attach_qca5018()
1893 hal_soc->ops->hal_rx_tlv_decrypt_err_get = in hal_hw_txrx_ops_attach_qca5018()
1895 hal_soc->ops->hal_rx_tlv_get_pkt_capture_flags = in hal_hw_txrx_ops_attach_qca5018()
1897 hal_soc->ops->hal_rx_mpdu_info_ampdu_flag_get = in hal_hw_txrx_ops_attach_qca5018()
1899 hal_soc->ops->hal_compute_reo_remap_ix0 = NULL; in hal_hw_txrx_ops_attach_qca5018()
1900 hal_soc->ops->hal_rx_tlv_msdu_len_get = in hal_hw_txrx_ops_attach_qca5018()
2331 void hal_qca5018_attach(struct hal_soc *hal_soc) in hal_qca5018_attach() argument
2333 hal_soc->hw_srng_table = hw_srng_table_5018; in hal_qca5018_attach()
2335 hal_srng_hw_reg_offset_init_generic(hal_soc); in hal_qca5018_attach()
2336 hal_hw_txrx_default_ops_attach_li(hal_soc); in hal_qca5018_attach()
2337 hal_hw_txrx_ops_attach_qca5018(hal_soc); in hal_qca5018_attach()