Lines Matching refs:hal_soc
124 uint32_t hal_read_pmm_scratch_reg_5332(struct hal_soc *soc, in hal_read_pmm_scratch_reg_5332()
146 struct hal_soc *soc = (struct hal_soc *)hal_soc_hdl; in hal_get_tsf2_scratch_reg_qca5332()
172 struct hal_soc *soc = (struct hal_soc *)hal_soc_hdl; in hal_get_tqm_scratch_reg_qca5332()
833 hal_reo_config_5332(struct hal_soc *soc, in hal_reo_config_5332()
871 static inline qdf_iomem_t hal_get_window_address_5332(struct hal_soc *hal_soc, in hal_get_window_address_5332() argument
874 uint32_t offset = addr - hal_soc->dev_base_addr; in hal_get_window_address_5332()
885 new_offset = (hal_soc->dev_base_addr_ce + offset); in hal_get_window_address_5332()
1173 struct hal_soc *hal = (struct hal_soc *)hal_soc_hdl; in hal_cmem_write_5332()
1193 static void hal_reo_setup_5332(struct hal_soc *soc, void *reoparams, in hal_reo_setup_5332()
1345 static void hal_hw_txrx_ops_attach_qca5332(struct hal_soc *hal_soc) in hal_hw_txrx_ops_attach_qca5332() argument
1348 hal_soc->ops->hal_srng_dst_hw_init = hal_srng_dst_hw_init_generic; in hal_hw_txrx_ops_attach_qca5332()
1349 hal_soc->ops->hal_srng_src_hw_init = hal_srng_src_hw_init_generic; in hal_hw_txrx_ops_attach_qca5332()
1350 hal_soc->ops->hal_srng_hw_disable = hal_srng_hw_disable_generic; in hal_hw_txrx_ops_attach_qca5332()
1351 hal_soc->ops->hal_get_hw_hptp = hal_get_hw_hptp_generic; in hal_hw_txrx_ops_attach_qca5332()
1352 hal_soc->ops->hal_get_window_address = hal_get_window_address_5332; in hal_hw_txrx_ops_attach_qca5332()
1353 hal_soc->ops->hal_cmem_write = hal_cmem_write_5332; in hal_hw_txrx_ops_attach_qca5332()
1356 hal_soc->ops->hal_tx_set_dscp_tid_map = hal_tx_set_dscp_tid_map_5332; in hal_hw_txrx_ops_attach_qca5332()
1357 hal_soc->ops->hal_tx_update_dscp_tid = hal_tx_update_dscp_tid_5332; in hal_hw_txrx_ops_attach_qca5332()
1358 hal_soc->ops->hal_tx_comp_get_status = in hal_hw_txrx_ops_attach_qca5332()
1360 hal_soc->ops->hal_tx_init_cmd_credit_ring = in hal_hw_txrx_ops_attach_qca5332()
1362 hal_soc->ops->hal_tx_set_ppe_cmn_cfg = NULL; in hal_hw_txrx_ops_attach_qca5332()
1363 hal_soc->ops->hal_tx_set_ppe_vp_entry = NULL; in hal_hw_txrx_ops_attach_qca5332()
1364 hal_soc->ops->hal_tx_set_ppe_pri2tid = NULL; in hal_hw_txrx_ops_attach_qca5332()
1365 hal_soc->ops->hal_tx_update_ppe_pri2tid = NULL; in hal_hw_txrx_ops_attach_qca5332()
1366 hal_soc->ops->hal_tx_dump_ppe_vp_entry = NULL; in hal_hw_txrx_ops_attach_qca5332()
1367 hal_soc->ops->hal_tx_get_num_ppe_vp_tbl_entries = NULL; in hal_hw_txrx_ops_attach_qca5332()
1368 hal_soc->ops->hal_tx_enable_pri2tid_map = NULL; in hal_hw_txrx_ops_attach_qca5332()
1369 hal_soc->ops->hal_ppeds_cfg_ast_override_map_reg = NULL; in hal_hw_txrx_ops_attach_qca5332()
1370 hal_soc->ops->hal_tx_config_rbm_mapping_be = in hal_hw_txrx_ops_attach_qca5332()
1374 hal_soc->ops->hal_rx_msdu_start_nss_get = hal_rx_tlv_nss_get_be; in hal_hw_txrx_ops_attach_qca5332()
1375 hal_soc->ops->hal_rx_mon_hw_desc_get_mpdu_status = in hal_hw_txrx_ops_attach_qca5332()
1377 hal_soc->ops->hal_rx_get_tlv = hal_rx_get_tlv_5332; in hal_hw_txrx_ops_attach_qca5332()
1378 hal_soc->ops->hal_rx_proc_phyrx_other_receive_info_tlv = in hal_hw_txrx_ops_attach_qca5332()
1381 hal_soc->ops->hal_rx_dump_msdu_end_tlv = hal_rx_dump_msdu_end_tlv_5332; in hal_hw_txrx_ops_attach_qca5332()
1382 hal_soc->ops->hal_rx_dump_mpdu_start_tlv = in hal_hw_txrx_ops_attach_qca5332()
1384 hal_soc->ops->hal_rx_dump_pkt_tlvs = hal_rx_dump_pkt_tlvs_5332; in hal_hw_txrx_ops_attach_qca5332()
1386 hal_soc->ops->hal_get_link_desc_size = hal_get_link_desc_size_5332; in hal_hw_txrx_ops_attach_qca5332()
1387 hal_soc->ops->hal_rx_mpdu_start_tid_get = hal_rx_tlv_tid_get_be; in hal_hw_txrx_ops_attach_qca5332()
1388 hal_soc->ops->hal_rx_msdu_start_reception_type_get = in hal_hw_txrx_ops_attach_qca5332()
1390 hal_soc->ops->hal_rx_msdu_end_da_idx_get = in hal_hw_txrx_ops_attach_qca5332()
1392 hal_soc->ops->hal_rx_msdu_desc_info_get_ptr = in hal_hw_txrx_ops_attach_qca5332()
1394 hal_soc->ops->hal_rx_link_desc_msdu0_ptr = in hal_hw_txrx_ops_attach_qca5332()
1396 hal_soc->ops->hal_reo_status_get_header = in hal_hw_txrx_ops_attach_qca5332()
1399 hal_soc->ops->hal_rx_status_get_tlv_info = in hal_hw_txrx_ops_attach_qca5332()
1402 hal_soc->ops->hal_rx_wbm_err_info_get = in hal_hw_txrx_ops_attach_qca5332()
1404 hal_soc->ops->hal_tx_set_pcp_tid_map = in hal_hw_txrx_ops_attach_qca5332()
1406 hal_soc->ops->hal_tx_update_pcp_tid_map = in hal_hw_txrx_ops_attach_qca5332()
1408 hal_soc->ops->hal_tx_set_tidmap_prty = in hal_hw_txrx_ops_attach_qca5332()
1410 hal_soc->ops->hal_rx_get_rx_fragment_number = in hal_hw_txrx_ops_attach_qca5332()
1412 hal_soc->ops->hal_rx_msdu_end_da_is_mcbc_get = in hal_hw_txrx_ops_attach_qca5332()
1414 hal_soc->ops->hal_rx_msdu_end_is_tkip_mic_err = in hal_hw_txrx_ops_attach_qca5332()
1416 hal_soc->ops->hal_rx_msdu_end_sa_is_valid_get = in hal_hw_txrx_ops_attach_qca5332()
1418 hal_soc->ops->hal_rx_msdu_end_sa_idx_get = hal_rx_tlv_sa_idx_get_be; in hal_hw_txrx_ops_attach_qca5332()
1419 hal_soc->ops->hal_rx_desc_is_first_msdu = hal_rx_desc_is_first_msdu_be; in hal_hw_txrx_ops_attach_qca5332()
1420 hal_soc->ops->hal_rx_msdu_end_l3_hdr_padding_get = in hal_hw_txrx_ops_attach_qca5332()
1422 hal_soc->ops->hal_rx_encryption_info_valid = in hal_hw_txrx_ops_attach_qca5332()
1424 hal_soc->ops->hal_rx_print_pn = hal_rx_print_pn_be; in hal_hw_txrx_ops_attach_qca5332()
1425 hal_soc->ops->hal_rx_msdu_end_first_msdu_get = in hal_hw_txrx_ops_attach_qca5332()
1427 hal_soc->ops->hal_rx_msdu_end_da_is_valid_get = in hal_hw_txrx_ops_attach_qca5332()
1429 hal_soc->ops->hal_rx_msdu_end_last_msdu_get = in hal_hw_txrx_ops_attach_qca5332()
1431 hal_soc->ops->hal_rx_get_mpdu_mac_ad4_valid = in hal_hw_txrx_ops_attach_qca5332()
1433 hal_soc->ops->hal_rx_mpdu_start_sw_peer_id_get = in hal_hw_txrx_ops_attach_qca5332()
1435 hal_soc->ops->hal_rx_tlv_peer_meta_data_get = in hal_hw_txrx_ops_attach_qca5332()
1438 hal_soc->ops->hal_rx_mpdu_get_addr4 = hal_rx_mpdu_get_addr4_be; in hal_hw_txrx_ops_attach_qca5332()
1439 hal_soc->ops->hal_rx_mpdu_info_ampdu_flag_get = in hal_hw_txrx_ops_attach_qca5332()
1441 hal_soc->ops->hal_rx_hw_desc_get_ppduid_get = in hal_hw_txrx_ops_attach_qca5332()
1443 hal_soc->ops->hal_rx_tlv_phy_ppdu_id_get = in hal_hw_txrx_ops_attach_qca5332()
1445 hal_soc->ops->hal_rx_get_filter_category = in hal_hw_txrx_ops_attach_qca5332()
1448 hal_soc->ops->hal_rx_get_ppdu_id = hal_rx_get_ppdu_id_be; in hal_hw_txrx_ops_attach_qca5332()
1449 hal_soc->ops->hal_rx_mpdu_get_to_ds = hal_rx_mpdu_get_to_ds_be; in hal_hw_txrx_ops_attach_qca5332()
1450 hal_soc->ops->hal_rx_mpdu_get_fr_ds = hal_rx_mpdu_get_fr_ds_be; in hal_hw_txrx_ops_attach_qca5332()
1451 hal_soc->ops->hal_rx_get_mpdu_frame_control_valid = in hal_hw_txrx_ops_attach_qca5332()
1453 hal_soc->ops->hal_rx_mpdu_get_addr1 = hal_rx_mpdu_get_addr1_be; in hal_hw_txrx_ops_attach_qca5332()
1454 hal_soc->ops->hal_rx_mpdu_get_addr2 = hal_rx_mpdu_get_addr2_be; in hal_hw_txrx_ops_attach_qca5332()
1455 hal_soc->ops->hal_rx_mpdu_get_addr3 = hal_rx_mpdu_get_addr3_be; in hal_hw_txrx_ops_attach_qca5332()
1456 hal_soc->ops->hal_rx_get_mpdu_sequence_control_valid = in hal_hw_txrx_ops_attach_qca5332()
1458 hal_soc->ops->hal_rx_is_unicast = hal_rx_is_unicast_be; in hal_hw_txrx_ops_attach_qca5332()
1459 hal_soc->ops->hal_rx_tid_get = hal_rx_tid_get_be; in hal_hw_txrx_ops_attach_qca5332()
1460 hal_soc->ops->hal_rx_mpdu_start_mpdu_qos_control_valid_get = in hal_hw_txrx_ops_attach_qca5332()
1462 hal_soc->ops->hal_rx_msdu_end_sa_sw_peer_id_get = in hal_hw_txrx_ops_attach_qca5332()
1464 hal_soc->ops->hal_rx_msdu0_buffer_addr_lsb = in hal_hw_txrx_ops_attach_qca5332()
1466 hal_soc->ops->hal_rx_msdu_desc_info_ptr_get = in hal_hw_txrx_ops_attach_qca5332()
1468 hal_soc->ops->hal_ent_mpdu_desc_info = hal_ent_mpdu_desc_info_5332; in hal_hw_txrx_ops_attach_qca5332()
1469 hal_soc->ops->hal_dst_mpdu_desc_info = hal_dst_mpdu_desc_info_5332; in hal_hw_txrx_ops_attach_qca5332()
1470 hal_soc->ops->hal_rx_get_fc_valid = hal_rx_get_fc_valid_be; in hal_hw_txrx_ops_attach_qca5332()
1471 hal_soc->ops->hal_rx_get_to_ds_flag = hal_rx_get_to_ds_flag_be; in hal_hw_txrx_ops_attach_qca5332()
1472 hal_soc->ops->hal_rx_get_mac_addr2_valid = in hal_hw_txrx_ops_attach_qca5332()
1474 hal_soc->ops->hal_reo_config = hal_reo_config_5332; in hal_hw_txrx_ops_attach_qca5332()
1475 hal_soc->ops->hal_rx_msdu_flow_idx_get = hal_rx_msdu_flow_idx_get_be; in hal_hw_txrx_ops_attach_qca5332()
1476 hal_soc->ops->hal_rx_msdu_flow_idx_invalid = in hal_hw_txrx_ops_attach_qca5332()
1478 hal_soc->ops->hal_rx_msdu_flow_idx_timeout = in hal_hw_txrx_ops_attach_qca5332()
1480 hal_soc->ops->hal_rx_msdu_fse_metadata_get = in hal_hw_txrx_ops_attach_qca5332()
1482 hal_soc->ops->hal_rx_msdu_cce_match_get = in hal_hw_txrx_ops_attach_qca5332()
1484 hal_soc->ops->hal_rx_msdu_cce_metadata_get = in hal_hw_txrx_ops_attach_qca5332()
1486 hal_soc->ops->hal_rx_msdu_get_flow_params = in hal_hw_txrx_ops_attach_qca5332()
1488 hal_soc->ops->hal_rx_tlv_get_tcp_chksum = hal_rx_tlv_get_tcp_chksum_be; in hal_hw_txrx_ops_attach_qca5332()
1489 hal_soc->ops->hal_rx_get_rx_sequence = hal_rx_get_rx_sequence_be; in hal_hw_txrx_ops_attach_qca5332()
1491 hal_soc->ops->hal_rx_get_bb_info = hal_rx_get_bb_info_5332; in hal_hw_txrx_ops_attach_qca5332()
1492 hal_soc->ops->hal_rx_get_rtt_info = hal_rx_get_rtt_info_5332; in hal_hw_txrx_ops_attach_qca5332()
1494 hal_soc->ops->hal_rx_get_bb_info = NULL; in hal_hw_txrx_ops_attach_qca5332()
1495 hal_soc->ops->hal_rx_get_rtt_info = NULL; in hal_hw_txrx_ops_attach_qca5332()
1498 hal_soc->ops->hal_rx_msdu_packet_metadata_get = in hal_hw_txrx_ops_attach_qca5332()
1500 hal_soc->ops->hal_rx_mpdu_start_tlv_tag_valid = in hal_hw_txrx_ops_attach_qca5332()
1502 hal_soc->ops->hal_rx_wbm_err_msdu_continuation_get = in hal_hw_txrx_ops_attach_qca5332()
1506 hal_soc->ops->hal_rx_msdu_end_offset_get = in hal_hw_txrx_ops_attach_qca5332()
1508 hal_soc->ops->hal_rx_mpdu_start_offset_get = in hal_hw_txrx_ops_attach_qca5332()
1511 hal_soc->ops->hal_rx_pkt_tlv_offset_get = in hal_hw_txrx_ops_attach_qca5332()
1514 hal_soc->ops->hal_rx_flow_setup_fse = hal_rx_flow_setup_fse_5332; in hal_hw_txrx_ops_attach_qca5332()
1516 hal_soc->ops->hal_rx_flow_get_tuple_info = in hal_hw_txrx_ops_attach_qca5332()
1518 hal_soc->ops->hal_rx_flow_delete_entry = in hal_hw_txrx_ops_attach_qca5332()
1520 hal_soc->ops->hal_rx_fst_get_fse_size = hal_rx_fst_get_fse_size_be; in hal_hw_txrx_ops_attach_qca5332()
1521 hal_soc->ops->hal_compute_reo_remap_ix2_ix3 = in hal_hw_txrx_ops_attach_qca5332()
1524 hal_soc->ops->hal_rx_msdu_get_reo_destination_indication = in hal_hw_txrx_ops_attach_qca5332()
1526 hal_soc->ops->hal_rx_get_tlv_size = hal_rx_get_tlv_size_generic_be; in hal_hw_txrx_ops_attach_qca5332()
1527 hal_soc->ops->hal_rx_msdu_is_wlan_mcast = in hal_hw_txrx_ops_attach_qca5332()
1529 hal_soc->ops->hal_tx_get_num_tcl_banks = hal_tx_get_num_tcl_banks_5332; in hal_hw_txrx_ops_attach_qca5332()
1530 hal_soc->ops->hal_rx_tlv_decap_format_get = in hal_hw_txrx_ops_attach_qca5332()
1533 hal_soc->ops->hal_rx_tlv_get_offload_info = in hal_hw_txrx_ops_attach_qca5332()
1535 hal_soc->ops->hal_rx_get_proto_params = hal_rx_get_proto_params_be; in hal_hw_txrx_ops_attach_qca5332()
1536 hal_soc->ops->hal_rx_get_l3_l4_offsets = hal_rx_get_l3_l4_offsets_be; in hal_hw_txrx_ops_attach_qca5332()
1538 hal_soc->ops->hal_rx_tlv_msdu_done_get = in hal_hw_txrx_ops_attach_qca5332()
1540 hal_soc->ops->hal_rx_tlv_msdu_len_get = in hal_hw_txrx_ops_attach_qca5332()
1542 hal_soc->ops->hal_rx_get_frame_ctrl_field = in hal_hw_txrx_ops_attach_qca5332()
1544 hal_soc->ops->hal_rx_tlv_csum_err_get = hal_rx_tlv_csum_err_get_be; in hal_hw_txrx_ops_attach_qca5332()
1545 hal_soc->ops->hal_rx_tlv_msdu_len_set = in hal_hw_txrx_ops_attach_qca5332()
1547 hal_soc->ops->hal_rx_tlv_sgi_get = hal_rx_tlv_sgi_get_be; in hal_hw_txrx_ops_attach_qca5332()
1548 hal_soc->ops->hal_rx_tlv_rate_mcs_get = hal_rx_tlv_rate_mcs_get_be; in hal_hw_txrx_ops_attach_qca5332()
1549 hal_soc->ops->hal_rx_tlv_bw_get = hal_rx_tlv_bw_get_be; in hal_hw_txrx_ops_attach_qca5332()
1550 hal_soc->ops->hal_rx_tlv_get_pkt_type = hal_rx_tlv_get_pkt_type_be; in hal_hw_txrx_ops_attach_qca5332()
1551 hal_soc->ops->hal_rx_tlv_mic_err_get = hal_rx_tlv_mic_err_get_be; in hal_hw_txrx_ops_attach_qca5332()
1552 hal_soc->ops->hal_rx_tlv_decrypt_err_get = in hal_hw_txrx_ops_attach_qca5332()
1554 hal_soc->ops->hal_rx_tlv_first_mpdu_get = hal_rx_tlv_first_mpdu_get_be; in hal_hw_txrx_ops_attach_qca5332()
1555 hal_soc->ops->hal_rx_tlv_get_is_decrypted = in hal_hw_txrx_ops_attach_qca5332()
1557 hal_soc->ops->hal_rx_msdu_get_keyid = hal_rx_msdu_get_keyid_be; in hal_hw_txrx_ops_attach_qca5332()
1558 hal_soc->ops->hal_rx_tlv_get_freq = hal_rx_tlv_get_freq_be; in hal_hw_txrx_ops_attach_qca5332()
1559 hal_soc->ops->hal_rx_priv_info_set_in_tlv = in hal_hw_txrx_ops_attach_qca5332()
1561 hal_soc->ops->hal_rx_priv_info_get_from_tlv = in hal_hw_txrx_ops_attach_qca5332()
1563 hal_soc->ops->hal_rx_pkt_hdr_get = hal_rx_pkt_hdr_get_be; in hal_hw_txrx_ops_attach_qca5332()
1564 hal_soc->ops->hal_reo_setup = hal_reo_setup_5332; in hal_hw_txrx_ops_attach_qca5332()
1566 hal_soc->ops->hal_reo_shared_qaddr_setup = hal_reo_shared_qaddr_setup_be; in hal_hw_txrx_ops_attach_qca5332()
1567 hal_soc->ops->hal_reo_shared_qaddr_init = hal_reo_shared_qaddr_init_be; in hal_hw_txrx_ops_attach_qca5332()
1568 hal_soc->ops->hal_reo_shared_qaddr_detach = hal_reo_shared_qaddr_detach_be; in hal_hw_txrx_ops_attach_qca5332()
1569 hal_soc->ops->hal_reo_shared_qaddr_write = hal_reo_shared_qaddr_write_be; in hal_hw_txrx_ops_attach_qca5332()
1570 hal_soc->ops->hal_reo_shared_qaddr_cache_clear = hal_reo_shared_qaddr_cache_clear_be; in hal_hw_txrx_ops_attach_qca5332()
1573 hal_soc->ops->hal_get_rx_max_ba_window = in hal_hw_txrx_ops_attach_qca5332()
1575 hal_soc->ops->hal_get_reo_qdesc_size = hal_qca5332_get_reo_qdesc_size; in hal_hw_txrx_ops_attach_qca5332()
1578 hal_soc->ops->hal_txmon_is_mon_buf_addr_tlv = in hal_hw_txrx_ops_attach_qca5332()
1580 hal_soc->ops->hal_txmon_populate_packet_info = in hal_hw_txrx_ops_attach_qca5332()
1582 hal_soc->ops->hal_txmon_status_parse_tlv = in hal_hw_txrx_ops_attach_qca5332()
1584 hal_soc->ops->hal_txmon_status_get_num_users = in hal_hw_txrx_ops_attach_qca5332()
1587 hal_soc->ops->hal_txmon_get_word_mask = in hal_hw_txrx_ops_attach_qca5332()
1590 hal_soc->ops->hal_txmon_get_word_mask = in hal_hw_txrx_ops_attach_qca5332()
1594 hal_soc->ops->hal_compute_reo_remap_ix0 = NULL; in hal_hw_txrx_ops_attach_qca5332()
1595 hal_soc->ops->hal_tx_vdev_mismatch_routing_set = in hal_hw_txrx_ops_attach_qca5332()
1597 hal_soc->ops->hal_tx_mcast_mlo_reinject_routing_set = in hal_hw_txrx_ops_attach_qca5332()
1599 hal_soc->ops->hal_get_ba_aging_timeout = in hal_hw_txrx_ops_attach_qca5332()
1601 hal_soc->ops->hal_setup_link_idle_list = in hal_hw_txrx_ops_attach_qca5332()
1603 hal_soc->ops->hal_cookie_conversion_reg_cfg_be = in hal_hw_txrx_ops_attach_qca5332()
1605 hal_soc->ops->hal_set_ba_aging_timeout = in hal_hw_txrx_ops_attach_qca5332()
1607 hal_soc->ops->hal_tx_populate_bank_register = in hal_hw_txrx_ops_attach_qca5332()
1609 hal_soc->ops->hal_tx_vdev_mcast_ctrl_set = in hal_hw_txrx_ops_attach_qca5332()
1611 hal_soc->ops->hal_get_tsf2_scratch_reg = in hal_hw_txrx_ops_attach_qca5332()
1613 hal_soc->ops->hal_get_tqm_scratch_reg = in hal_hw_txrx_ops_attach_qca5332()
1616 hal_soc->ops->hal_rx_mpdu_start_wmask_get = in hal_hw_txrx_ops_attach_qca5332()
1618 hal_soc->ops->hal_rx_msdu_end_wmask_get = in hal_hw_txrx_ops_attach_qca5332()
2119 static inline void hal_srng_hw_reg_offset_init_qca5332(struct hal_soc *hal_soc) in hal_srng_hw_reg_offset_init_qca5332() argument
2121 int32_t *hw_reg_offset = hal_soc->hal_hw_reg_offset; in hal_srng_hw_reg_offset_init_qca5332()
2137 void hal_qca5332_attach(struct hal_soc *hal_soc) in hal_qca5332_attach() argument
2139 hal_soc->hw_srng_table = hw_srng_table_5332; in hal_qca5332_attach()
2141 hal_srng_hw_reg_offset_init_generic(hal_soc); in hal_qca5332_attach()
2142 hal_srng_hw_reg_offset_init_qca5332(hal_soc); in hal_qca5332_attach()
2144 hal_hw_txrx_default_ops_attach_be(hal_soc); in hal_qca5332_attach()
2145 hal_hw_txrx_ops_attach_qca5332(hal_soc); in hal_qca5332_attach()
2146 hal_soc->dmac_cmn_src_rxbuf_ring = true; in hal_qca5332_attach()