/kernel/linux/linux-5.10/drivers/net/ethernet/aquantia/atlantic/hw_atl/ |
H A D | hw_atl_llh.h | 20 void hw_atl_ts_reset_set(struct aq_hw_s *aq_hw, u32 val); 23 void hw_atl_ts_power_down_set(struct aq_hw_s *aq_hw, u32 val); 26 u32 hw_atl_ts_power_down_get(struct aq_hw_s *aq_hw); 29 u32 hw_atl_ts_ready_get(struct aq_hw_s *aq_hw); 32 u32 hw_atl_ts_ready_latch_high_get(struct aq_hw_s *aq_hw); 35 u32 hw_atl_ts_data_get(struct aq_hw_s *aq_hw); 40 void hw_atl_reg_glb_cpu_sem_set(struct aq_hw_s *aq_hw, u32 glb_cpu_sem, 44 u32 hw_atl_reg_glb_cpu_sem_get(struct aq_hw_s *aq_hw, u32 semaphore); 47 void hw_atl_glb_glb_reg_res_dis_set(struct aq_hw_s *aq_hw, u32 glb_reg_res_dis); 50 void hw_atl_glb_soft_res_set(struct aq_hw_s *aq_hw, u3 [all...] |
H A D | hw_atl_llh.c | 16 void hw_atl_ts_reset_set(struct aq_hw_s *aq_hw, u32 val) in hw_atl_ts_reset_set() argument 18 aq_hw_write_reg_bit(aq_hw, HW_ATL_TS_RESET_ADR, in hw_atl_ts_reset_set() 24 void hw_atl_ts_power_down_set(struct aq_hw_s *aq_hw, u32 val) in hw_atl_ts_power_down_set() argument 26 aq_hw_write_reg_bit(aq_hw, HW_ATL_TS_POWER_DOWN_ADR, in hw_atl_ts_power_down_set() 32 u32 hw_atl_ts_power_down_get(struct aq_hw_s *aq_hw) in hw_atl_ts_power_down_get() argument 34 return aq_hw_read_reg_bit(aq_hw, HW_ATL_TS_POWER_DOWN_ADR, in hw_atl_ts_power_down_get() 39 u32 hw_atl_ts_ready_get(struct aq_hw_s *aq_hw) in hw_atl_ts_ready_get() argument 41 return aq_hw_read_reg_bit(aq_hw, HW_ATL_TS_READY_ADR, in hw_atl_ts_ready_get() 46 u32 hw_atl_ts_ready_latch_high_get(struct aq_hw_s *aq_hw) in hw_atl_ts_ready_latch_high_get() argument 48 return aq_hw_read_reg_bit(aq_hw, HW_ATL_TS_READY_LATCH_HIGH_AD in hw_atl_ts_ready_latch_high_get() 53 hw_atl_ts_data_get(struct aq_hw_s *aq_hw) hw_atl_ts_data_get() argument 61 hw_atl_reg_glb_cpu_sem_set(struct aq_hw_s *aq_hw, u32 glb_cpu_sem, u32 semaphore) hw_atl_reg_glb_cpu_sem_set() argument 67 hw_atl_reg_glb_cpu_sem_get(struct aq_hw_s *aq_hw, u32 semaphore) hw_atl_reg_glb_cpu_sem_get() argument 72 hw_atl_glb_glb_reg_res_dis_set(struct aq_hw_s *aq_hw, u32 glb_reg_res_dis) hw_atl_glb_glb_reg_res_dis_set() argument 80 hw_atl_glb_soft_res_set(struct aq_hw_s *aq_hw, u32 soft_res) hw_atl_glb_soft_res_set() argument 87 hw_atl_glb_soft_res_get(struct aq_hw_s *aq_hw) hw_atl_glb_soft_res_get() argument 94 hw_atl_reg_glb_mif_id_get(struct aq_hw_s *aq_hw) hw_atl_reg_glb_mif_id_get() argument 100 hw_atl_rpb_rx_dma_drop_pkt_cnt_get(struct aq_hw_s *aq_hw) hw_atl_rpb_rx_dma_drop_pkt_cnt_get() argument 105 hw_atl_stats_rx_dma_good_octet_counter_get(struct aq_hw_s *aq_hw) hw_atl_stats_rx_dma_good_octet_counter_get() argument 110 hw_atl_stats_rx_dma_good_pkt_counter_get(struct aq_hw_s *aq_hw) hw_atl_stats_rx_dma_good_pkt_counter_get() argument 115 hw_atl_stats_tx_dma_good_octet_counter_get(struct aq_hw_s *aq_hw) hw_atl_stats_tx_dma_good_octet_counter_get() argument 120 hw_atl_stats_tx_dma_good_pkt_counter_get(struct aq_hw_s *aq_hw) hw_atl_stats_tx_dma_good_pkt_counter_get() argument 126 hw_atl_itr_irq_auto_masklsw_set(struct aq_hw_s *aq_hw, u32 irq_auto_masklsw) hw_atl_itr_irq_auto_masklsw_set() argument 132 hw_atl_itr_irq_map_en_rx_set(struct aq_hw_s *aq_hw, u32 irq_map_en_rx, u32 rx) hw_atl_itr_irq_map_en_rx_set() argument 173 hw_atl_itr_irq_map_en_tx_set(struct aq_hw_s *aq_hw, u32 irq_map_en_tx, u32 tx) hw_atl_itr_irq_map_en_tx_set() argument 214 hw_atl_itr_irq_map_rx_set(struct aq_hw_s *aq_hw, u32 irq_map_rx, u32 rx) hw_atl_itr_irq_map_rx_set() argument 254 hw_atl_itr_irq_map_tx_set(struct aq_hw_s *aq_hw, u32 irq_map_tx, u32 tx) hw_atl_itr_irq_map_tx_set() argument 294 hw_atl_itr_irq_msk_clearlsw_set(struct aq_hw_s *aq_hw, u32 irq_msk_clearlsw) hw_atl_itr_irq_msk_clearlsw_set() argument 300 hw_atl_itr_irq_msk_setlsw_set(struct aq_hw_s *aq_hw, u32 irq_msk_setlsw) hw_atl_itr_irq_msk_setlsw_set() argument 305 hw_atl_itr_irq_reg_res_dis_set(struct aq_hw_s *aq_hw, u32 irq_reg_res_dis) hw_atl_itr_irq_reg_res_dis_set() argument 312 hw_atl_itr_irq_status_clearlsw_set(struct aq_hw_s *aq_hw, u32 irq_status_clearlsw) hw_atl_itr_irq_status_clearlsw_set() argument 318 hw_atl_itr_irq_statuslsw_get(struct aq_hw_s *aq_hw) hw_atl_itr_irq_statuslsw_get() argument 323 hw_atl_itr_res_irq_get(struct aq_hw_s *aq_hw) hw_atl_itr_res_irq_get() argument 329 hw_atl_itr_res_irq_set(struct aq_hw_s *aq_hw, u32 res_irq) hw_atl_itr_res_irq_set() argument 336 hw_atl_itr_rsc_en_set(struct aq_hw_s *aq_hw, u32 enable) hw_atl_itr_rsc_en_set() argument 342 hw_atl_itr_rsc_delay_set(struct aq_hw_s *aq_hw, u32 delay) hw_atl_itr_rsc_delay_set() argument 351 hw_atl_rdm_cpu_id_set(struct aq_hw_s *aq_hw, u32 cpuid, u32 dca) hw_atl_rdm_cpu_id_set() argument 358 hw_atl_rdm_rx_dca_en_set(struct aq_hw_s *aq_hw, u32 rx_dca_en) hw_atl_rdm_rx_dca_en_set() argument 364 hw_atl_rdm_rx_dca_mode_set(struct aq_hw_s *aq_hw, u32 rx_dca_mode) hw_atl_rdm_rx_dca_mode_set() argument 371 hw_atl_rdm_rx_desc_data_buff_size_set(struct aq_hw_s *aq_hw, u32 rx_desc_data_buff_size, u32 descriptor) hw_atl_rdm_rx_desc_data_buff_size_set() argument 381 hw_atl_rdm_rx_desc_dca_en_set(struct aq_hw_s *aq_hw, u32 rx_desc_dca_en, u32 dca) hw_atl_rdm_rx_desc_dca_en_set() argument 390 hw_atl_rdm_rx_desc_en_set(struct aq_hw_s *aq_hw, u32 rx_desc_en, u32 descriptor) hw_atl_rdm_rx_desc_en_set() argument 399 hw_atl_rdm_rx_desc_head_buff_size_set(struct aq_hw_s *aq_hw, u32 rx_desc_head_buff_size, u32 descriptor) hw_atl_rdm_rx_desc_head_buff_size_set() argument 409 hw_atl_rdm_rx_desc_head_splitting_set(struct aq_hw_s *aq_hw, u32 rx_desc_head_splitting, u32 descriptor) hw_atl_rdm_rx_desc_head_splitting_set() argument 419 hw_atl_rdm_rx_desc_head_ptr_get(struct aq_hw_s *aq_hw, u32 descriptor) hw_atl_rdm_rx_desc_head_ptr_get() argument 426 hw_atl_rdm_rx_desc_len_set(struct aq_hw_s *aq_hw, u32 rx_desc_len, u32 descriptor) hw_atl_rdm_rx_desc_len_set() argument 434 hw_atl_rdm_rx_desc_res_set(struct aq_hw_s *aq_hw, u32 rx_desc_res, u32 descriptor) hw_atl_rdm_rx_desc_res_set() argument 443 hw_atl_rdm_rx_desc_wr_wb_irq_en_set(struct aq_hw_s *aq_hw, u32 rx_desc_wr_wb_irq_en) hw_atl_rdm_rx_desc_wr_wb_irq_en_set() argument 452 hw_atl_rdm_rx_head_dca_en_set(struct aq_hw_s *aq_hw, u32 rx_head_dca_en, u32 dca) hw_atl_rdm_rx_head_dca_en_set() argument 461 hw_atl_rdm_rx_pld_dca_en_set(struct aq_hw_s *aq_hw, u32 rx_pld_dca_en, u32 dca) hw_atl_rdm_rx_pld_dca_en_set() argument 470 hw_atl_rdm_rdm_intr_moder_en_set(struct aq_hw_s *aq_hw, u32 rdm_intr_moder_en) hw_atl_rdm_rdm_intr_moder_en_set() argument 480 hw_atl_reg_gen_irq_map_set(struct aq_hw_s *aq_hw, u32 gen_intr_map, u32 regidx) hw_atl_reg_gen_irq_map_set() argument 486 hw_atl_reg_gen_irq_status_get(struct aq_hw_s *aq_hw) hw_atl_reg_gen_irq_status_get() argument 491 hw_atl_reg_irq_glb_ctl_set(struct aq_hw_s *aq_hw, u32 intr_glb_ctl) hw_atl_reg_irq_glb_ctl_set() argument 496 hw_atl_reg_irq_thr_set(struct aq_hw_s *aq_hw, u32 intr_thr, u32 throttle) hw_atl_reg_irq_thr_set() argument 501 hw_atl_reg_rx_dma_desc_base_addresslswset(struct aq_hw_s *aq_hw, u32 rx_dma_desc_base_addrlsw, u32 descriptor) hw_atl_reg_rx_dma_desc_base_addresslswset() argument 509 hw_atl_reg_rx_dma_desc_base_addressmswset(struct aq_hw_s *aq_hw, u32 rx_dma_desc_base_addrmsw, u32 descriptor) hw_atl_reg_rx_dma_desc_base_addressmswset() argument 517 hw_atl_reg_rx_dma_desc_status_get(struct aq_hw_s *aq_hw, u32 descriptor) hw_atl_reg_rx_dma_desc_status_get() argument 522 hw_atl_reg_rx_dma_desc_tail_ptr_set(struct aq_hw_s *aq_hw, u32 rx_dma_desc_tail_ptr, u32 descriptor) hw_atl_reg_rx_dma_desc_tail_ptr_set() argument 530 hw_atl_reg_rx_flr_mcst_flr_msk_set(struct aq_hw_s *aq_hw, u32 rx_flr_mcst_flr_msk) hw_atl_reg_rx_flr_mcst_flr_msk_set() argument 537 hw_atl_reg_rx_flr_mcst_flr_set(struct aq_hw_s *aq_hw, u32 rx_flr_mcst_flr, u32 filter) hw_atl_reg_rx_flr_mcst_flr_set() argument 544 hw_atl_reg_rx_flr_rss_control1set(struct aq_hw_s *aq_hw, u32 rx_flr_rss_control1) hw_atl_reg_rx_flr_rss_control1set() argument 551 hw_atl_reg_rx_flr_control2_set(struct aq_hw_s *aq_hw, u32 rx_filter_control2) hw_atl_reg_rx_flr_control2_set() argument 557 hw_atl_reg_rx_intr_moder_ctrl_set(struct aq_hw_s *aq_hw, u32 rx_intr_moderation_ctl, u32 queue) hw_atl_reg_rx_intr_moder_ctrl_set() argument 565 hw_atl_reg_tx_dma_debug_ctl_set(struct aq_hw_s *aq_hw, u32 tx_dma_debug_ctl) hw_atl_reg_tx_dma_debug_ctl_set() argument 571 hw_atl_reg_tx_dma_desc_base_addresslswset(struct aq_hw_s *aq_hw, u32 tx_dma_desc_base_addrlsw, u32 descriptor) hw_atl_reg_tx_dma_desc_base_addresslswset() argument 579 hw_atl_reg_tx_dma_desc_base_addressmswset(struct aq_hw_s *aq_hw, u32 tx_dma_desc_base_addrmsw, u32 descriptor) hw_atl_reg_tx_dma_desc_base_addressmswset() argument 587 hw_atl_reg_tx_dma_desc_tail_ptr_set(struct aq_hw_s *aq_hw, u32 tx_dma_desc_tail_ptr, u32 descriptor) hw_atl_reg_tx_dma_desc_tail_ptr_set() argument 595 hw_atl_reg_tx_intr_moder_ctrl_set(struct aq_hw_s *aq_hw, u32 tx_intr_moderation_ctl, u32 queue) hw_atl_reg_tx_intr_moder_ctrl_set() argument 604 hw_atl_rpb_dma_sys_lbk_set(struct aq_hw_s *aq_hw, u32 dma_sys_lbk) hw_atl_rpb_dma_sys_lbk_set() argument 611 hw_atl_rpb_dma_net_lbk_set(struct aq_hw_s *aq_hw, u32 dma_net_lbk) hw_atl_rpb_dma_net_lbk_set() argument 618 hw_atl_rpb_rpf_rx_traf_class_mode_set(struct aq_hw_s *aq_hw, u32 rx_traf_class_mode) hw_atl_rpb_rpf_rx_traf_class_mode_set() argument 627 hw_atl_rpb_rpf_rx_traf_class_mode_get(struct aq_hw_s *aq_hw) hw_atl_rpb_rpf_rx_traf_class_mode_get() argument 634 hw_atl_rpb_rx_buff_en_set(struct aq_hw_s *aq_hw, u32 rx_buff_en) hw_atl_rpb_rx_buff_en_set() argument 641 hw_atl_rpb_rx_buff_hi_threshold_per_tc_set(struct aq_hw_s *aq_hw, u32 rx_buff_hi_threshold_per_tc, u32 buffer) hw_atl_rpb_rx_buff_hi_threshold_per_tc_set() argument 651 hw_atl_rpb_rx_buff_lo_threshold_per_tc_set(struct aq_hw_s *aq_hw, u32 rx_buff_lo_threshold_per_tc, u32 buffer) hw_atl_rpb_rx_buff_lo_threshold_per_tc_set() argument 661 hw_atl_rpb_rx_flow_ctl_mode_set(struct aq_hw_s *aq_hw, u32 rx_flow_ctl_mode) hw_atl_rpb_rx_flow_ctl_mode_set() argument 668 hw_atl_rdm_rx_dma_desc_cache_init_tgl(struct aq_hw_s *aq_hw) hw_atl_rdm_rx_dma_desc_cache_init_tgl() argument 682 hw_atl_rdm_rx_dma_desc_cache_init_done_get(struct aq_hw_s *aq_hw) hw_atl_rdm_rx_dma_desc_cache_init_done_get() argument 689 hw_atl_rpb_rx_pkt_buff_size_per_tc_set(struct aq_hw_s *aq_hw, u32 rx_pkt_buff_size_per_tc, u32 buffer) hw_atl_rpb_rx_pkt_buff_size_per_tc_set() argument 698 hw_atl_rpb_rx_xoff_en_per_tc_set(struct aq_hw_s *aq_hw, u32 rx_xoff_en_per_tc, u32 buffer) hw_atl_rpb_rx_xoff_en_per_tc_set() argument 709 hw_atl_rpfl2broadcast_count_threshold_set(struct aq_hw_s *aq_hw, u32 l2broadcast_count_threshold) hw_atl_rpfl2broadcast_count_threshold_set() argument 718 hw_atl_rpfl2broadcast_en_set(struct aq_hw_s *aq_hw, u32 l2broadcast_en) hw_atl_rpfl2broadcast_en_set() argument 724 hw_atl_rpfl2broadcast_flr_act_set(struct aq_hw_s *aq_hw, u32 l2broadcast_flr_act) hw_atl_rpfl2broadcast_flr_act_set() argument 732 hw_atl_rpfl2multicast_flr_en_set(struct aq_hw_s *aq_hw, u32 l2multicast_flr_en, u32 filter) hw_atl_rpfl2multicast_flr_en_set() argument 741 hw_atl_rpfl2promiscuous_mode_en_get(struct aq_hw_s *aq_hw) hw_atl_rpfl2promiscuous_mode_en_get() argument 748 hw_atl_rpfl2promiscuous_mode_en_set(struct aq_hw_s *aq_hw, u32 l2promiscuous_mode_en) hw_atl_rpfl2promiscuous_mode_en_set() argument 757 hw_atl_rpfl2unicast_flr_act_set(struct aq_hw_s *aq_hw, u32 l2unicast_flr_act, u32 filter) hw_atl_rpfl2unicast_flr_act_set() argument 766 hw_atl_rpfl2_uc_flr_en_set(struct aq_hw_s *aq_hw, u32 l2unicast_flr_en, u32 filter) hw_atl_rpfl2_uc_flr_en_set() argument 774 hw_atl_rpfl2unicast_dest_addresslsw_set(struct aq_hw_s *aq_hw, u32 l2unicast_dest_addresslsw, u32 filter) hw_atl_rpfl2unicast_dest_addresslsw_set() argument 782 hw_atl_rpfl2unicast_dest_addressmsw_set(struct aq_hw_s *aq_hw, u32 l2unicast_dest_addressmsw, u32 filter) hw_atl_rpfl2unicast_dest_addressmsw_set() argument 792 hw_atl_rpfl2_accept_all_mc_packets_set(struct aq_hw_s *aq_hw, u32 l2_accept_all_mc_packets) hw_atl_rpfl2_accept_all_mc_packets_set() argument 801 hw_atl_rpf_rpb_user_priority_tc_map_set(struct aq_hw_s *aq_hw, u32 user_priority, u32 tc) hw_atl_rpf_rpb_user_priority_tc_map_set() argument 826 hw_atl_rpf_rss_key_addr_set(struct aq_hw_s *aq_hw, u32 rss_key_addr) hw_atl_rpf_rss_key_addr_set() argument 834 hw_atl_rpf_rss_key_wr_data_set(struct aq_hw_s *aq_hw, u32 rss_key_wr_data) hw_atl_rpf_rss_key_wr_data_set() argument 840 hw_atl_rpf_rss_key_wr_en_get(struct aq_hw_s *aq_hw) hw_atl_rpf_rss_key_wr_en_get() argument 847 hw_atl_rpf_rss_key_wr_en_set(struct aq_hw_s *aq_hw, u32 rss_key_wr_en) hw_atl_rpf_rss_key_wr_en_set() argument 855 hw_atl_rpf_rss_redir_tbl_addr_set(struct aq_hw_s *aq_hw, u32 rss_redir_tbl_addr) hw_atl_rpf_rss_redir_tbl_addr_set() argument 864 hw_atl_rpf_rss_redir_tbl_wr_data_set(struct aq_hw_s *aq_hw, u32 rss_redir_tbl_wr_data) hw_atl_rpf_rss_redir_tbl_wr_data_set() argument 873 hw_atl_rpf_rss_redir_wr_en_get(struct aq_hw_s *aq_hw) hw_atl_rpf_rss_redir_wr_en_get() argument 880 hw_atl_rpf_rss_redir_wr_en_set(struct aq_hw_s *aq_hw, u32 rss_redir_wr_en) hw_atl_rpf_rss_redir_wr_en_set() argument 887 hw_atl_rpf_tpo_to_rpf_sys_lbk_set(struct aq_hw_s *aq_hw, u32 tpo_to_rpf_sys_lbk) hw_atl_rpf_tpo_to_rpf_sys_lbk_set() argument 896 hw_atl_rpf_vlan_inner_etht_set(struct aq_hw_s *aq_hw, u32 vlan_inner_etht) hw_atl_rpf_vlan_inner_etht_set() argument 904 hw_atl_rpf_vlan_outer_etht_set(struct aq_hw_s *aq_hw, u32 vlan_outer_etht) hw_atl_rpf_vlan_outer_etht_set() argument 912 hw_atl_rpf_vlan_prom_mode_en_set(struct aq_hw_s *aq_hw, u32 vlan_prom_mode_en) hw_atl_rpf_vlan_prom_mode_en_set() argument 921 hw_atl_rpf_vlan_prom_mode_en_get(struct aq_hw_s *aq_hw) hw_atl_rpf_vlan_prom_mode_en_get() argument 928 hw_atl_rpf_vlan_accept_untagged_packets_set(struct aq_hw_s *aq_hw, u32 vlan_acc_untagged_packets) hw_atl_rpf_vlan_accept_untagged_packets_set() argument 937 hw_atl_rpf_vlan_untagged_act_set(struct aq_hw_s *aq_hw, u32 vlan_untagged_act) hw_atl_rpf_vlan_untagged_act_set() argument 946 hw_atl_rpf_vlan_flr_en_set(struct aq_hw_s *aq_hw, u32 vlan_flr_en, u32 filter) hw_atl_rpf_vlan_flr_en_set() argument 955 hw_atl_rpf_vlan_flr_act_set(struct aq_hw_s *aq_hw, u32 vlan_flr_act, u32 filter) hw_atl_rpf_vlan_flr_act_set() argument 964 hw_atl_rpf_vlan_id_flr_set(struct aq_hw_s *aq_hw, u32 vlan_id_flr, u32 filter) hw_atl_rpf_vlan_id_flr_set() argument 973 hw_atl_rpf_vlan_rxq_en_flr_set(struct aq_hw_s *aq_hw, u32 vlan_rxq_en, u32 filter) hw_atl_rpf_vlan_rxq_en_flr_set() argument 982 hw_atl_rpf_vlan_rxq_flr_set(struct aq_hw_s *aq_hw, u32 vlan_rxq, u32 filter) hw_atl_rpf_vlan_rxq_flr_set() argument 991 hw_atl_rpf_etht_flr_en_set(struct aq_hw_s *aq_hw, u32 etht_flr_en, u32 filter) hw_atl_rpf_etht_flr_en_set() argument 999 hw_atl_rpf_etht_user_priority_en_set(struct aq_hw_s *aq_hw, u32 etht_user_priority_en, u32 filter) hw_atl_rpf_etht_user_priority_en_set() argument 1007 hw_atl_rpf_etht_rx_queue_en_set(struct aq_hw_s *aq_hw, u32 etht_rx_queue_en, u32 filter) hw_atl_rpf_etht_rx_queue_en_set() argument 1017 hw_atl_rpf_etht_user_priority_set(struct aq_hw_s *aq_hw, u32 etht_user_priority, u32 filter) hw_atl_rpf_etht_user_priority_set() argument 1026 hw_atl_rpf_etht_rx_queue_set(struct aq_hw_s *aq_hw, u32 etht_rx_queue, u32 filter) hw_atl_rpf_etht_rx_queue_set() argument 1034 hw_atl_rpf_etht_mgt_queue_set(struct aq_hw_s *aq_hw, u32 etht_mgt_queue, u32 filter) hw_atl_rpf_etht_mgt_queue_set() argument 1043 hw_atl_rpf_etht_flr_act_set(struct aq_hw_s *aq_hw, u32 etht_flr_act, u32 filter) hw_atl_rpf_etht_flr_act_set() argument 1051 hw_atl_rpf_etht_flr_set(struct aq_hw_s *aq_hw, u32 etht_flr, u32 filter) hw_atl_rpf_etht_flr_set() argument 1058 hw_atl_rpf_l4_spd_set(struct aq_hw_s *aq_hw, u32 val, u32 filter) hw_atl_rpf_l4_spd_set() argument 1065 hw_atl_rpf_l4_dpd_set(struct aq_hw_s *aq_hw, u32 val, u32 filter) hw_atl_rpf_l4_dpd_set() argument 1073 hw_atl_rpo_ipv4header_crc_offload_en_set(struct aq_hw_s *aq_hw, u32 ipv4header_crc_offload_en) hw_atl_rpo_ipv4header_crc_offload_en_set() argument 1082 hw_atl_rpo_rx_desc_vlan_stripping_set(struct aq_hw_s *aq_hw, u32 rx_desc_vlan_stripping, u32 descriptor) hw_atl_rpo_rx_desc_vlan_stripping_set() argument 1108 hw_atl_rpo_tcp_udp_crc_offload_en_set(struct aq_hw_s *aq_hw, u32 tcp_udp_crc_offload_en) hw_atl_rpo_tcp_udp_crc_offload_en_set() argument 1116 hw_atl_rpo_lro_en_set(struct aq_hw_s *aq_hw, u32 lro_en) hw_atl_rpo_lro_en_set() argument 1121 hw_atl_rpo_lro_patch_optimization_en_set(struct aq_hw_s *aq_hw, u32 lro_patch_optimization_en) hw_atl_rpo_lro_patch_optimization_en_set() argument 1130 hw_atl_rpo_lro_qsessions_lim_set(struct aq_hw_s *aq_hw, u32 lro_qsessions_lim) hw_atl_rpo_lro_qsessions_lim_set() argument 1139 hw_atl_rpo_lro_total_desc_lim_set(struct aq_hw_s *aq_hw, u32 lro_total_desc_lim) hw_atl_rpo_lro_total_desc_lim_set() argument 1148 hw_atl_rpo_lro_min_pay_of_first_pkt_set(struct aq_hw_s *aq_hw, u32 lro_min_pld_of_first_pkt) hw_atl_rpo_lro_min_pay_of_first_pkt_set() argument 1157 hw_atl_rpo_lro_pkt_lim_set(struct aq_hw_s *aq_hw, u32 lro_pkt_lim) hw_atl_rpo_lro_pkt_lim_set() argument 1162 hw_atl_rpo_lro_max_num_of_descriptors_set(struct aq_hw_s *aq_hw, u32 lro_max_number_of_descriptors, u32 lro) hw_atl_rpo_lro_max_num_of_descriptors_set() argument 1204 hw_atl_rpo_lro_time_base_divider_set(struct aq_hw_s *aq_hw, u32 lro_time_base_divider) hw_atl_rpo_lro_time_base_divider_set() argument 1213 hw_atl_rpo_lro_inactive_interval_set(struct aq_hw_s *aq_hw, u32 lro_inactive_interval) hw_atl_rpo_lro_inactive_interval_set() argument 1222 hw_atl_rpo_lro_max_coalescing_interval_set(struct aq_hw_s *aq_hw, u32 lro_max_coal_interval) hw_atl_rpo_lro_max_coalescing_interval_set() argument 1232 hw_atl_rx_rx_reg_res_dis_set(struct aq_hw_s *aq_hw, u32 rx_reg_res_dis) hw_atl_rx_rx_reg_res_dis_set() argument 1241 hw_atl_tdm_cpu_id_set(struct aq_hw_s *aq_hw, u32 cpuid, u32 dca) hw_atl_tdm_cpu_id_set() argument 1248 hw_atl_tdm_large_send_offload_en_set(struct aq_hw_s *aq_hw, u32 large_send_offload_en) hw_atl_tdm_large_send_offload_en_set() argument 1254 hw_atl_tdm_tx_dca_en_set(struct aq_hw_s *aq_hw, u32 tx_dca_en) hw_atl_tdm_tx_dca_en_set() argument 1260 hw_atl_tdm_tx_dca_mode_set(struct aq_hw_s *aq_hw, u32 tx_dca_mode) hw_atl_tdm_tx_dca_mode_set() argument 1267 hw_atl_tdm_tx_desc_dca_en_set(struct aq_hw_s *aq_hw, u32 tx_desc_dca_en, u32 dca) hw_atl_tdm_tx_desc_dca_en_set() argument 1276 hw_atl_tdm_tx_desc_en_set(struct aq_hw_s *aq_hw, u32 tx_desc_en, u32 descriptor) hw_atl_tdm_tx_desc_en_set() argument 1285 hw_atl_tdm_tx_desc_head_ptr_get(struct aq_hw_s *aq_hw, u32 descriptor) hw_atl_tdm_tx_desc_head_ptr_get() argument 1292 hw_atl_tdm_tx_desc_len_set(struct aq_hw_s *aq_hw, u32 tx_desc_len, u32 descriptor) hw_atl_tdm_tx_desc_len_set() argument 1301 hw_atl_tdm_tx_desc_wr_wb_irq_en_set(struct aq_hw_s *aq_hw, u32 tx_desc_wr_wb_irq_en) hw_atl_tdm_tx_desc_wr_wb_irq_en_set() argument 1310 hw_atl_tdm_tx_desc_wr_wb_threshold_set(struct aq_hw_s *aq_hw, u32 tx_desc_wr_wb_threshold, u32 descriptor) hw_atl_tdm_tx_desc_wr_wb_threshold_set() argument 1320 hw_atl_tdm_tdm_intr_moder_en_set(struct aq_hw_s *aq_hw, u32 tdm_irq_moderation_en) hw_atl_tdm_tdm_intr_moder_en_set() argument 1330 hw_atl_thm_lso_tcp_flag_of_first_pkt_set(struct aq_hw_s *aq_hw, u32 lso_tcp_flag_of_first_pkt) hw_atl_thm_lso_tcp_flag_of_first_pkt_set() argument 1339 hw_atl_thm_lso_tcp_flag_of_last_pkt_set(struct aq_hw_s *aq_hw, u32 lso_tcp_flag_of_last_pkt) hw_atl_thm_lso_tcp_flag_of_last_pkt_set() argument 1348 hw_atl_thm_lso_tcp_flag_of_middle_pkt_set(struct aq_hw_s *aq_hw, u32 lso_tcp_flag_of_middle_pkt) hw_atl_thm_lso_tcp_flag_of_middle_pkt_set() argument 1358 hw_atl_tpb_tx_buff_en_set(struct aq_hw_s *aq_hw, u32 tx_buff_en) hw_atl_tpb_tx_buff_en_set() argument 1365 hw_atl_tpb_tps_tx_tc_mode_get(struct aq_hw_s *aq_hw) hw_atl_tpb_tps_tx_tc_mode_get() argument 1372 hw_atl_tpb_tps_tx_tc_mode_set(struct aq_hw_s *aq_hw, u32 tx_traf_class_mode) hw_atl_tpb_tps_tx_tc_mode_set() argument 1381 hw_atl_tpb_tx_buff_hi_threshold_per_tc_set(struct aq_hw_s *aq_hw, u32 tx_buff_hi_threshold_per_tc, u32 buffer) hw_atl_tpb_tx_buff_hi_threshold_per_tc_set() argument 1391 hw_atl_tpb_tx_buff_lo_threshold_per_tc_set(struct aq_hw_s *aq_hw, u32 tx_buff_lo_threshold_per_tc, u32 buffer) hw_atl_tpb_tx_buff_lo_threshold_per_tc_set() argument 1401 hw_atl_tpb_tx_dma_sys_lbk_en_set(struct aq_hw_s *aq_hw, u32 tx_dma_sys_lbk_en) hw_atl_tpb_tx_dma_sys_lbk_en_set() argument 1409 hw_atl_tpb_tx_dma_net_lbk_en_set(struct aq_hw_s *aq_hw, u32 tx_dma_net_lbk_en) hw_atl_tpb_tx_dma_net_lbk_en_set() argument 1418 hw_atl_tpb_tx_tx_clk_gate_en_set(struct aq_hw_s *aq_hw, u32 tx_clk_gate_en) hw_atl_tpb_tx_tx_clk_gate_en_set() argument 1427 hw_atl_tpb_tx_pkt_buff_size_per_tc_set(struct aq_hw_s *aq_hw, u32 tx_pkt_buff_size_per_tc, u32 buffer) hw_atl_tpb_tx_pkt_buff_size_per_tc_set() argument 1437 hw_atl_tpb_tx_path_scp_ins_en_set(struct aq_hw_s *aq_hw, u32 tx_path_scp_ins_en) hw_atl_tpb_tx_path_scp_ins_en_set() argument 1446 hw_atl_tpo_ipv4header_crc_offload_en_set(struct aq_hw_s *aq_hw, u32 ipv4header_crc_offload_en) hw_atl_tpo_ipv4header_crc_offload_en_set() argument 1455 hw_atl_tpo_tcp_udp_crc_offload_en_set(struct aq_hw_s *aq_hw, u32 tcp_udp_crc_offload_en) hw_atl_tpo_tcp_udp_crc_offload_en_set() argument 1464 hw_atl_tpo_tx_pkt_sys_lbk_en_set(struct aq_hw_s *aq_hw, u32 tx_pkt_sys_lbk_en) hw_atl_tpo_tx_pkt_sys_lbk_en_set() argument 1474 hw_atl_tps_tx_pkt_shed_data_arb_mode_set(struct aq_hw_s *aq_hw, u32 tx_pkt_shed_data_arb_mode) hw_atl_tps_tx_pkt_shed_data_arb_mode_set() argument 1483 hw_atl_tps_tx_pkt_shed_desc_rate_curr_time_res_set(struct aq_hw_s *aq_hw, u32 curr_time_res) hw_atl_tps_tx_pkt_shed_desc_rate_curr_time_res_set() argument 1492 hw_atl_tps_tx_pkt_shed_desc_rate_lim_set(struct aq_hw_s *aq_hw, u32 tx_pkt_shed_desc_rate_lim) hw_atl_tps_tx_pkt_shed_desc_rate_lim_set() argument 1501 hw_atl_tps_tx_pkt_shed_desc_tc_arb_mode_set(struct aq_hw_s *aq_hw, u32 arb_mode) hw_atl_tps_tx_pkt_shed_desc_tc_arb_mode_set() argument 1510 hw_atl_tps_tx_pkt_shed_desc_tc_max_credit_set(struct aq_hw_s *aq_hw, const u32 tc, const u32 max_credit) hw_atl_tps_tx_pkt_shed_desc_tc_max_credit_set() argument 1520 hw_atl_tps_tx_pkt_shed_desc_tc_weight_set(struct aq_hw_s *aq_hw, const u32 tc, const u32 weight) hw_atl_tps_tx_pkt_shed_desc_tc_weight_set() argument 1530 hw_atl_tps_tx_pkt_shed_desc_vm_arb_mode_set(struct aq_hw_s *aq_hw, u32 arb_mode) hw_atl_tps_tx_pkt_shed_desc_vm_arb_mode_set() argument 1539 hw_atl_tps_tx_pkt_shed_tc_data_max_credit_set(struct aq_hw_s *aq_hw, const u32 tc, const u32 max_credit) hw_atl_tps_tx_pkt_shed_tc_data_max_credit_set() argument 1549 hw_atl_tps_tx_pkt_shed_tc_data_weight_set(struct aq_hw_s *aq_hw, const u32 tc, const u32 weight) hw_atl_tps_tx_pkt_shed_tc_data_weight_set() argument 1559 hw_atl_tps_tx_desc_rate_mode_set(struct aq_hw_s *aq_hw, const u32 rate_mode) hw_atl_tps_tx_desc_rate_mode_set() argument 1568 hw_atl_tps_tx_desc_rate_en_set(struct aq_hw_s *aq_hw, const u32 desc, const u32 enable) hw_atl_tps_tx_desc_rate_en_set() argument 1577 hw_atl_tps_tx_desc_rate_x_set(struct aq_hw_s *aq_hw, const u32 desc, const u32 rate_int) hw_atl_tps_tx_desc_rate_x_set() argument 1586 hw_atl_tps_tx_desc_rate_y_set(struct aq_hw_s *aq_hw, const u32 desc, const u32 rate_frac) hw_atl_tps_tx_desc_rate_y_set() argument 1596 hw_atl_tx_tx_reg_res_dis_set(struct aq_hw_s *aq_hw, u32 tx_reg_res_dis) hw_atl_tx_tx_reg_res_dis_set() argument 1604 hw_atl_msm_reg_access_status_get(struct aq_hw_s *aq_hw) hw_atl_msm_reg_access_status_get() argument 1611 hw_atl_msm_reg_addr_for_indirect_addr_set(struct aq_hw_s *aq_hw, u32 reg_addr_for_indirect_addr) hw_atl_msm_reg_addr_for_indirect_addr_set() argument 1620 hw_atl_msm_reg_rd_strobe_set(struct aq_hw_s *aq_hw, u32 reg_rd_strobe) hw_atl_msm_reg_rd_strobe_set() argument 1628 hw_atl_msm_reg_rd_data_get(struct aq_hw_s *aq_hw) hw_atl_msm_reg_rd_data_get() argument 1633 hw_atl_msm_reg_wr_data_set(struct aq_hw_s *aq_hw, u32 reg_wr_data) hw_atl_msm_reg_wr_data_set() argument 1638 hw_atl_msm_reg_wr_strobe_set(struct aq_hw_s *aq_hw, u32 reg_wr_strobe) hw_atl_msm_reg_wr_strobe_set() argument 1647 hw_atl_pci_pci_reg_res_dis_set(struct aq_hw_s *aq_hw, u32 pci_reg_res_dis) hw_atl_pci_pci_reg_res_dis_set() argument 1655 hw_atl_reg_glb_cpu_scratch_scp_set(struct aq_hw_s *aq_hw, u32 glb_cpu_scratch_scp, u32 scratch_scp) hw_atl_reg_glb_cpu_scratch_scp_set() argument 1663 hw_atl_pcs_ptp_clock_read_enable(struct aq_hw_s *aq_hw, u32 ptp_clock_read_enable) hw_atl_pcs_ptp_clock_read_enable() argument 1672 hw_atl_pcs_ptp_clock_get(struct aq_hw_s *aq_hw, u32 index) hw_atl_pcs_ptp_clock_get() argument 1677 hw_atl_mcp_up_force_intr_set(struct aq_hw_s *aq_hw, u32 up_force_intr) hw_atl_mcp_up_force_intr_set() argument 1685 hw_atl_rpfl3l4_ipv4_dest_addr_clear(struct aq_hw_s *aq_hw, u8 location) hw_atl_rpfl3l4_ipv4_dest_addr_clear() argument 1690 hw_atl_rpfl3l4_ipv4_src_addr_clear(struct aq_hw_s *aq_hw, u8 location) hw_atl_rpfl3l4_ipv4_src_addr_clear() argument 1695 hw_atl_rpfl3l4_cmd_clear(struct aq_hw_s *aq_hw, u8 location) hw_atl_rpfl3l4_cmd_clear() argument 1700 hw_atl_rpfl3l4_ipv6_dest_addr_clear(struct aq_hw_s *aq_hw, u8 location) hw_atl_rpfl3l4_ipv6_dest_addr_clear() argument 1710 hw_atl_rpfl3l4_ipv6_src_addr_clear(struct aq_hw_s *aq_hw, u8 location) hw_atl_rpfl3l4_ipv6_src_addr_clear() argument 1720 hw_atl_rpfl3l4_ipv4_dest_addr_set(struct aq_hw_s *aq_hw, u8 location, u32 ipv4_dest) hw_atl_rpfl3l4_ipv4_dest_addr_set() argument 1727 hw_atl_rpfl3l4_ipv4_src_addr_set(struct aq_hw_s *aq_hw, u8 location, u32 ipv4_src) hw_atl_rpfl3l4_ipv4_src_addr_set() argument 1735 hw_atl_rpfl3l4_cmd_set(struct aq_hw_s *aq_hw, u8 location, u32 cmd) hw_atl_rpfl3l4_cmd_set() argument 1740 hw_atl_rpfl3l4_ipv6_src_addr_set(struct aq_hw_s *aq_hw, u8 location, u32 *ipv6_src) hw_atl_rpfl3l4_ipv6_src_addr_set() argument 1751 hw_atl_rpfl3l4_ipv6_dest_addr_set(struct aq_hw_s *aq_hw, u8 location, u32 *ipv6_dest) hw_atl_rpfl3l4_ipv6_dest_addr_set() argument 1782 hw_atl_scrpad_get(struct aq_hw_s *aq_hw, u32 scratch_scp) hw_atl_scrpad_get() argument 1798 hw_atl_glb_mdio_iface1_set(struct aq_hw_s *aq_hw, u32 value) hw_atl_glb_mdio_iface1_set() argument 1803 hw_atl_glb_mdio_iface1_get(struct aq_hw_s *aq_hw) hw_atl_glb_mdio_iface1_get() argument 1808 hw_atl_glb_mdio_iface2_set(struct aq_hw_s *aq_hw, u32 value) hw_atl_glb_mdio_iface2_set() argument 1813 hw_atl_glb_mdio_iface2_get(struct aq_hw_s *aq_hw) hw_atl_glb_mdio_iface2_get() argument 1818 hw_atl_glb_mdio_iface3_set(struct aq_hw_s *aq_hw, u32 value) hw_atl_glb_mdio_iface3_set() argument 1823 hw_atl_glb_mdio_iface3_get(struct aq_hw_s *aq_hw) hw_atl_glb_mdio_iface3_get() argument 1828 hw_atl_glb_mdio_iface4_set(struct aq_hw_s *aq_hw, u32 value) hw_atl_glb_mdio_iface4_set() argument 1833 hw_atl_glb_mdio_iface4_get(struct aq_hw_s *aq_hw) hw_atl_glb_mdio_iface4_get() argument 1838 hw_atl_glb_mdio_iface5_set(struct aq_hw_s *aq_hw, u32 value) hw_atl_glb_mdio_iface5_set() argument 1843 hw_atl_glb_mdio_iface5_get(struct aq_hw_s *aq_hw) hw_atl_glb_mdio_iface5_get() argument 1848 hw_atl_mdio_busy_get(struct aq_hw_s *aq_hw) hw_atl_mdio_busy_get() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/aquantia/atlantic/hw_atl/ |
H A D | hw_atl_llh.h | 20 void hw_atl_ts_reset_set(struct aq_hw_s *aq_hw, u32 val); 23 void hw_atl_ts_power_down_set(struct aq_hw_s *aq_hw, u32 val); 26 u32 hw_atl_ts_power_down_get(struct aq_hw_s *aq_hw); 29 u32 hw_atl_ts_ready_get(struct aq_hw_s *aq_hw); 32 u32 hw_atl_ts_ready_latch_high_get(struct aq_hw_s *aq_hw); 35 u32 hw_atl_ts_data_get(struct aq_hw_s *aq_hw); 40 void hw_atl_reg_glb_cpu_sem_set(struct aq_hw_s *aq_hw, u32 glb_cpu_sem, 44 u32 hw_atl_reg_glb_cpu_sem_get(struct aq_hw_s *aq_hw, u32 semaphore); 47 void hw_atl_glb_glb_reg_res_dis_set(struct aq_hw_s *aq_hw, u32 glb_reg_res_dis); 50 void hw_atl_glb_soft_res_set(struct aq_hw_s *aq_hw, u3 [all...] |
H A D | hw_atl_llh.c | 16 void hw_atl_ts_reset_set(struct aq_hw_s *aq_hw, u32 val) in hw_atl_ts_reset_set() argument 18 aq_hw_write_reg_bit(aq_hw, HW_ATL_TS_RESET_ADR, in hw_atl_ts_reset_set() 24 void hw_atl_ts_power_down_set(struct aq_hw_s *aq_hw, u32 val) in hw_atl_ts_power_down_set() argument 26 aq_hw_write_reg_bit(aq_hw, HW_ATL_TS_POWER_DOWN_ADR, in hw_atl_ts_power_down_set() 32 u32 hw_atl_ts_power_down_get(struct aq_hw_s *aq_hw) in hw_atl_ts_power_down_get() argument 34 return aq_hw_read_reg_bit(aq_hw, HW_ATL_TS_POWER_DOWN_ADR, in hw_atl_ts_power_down_get() 39 u32 hw_atl_ts_ready_get(struct aq_hw_s *aq_hw) in hw_atl_ts_ready_get() argument 41 return aq_hw_read_reg_bit(aq_hw, HW_ATL_TS_READY_ADR, in hw_atl_ts_ready_get() 46 u32 hw_atl_ts_ready_latch_high_get(struct aq_hw_s *aq_hw) in hw_atl_ts_ready_latch_high_get() argument 48 return aq_hw_read_reg_bit(aq_hw, HW_ATL_TS_READY_LATCH_HIGH_AD in hw_atl_ts_ready_latch_high_get() 53 hw_atl_ts_data_get(struct aq_hw_s *aq_hw) hw_atl_ts_data_get() argument 61 hw_atl_reg_glb_cpu_sem_set(struct aq_hw_s *aq_hw, u32 glb_cpu_sem, u32 semaphore) hw_atl_reg_glb_cpu_sem_set() argument 67 hw_atl_reg_glb_cpu_sem_get(struct aq_hw_s *aq_hw, u32 semaphore) hw_atl_reg_glb_cpu_sem_get() argument 72 hw_atl_glb_glb_reg_res_dis_set(struct aq_hw_s *aq_hw, u32 glb_reg_res_dis) hw_atl_glb_glb_reg_res_dis_set() argument 80 hw_atl_glb_soft_res_set(struct aq_hw_s *aq_hw, u32 soft_res) hw_atl_glb_soft_res_set() argument 87 hw_atl_glb_soft_res_get(struct aq_hw_s *aq_hw) hw_atl_glb_soft_res_get() argument 94 hw_atl_reg_glb_mif_id_get(struct aq_hw_s *aq_hw) hw_atl_reg_glb_mif_id_get() argument 100 hw_atl_rpb_rx_dma_drop_pkt_cnt_get(struct aq_hw_s *aq_hw) hw_atl_rpb_rx_dma_drop_pkt_cnt_get() argument 105 hw_atl_stats_rx_dma_good_octet_counter_get(struct aq_hw_s *aq_hw) hw_atl_stats_rx_dma_good_octet_counter_get() argument 110 hw_atl_stats_rx_dma_good_pkt_counter_get(struct aq_hw_s *aq_hw) hw_atl_stats_rx_dma_good_pkt_counter_get() argument 115 hw_atl_stats_tx_dma_good_octet_counter_get(struct aq_hw_s *aq_hw) hw_atl_stats_tx_dma_good_octet_counter_get() argument 120 hw_atl_stats_tx_dma_good_pkt_counter_get(struct aq_hw_s *aq_hw) hw_atl_stats_tx_dma_good_pkt_counter_get() argument 126 hw_atl_itr_irq_auto_masklsw_set(struct aq_hw_s *aq_hw, u32 irq_auto_masklsw) hw_atl_itr_irq_auto_masklsw_set() argument 132 hw_atl_itr_irq_map_en_rx_set(struct aq_hw_s *aq_hw, u32 irq_map_en_rx, u32 rx) hw_atl_itr_irq_map_en_rx_set() argument 173 hw_atl_itr_irq_map_en_tx_set(struct aq_hw_s *aq_hw, u32 irq_map_en_tx, u32 tx) hw_atl_itr_irq_map_en_tx_set() argument 214 hw_atl_itr_irq_map_rx_set(struct aq_hw_s *aq_hw, u32 irq_map_rx, u32 rx) hw_atl_itr_irq_map_rx_set() argument 254 hw_atl_itr_irq_map_tx_set(struct aq_hw_s *aq_hw, u32 irq_map_tx, u32 tx) hw_atl_itr_irq_map_tx_set() argument 294 hw_atl_itr_irq_msk_clearlsw_set(struct aq_hw_s *aq_hw, u32 irq_msk_clearlsw) hw_atl_itr_irq_msk_clearlsw_set() argument 300 hw_atl_itr_irq_msk_setlsw_set(struct aq_hw_s *aq_hw, u32 irq_msk_setlsw) hw_atl_itr_irq_msk_setlsw_set() argument 305 hw_atl_itr_irq_reg_res_dis_set(struct aq_hw_s *aq_hw, u32 irq_reg_res_dis) hw_atl_itr_irq_reg_res_dis_set() argument 312 hw_atl_itr_irq_status_clearlsw_set(struct aq_hw_s *aq_hw, u32 irq_status_clearlsw) hw_atl_itr_irq_status_clearlsw_set() argument 318 hw_atl_itr_irq_statuslsw_get(struct aq_hw_s *aq_hw) hw_atl_itr_irq_statuslsw_get() argument 323 hw_atl_itr_res_irq_get(struct aq_hw_s *aq_hw) hw_atl_itr_res_irq_get() argument 329 hw_atl_itr_res_irq_set(struct aq_hw_s *aq_hw, u32 res_irq) hw_atl_itr_res_irq_set() argument 336 hw_atl_itr_rsc_en_set(struct aq_hw_s *aq_hw, u32 enable) hw_atl_itr_rsc_en_set() argument 342 hw_atl_itr_rsc_delay_set(struct aq_hw_s *aq_hw, u32 delay) hw_atl_itr_rsc_delay_set() argument 351 hw_atl_rdm_cpu_id_set(struct aq_hw_s *aq_hw, u32 cpuid, u32 dca) hw_atl_rdm_cpu_id_set() argument 358 hw_atl_rdm_rx_dca_en_set(struct aq_hw_s *aq_hw, u32 rx_dca_en) hw_atl_rdm_rx_dca_en_set() argument 364 hw_atl_rdm_rx_dca_mode_set(struct aq_hw_s *aq_hw, u32 rx_dca_mode) hw_atl_rdm_rx_dca_mode_set() argument 371 hw_atl_rdm_rx_desc_data_buff_size_set(struct aq_hw_s *aq_hw, u32 rx_desc_data_buff_size, u32 descriptor) hw_atl_rdm_rx_desc_data_buff_size_set() argument 381 hw_atl_rdm_rx_desc_dca_en_set(struct aq_hw_s *aq_hw, u32 rx_desc_dca_en, u32 dca) hw_atl_rdm_rx_desc_dca_en_set() argument 390 hw_atl_rdm_rx_desc_en_set(struct aq_hw_s *aq_hw, u32 rx_desc_en, u32 descriptor) hw_atl_rdm_rx_desc_en_set() argument 399 hw_atl_rdm_rx_desc_head_buff_size_set(struct aq_hw_s *aq_hw, u32 rx_desc_head_buff_size, u32 descriptor) hw_atl_rdm_rx_desc_head_buff_size_set() argument 409 hw_atl_rdm_rx_desc_head_splitting_set(struct aq_hw_s *aq_hw, u32 rx_desc_head_splitting, u32 descriptor) hw_atl_rdm_rx_desc_head_splitting_set() argument 419 hw_atl_rdm_rx_desc_head_ptr_get(struct aq_hw_s *aq_hw, u32 descriptor) hw_atl_rdm_rx_desc_head_ptr_get() argument 426 hw_atl_rdm_rx_desc_len_set(struct aq_hw_s *aq_hw, u32 rx_desc_len, u32 descriptor) hw_atl_rdm_rx_desc_len_set() argument 434 hw_atl_rdm_rx_desc_res_set(struct aq_hw_s *aq_hw, u32 rx_desc_res, u32 descriptor) hw_atl_rdm_rx_desc_res_set() argument 443 hw_atl_rdm_rx_desc_wr_wb_irq_en_set(struct aq_hw_s *aq_hw, u32 rx_desc_wr_wb_irq_en) hw_atl_rdm_rx_desc_wr_wb_irq_en_set() argument 452 hw_atl_rdm_rx_head_dca_en_set(struct aq_hw_s *aq_hw, u32 rx_head_dca_en, u32 dca) hw_atl_rdm_rx_head_dca_en_set() argument 461 hw_atl_rdm_rx_pld_dca_en_set(struct aq_hw_s *aq_hw, u32 rx_pld_dca_en, u32 dca) hw_atl_rdm_rx_pld_dca_en_set() argument 470 hw_atl_rdm_rdm_intr_moder_en_set(struct aq_hw_s *aq_hw, u32 rdm_intr_moder_en) hw_atl_rdm_rdm_intr_moder_en_set() argument 480 hw_atl_reg_gen_irq_map_set(struct aq_hw_s *aq_hw, u32 gen_intr_map, u32 regidx) hw_atl_reg_gen_irq_map_set() argument 486 hw_atl_reg_gen_irq_status_get(struct aq_hw_s *aq_hw) hw_atl_reg_gen_irq_status_get() argument 491 hw_atl_reg_irq_glb_ctl_set(struct aq_hw_s *aq_hw, u32 intr_glb_ctl) hw_atl_reg_irq_glb_ctl_set() argument 496 hw_atl_reg_irq_thr_set(struct aq_hw_s *aq_hw, u32 intr_thr, u32 throttle) hw_atl_reg_irq_thr_set() argument 501 hw_atl_reg_rx_dma_desc_base_addresslswset(struct aq_hw_s *aq_hw, u32 rx_dma_desc_base_addrlsw, u32 descriptor) hw_atl_reg_rx_dma_desc_base_addresslswset() argument 509 hw_atl_reg_rx_dma_desc_base_addressmswset(struct aq_hw_s *aq_hw, u32 rx_dma_desc_base_addrmsw, u32 descriptor) hw_atl_reg_rx_dma_desc_base_addressmswset() argument 517 hw_atl_reg_rx_dma_desc_status_get(struct aq_hw_s *aq_hw, u32 descriptor) hw_atl_reg_rx_dma_desc_status_get() argument 522 hw_atl_reg_rx_dma_desc_tail_ptr_set(struct aq_hw_s *aq_hw, u32 rx_dma_desc_tail_ptr, u32 descriptor) hw_atl_reg_rx_dma_desc_tail_ptr_set() argument 530 hw_atl_reg_rx_flr_mcst_flr_msk_set(struct aq_hw_s *aq_hw, u32 rx_flr_mcst_flr_msk) hw_atl_reg_rx_flr_mcst_flr_msk_set() argument 537 hw_atl_reg_rx_flr_mcst_flr_set(struct aq_hw_s *aq_hw, u32 rx_flr_mcst_flr, u32 filter) hw_atl_reg_rx_flr_mcst_flr_set() argument 544 hw_atl_reg_rx_flr_rss_control1set(struct aq_hw_s *aq_hw, u32 rx_flr_rss_control1) hw_atl_reg_rx_flr_rss_control1set() argument 551 hw_atl_reg_rx_flr_control2_set(struct aq_hw_s *aq_hw, u32 rx_filter_control2) hw_atl_reg_rx_flr_control2_set() argument 557 hw_atl_reg_rx_intr_moder_ctrl_set(struct aq_hw_s *aq_hw, u32 rx_intr_moderation_ctl, u32 queue) hw_atl_reg_rx_intr_moder_ctrl_set() argument 565 hw_atl_reg_tx_dma_debug_ctl_set(struct aq_hw_s *aq_hw, u32 tx_dma_debug_ctl) hw_atl_reg_tx_dma_debug_ctl_set() argument 571 hw_atl_reg_tx_dma_desc_base_addresslswset(struct aq_hw_s *aq_hw, u32 tx_dma_desc_base_addrlsw, u32 descriptor) hw_atl_reg_tx_dma_desc_base_addresslswset() argument 579 hw_atl_reg_tx_dma_desc_base_addressmswset(struct aq_hw_s *aq_hw, u32 tx_dma_desc_base_addrmsw, u32 descriptor) hw_atl_reg_tx_dma_desc_base_addressmswset() argument 587 hw_atl_reg_tx_dma_desc_tail_ptr_set(struct aq_hw_s *aq_hw, u32 tx_dma_desc_tail_ptr, u32 descriptor) hw_atl_reg_tx_dma_desc_tail_ptr_set() argument 595 hw_atl_reg_tx_intr_moder_ctrl_set(struct aq_hw_s *aq_hw, u32 tx_intr_moderation_ctl, u32 queue) hw_atl_reg_tx_intr_moder_ctrl_set() argument 604 hw_atl_rpb_dma_sys_lbk_set(struct aq_hw_s *aq_hw, u32 dma_sys_lbk) hw_atl_rpb_dma_sys_lbk_set() argument 611 hw_atl_rpb_dma_net_lbk_set(struct aq_hw_s *aq_hw, u32 dma_net_lbk) hw_atl_rpb_dma_net_lbk_set() argument 618 hw_atl_rpb_rpf_rx_traf_class_mode_set(struct aq_hw_s *aq_hw, u32 rx_traf_class_mode) hw_atl_rpb_rpf_rx_traf_class_mode_set() argument 627 hw_atl_rpb_rpf_rx_traf_class_mode_get(struct aq_hw_s *aq_hw) hw_atl_rpb_rpf_rx_traf_class_mode_get() argument 634 hw_atl_rpb_rx_buff_en_set(struct aq_hw_s *aq_hw, u32 rx_buff_en) hw_atl_rpb_rx_buff_en_set() argument 641 hw_atl_rpb_rx_buff_hi_threshold_per_tc_set(struct aq_hw_s *aq_hw, u32 rx_buff_hi_threshold_per_tc, u32 buffer) hw_atl_rpb_rx_buff_hi_threshold_per_tc_set() argument 651 hw_atl_rpb_rx_buff_lo_threshold_per_tc_set(struct aq_hw_s *aq_hw, u32 rx_buff_lo_threshold_per_tc, u32 buffer) hw_atl_rpb_rx_buff_lo_threshold_per_tc_set() argument 661 hw_atl_rpb_rx_flow_ctl_mode_set(struct aq_hw_s *aq_hw, u32 rx_flow_ctl_mode) hw_atl_rpb_rx_flow_ctl_mode_set() argument 668 hw_atl_rdm_rx_dma_desc_cache_init_tgl(struct aq_hw_s *aq_hw) hw_atl_rdm_rx_dma_desc_cache_init_tgl() argument 682 hw_atl_rdm_rx_dma_desc_cache_init_done_get(struct aq_hw_s *aq_hw) hw_atl_rdm_rx_dma_desc_cache_init_done_get() argument 689 hw_atl_rpb_rx_pkt_buff_size_per_tc_set(struct aq_hw_s *aq_hw, u32 rx_pkt_buff_size_per_tc, u32 buffer) hw_atl_rpb_rx_pkt_buff_size_per_tc_set() argument 698 hw_atl_rpb_rx_xoff_en_per_tc_set(struct aq_hw_s *aq_hw, u32 rx_xoff_en_per_tc, u32 buffer) hw_atl_rpb_rx_xoff_en_per_tc_set() argument 709 hw_atl_rpfl2broadcast_count_threshold_set(struct aq_hw_s *aq_hw, u32 l2broadcast_count_threshold) hw_atl_rpfl2broadcast_count_threshold_set() argument 718 hw_atl_rpfl2broadcast_en_set(struct aq_hw_s *aq_hw, u32 l2broadcast_en) hw_atl_rpfl2broadcast_en_set() argument 724 hw_atl_rpfl2broadcast_flr_act_set(struct aq_hw_s *aq_hw, u32 l2broadcast_flr_act) hw_atl_rpfl2broadcast_flr_act_set() argument 732 hw_atl_rpfl2multicast_flr_en_set(struct aq_hw_s *aq_hw, u32 l2multicast_flr_en, u32 filter) hw_atl_rpfl2multicast_flr_en_set() argument 741 hw_atl_rpfl2promiscuous_mode_en_get(struct aq_hw_s *aq_hw) hw_atl_rpfl2promiscuous_mode_en_get() argument 748 hw_atl_rpfl2promiscuous_mode_en_set(struct aq_hw_s *aq_hw, u32 l2promiscuous_mode_en) hw_atl_rpfl2promiscuous_mode_en_set() argument 757 hw_atl_rpfl2unicast_flr_act_set(struct aq_hw_s *aq_hw, u32 l2unicast_flr_act, u32 filter) hw_atl_rpfl2unicast_flr_act_set() argument 766 hw_atl_rpfl2_uc_flr_en_set(struct aq_hw_s *aq_hw, u32 l2unicast_flr_en, u32 filter) hw_atl_rpfl2_uc_flr_en_set() argument 774 hw_atl_rpfl2unicast_dest_addresslsw_set(struct aq_hw_s *aq_hw, u32 l2unicast_dest_addresslsw, u32 filter) hw_atl_rpfl2unicast_dest_addresslsw_set() argument 782 hw_atl_rpfl2unicast_dest_addressmsw_set(struct aq_hw_s *aq_hw, u32 l2unicast_dest_addressmsw, u32 filter) hw_atl_rpfl2unicast_dest_addressmsw_set() argument 792 hw_atl_rpfl2_accept_all_mc_packets_set(struct aq_hw_s *aq_hw, u32 l2_accept_all_mc_packets) hw_atl_rpfl2_accept_all_mc_packets_set() argument 801 hw_atl_rpf_rpb_user_priority_tc_map_set(struct aq_hw_s *aq_hw, u32 user_priority, u32 tc) hw_atl_rpf_rpb_user_priority_tc_map_set() argument 826 hw_atl_rpf_rss_key_addr_set(struct aq_hw_s *aq_hw, u32 rss_key_addr) hw_atl_rpf_rss_key_addr_set() argument 834 hw_atl_rpf_rss_key_wr_data_set(struct aq_hw_s *aq_hw, u32 rss_key_wr_data) hw_atl_rpf_rss_key_wr_data_set() argument 840 hw_atl_rpf_rss_key_wr_en_get(struct aq_hw_s *aq_hw) hw_atl_rpf_rss_key_wr_en_get() argument 847 hw_atl_rpf_rss_key_wr_en_set(struct aq_hw_s *aq_hw, u32 rss_key_wr_en) hw_atl_rpf_rss_key_wr_en_set() argument 855 hw_atl_rpf_rss_redir_tbl_addr_set(struct aq_hw_s *aq_hw, u32 rss_redir_tbl_addr) hw_atl_rpf_rss_redir_tbl_addr_set() argument 864 hw_atl_rpf_rss_redir_tbl_wr_data_set(struct aq_hw_s *aq_hw, u32 rss_redir_tbl_wr_data) hw_atl_rpf_rss_redir_tbl_wr_data_set() argument 873 hw_atl_rpf_rss_redir_wr_en_get(struct aq_hw_s *aq_hw) hw_atl_rpf_rss_redir_wr_en_get() argument 880 hw_atl_rpf_rss_redir_wr_en_set(struct aq_hw_s *aq_hw, u32 rss_redir_wr_en) hw_atl_rpf_rss_redir_wr_en_set() argument 887 hw_atl_rpf_tpo_to_rpf_sys_lbk_set(struct aq_hw_s *aq_hw, u32 tpo_to_rpf_sys_lbk) hw_atl_rpf_tpo_to_rpf_sys_lbk_set() argument 896 hw_atl_rpf_vlan_inner_etht_set(struct aq_hw_s *aq_hw, u32 vlan_inner_etht) hw_atl_rpf_vlan_inner_etht_set() argument 904 hw_atl_rpf_vlan_outer_etht_set(struct aq_hw_s *aq_hw, u32 vlan_outer_etht) hw_atl_rpf_vlan_outer_etht_set() argument 912 hw_atl_rpf_vlan_prom_mode_en_set(struct aq_hw_s *aq_hw, u32 vlan_prom_mode_en) hw_atl_rpf_vlan_prom_mode_en_set() argument 921 hw_atl_rpf_vlan_prom_mode_en_get(struct aq_hw_s *aq_hw) hw_atl_rpf_vlan_prom_mode_en_get() argument 928 hw_atl_rpf_vlan_accept_untagged_packets_set(struct aq_hw_s *aq_hw, u32 vlan_acc_untagged_packets) hw_atl_rpf_vlan_accept_untagged_packets_set() argument 937 hw_atl_rpf_vlan_untagged_act_set(struct aq_hw_s *aq_hw, u32 vlan_untagged_act) hw_atl_rpf_vlan_untagged_act_set() argument 946 hw_atl_rpf_vlan_flr_en_set(struct aq_hw_s *aq_hw, u32 vlan_flr_en, u32 filter) hw_atl_rpf_vlan_flr_en_set() argument 955 hw_atl_rpf_vlan_flr_act_set(struct aq_hw_s *aq_hw, u32 vlan_flr_act, u32 filter) hw_atl_rpf_vlan_flr_act_set() argument 964 hw_atl_rpf_vlan_id_flr_set(struct aq_hw_s *aq_hw, u32 vlan_id_flr, u32 filter) hw_atl_rpf_vlan_id_flr_set() argument 973 hw_atl_rpf_vlan_rxq_en_flr_set(struct aq_hw_s *aq_hw, u32 vlan_rxq_en, u32 filter) hw_atl_rpf_vlan_rxq_en_flr_set() argument 982 hw_atl_rpf_vlan_rxq_flr_set(struct aq_hw_s *aq_hw, u32 vlan_rxq, u32 filter) hw_atl_rpf_vlan_rxq_flr_set() argument 991 hw_atl_rpf_etht_flr_en_set(struct aq_hw_s *aq_hw, u32 etht_flr_en, u32 filter) hw_atl_rpf_etht_flr_en_set() argument 999 hw_atl_rpf_etht_user_priority_en_set(struct aq_hw_s *aq_hw, u32 etht_user_priority_en, u32 filter) hw_atl_rpf_etht_user_priority_en_set() argument 1007 hw_atl_rpf_etht_rx_queue_en_set(struct aq_hw_s *aq_hw, u32 etht_rx_queue_en, u32 filter) hw_atl_rpf_etht_rx_queue_en_set() argument 1017 hw_atl_rpf_etht_user_priority_set(struct aq_hw_s *aq_hw, u32 etht_user_priority, u32 filter) hw_atl_rpf_etht_user_priority_set() argument 1026 hw_atl_rpf_etht_rx_queue_set(struct aq_hw_s *aq_hw, u32 etht_rx_queue, u32 filter) hw_atl_rpf_etht_rx_queue_set() argument 1034 hw_atl_rpf_etht_mgt_queue_set(struct aq_hw_s *aq_hw, u32 etht_mgt_queue, u32 filter) hw_atl_rpf_etht_mgt_queue_set() argument 1043 hw_atl_rpf_etht_flr_act_set(struct aq_hw_s *aq_hw, u32 etht_flr_act, u32 filter) hw_atl_rpf_etht_flr_act_set() argument 1051 hw_atl_rpf_etht_flr_set(struct aq_hw_s *aq_hw, u32 etht_flr, u32 filter) hw_atl_rpf_etht_flr_set() argument 1058 hw_atl_rpf_l4_spd_set(struct aq_hw_s *aq_hw, u32 val, u32 filter) hw_atl_rpf_l4_spd_set() argument 1065 hw_atl_rpf_l4_dpd_set(struct aq_hw_s *aq_hw, u32 val, u32 filter) hw_atl_rpf_l4_dpd_set() argument 1073 hw_atl_rpo_ipv4header_crc_offload_en_set(struct aq_hw_s *aq_hw, u32 ipv4header_crc_offload_en) hw_atl_rpo_ipv4header_crc_offload_en_set() argument 1082 hw_atl_rpo_rx_desc_vlan_stripping_set(struct aq_hw_s *aq_hw, u32 rx_desc_vlan_stripping, u32 descriptor) hw_atl_rpo_rx_desc_vlan_stripping_set() argument 1108 hw_atl_rpo_tcp_udp_crc_offload_en_set(struct aq_hw_s *aq_hw, u32 tcp_udp_crc_offload_en) hw_atl_rpo_tcp_udp_crc_offload_en_set() argument 1116 hw_atl_rpo_lro_en_set(struct aq_hw_s *aq_hw, u32 lro_en) hw_atl_rpo_lro_en_set() argument 1121 hw_atl_rpo_lro_patch_optimization_en_set(struct aq_hw_s *aq_hw, u32 lro_patch_optimization_en) hw_atl_rpo_lro_patch_optimization_en_set() argument 1130 hw_atl_rpo_lro_qsessions_lim_set(struct aq_hw_s *aq_hw, u32 lro_qsessions_lim) hw_atl_rpo_lro_qsessions_lim_set() argument 1139 hw_atl_rpo_lro_total_desc_lim_set(struct aq_hw_s *aq_hw, u32 lro_total_desc_lim) hw_atl_rpo_lro_total_desc_lim_set() argument 1148 hw_atl_rpo_lro_min_pay_of_first_pkt_set(struct aq_hw_s *aq_hw, u32 lro_min_pld_of_first_pkt) hw_atl_rpo_lro_min_pay_of_first_pkt_set() argument 1157 hw_atl_rpo_lro_pkt_lim_set(struct aq_hw_s *aq_hw, u32 lro_pkt_lim) hw_atl_rpo_lro_pkt_lim_set() argument 1162 hw_atl_rpo_lro_max_num_of_descriptors_set(struct aq_hw_s *aq_hw, u32 lro_max_number_of_descriptors, u32 lro) hw_atl_rpo_lro_max_num_of_descriptors_set() argument 1204 hw_atl_rpo_lro_time_base_divider_set(struct aq_hw_s *aq_hw, u32 lro_time_base_divider) hw_atl_rpo_lro_time_base_divider_set() argument 1213 hw_atl_rpo_lro_inactive_interval_set(struct aq_hw_s *aq_hw, u32 lro_inactive_interval) hw_atl_rpo_lro_inactive_interval_set() argument 1222 hw_atl_rpo_lro_max_coalescing_interval_set(struct aq_hw_s *aq_hw, u32 lro_max_coal_interval) hw_atl_rpo_lro_max_coalescing_interval_set() argument 1232 hw_atl_rx_rx_reg_res_dis_set(struct aq_hw_s *aq_hw, u32 rx_reg_res_dis) hw_atl_rx_rx_reg_res_dis_set() argument 1241 hw_atl_tdm_cpu_id_set(struct aq_hw_s *aq_hw, u32 cpuid, u32 dca) hw_atl_tdm_cpu_id_set() argument 1248 hw_atl_tdm_large_send_offload_en_set(struct aq_hw_s *aq_hw, u32 large_send_offload_en) hw_atl_tdm_large_send_offload_en_set() argument 1254 hw_atl_tdm_tx_dca_en_set(struct aq_hw_s *aq_hw, u32 tx_dca_en) hw_atl_tdm_tx_dca_en_set() argument 1260 hw_atl_tdm_tx_dca_mode_set(struct aq_hw_s *aq_hw, u32 tx_dca_mode) hw_atl_tdm_tx_dca_mode_set() argument 1267 hw_atl_tdm_tx_desc_dca_en_set(struct aq_hw_s *aq_hw, u32 tx_desc_dca_en, u32 dca) hw_atl_tdm_tx_desc_dca_en_set() argument 1276 hw_atl_tdm_tx_desc_en_set(struct aq_hw_s *aq_hw, u32 tx_desc_en, u32 descriptor) hw_atl_tdm_tx_desc_en_set() argument 1285 hw_atl_tdm_tx_desc_head_ptr_get(struct aq_hw_s *aq_hw, u32 descriptor) hw_atl_tdm_tx_desc_head_ptr_get() argument 1292 hw_atl_tdm_tx_desc_len_set(struct aq_hw_s *aq_hw, u32 tx_desc_len, u32 descriptor) hw_atl_tdm_tx_desc_len_set() argument 1301 hw_atl_tdm_tx_desc_wr_wb_irq_en_set(struct aq_hw_s *aq_hw, u32 tx_desc_wr_wb_irq_en) hw_atl_tdm_tx_desc_wr_wb_irq_en_set() argument 1310 hw_atl_tdm_tx_desc_wr_wb_threshold_set(struct aq_hw_s *aq_hw, u32 tx_desc_wr_wb_threshold, u32 descriptor) hw_atl_tdm_tx_desc_wr_wb_threshold_set() argument 1320 hw_atl_tdm_tdm_intr_moder_en_set(struct aq_hw_s *aq_hw, u32 tdm_irq_moderation_en) hw_atl_tdm_tdm_intr_moder_en_set() argument 1330 hw_atl_thm_lso_tcp_flag_of_first_pkt_set(struct aq_hw_s *aq_hw, u32 lso_tcp_flag_of_first_pkt) hw_atl_thm_lso_tcp_flag_of_first_pkt_set() argument 1339 hw_atl_thm_lso_tcp_flag_of_last_pkt_set(struct aq_hw_s *aq_hw, u32 lso_tcp_flag_of_last_pkt) hw_atl_thm_lso_tcp_flag_of_last_pkt_set() argument 1348 hw_atl_thm_lso_tcp_flag_of_middle_pkt_set(struct aq_hw_s *aq_hw, u32 lso_tcp_flag_of_middle_pkt) hw_atl_thm_lso_tcp_flag_of_middle_pkt_set() argument 1358 hw_atl_tpb_tx_buff_en_set(struct aq_hw_s *aq_hw, u32 tx_buff_en) hw_atl_tpb_tx_buff_en_set() argument 1365 hw_atl_tpb_tps_tx_tc_mode_get(struct aq_hw_s *aq_hw) hw_atl_tpb_tps_tx_tc_mode_get() argument 1372 hw_atl_tpb_tps_tx_tc_mode_set(struct aq_hw_s *aq_hw, u32 tx_traf_class_mode) hw_atl_tpb_tps_tx_tc_mode_set() argument 1381 hw_atl_tpb_tx_buff_hi_threshold_per_tc_set(struct aq_hw_s *aq_hw, u32 tx_buff_hi_threshold_per_tc, u32 buffer) hw_atl_tpb_tx_buff_hi_threshold_per_tc_set() argument 1391 hw_atl_tpb_tx_buff_lo_threshold_per_tc_set(struct aq_hw_s *aq_hw, u32 tx_buff_lo_threshold_per_tc, u32 buffer) hw_atl_tpb_tx_buff_lo_threshold_per_tc_set() argument 1401 hw_atl_tpb_tx_dma_sys_lbk_en_set(struct aq_hw_s *aq_hw, u32 tx_dma_sys_lbk_en) hw_atl_tpb_tx_dma_sys_lbk_en_set() argument 1409 hw_atl_tpb_tx_dma_net_lbk_en_set(struct aq_hw_s *aq_hw, u32 tx_dma_net_lbk_en) hw_atl_tpb_tx_dma_net_lbk_en_set() argument 1418 hw_atl_tpb_tx_tx_clk_gate_en_set(struct aq_hw_s *aq_hw, u32 tx_clk_gate_en) hw_atl_tpb_tx_tx_clk_gate_en_set() argument 1427 hw_atl_tpb_tx_pkt_buff_size_per_tc_set(struct aq_hw_s *aq_hw, u32 tx_pkt_buff_size_per_tc, u32 buffer) hw_atl_tpb_tx_pkt_buff_size_per_tc_set() argument 1437 hw_atl_tpb_tx_path_scp_ins_en_set(struct aq_hw_s *aq_hw, u32 tx_path_scp_ins_en) hw_atl_tpb_tx_path_scp_ins_en_set() argument 1446 hw_atl_tpo_ipv4header_crc_offload_en_set(struct aq_hw_s *aq_hw, u32 ipv4header_crc_offload_en) hw_atl_tpo_ipv4header_crc_offload_en_set() argument 1455 hw_atl_tpo_tcp_udp_crc_offload_en_set(struct aq_hw_s *aq_hw, u32 tcp_udp_crc_offload_en) hw_atl_tpo_tcp_udp_crc_offload_en_set() argument 1464 hw_atl_tpo_tx_pkt_sys_lbk_en_set(struct aq_hw_s *aq_hw, u32 tx_pkt_sys_lbk_en) hw_atl_tpo_tx_pkt_sys_lbk_en_set() argument 1474 hw_atl_tps_tx_pkt_shed_data_arb_mode_set(struct aq_hw_s *aq_hw, u32 tx_pkt_shed_data_arb_mode) hw_atl_tps_tx_pkt_shed_data_arb_mode_set() argument 1483 hw_atl_tps_tx_pkt_shed_desc_rate_curr_time_res_set(struct aq_hw_s *aq_hw, u32 curr_time_res) hw_atl_tps_tx_pkt_shed_desc_rate_curr_time_res_set() argument 1492 hw_atl_tps_tx_pkt_shed_desc_rate_lim_set(struct aq_hw_s *aq_hw, u32 tx_pkt_shed_desc_rate_lim) hw_atl_tps_tx_pkt_shed_desc_rate_lim_set() argument 1501 hw_atl_tps_tx_pkt_shed_desc_tc_arb_mode_set(struct aq_hw_s *aq_hw, u32 arb_mode) hw_atl_tps_tx_pkt_shed_desc_tc_arb_mode_set() argument 1510 hw_atl_tps_tx_pkt_shed_desc_tc_max_credit_set(struct aq_hw_s *aq_hw, const u32 tc, const u32 max_credit) hw_atl_tps_tx_pkt_shed_desc_tc_max_credit_set() argument 1520 hw_atl_tps_tx_pkt_shed_desc_tc_weight_set(struct aq_hw_s *aq_hw, const u32 tc, const u32 weight) hw_atl_tps_tx_pkt_shed_desc_tc_weight_set() argument 1530 hw_atl_tps_tx_pkt_shed_desc_vm_arb_mode_set(struct aq_hw_s *aq_hw, u32 arb_mode) hw_atl_tps_tx_pkt_shed_desc_vm_arb_mode_set() argument 1539 hw_atl_tps_tx_pkt_shed_tc_data_max_credit_set(struct aq_hw_s *aq_hw, const u32 tc, const u32 max_credit) hw_atl_tps_tx_pkt_shed_tc_data_max_credit_set() argument 1549 hw_atl_tps_tx_pkt_shed_tc_data_weight_set(struct aq_hw_s *aq_hw, const u32 tc, const u32 weight) hw_atl_tps_tx_pkt_shed_tc_data_weight_set() argument 1559 hw_atl_tps_tx_desc_rate_mode_set(struct aq_hw_s *aq_hw, const u32 rate_mode) hw_atl_tps_tx_desc_rate_mode_set() argument 1568 hw_atl_tps_tx_desc_rate_en_set(struct aq_hw_s *aq_hw, const u32 desc, const u32 enable) hw_atl_tps_tx_desc_rate_en_set() argument 1577 hw_atl_tps_tx_desc_rate_x_set(struct aq_hw_s *aq_hw, const u32 desc, const u32 rate_int) hw_atl_tps_tx_desc_rate_x_set() argument 1586 hw_atl_tps_tx_desc_rate_y_set(struct aq_hw_s *aq_hw, const u32 desc, const u32 rate_frac) hw_atl_tps_tx_desc_rate_y_set() argument 1596 hw_atl_tx_tx_reg_res_dis_set(struct aq_hw_s *aq_hw, u32 tx_reg_res_dis) hw_atl_tx_tx_reg_res_dis_set() argument 1604 hw_atl_msm_reg_access_status_get(struct aq_hw_s *aq_hw) hw_atl_msm_reg_access_status_get() argument 1611 hw_atl_msm_reg_addr_for_indirect_addr_set(struct aq_hw_s *aq_hw, u32 reg_addr_for_indirect_addr) hw_atl_msm_reg_addr_for_indirect_addr_set() argument 1620 hw_atl_msm_reg_rd_strobe_set(struct aq_hw_s *aq_hw, u32 reg_rd_strobe) hw_atl_msm_reg_rd_strobe_set() argument 1628 hw_atl_msm_reg_rd_data_get(struct aq_hw_s *aq_hw) hw_atl_msm_reg_rd_data_get() argument 1633 hw_atl_msm_reg_wr_data_set(struct aq_hw_s *aq_hw, u32 reg_wr_data) hw_atl_msm_reg_wr_data_set() argument 1638 hw_atl_msm_reg_wr_strobe_set(struct aq_hw_s *aq_hw, u32 reg_wr_strobe) hw_atl_msm_reg_wr_strobe_set() argument 1647 hw_atl_pci_pci_reg_res_dis_set(struct aq_hw_s *aq_hw, u32 pci_reg_res_dis) hw_atl_pci_pci_reg_res_dis_set() argument 1655 hw_atl_reg_glb_cpu_scratch_scp_set(struct aq_hw_s *aq_hw, u32 glb_cpu_scratch_scp, u32 scratch_scp) hw_atl_reg_glb_cpu_scratch_scp_set() argument 1663 hw_atl_pcs_ptp_clock_read_enable(struct aq_hw_s *aq_hw, u32 ptp_clock_read_enable) hw_atl_pcs_ptp_clock_read_enable() argument 1672 hw_atl_pcs_ptp_clock_get(struct aq_hw_s *aq_hw, u32 index) hw_atl_pcs_ptp_clock_get() argument 1677 hw_atl_mcp_up_force_intr_set(struct aq_hw_s *aq_hw, u32 up_force_intr) hw_atl_mcp_up_force_intr_set() argument 1685 hw_atl_rpfl3l4_ipv4_dest_addr_clear(struct aq_hw_s *aq_hw, u8 location) hw_atl_rpfl3l4_ipv4_dest_addr_clear() argument 1690 hw_atl_rpfl3l4_ipv4_src_addr_clear(struct aq_hw_s *aq_hw, u8 location) hw_atl_rpfl3l4_ipv4_src_addr_clear() argument 1695 hw_atl_rpfl3l4_cmd_clear(struct aq_hw_s *aq_hw, u8 location) hw_atl_rpfl3l4_cmd_clear() argument 1700 hw_atl_rpfl3l4_ipv6_dest_addr_clear(struct aq_hw_s *aq_hw, u8 location) hw_atl_rpfl3l4_ipv6_dest_addr_clear() argument 1710 hw_atl_rpfl3l4_ipv6_src_addr_clear(struct aq_hw_s *aq_hw, u8 location) hw_atl_rpfl3l4_ipv6_src_addr_clear() argument 1720 hw_atl_rpfl3l4_ipv4_dest_addr_set(struct aq_hw_s *aq_hw, u8 location, u32 ipv4_dest) hw_atl_rpfl3l4_ipv4_dest_addr_set() argument 1727 hw_atl_rpfl3l4_ipv4_src_addr_set(struct aq_hw_s *aq_hw, u8 location, u32 ipv4_src) hw_atl_rpfl3l4_ipv4_src_addr_set() argument 1735 hw_atl_rpfl3l4_cmd_set(struct aq_hw_s *aq_hw, u8 location, u32 cmd) hw_atl_rpfl3l4_cmd_set() argument 1740 hw_atl_rpfl3l4_ipv6_src_addr_set(struct aq_hw_s *aq_hw, u8 location, u32 *ipv6_src) hw_atl_rpfl3l4_ipv6_src_addr_set() argument 1751 hw_atl_rpfl3l4_ipv6_dest_addr_set(struct aq_hw_s *aq_hw, u8 location, u32 *ipv6_dest) hw_atl_rpfl3l4_ipv6_dest_addr_set() argument 1782 hw_atl_scrpad_get(struct aq_hw_s *aq_hw, u32 scratch_scp) hw_atl_scrpad_get() argument 1798 hw_atl_glb_mdio_iface1_set(struct aq_hw_s *aq_hw, u32 value) hw_atl_glb_mdio_iface1_set() argument 1803 hw_atl_glb_mdio_iface1_get(struct aq_hw_s *aq_hw) hw_atl_glb_mdio_iface1_get() argument 1808 hw_atl_glb_mdio_iface2_set(struct aq_hw_s *aq_hw, u32 value) hw_atl_glb_mdio_iface2_set() argument 1813 hw_atl_glb_mdio_iface2_get(struct aq_hw_s *aq_hw) hw_atl_glb_mdio_iface2_get() argument 1818 hw_atl_glb_mdio_iface3_set(struct aq_hw_s *aq_hw, u32 value) hw_atl_glb_mdio_iface3_set() argument 1823 hw_atl_glb_mdio_iface3_get(struct aq_hw_s *aq_hw) hw_atl_glb_mdio_iface3_get() argument 1828 hw_atl_glb_mdio_iface4_set(struct aq_hw_s *aq_hw, u32 value) hw_atl_glb_mdio_iface4_set() argument 1833 hw_atl_glb_mdio_iface4_get(struct aq_hw_s *aq_hw) hw_atl_glb_mdio_iface4_get() argument 1838 hw_atl_glb_mdio_iface5_set(struct aq_hw_s *aq_hw, u32 value) hw_atl_glb_mdio_iface5_set() argument 1843 hw_atl_glb_mdio_iface5_get(struct aq_hw_s *aq_hw) hw_atl_glb_mdio_iface5_get() argument 1848 hw_atl_mdio_busy_get(struct aq_hw_s *aq_hw) hw_atl_mdio_busy_get() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/aquantia/atlantic/ |
H A D | aq_phy.c | 12 bool aq_mdio_busy_wait(struct aq_hw_s *aq_hw) in aq_mdio_busy_wait() argument 17 err = readx_poll_timeout_atomic(hw_atl_mdio_busy_get, aq_hw, in aq_mdio_busy_wait() 26 u16 aq_mdio_read_word(struct aq_hw_s *aq_hw, u16 mmd, u16 addr) in aq_mdio_read_word() argument 28 u16 phy_addr = aq_hw->phy_id << 5 | mmd; in aq_mdio_read_word() 31 hw_atl_glb_mdio_iface4_set(aq_hw, (addr & HW_ATL_MDIO_ADDRESS_MSK) << in aq_mdio_read_word() 34 hw_atl_glb_mdio_iface2_set(aq_hw, HW_ATL_MDIO_EXECUTE_OPERATION_MSK | in aq_mdio_read_word() 39 aq_mdio_busy_wait(aq_hw); in aq_mdio_read_word() 42 hw_atl_glb_mdio_iface2_set(aq_hw, HW_ATL_MDIO_EXECUTE_OPERATION_MSK | in aq_mdio_read_word() 47 aq_mdio_busy_wait(aq_hw); in aq_mdio_read_word() 49 return (u16)hw_atl_glb_mdio_iface5_get(aq_hw); in aq_mdio_read_word() 52 aq_mdio_write_word(struct aq_hw_s *aq_hw, u16 mmd, u16 addr, u16 data) aq_mdio_write_word() argument 78 aq_phy_read_reg(struct aq_hw_s *aq_hw, u16 mmd, u16 address) aq_phy_read_reg() argument 99 aq_phy_write_reg(struct aq_hw_s *aq_hw, u16 mmd, u16 address, u16 data) aq_phy_write_reg() argument 113 aq_phy_init_phy_id(struct aq_hw_s *aq_hw) aq_phy_init_phy_id() argument 129 aq_phy_init(struct aq_hw_s *aq_hw) aq_phy_init() argument 153 aq_phy_disable_ptp(struct aq_hw_s *aq_hw) aq_phy_disable_ptp() argument [all...] |
H A D | aq_phy.h | 16 #include "aq_hw.h" 20 bool aq_mdio_busy_wait(struct aq_hw_s *aq_hw); 22 u16 aq_mdio_read_word(struct aq_hw_s *aq_hw, u16 mmd, u16 addr); 24 void aq_mdio_write_word(struct aq_hw_s *aq_hw, u16 mmd, u16 addr, u16 data); 26 u16 aq_phy_read_reg(struct aq_hw_s *aq_hw, u16 mmd, u16 address); 28 void aq_phy_write_reg(struct aq_hw_s *aq_hw, u16 mmd, u16 address, u16 data); 30 bool aq_phy_init_phy_id(struct aq_hw_s *aq_hw); 32 bool aq_phy_init(struct aq_hw_s *aq_hw); 34 void aq_phy_disable_ptp(struct aq_hw_s *aq_hw);
|
H A D | aq_vec.c | 15 #include "aq_hw.h" 21 struct aq_hw_s *aq_hw; member 53 self->aq_hw, in aq_vec_poll() 65 err = self->aq_hw_ops->hw_ring_rx_receive(self->aq_hw, in aq_vec_poll() 86 self->aq_hw, in aq_vec_poll() 99 self->aq_hw_ops->hw_irq_enable(self->aq_hw, in aq_vec_poll() 176 struct aq_hw_s *aq_hw) in aq_vec_init() 183 self->aq_hw = aq_hw; in aq_vec_init() 191 err = self->aq_hw_ops->hw_ring_tx_init(self->aq_hw, in aq_vec_init() 175 aq_vec_init(struct aq_vec_s *self, const struct aq_hw_ops *aq_hw_ops, struct aq_hw_s *aq_hw) aq_vec_init() argument [all...] |
H A D | aq_ptp.c | 284 aq_nic->aq_hw_ops->hw_adj_clock_freq(aq_nic->aq_hw, in aq_ptp_adjfine() 304 aq_nic->aq_hw_ops->hw_adj_sys_clock(aq_nic->aq_hw, delta); in aq_ptp_adjtime() 325 aq_nic->aq_hw_ops->hw_get_ptp_ts(aq_nic->aq_hw, &ns); in aq_ptp_gettime() 350 aq_nic->aq_hw_ops->hw_get_ptp_ts(aq_nic->aq_hw, &now); in aq_ptp_settime() 351 aq_nic->aq_hw_ops->hw_adj_sys_clock(aq_nic->aq_hw, (s64)ns - (s64)now); in aq_ptp_settime() 382 aq_nic->aq_hw_ops->hw_gpio_pulse(aq_nic->aq_hw, pin_index, in aq_ptp_hw_pin_conf() 439 aq_nic->aq_hw_ops->hw_get_ptp_ts(aq_nic->aq_hw, &start); in aq_ptp_pps_pin_configure() 456 aq_nic->aq_hw_ops->hw_extts_gpio_enable(aq_nic->aq_hw, 0, in aq_ptp_extts_pin_ctrl() 602 err = hw_ops->hw_filter_l3l4_set(aq_nic->aq_hw, in aq_ptp_hwtstamp_config_set() 606 err = hw_ops->hw_filter_l2_set(aq_nic->aq_hw, in aq_ptp_hwtstamp_config_set() [all...] |
H A D | aq_pci_func.c | 16 #include "aq_hw.h" 253 self->aq_hw = kzalloc(sizeof(*self->aq_hw), GFP_KERNEL); in aq_pci_probe() 254 if (!self->aq_hw) { in aq_pci_probe() 258 self->aq_hw->aq_nic_cfg = aq_nic_get_cfg(self); in aq_pci_probe() 259 if (self->aq_hw->aq_nic_cfg->aq_hw_caps->priv_data_len) { in aq_pci_probe() 260 int len = self->aq_hw->aq_nic_cfg->aq_hw_caps->priv_data_len; in aq_pci_probe() 262 self->aq_hw->priv = kzalloc(len, GFP_KERNEL); in aq_pci_probe() 263 if (!self->aq_hw->priv) { in aq_pci_probe() 285 self->aq_hw in aq_pci_probe() [all...] |
H A D | aq_nic.c | 13 #include "aq_hw.h" 80 if (ATL_HW_IS_CHIP_FEATURE(self->aq_hw, ANTIGUA)) { in aq_nic_cfg_update_num_vecs() 158 int err = self->aq_fw_ops->update_link_status(self->aq_hw); in aq_nic_update_link_status() 165 self->aq_fw_ops->get_flow_control(self->aq_hw, &fc); in aq_nic_update_link_status() 168 if (self->link_status.mbps != self->aq_hw->aq_link_status.mbps) { in aq_nic_update_link_status() 171 self->aq_hw->aq_link_status.mbps); in aq_nic_update_link_status() 177 self->aq_hw->aq_link_status.mbps); in aq_nic_update_link_status() 186 self->aq_hw_ops->hw_set_fc(self->aq_hw, fc, 0); in aq_nic_update_link_status() 189 self->link_status = self->aq_hw->aq_link_status; in aq_nic_update_link_status() 200 self->aq_hw_ops->hw_tc_rate_limit_set(self->aq_hw); in aq_nic_update_link_status() [all...] |
H A D | aq_hw_utils.c | 16 #include "aq_hw.h" 19 void aq_hw_write_reg_bit(struct aq_hw_s *aq_hw, u32 addr, u32 msk, in aq_hw_write_reg_bit() argument 25 reg_old = aq_hw_read_reg(aq_hw, addr); in aq_hw_write_reg_bit() 29 aq_hw_write_reg(aq_hw, addr, reg_new); in aq_hw_write_reg_bit() 31 aq_hw_write_reg(aq_hw, addr, val); in aq_hw_write_reg_bit() 35 u32 aq_hw_read_reg_bit(struct aq_hw_s *aq_hw, u32 addr, u32 msk, u32 shift) in aq_hw_read_reg_bit() argument 37 return ((aq_hw_read_reg(aq_hw, addr) & msk) >> shift); in aq_hw_read_reg_bit()
|
H A D | aq_filters.c | 334 struct aq_hw_s *aq_hw = aq_nic->aq_hw; in aq_add_del_fether() local 345 return aq_hw_ops->hw_filter_l2_set(aq_hw, &data); in aq_add_del_fether() 347 return aq_hw_ops->hw_filter_l2_clear(aq_hw, &data); in aq_add_del_fether() 563 static int aq_set_fl3l4(struct aq_hw_s *aq_hw, in aq_set_fl3l4() argument 570 return aq_hw_ops->hw_filter_l3l4_set(aq_hw, data); in aq_set_fl3l4() 577 struct aq_hw_s *aq_hw = aq_nic->aq_hw; in aq_add_del_fl3l4() local 585 return aq_set_fl3l4(aq_hw, aq_hw_ops, &data); in aq_add_del_fl3l4() 826 struct aq_hw_s *aq_hw in aq_filters_vlans_update() local 871 struct aq_hw_s *aq_hw = aq_nic->aq_hw; aq_filters_vlan_offload_off() local [all...] |
H A D | aq_drvinfo.c | 45 err = aq_nic->aq_fw_ops->get_phy_temp(aq_nic->aq_hw, &temp); in aq_hwmon_read() 54 err = aq_nic->aq_fw_ops->get_mac_temp(aq_nic->aq_hw, &temp); in aq_hwmon_read() 56 err = aq_nic->aq_hw_ops->hw_get_mac_temp(aq_nic->aq_hw, &temp); in aq_hwmon_read()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/aquantia/atlantic/ |
H A D | aq_phy.c | 12 bool aq_mdio_busy_wait(struct aq_hw_s *aq_hw) in aq_mdio_busy_wait() argument 17 err = readx_poll_timeout_atomic(hw_atl_mdio_busy_get, aq_hw, in aq_mdio_busy_wait() 26 u16 aq_mdio_read_word(struct aq_hw_s *aq_hw, u16 mmd, u16 addr) in aq_mdio_read_word() argument 28 u16 phy_addr = aq_hw->phy_id << 5 | mmd; in aq_mdio_read_word() 31 hw_atl_glb_mdio_iface4_set(aq_hw, (addr & HW_ATL_MDIO_ADDRESS_MSK) << in aq_mdio_read_word() 34 hw_atl_glb_mdio_iface2_set(aq_hw, HW_ATL_MDIO_EXECUTE_OPERATION_MSK | in aq_mdio_read_word() 39 aq_mdio_busy_wait(aq_hw); in aq_mdio_read_word() 42 hw_atl_glb_mdio_iface2_set(aq_hw, HW_ATL_MDIO_EXECUTE_OPERATION_MSK | in aq_mdio_read_word() 47 aq_mdio_busy_wait(aq_hw); in aq_mdio_read_word() 49 return (u16)hw_atl_glb_mdio_iface5_get(aq_hw); in aq_mdio_read_word() 52 aq_mdio_write_word(struct aq_hw_s *aq_hw, u16 mmd, u16 addr, u16 data) aq_mdio_write_word() argument 78 aq_phy_read_reg(struct aq_hw_s *aq_hw, u16 mmd, u16 address) aq_phy_read_reg() argument 99 aq_phy_write_reg(struct aq_hw_s *aq_hw, u16 mmd, u16 address, u16 data) aq_phy_write_reg() argument 113 aq_phy_init_phy_id(struct aq_hw_s *aq_hw) aq_phy_init_phy_id() argument 129 aq_phy_init(struct aq_hw_s *aq_hw) aq_phy_init() argument 153 aq_phy_disable_ptp(struct aq_hw_s *aq_hw) aq_phy_disable_ptp() argument [all...] |
H A D | aq_phy.h | 16 #include "aq_hw.h" 20 bool aq_mdio_busy_wait(struct aq_hw_s *aq_hw); 22 u16 aq_mdio_read_word(struct aq_hw_s *aq_hw, u16 mmd, u16 addr); 24 void aq_mdio_write_word(struct aq_hw_s *aq_hw, u16 mmd, u16 addr, u16 data); 26 u16 aq_phy_read_reg(struct aq_hw_s *aq_hw, u16 mmd, u16 address); 28 void aq_phy_write_reg(struct aq_hw_s *aq_hw, u16 mmd, u16 address, u16 data); 30 bool aq_phy_init_phy_id(struct aq_hw_s *aq_hw); 32 bool aq_phy_init(struct aq_hw_s *aq_hw); 34 void aq_phy_disable_ptp(struct aq_hw_s *aq_hw);
|
H A D | aq_vec.c | 16 struct aq_hw_s *aq_hw; member 48 self->aq_hw, in aq_vec_poll() 60 err = self->aq_hw_ops->hw_ring_rx_receive(self->aq_hw, in aq_vec_poll() 81 self->aq_hw, in aq_vec_poll() 94 self->aq_hw_ops->hw_irq_enable(self->aq_hw, in aq_vec_poll() 181 struct aq_hw_s *aq_hw) in aq_vec_init() 188 self->aq_hw = aq_hw; in aq_vec_init() 196 err = self->aq_hw_ops->hw_ring_tx_init(self->aq_hw, in aq_vec_init() 206 err = self->aq_hw_ops->hw_ring_rx_init(self->aq_hw, in aq_vec_init() 180 aq_vec_init(struct aq_vec_s *self, const struct aq_hw_ops *aq_hw_ops, struct aq_hw_s *aq_hw) aq_vec_init() argument [all...] |
H A D | aq_ptp.c | 284 aq_nic->aq_hw_ops->hw_adj_clock_freq(aq_nic->aq_hw, in aq_ptp_adjfine() 304 aq_nic->aq_hw_ops->hw_adj_sys_clock(aq_nic->aq_hw, delta); in aq_ptp_adjtime() 325 aq_nic->aq_hw_ops->hw_get_ptp_ts(aq_nic->aq_hw, &ns); in aq_ptp_gettime() 350 aq_nic->aq_hw_ops->hw_get_ptp_ts(aq_nic->aq_hw, &now); in aq_ptp_settime() 351 aq_nic->aq_hw_ops->hw_adj_sys_clock(aq_nic->aq_hw, (s64)ns - (s64)now); in aq_ptp_settime() 382 aq_nic->aq_hw_ops->hw_gpio_pulse(aq_nic->aq_hw, pin_index, in aq_ptp_hw_pin_conf() 439 aq_nic->aq_hw_ops->hw_get_ptp_ts(aq_nic->aq_hw, &start); in aq_ptp_pps_pin_configure() 456 aq_nic->aq_hw_ops->hw_extts_gpio_enable(aq_nic->aq_hw, 0, in aq_ptp_extts_pin_ctrl() 602 err = hw_ops->hw_filter_l3l4_set(aq_nic->aq_hw, in aq_ptp_hwtstamp_config_set() 606 err = hw_ops->hw_filter_l2_set(aq_nic->aq_hw, in aq_ptp_hwtstamp_config_set() [all...] |
H A D | aq_pci_func.c | 16 #include "aq_hw.h" 247 self->aq_hw = kzalloc(sizeof(*self->aq_hw), GFP_KERNEL); in aq_pci_probe() 248 if (!self->aq_hw) { in aq_pci_probe() 252 self->aq_hw->aq_nic_cfg = aq_nic_get_cfg(self); in aq_pci_probe() 253 if (self->aq_hw->aq_nic_cfg->aq_hw_caps->priv_data_len) { in aq_pci_probe() 254 int len = self->aq_hw->aq_nic_cfg->aq_hw_caps->priv_data_len; in aq_pci_probe() 256 self->aq_hw->priv = kzalloc(len, GFP_KERNEL); in aq_pci_probe() 257 if (!self->aq_hw->priv) { in aq_pci_probe() 279 self->aq_hw in aq_pci_probe() [all...] |
H A D | aq_nic.c | 13 #include "aq_hw.h" 80 if (ATL_HW_IS_CHIP_FEATURE(self->aq_hw, ANTIGUA)) { in aq_nic_cfg_update_num_vecs() 158 int err = self->aq_fw_ops->update_link_status(self->aq_hw); in aq_nic_update_link_status() 165 self->aq_fw_ops->get_flow_control(self->aq_hw, &fc); in aq_nic_update_link_status() 168 if (self->link_status.mbps != self->aq_hw->aq_link_status.mbps) { in aq_nic_update_link_status() 171 self->aq_hw->aq_link_status.mbps); in aq_nic_update_link_status() 177 self->aq_hw->aq_link_status.mbps); in aq_nic_update_link_status() 186 self->aq_hw_ops->hw_set_fc(self->aq_hw, fc, 0); in aq_nic_update_link_status() 189 self->link_status = self->aq_hw->aq_link_status; in aq_nic_update_link_status() 200 self->aq_hw_ops->hw_tc_rate_limit_set(self->aq_hw); in aq_nic_update_link_status() [all...] |
H A D | aq_hw_utils.c | 16 #include "aq_hw.h" 19 void aq_hw_write_reg_bit(struct aq_hw_s *aq_hw, u32 addr, u32 msk, in aq_hw_write_reg_bit() argument 25 reg_old = aq_hw_read_reg(aq_hw, addr); in aq_hw_write_reg_bit() 29 aq_hw_write_reg(aq_hw, addr, reg_new); in aq_hw_write_reg_bit() 31 aq_hw_write_reg(aq_hw, addr, val); in aq_hw_write_reg_bit() 35 u32 aq_hw_read_reg_bit(struct aq_hw_s *aq_hw, u32 addr, u32 msk, u32 shift) in aq_hw_read_reg_bit() argument 37 return ((aq_hw_read_reg(aq_hw, addr) & msk) >> shift); in aq_hw_read_reg_bit()
|
H A D | aq_filters.c | 334 struct aq_hw_s *aq_hw = aq_nic->aq_hw; in aq_add_del_fether() local 345 return aq_hw_ops->hw_filter_l2_set(aq_hw, &data); in aq_add_del_fether() 347 return aq_hw_ops->hw_filter_l2_clear(aq_hw, &data); in aq_add_del_fether() 563 static int aq_set_fl3l4(struct aq_hw_s *aq_hw, in aq_set_fl3l4() argument 570 return aq_hw_ops->hw_filter_l3l4_set(aq_hw, data); in aq_set_fl3l4() 577 struct aq_hw_s *aq_hw = aq_nic->aq_hw; in aq_add_del_fl3l4() local 585 return aq_set_fl3l4(aq_hw, aq_hw_ops, &data); in aq_add_del_fl3l4() 826 struct aq_hw_s *aq_hw in aq_filters_vlans_update() local 869 struct aq_hw_s *aq_hw = aq_nic->aq_hw; aq_filters_vlan_offload_off() local [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/aquantia/atlantic/hw_atl2/ |
H A D | hw_atl2_llh.c | 10 void hw_atl2_rpf_redirection_table2_select_set(struct aq_hw_s *aq_hw, in hw_atl2_rpf_redirection_table2_select_set() argument 13 aq_hw_write_reg_bit(aq_hw, HW_ATL2_RPF_PIF_RPF_REDIR2_ENI_ADR, in hw_atl2_rpf_redirection_table2_select_set() 18 void hw_atl2_rpf_rss_hash_type_set(struct aq_hw_s *aq_hw, u32 rss_hash_type) in hw_atl2_rpf_rss_hash_type_set() argument 20 aq_hw_write_reg_bit(aq_hw, HW_ATL2_RPF_PIF_RPF_RSS_HASH_TYPEI_ADR, in hw_atl2_rpf_rss_hash_type_set() 28 void hw_atl2_rpf_new_enable_set(struct aq_hw_s *aq_hw, u32 enable) in hw_atl2_rpf_new_enable_set() argument 30 aq_hw_write_reg_bit(aq_hw, HW_ATL2_RPF_NEW_EN_ADR, in hw_atl2_rpf_new_enable_set() 36 void hw_atl2_rpfl2_uc_flr_tag_set(struct aq_hw_s *aq_hw, u32 tag, u32 filter) in hw_atl2_rpfl2_uc_flr_tag_set() argument 38 aq_hw_write_reg_bit(aq_hw, HW_ATL2_RPFL2UC_TAG_ADR(filter), in hw_atl2_rpfl2_uc_flr_tag_set() 44 void hw_atl2_rpfl2_bc_flr_tag_set(struct aq_hw_s *aq_hw, u32 tag) in hw_atl2_rpfl2_bc_flr_tag_set() argument 46 aq_hw_write_reg_bit(aq_hw, HW_ATL2_RPF_L2_BC_TAG_AD in hw_atl2_rpfl2_bc_flr_tag_set() 52 hw_atl2_new_rpf_rss_redir_set(struct aq_hw_s *aq_hw, u32 tc, u32 index, u32 queue) hw_atl2_new_rpf_rss_redir_set() argument 61 hw_atl2_rpf_vlan_flr_tag_set(struct aq_hw_s *aq_hw, u32 tag, u32 filter) hw_atl2_rpf_vlan_flr_tag_set() argument 71 hw_atl2_tpb_tx_tc_q_rand_map_en_set(struct aq_hw_s *aq_hw, const u32 tc_q_rand_map_en) hw_atl2_tpb_tx_tc_q_rand_map_en_set() argument 80 hw_atl2_tpb_tx_buf_clk_gate_en_set(struct aq_hw_s *aq_hw, u32 clk_gate_en) hw_atl2_tpb_tx_buf_clk_gate_en_set() argument 88 hw_atl2_reg_tx_intr_moder_ctrl_set(struct aq_hw_s *aq_hw, u32 tx_intr_moderation_ctl, u32 queue) hw_atl2_reg_tx_intr_moder_ctrl_set() argument 96 hw_atl2_tps_tx_pkt_shed_data_arb_mode_set(struct aq_hw_s *aq_hw, const u32 data_arb_mode) hw_atl2_tps_tx_pkt_shed_data_arb_mode_set() argument 105 hw_atl2_tps_tx_pkt_shed_tc_data_max_credit_set(struct aq_hw_s *aq_hw, const u32 tc, const u32 max_credit) hw_atl2_tps_tx_pkt_shed_tc_data_max_credit_set() argument 115 hw_atl2_tps_tx_pkt_shed_tc_data_weight_set(struct aq_hw_s *aq_hw, const u32 tc, const u32 weight) hw_atl2_tps_tx_pkt_shed_tc_data_weight_set() argument 125 hw_atl2_get_hw_version(struct aq_hw_s *aq_hw) hw_atl2_get_hw_version() argument 130 hw_atl2_init_launchtime(struct aq_hw_s *aq_hw) hw_atl2_init_launchtime() argument 145 hw_atl2_rpf_act_rslvr_record_set(struct aq_hw_s *aq_hw, u8 location, u32 tag, u32 mask, u32 action) hw_atl2_rpf_act_rslvr_record_set() argument 159 hw_atl2_rpf_act_rslvr_section_en_set(struct aq_hw_s *aq_hw, u32 sections) hw_atl2_rpf_act_rslvr_section_en_set() argument 167 hw_atl2_mif_shared_buf_get(struct aq_hw_s *aq_hw, int offset, u32 *data, int len) hw_atl2_mif_shared_buf_get() argument 178 hw_atl2_mif_shared_buf_write(struct aq_hw_s *aq_hw, int offset, u32 *data, int len) hw_atl2_mif_shared_buf_write() argument 189 hw_atl2_mif_shared_buf_read(struct aq_hw_s *aq_hw, int offset, u32 *data, int len) hw_atl2_mif_shared_buf_read() argument 200 hw_atl2_mif_host_finished_write_set(struct aq_hw_s *aq_hw, u32 finish) hw_atl2_mif_host_finished_write_set() argument 208 hw_atl2_mif_mcp_finished_read_get(struct aq_hw_s *aq_hw) hw_atl2_mif_mcp_finished_read_get() argument 215 hw_atl2_mif_mcp_boot_reg_get(struct aq_hw_s *aq_hw) hw_atl2_mif_mcp_boot_reg_get() argument 220 hw_atl2_mif_mcp_boot_reg_set(struct aq_hw_s *aq_hw, u32 val) hw_atl2_mif_mcp_boot_reg_set() argument 225 hw_atl2_mif_host_req_int_get(struct aq_hw_s *aq_hw) hw_atl2_mif_host_req_int_get() argument 230 hw_atl2_mif_host_req_int_clr(struct aq_hw_s *aq_hw, u32 val) hw_atl2_mif_host_req_int_clr() argument [all...] |
H A D | hw_atl2_llh.h | 14 void hw_atl2_reg_tx_intr_moder_ctrl_set(struct aq_hw_s *aq_hw, 19 void hw_atl2_rpf_redirection_table2_select_set(struct aq_hw_s *aq_hw, 23 void hw_atl2_rpf_rss_hash_type_set(struct aq_hw_s *aq_hw, u32 rss_hash_type); 26 void hw_atl2_rpf_new_enable_set(struct aq_hw_s *aq_hw, u32 enable); 29 void hw_atl2_rpfl2_uc_flr_tag_set(struct aq_hw_s *aq_hw, u32 tag, u32 filter); 32 void hw_atl2_rpfl2_bc_flr_tag_set(struct aq_hw_s *aq_hw, u32 tag); 35 void hw_atl2_new_rpf_rss_redir_set(struct aq_hw_s *aq_hw, u32 tc, u32 index, 39 void hw_atl2_rpf_vlan_flr_tag_set(struct aq_hw_s *aq_hw, u32 tag, u32 filter); 42 void hw_atl2_tpb_tx_tc_q_rand_map_en_set(struct aq_hw_s *aq_hw, 46 void hw_atl2_tpb_tx_buf_clk_gate_en_set(struct aq_hw_s *aq_hw, u3 [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/aquantia/atlantic/hw_atl2/ |
H A D | hw_atl2_llh.c | 10 void hw_atl2_rpf_redirection_table2_select_set(struct aq_hw_s *aq_hw, in hw_atl2_rpf_redirection_table2_select_set() argument 13 aq_hw_write_reg_bit(aq_hw, HW_ATL2_RPF_PIF_RPF_REDIR2_ENI_ADR, in hw_atl2_rpf_redirection_table2_select_set() 18 void hw_atl2_rpf_rss_hash_type_set(struct aq_hw_s *aq_hw, u32 rss_hash_type) in hw_atl2_rpf_rss_hash_type_set() argument 20 aq_hw_write_reg_bit(aq_hw, HW_ATL2_RPF_PIF_RPF_RSS_HASH_TYPEI_ADR, in hw_atl2_rpf_rss_hash_type_set() 28 void hw_atl2_rpf_new_enable_set(struct aq_hw_s *aq_hw, u32 enable) in hw_atl2_rpf_new_enable_set() argument 30 aq_hw_write_reg_bit(aq_hw, HW_ATL2_RPF_NEW_EN_ADR, in hw_atl2_rpf_new_enable_set() 36 void hw_atl2_rpfl2_uc_flr_tag_set(struct aq_hw_s *aq_hw, u32 tag, u32 filter) in hw_atl2_rpfl2_uc_flr_tag_set() argument 38 aq_hw_write_reg_bit(aq_hw, HW_ATL2_RPFL2UC_TAG_ADR(filter), in hw_atl2_rpfl2_uc_flr_tag_set() 44 void hw_atl2_rpfl2_bc_flr_tag_set(struct aq_hw_s *aq_hw, u32 tag) in hw_atl2_rpfl2_bc_flr_tag_set() argument 46 aq_hw_write_reg_bit(aq_hw, HW_ATL2_RPF_L2_BC_TAG_AD in hw_atl2_rpfl2_bc_flr_tag_set() 52 hw_atl2_new_rpf_rss_redir_set(struct aq_hw_s *aq_hw, u32 tc, u32 index, u32 queue) hw_atl2_new_rpf_rss_redir_set() argument 61 hw_atl2_rpf_vlan_flr_tag_set(struct aq_hw_s *aq_hw, u32 tag, u32 filter) hw_atl2_rpf_vlan_flr_tag_set() argument 71 hw_atl2_tpb_tx_tc_q_rand_map_en_set(struct aq_hw_s *aq_hw, const u32 tc_q_rand_map_en) hw_atl2_tpb_tx_tc_q_rand_map_en_set() argument 80 hw_atl2_tpb_tx_buf_clk_gate_en_set(struct aq_hw_s *aq_hw, u32 clk_gate_en) hw_atl2_tpb_tx_buf_clk_gate_en_set() argument 88 hw_atl2_reg_tx_intr_moder_ctrl_set(struct aq_hw_s *aq_hw, u32 tx_intr_moderation_ctl, u32 queue) hw_atl2_reg_tx_intr_moder_ctrl_set() argument 96 hw_atl2_tps_tx_pkt_shed_data_arb_mode_set(struct aq_hw_s *aq_hw, const u32 data_arb_mode) hw_atl2_tps_tx_pkt_shed_data_arb_mode_set() argument 105 hw_atl2_tps_tx_pkt_shed_tc_data_max_credit_set(struct aq_hw_s *aq_hw, const u32 tc, const u32 max_credit) hw_atl2_tps_tx_pkt_shed_tc_data_max_credit_set() argument 115 hw_atl2_tps_tx_pkt_shed_tc_data_weight_set(struct aq_hw_s *aq_hw, const u32 tc, const u32 weight) hw_atl2_tps_tx_pkt_shed_tc_data_weight_set() argument 125 hw_atl2_get_hw_version(struct aq_hw_s *aq_hw) hw_atl2_get_hw_version() argument 130 hw_atl2_init_launchtime(struct aq_hw_s *aq_hw) hw_atl2_init_launchtime() argument 145 hw_atl2_rpf_act_rslvr_record_set(struct aq_hw_s *aq_hw, u8 location, u32 tag, u32 mask, u32 action) hw_atl2_rpf_act_rslvr_record_set() argument 159 hw_atl2_rpf_act_rslvr_section_en_set(struct aq_hw_s *aq_hw, u32 sections) hw_atl2_rpf_act_rslvr_section_en_set() argument 167 hw_atl2_mif_shared_buf_get(struct aq_hw_s *aq_hw, int offset, u32 *data, int len) hw_atl2_mif_shared_buf_get() argument 178 hw_atl2_mif_shared_buf_write(struct aq_hw_s *aq_hw, int offset, u32 *data, int len) hw_atl2_mif_shared_buf_write() argument 189 hw_atl2_mif_shared_buf_read(struct aq_hw_s *aq_hw, int offset, u32 *data, int len) hw_atl2_mif_shared_buf_read() argument 200 hw_atl2_mif_host_finished_write_set(struct aq_hw_s *aq_hw, u32 finish) hw_atl2_mif_host_finished_write_set() argument 208 hw_atl2_mif_mcp_finished_read_get(struct aq_hw_s *aq_hw) hw_atl2_mif_mcp_finished_read_get() argument 215 hw_atl2_mif_mcp_boot_reg_get(struct aq_hw_s *aq_hw) hw_atl2_mif_mcp_boot_reg_get() argument 220 hw_atl2_mif_mcp_boot_reg_set(struct aq_hw_s *aq_hw, u32 val) hw_atl2_mif_mcp_boot_reg_set() argument 225 hw_atl2_mif_host_req_int_get(struct aq_hw_s *aq_hw) hw_atl2_mif_host_req_int_get() argument 230 hw_atl2_mif_host_req_int_clr(struct aq_hw_s *aq_hw, u32 val) hw_atl2_mif_host_req_int_clr() argument [all...] |
H A D | hw_atl2_llh.h | 14 void hw_atl2_reg_tx_intr_moder_ctrl_set(struct aq_hw_s *aq_hw, 19 void hw_atl2_rpf_redirection_table2_select_set(struct aq_hw_s *aq_hw, 23 void hw_atl2_rpf_rss_hash_type_set(struct aq_hw_s *aq_hw, u32 rss_hash_type); 26 void hw_atl2_rpf_new_enable_set(struct aq_hw_s *aq_hw, u32 enable); 29 void hw_atl2_rpfl2_uc_flr_tag_set(struct aq_hw_s *aq_hw, u32 tag, u32 filter); 32 void hw_atl2_rpfl2_bc_flr_tag_set(struct aq_hw_s *aq_hw, u32 tag); 35 void hw_atl2_new_rpf_rss_redir_set(struct aq_hw_s *aq_hw, u32 tc, u32 index, 39 void hw_atl2_rpf_vlan_flr_tag_set(struct aq_hw_s *aq_hw, u32 tag, u32 filter); 42 void hw_atl2_tpb_tx_tc_q_rand_map_en_set(struct aq_hw_s *aq_hw, 46 void hw_atl2_tpb_tx_buf_clk_gate_en_set(struct aq_hw_s *aq_hw, u3 [all...] |