dsaf_device 25 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c static struct dsaf_device *hns_ae_get_dsaf_dev(struct hnae_ae_dev *dev) dsaf_device 27 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c return container_of(dev, struct dsaf_device, ae_dev); dsaf_device 43 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c struct dsaf_device *dsaf_dev, int port) dsaf_device 49 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c struct dsaf_device *dsaf_dev, int port) dsaf_device 55 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c struct dsaf_device *dsaf_dev, int port) dsaf_device 75 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c struct dsaf_device *dsaf_dev; dsaf_device 154 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c struct dsaf_device *dsaf_dev; dsaf_device 481 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c struct dsaf_device *dsaf_dev = mac_cb->dsaf_dev; dsaf_device 522 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c struct dsaf_device *dsaf_dev = mac_cb->dsaf_dev; dsaf_device 557 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c struct dsaf_device *dsaf_dev = hns_ae_get_dsaf_dev(handle->dev); dsaf_device 586 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c struct dsaf_device *dsaf_dev = hns_ae_get_dsaf_dev(handle->dev); dsaf_device 616 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c struct dsaf_device *dsaf_dev; dsaf_device 646 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c struct dsaf_device *dsaf_dev; dsaf_device 763 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c struct dsaf_device *dsaf_dev = hns_ae_get_dsaf_dev(handle->dev); dsaf_device 793 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c struct dsaf_device *dsaf_dev = hns_ae_get_dsaf_dev(handle->dev); dsaf_device 815 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c struct dsaf_device *dsaf_dev = mac_cb->dsaf_dev; dsaf_device 1000 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c int hns_dsaf_ae_init(struct dsaf_device *dsaf_dev) dsaf_device 1024 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c void hns_dsaf_ae_uninit(struct dsaf_device *dsaf_dev) dsaf_device 109 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c struct dsaf_device *dsaf_dev dsaf_device 110 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c = (struct dsaf_device *)dev_get_drvdata(drv->dev); dsaf_device 352 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c struct dsaf_device *dsaf_dev dsaf_device 353 drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c = (struct dsaf_device *)dev_get_drvdata(drv->dev); dsaf_device 247 drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c struct dsaf_device *dsaf_dev = mac_cb->dsaf_dev; dsaf_device 288 drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c struct dsaf_device *dsaf_dev = mac_cb->dsaf_dev; dsaf_device 308 drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c struct dsaf_device *dsaf_dev = mac_cb->dsaf_dev; dsaf_device 329 drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c struct dsaf_device *dsaf_dev = mac_cb->dsaf_dev; dsaf_device 356 drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c struct dsaf_device *dsaf_dev = mac_cb->dsaf_dev; dsaf_device 387 drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c struct dsaf_device *dsaf_dev = mac_cb->dsaf_dev; dsaf_device 420 drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c struct dsaf_device *dsaf_dev = mac_cb->dsaf_dev; dsaf_device 969 drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c hns_mac_get_vaddr(struct dsaf_device *dsaf_dev, dsaf_device 989 drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c hns_mac_get_cfg(struct dsaf_device *dsaf_dev, struct hns_mac_cb *mac_cb) dsaf_device 1030 drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c static int hns_mac_get_max_port_num(struct dsaf_device *dsaf_dev) dsaf_device 1057 drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c int hns_mac_init(struct dsaf_device *dsaf_dev) dsaf_device 1121 drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c void hns_mac_uninit(struct dsaf_device *dsaf_dev) dsaf_device 15 drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.h struct dsaf_device; dsaf_device 305 drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.h struct dsaf_device *dsaf_dev; dsaf_device 428 drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.h int hns_mac_init(struct dsaf_device *dsaf_dev); dsaf_device 438 drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.h void hns_mac_uninit(struct dsaf_device *dsaf_dev); dsaf_device 41 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c static int hns_dsaf_get_cfg(struct dsaf_device *dsaf_dev) dsaf_device 212 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c static void hns_dsaf_sbm_link_sram_init_en(struct dsaf_device *dsaf_dev) dsaf_device 223 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c hns_dsaf_reg_cnt_clr_ce(struct dsaf_device *dsaf_dev, u32 reg_cnt_clr_ce) dsaf_device 235 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c hns_dsaf_ppe_qid_cfg(struct dsaf_device *dsaf_dev, u32 qid_cfg) dsaf_device 247 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c static void hns_dsaf_mix_def_qid_cfg(struct dsaf_device *dsaf_dev) dsaf_device 264 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c static void hns_dsaf_inner_qid_cfg(struct dsaf_device *dsaf_dev) dsaf_device 291 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c static void hns_dsaf_sw_port_type_cfg(struct dsaf_device *dsaf_dev, dsaf_device 309 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c static void hns_dsaf_stp_port_type_cfg(struct dsaf_device *dsaf_dev, dsaf_device 328 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c static void hns_dsaf_sbm_cfg(struct dsaf_device *dsaf_dev) dsaf_device 347 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c static int hns_dsaf_sbm_cfg_mib_en(struct dsaf_device *dsaf_dev) dsaf_device 392 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c static void hns_dsaf_sbm_bp_wl_cfg(struct dsaf_device *dsaf_dev) dsaf_device 471 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c static void hns_dsafv2_sbm_bp_wl_cfg(struct dsaf_device *dsaf_dev) dsaf_device 561 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c static void hns_dsaf_voq_bp_all_thrd_cfg(struct dsaf_device *dsaf_dev) dsaf_device 591 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c struct dsaf_device *dsaf_dev, dsaf_device 606 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c struct dsaf_device *dsaf_dev, dsaf_device 621 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c struct dsaf_device *dsaf_dev, dsaf_device 655 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c struct dsaf_device *dsaf_dev, dsaf_device 680 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c static void hns_dsaf_tbl_line_cfg(struct dsaf_device *dsaf_dev, dsaf_device 700 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c static void hns_dsaf_tbl_tcam_mcast_pul(struct dsaf_device *dsaf_dev) dsaf_device 715 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c static void hns_dsaf_tbl_line_pul(struct dsaf_device *dsaf_dev) dsaf_device 731 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c struct dsaf_device *dsaf_dev) dsaf_device 749 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c struct dsaf_device *dsaf_dev) dsaf_device 762 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c void hns_dsaf_set_promisc_mode(struct dsaf_device *dsaf_dev, u32 en) dsaf_device 774 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c static void hns_dsaf_tbl_stat_en(struct dsaf_device *dsaf_dev) dsaf_device 790 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c static void hns_dsaf_rocee_bp_en(struct dsaf_device *dsaf_dev) dsaf_device 798 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c static void hns_dsaf_int_xge_msk_set(struct dsaf_device *dsaf_dev, dsaf_device 805 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c static void hns_dsaf_int_ppe_msk_set(struct dsaf_device *dsaf_dev, dsaf_device 812 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c static void hns_dsaf_int_rocee_msk_set(struct dsaf_device *dsaf_dev, dsaf_device 820 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c hns_dsaf_int_tbl_msk_set(struct dsaf_device *dsaf_dev, u32 msk_set) dsaf_device 826 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c static void hns_dsaf_int_xge_src_clr(struct dsaf_device *dsaf_dev, dsaf_device 833 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c static void hns_dsaf_int_ppe_src_clr(struct dsaf_device *dsaf_dev, dsaf_device 840 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c static void hns_dsaf_int_rocee_src_clr(struct dsaf_device *dsaf_dev, dsaf_device 847 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c static void hns_dsaf_int_tbl_src_clr(struct dsaf_device *dsaf_dev, dsaf_device 860 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c struct dsaf_device *dsaf_dev, dsaf_device 884 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c struct dsaf_device *dsaf_dev, u32 address, dsaf_device 910 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c struct dsaf_device *dsaf_dev, u32 address, dsaf_device 939 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c static void hns_dsaf_tcam_uc_cfg_vague(struct dsaf_device *dsaf_dev, dsaf_device 968 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c static void hns_dsaf_tcam_mc_cfg_vague(struct dsaf_device *dsaf_dev, dsaf_device 994 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c static void hns_dsaf_tcam_mc_invld(struct dsaf_device *dsaf_dev, u32 address) dsaf_device 1033 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c struct dsaf_device *dsaf_dev, u32 address, dsaf_device 1086 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c struct dsaf_device *dsaf_dev, u32 address, dsaf_device 1132 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c static void hns_dsaf_tbl_line_init(struct dsaf_device *dsaf_dev) dsaf_device 1146 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c static void hns_dsaf_tbl_tcam_init(struct dsaf_device *dsaf_dev) dsaf_device 1161 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c static void hns_dsaf_pfc_en_cfg(struct dsaf_device *dsaf_dev, dsaf_device 1167 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c static void hns_dsaf_set_pfc_pause(struct dsaf_device *dsaf_dev, dsaf_device 1183 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c int hns_dsaf_set_rx_mac_pause_en(struct dsaf_device *dsaf_dev, int mac_id, dsaf_device 1199 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c void hns_dsaf_get_rx_mac_pause_en(struct dsaf_device *dsaf_dev, int mac_id, dsaf_device 1215 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c static void hns_dsaf_comm_init(struct dsaf_device *dsaf_dev) dsaf_device 1268 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c static void hns_dsaf_inode_init(struct dsaf_device *dsaf_dev) dsaf_device 1320 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c static int hns_dsaf_sbm_init(struct dsaf_device *dsaf_dev) dsaf_device 1374 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c static void hns_dsaf_tbl_init(struct dsaf_device *dsaf_dev) dsaf_device 1386 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c static void hns_dsaf_voq_init(struct dsaf_device *dsaf_dev) dsaf_device 1395 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c static int hns_dsaf_init_hw(struct dsaf_device *dsaf_dev) dsaf_device 1429 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c static void hns_dsaf_remove_hw(struct dsaf_device *dsaf_dev) dsaf_device 1440 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c static int hns_dsaf_init(struct dsaf_device *dsaf_dev) dsaf_device 1484 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c static void hns_dsaf_free(struct dsaf_device *dsaf_dev) dsaf_device 1502 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c struct dsaf_device *dsaf_dev, dsaf_device 1528 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c static u16 hns_dsaf_find_empty_mac_entry(struct dsaf_device *dsaf_dev) dsaf_device 1552 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c static u16 hns_dsaf_find_empty_mac_entry_reverse(struct dsaf_device *dsaf_dev) dsaf_device 1577 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c struct dsaf_device *dsaf_dev, dsaf_device 1609 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c struct dsaf_device *dsaf_dev, dsaf_device 1675 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c struct dsaf_device *dsaf_dev, dsaf_device 1723 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c static void hns_dsaf_setup_mc_mask(struct dsaf_device *dsaf_dev, dsaf_device 1747 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c int hns_dsaf_add_mac_mc_port(struct dsaf_device *dsaf_dev, dsaf_device 1857 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c int hns_dsaf_del_mac_entry(struct dsaf_device *dsaf_dev, u16 vlan_id, dsaf_device 1906 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c int hns_dsaf_del_mac_mc_port(struct dsaf_device *dsaf_dev, dsaf_device 2014 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c int hns_dsaf_clr_mac_mc_port(struct dsaf_device *dsaf_dev, u8 mac_id, dsaf_device 2083 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c static struct dsaf_device *hns_dsaf_alloc_dev(struct device *dev, dsaf_device 2086 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c struct dsaf_device *dsaf_dev; dsaf_device 2104 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c static void hns_dsaf_free_dev(struct dsaf_device *dsaf_dev) dsaf_device 2115 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c static void hns_dsaf_pfc_unit_cnt(struct dsaf_device *dsaf_dev, int mac_id, dsaf_device 2146 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c hns_dsaf_port_work_rate_cfg(struct dsaf_device *dsaf_dev, int mac_id, dsaf_device 2173 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c struct dsaf_device *dsaf_dev = mac_cb->dsaf_dev; dsaf_device 2198 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c void hns_dsaf_update_stats(struct dsaf_device *dsaf_dev, u32 node_num) dsaf_device 2259 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c void hns_dsaf_get_regs(struct dsaf_device *ddev, u32 port, void *data) dsaf_device 2588 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c struct dsaf_device *dsaf_dev) dsaf_device 2638 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c static u64 *hns_dsaf_get_node_stats(struct dsaf_device *ddev, u64 *data, dsaf_device 2678 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c void hns_dsaf_get_stats(struct dsaf_device *ddev, u64 *data, int port) dsaf_device 2696 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c int hns_dsaf_get_sset_count(struct dsaf_device *dsaf_dev, int stringset) dsaf_device 2716 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c struct dsaf_device *dsaf_dev) dsaf_device 2752 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c static void set_promisc_tcam_enable(struct dsaf_device *dsaf_dev, u32 port) dsaf_device 2856 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c static void set_promisc_tcam_disable(struct dsaf_device *dsaf_dev, u32 port) dsaf_device 2905 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c void hns_dsaf_set_promisc_tcam(struct dsaf_device *dsaf_dev, dsaf_device 2914 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c int hns_dsaf_wait_pkt_clean(struct dsaf_device *dsaf_dev, int port) dsaf_device 2950 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c struct dsaf_device *dsaf_dev; dsaf_device 3004 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c struct dsaf_device *dsaf_dev = dev_get_drvdata(&pdev->dev); dsaf_device 3046 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c struct dsaf_device *dsaf_dev; dsaf_device 212 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.h struct dsaf_device *dsaf_dev; dsaf_device 305 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.h void (*dsaf_reset)(struct dsaf_device *dsaf_dev, bool dereset); dsaf_device 306 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.h void (*xge_srst)(struct dsaf_device *dsaf_dev, u32 port, bool dereset); dsaf_device 307 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.h void (*ge_srst)(struct dsaf_device *dsaf_dev, u32 port, bool dereset); dsaf_device 308 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.h void (*ppe_srst)(struct dsaf_device *dsaf_dev, u32 port, bool dereset); dsaf_device 309 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.h void (*ppe_comm_srst)(struct dsaf_device *dsaf_dev, bool dereset); dsaf_device 310 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.h void (*hns_dsaf_srst_chns)(struct dsaf_device *dsaf_dev, u32 msk, dsaf_device 312 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.h void (*hns_dsaf_roce_srst)(struct dsaf_device *dsaf_dev, bool dereset); dsaf_device 353 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.h static inline void *hns_dsaf_dev_priv(const struct dsaf_device *dsaf_dev) dsaf_device 395 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.h static inline void hns_dsaf_tbl_tcam_addr_cfg(struct dsaf_device *dsaf_dev, dsaf_device 403 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.h static inline void hns_dsaf_tbl_tcam_load_pul(struct dsaf_device *dsaf_dev) dsaf_device 414 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.h static inline void hns_dsaf_tbl_line_addr_cfg(struct dsaf_device *dsaf_dev, dsaf_device 428 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.h int hns_dsaf_set_mac_uc_entry(struct dsaf_device *dsaf_dev, dsaf_device 430 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.h int hns_dsaf_add_mac_mc_port(struct dsaf_device *dsaf_dev, dsaf_device 432 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.h int hns_dsaf_del_mac_entry(struct dsaf_device *dsaf_dev, u16 vlan_id, dsaf_device 434 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.h int hns_dsaf_del_mac_mc_port(struct dsaf_device *dsaf_dev, dsaf_device 438 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.h int hns_dsaf_ae_init(struct dsaf_device *dsaf_dev); dsaf_device 439 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.h void hns_dsaf_ae_uninit(struct dsaf_device *dsaf_dev); dsaf_device 441 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.h void hns_dsaf_update_stats(struct dsaf_device *dsaf_dev, u32 inode_num); dsaf_device 443 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.h int hns_dsaf_get_sset_count(struct dsaf_device *dsaf_dev, int stringset); dsaf_device 444 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.h void hns_dsaf_get_stats(struct dsaf_device *ddev, u64 *data, int port); dsaf_device 446 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.h struct dsaf_device *dsaf_dev); dsaf_device 448 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.h void hns_dsaf_get_regs(struct dsaf_device *ddev, u32 port, void *data); dsaf_device 450 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.h void hns_dsaf_set_promisc_mode(struct dsaf_device *dsaf_dev, u32 en); dsaf_device 451 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.h void hns_dsaf_set_promisc_tcam(struct dsaf_device *dsaf_dev, dsaf_device 454 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.h void hns_dsaf_get_rx_mac_pause_en(struct dsaf_device *dsaf_dev, int mac_id, dsaf_device 456 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.h int hns_dsaf_set_rx_mac_pause_en(struct dsaf_device *dsaf_dev, int mac_id, dsaf_device 459 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.h struct dsaf_device *dsaf_dev, dsaf_device 462 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.h int hns_dsaf_clr_mac_mc_port(struct dsaf_device *dsaf_dev, dsaf_device 464 drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.h int hns_dsaf_wait_pkt_clean(struct dsaf_device *dsaf_dev, int port); dsaf_device 33 drivers/net/ethernet/hisilicon/hns/hns_dsaf_misc.c static void dsaf_write_sub(struct dsaf_device *dsaf_dev, u32 reg, u32 val) dsaf_device 41 drivers/net/ethernet/hisilicon/hns/hns_dsaf_misc.c static u32 dsaf_read_sub(struct dsaf_device *dsaf_dev, u32 reg) dsaf_device 250 drivers/net/ethernet/hisilicon/hns/hns_dsaf_misc.c static void hns_dsaf_acpi_srst_by_port(struct dsaf_device *dsaf_dev, u8 op_type, dsaf_device 278 drivers/net/ethernet/hisilicon/hns/hns_dsaf_misc.c static void hns_dsaf_rst(struct dsaf_device *dsaf_dev, bool dereset) dsaf_device 295 drivers/net/ethernet/hisilicon/hns/hns_dsaf_misc.c static void hns_dsaf_rst_acpi(struct dsaf_device *dsaf_dev, bool dereset) dsaf_device 302 drivers/net/ethernet/hisilicon/hns/hns_dsaf_misc.c static void hns_dsaf_xge_srst_by_port(struct dsaf_device *dsaf_dev, u32 port, dsaf_device 322 drivers/net/ethernet/hisilicon/hns/hns_dsaf_misc.c static void hns_dsaf_xge_srst_by_port_acpi(struct dsaf_device *dsaf_dev, dsaf_device 340 drivers/net/ethernet/hisilicon/hns/hns_dsaf_misc.c hns_dsaf_srst_chns(struct dsaf_device *dsaf_dev, u32 msk, bool dereset) dsaf_device 363 drivers/net/ethernet/hisilicon/hns/hns_dsaf_misc.c hns_dsaf_srst_chns_acpi(struct dsaf_device *dsaf_dev, u32 msk, bool dereset) dsaf_device 370 drivers/net/ethernet/hisilicon/hns/hns_dsaf_misc.c static void hns_dsaf_roce_srst(struct dsaf_device *dsaf_dev, bool dereset) dsaf_device 384 drivers/net/ethernet/hisilicon/hns/hns_dsaf_misc.c static void hns_dsaf_roce_srst_acpi(struct dsaf_device *dsaf_dev, bool dereset) dsaf_device 390 drivers/net/ethernet/hisilicon/hns/hns_dsaf_misc.c static void hns_dsaf_ge_srst_by_port(struct dsaf_device *dsaf_dev, u32 port, dsaf_device 444 drivers/net/ethernet/hisilicon/hns/hns_dsaf_misc.c static void hns_dsaf_ge_srst_by_port_acpi(struct dsaf_device *dsaf_dev, dsaf_device 451 drivers/net/ethernet/hisilicon/hns/hns_dsaf_misc.c static void hns_ppe_srst_by_port(struct dsaf_device *dsaf_dev, u32 port, dsaf_device 468 drivers/net/ethernet/hisilicon/hns/hns_dsaf_misc.c hns_ppe_srst_by_port_acpi(struct dsaf_device *dsaf_dev, u32 port, bool dereset) dsaf_device 474 drivers/net/ethernet/hisilicon/hns/hns_dsaf_misc.c static void hns_ppe_com_srst(struct dsaf_device *dsaf_dev, bool dereset) dsaf_device 707 drivers/net/ethernet/hisilicon/hns/hns_dsaf_misc.c struct dsaf_misc_op *hns_misc_op_get(struct dsaf_device *dsaf_dev) dsaf_device 32 drivers/net/ethernet/hisilicon/hns/hns_dsaf_misc.h struct dsaf_misc_op *hns_misc_op_get(struct dsaf_device *dsaf_dev); dsaf_device 72 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c static int hns_ppe_common_get_cfg(struct dsaf_device *dsaf_dev, int comm_index) dsaf_device 105 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c hns_ppe_common_free_cfg(struct dsaf_device *dsaf_dev, u32 comm_index) dsaf_device 200 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c struct dsaf_device *dsaf_dev = ppe_common->dsaf_dev; dsaf_device 306 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c struct dsaf_device *dsaf_dev = ppe_common_cb->dsaf_dev; dsaf_device 354 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c struct dsaf_device *dsaf_dev = ppe_cb->ppe_common_cb->dsaf_dev; dsaf_device 372 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c void hns_ppe_uninit(struct dsaf_device *dsaf_dev) dsaf_device 389 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c void hns_ppe_reset_common(struct dsaf_device *dsaf_dev, u8 ppe_common_index) dsaf_device 518 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c int hns_ppe_init(struct dsaf_device *dsaf_dev) dsaf_device 87 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.h struct dsaf_device *dsaf_dev; dsaf_device 100 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.h int hns_ppe_init(struct dsaf_device *dsaf_dev); dsaf_device 102 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.h void hns_ppe_uninit(struct dsaf_device *dsaf_dev); dsaf_device 104 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.h void hns_ppe_reset_common(struct dsaf_device *dsaf_dev, u8 ppe_common_index); dsaf_device 727 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c static int hns_rcb_get_ring_num(struct dsaf_device *dsaf_dev) dsaf_device 765 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c struct dsaf_device *dsaf_dev = rcb_common->dsaf_dev; dsaf_device 772 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c struct dsaf_device *dsaf_dev = rcb_common->dsaf_dev; dsaf_device 777 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c int hns_rcb_common_get_cfg(struct dsaf_device *dsaf_dev, dsaf_device 811 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c void hns_rcb_common_free_cfg(struct dsaf_device *dsaf_dev, dsaf_device 821 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c struct dsaf_device *dsaf_dev = ring->rcb_common->dsaf_dev; dsaf_device 103 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.h struct dsaf_device *dsaf_dev; dsaf_device 116 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.h int hns_rcb_common_get_cfg(struct dsaf_device *dsaf_dev, int comm_index); dsaf_device 117 drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.h void hns_rcb_common_free_cfg(struct dsaf_device *dsaf_dev, u32 comm_index); dsaf_device 209 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c struct dsaf_device *dsaf_dev dsaf_device 210 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c = (struct dsaf_device *)dev_get_drvdata(drv->dev); dsaf_device 424 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c struct dsaf_device *dsaf_dev dsaf_device 425 drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c = (struct dsaf_device *)dev_get_drvdata(drv->dev);