• Home
  • Raw
  • Download

Lines Matching refs:dsaf_device

45 int hns_dsaf_get_cfg(struct dsaf_device *dsaf_dev)  in hns_dsaf_get_cfg()
216 static void hns_dsaf_sbm_link_sram_init_en(struct dsaf_device *dsaf_dev) in hns_dsaf_sbm_link_sram_init_en()
227 hns_dsaf_reg_cnt_clr_ce(struct dsaf_device *dsaf_dev, u32 reg_cnt_clr_ce) in hns_dsaf_reg_cnt_clr_ce()
239 hns_dsaf_ppe_qid_cfg(struct dsaf_device *dsaf_dev, u32 qid_cfg) in hns_dsaf_ppe_qid_cfg()
251 static void hns_dsaf_mix_def_qid_cfg(struct dsaf_device *dsaf_dev) in hns_dsaf_mix_def_qid_cfg()
268 static void hns_dsaf_inner_qid_cfg(struct dsaf_device *dsaf_dev) in hns_dsaf_inner_qid_cfg()
295 static void hns_dsaf_sw_port_type_cfg(struct dsaf_device *dsaf_dev, in hns_dsaf_sw_port_type_cfg()
313 static void hns_dsaf_stp_port_type_cfg(struct dsaf_device *dsaf_dev, in hns_dsaf_stp_port_type_cfg()
332 static void hns_dsaf_sbm_cfg(struct dsaf_device *dsaf_dev) in hns_dsaf_sbm_cfg()
351 static int hns_dsaf_sbm_cfg_mib_en(struct dsaf_device *dsaf_dev) in hns_dsaf_sbm_cfg_mib_en()
396 static void hns_dsaf_sbm_bp_wl_cfg(struct dsaf_device *dsaf_dev) in hns_dsaf_sbm_bp_wl_cfg()
475 static void hns_dsafv2_sbm_bp_wl_cfg(struct dsaf_device *dsaf_dev) in hns_dsafv2_sbm_bp_wl_cfg()
565 static void hns_dsaf_voq_bp_all_thrd_cfg(struct dsaf_device *dsaf_dev) in hns_dsaf_voq_bp_all_thrd_cfg()
600 struct dsaf_device *dsaf_dev, in hns_dsaf_tbl_tcam_data_cfg()
615 struct dsaf_device *dsaf_dev, in hns_dsaf_tbl_tcam_mcast_cfg()
649 struct dsaf_device *dsaf_dev, in hns_dsaf_tbl_tcam_ucast_cfg()
674 static void hns_dsaf_tbl_line_cfg(struct dsaf_device *dsaf_dev, in hns_dsaf_tbl_line_cfg()
694 static void hns_dsaf_tbl_tcam_mcast_pul(struct dsaf_device *dsaf_dev) in hns_dsaf_tbl_tcam_mcast_pul()
709 static void hns_dsaf_tbl_line_pul(struct dsaf_device *dsaf_dev) in hns_dsaf_tbl_line_pul()
725 struct dsaf_device *dsaf_dev) in hns_dsaf_tbl_tcam_data_mcast_pul()
743 struct dsaf_device *dsaf_dev) in hns_dsaf_tbl_tcam_data_ucast_pul()
756 void hns_dsaf_set_promisc_mode(struct dsaf_device *dsaf_dev, u32 en) in hns_dsaf_set_promisc_mode()
768 static void hns_dsaf_tbl_stat_en(struct dsaf_device *dsaf_dev) in hns_dsaf_tbl_stat_en()
784 static void hns_dsaf_rocee_bp_en(struct dsaf_device *dsaf_dev) in hns_dsaf_rocee_bp_en()
792 static void hns_dsaf_int_xge_msk_set(struct dsaf_device *dsaf_dev, in hns_dsaf_int_xge_msk_set()
799 static void hns_dsaf_int_ppe_msk_set(struct dsaf_device *dsaf_dev, in hns_dsaf_int_ppe_msk_set()
806 static void hns_dsaf_int_rocee_msk_set(struct dsaf_device *dsaf_dev, in hns_dsaf_int_rocee_msk_set()
814 hns_dsaf_int_tbl_msk_set(struct dsaf_device *dsaf_dev, u32 msk_set) in hns_dsaf_int_tbl_msk_set()
820 static void hns_dsaf_int_xge_src_clr(struct dsaf_device *dsaf_dev, in hns_dsaf_int_xge_src_clr()
827 static void hns_dsaf_int_ppe_src_clr(struct dsaf_device *dsaf_dev, in hns_dsaf_int_ppe_src_clr()
834 static void hns_dsaf_int_rocee_src_clr(struct dsaf_device *dsaf_dev, in hns_dsaf_int_rocee_src_clr()
841 static void hns_dsaf_int_tbl_src_clr(struct dsaf_device *dsaf_dev, in hns_dsaf_int_tbl_src_clr()
854 struct dsaf_device *dsaf_dev, in hns_dsaf_single_line_tbl_cfg()
878 struct dsaf_device *dsaf_dev, u32 address, in hns_dsaf_tcam_uc_cfg()
904 struct dsaf_device *dsaf_dev, u32 address, in hns_dsaf_tcam_mc_cfg()
927 static void hns_dsaf_tcam_mc_invld(struct dsaf_device *dsaf_dev, u32 address) in hns_dsaf_tcam_mc_invld()
955 struct dsaf_device *dsaf_dev, u32 address, in hns_dsaf_tcam_uc_get()
1008 struct dsaf_device *dsaf_dev, u32 address, in hns_dsaf_tcam_mc_get()
1054 static void hns_dsaf_tbl_line_init(struct dsaf_device *dsaf_dev) in hns_dsaf_tbl_line_init()
1068 static void hns_dsaf_tbl_tcam_init(struct dsaf_device *dsaf_dev) in hns_dsaf_tbl_tcam_init()
1083 static void hns_dsaf_pfc_en_cfg(struct dsaf_device *dsaf_dev, in hns_dsaf_pfc_en_cfg()
1089 static void hns_dsaf_set_pfc_pause(struct dsaf_device *dsaf_dev, in hns_dsaf_set_pfc_pause()
1105 int hns_dsaf_set_rx_mac_pause_en(struct dsaf_device *dsaf_dev, int mac_id, in hns_dsaf_set_rx_mac_pause_en()
1121 void hns_dsaf_get_rx_mac_pause_en(struct dsaf_device *dsaf_dev, int mac_id, in hns_dsaf_get_rx_mac_pause_en()
1137 static void hns_dsaf_comm_init(struct dsaf_device *dsaf_dev) in hns_dsaf_comm_init()
1190 static void hns_dsaf_inode_init(struct dsaf_device *dsaf_dev) in hns_dsaf_inode_init()
1242 static int hns_dsaf_sbm_init(struct dsaf_device *dsaf_dev) in hns_dsaf_sbm_init()
1296 static void hns_dsaf_tbl_init(struct dsaf_device *dsaf_dev) in hns_dsaf_tbl_init()
1308 static void hns_dsaf_voq_init(struct dsaf_device *dsaf_dev) in hns_dsaf_voq_init()
1317 static int hns_dsaf_init_hw(struct dsaf_device *dsaf_dev) in hns_dsaf_init_hw()
1351 static void hns_dsaf_remove_hw(struct dsaf_device *dsaf_dev) in hns_dsaf_remove_hw()
1362 static int hns_dsaf_init(struct dsaf_device *dsaf_dev) in hns_dsaf_init()
1400 static void hns_dsaf_free(struct dsaf_device *dsaf_dev) in hns_dsaf_free()
1418 struct dsaf_device *dsaf_dev, in hns_dsaf_find_soft_mac_entry()
1444 static u16 hns_dsaf_find_empty_mac_entry(struct dsaf_device *dsaf_dev) in hns_dsaf_find_empty_mac_entry()
1472 struct dsaf_device *dsaf_dev, in hns_dsaf_set_mac_key()
1501 struct dsaf_device *dsaf_dev, in hns_dsaf_set_mac_uc_entry()
1570 struct dsaf_device *dsaf_dev, in hns_dsaf_set_mac_mc_entry()
1644 int hns_dsaf_add_mac_mc_port(struct dsaf_device *dsaf_dev, in hns_dsaf_add_mac_mc_port()
1731 int hns_dsaf_del_mac_entry(struct dsaf_device *dsaf_dev, u16 vlan_id, in hns_dsaf_del_mac_entry()
1780 int hns_dsaf_del_mac_mc_port(struct dsaf_device *dsaf_dev, in hns_dsaf_del_mac_mc_port()
1874 int hns_dsaf_get_mac_uc_entry(struct dsaf_device *dsaf_dev, in hns_dsaf_get_mac_uc_entry()
1922 int hns_dsaf_get_mac_mc_entry(struct dsaf_device *dsaf_dev, in hns_dsaf_get_mac_mc_entry()
1972 struct dsaf_device *dsaf_dev, in hns_dsaf_get_mac_entry_by_index()
2016 static struct dsaf_device *hns_dsaf_alloc_dev(struct device *dev, in hns_dsaf_alloc_dev()
2019 struct dsaf_device *dsaf_dev; in hns_dsaf_alloc_dev()
2037 static void hns_dsaf_free_dev(struct dsaf_device *dsaf_dev) in hns_dsaf_free_dev()
2048 static void hns_dsaf_pfc_unit_cnt(struct dsaf_device *dsaf_dev, int mac_id, in hns_dsaf_pfc_unit_cnt()
2078 void hns_dsaf_port_work_rate_cfg(struct dsaf_device *dsaf_dev, int mac_id, in hns_dsaf_port_work_rate_cfg()
2105 struct dsaf_device *dsaf_dev = mac_cb->dsaf_dev; in hns_dsaf_fix_mac_mode()
2130 void hns_dsaf_update_stats(struct dsaf_device *dsaf_dev, u32 node_num) in hns_dsaf_update_stats()
2191 void hns_dsaf_get_regs(struct dsaf_device *ddev, u32 port, void *data) in hns_dsaf_get_regs()
2520 struct dsaf_device *dsaf_dev) in hns_dsaf_get_node_stats_strings()
2570 static u64 *hns_dsaf_get_node_stats(struct dsaf_device *ddev, u64 *data, in hns_dsaf_get_node_stats()
2610 void hns_dsaf_get_stats(struct dsaf_device *ddev, u64 *data, int port) in hns_dsaf_get_stats()
2628 int hns_dsaf_get_sset_count(struct dsaf_device *dsaf_dev, int stringset) in hns_dsaf_get_sset_count()
2648 struct dsaf_device *dsaf_dev) in hns_dsaf_get_strings()
2680 struct dsaf_device *dsaf_dev; in hns_dsaf_probe()
2734 struct dsaf_device *dsaf_dev = dev_get_drvdata(&pdev->dev); in hns_dsaf_remove()
2776 struct dsaf_device *dsaf_dev; in hns_dsaf_roce_reset()