/linux-4.4.14/drivers/net/ethernet/hisilicon/hns/ |
D | hns_dsaf_main.c | 33 int hns_dsaf_get_cfg(struct dsaf_device *dsaf_dev) in hns_dsaf_get_cfg() 165 static void hns_dsaf_free_cfg(struct dsaf_device *dsaf_dev) in hns_dsaf_free_cfg() 187 static void hns_dsaf_sbm_link_sram_init_en(struct dsaf_device *dsaf_dev) in hns_dsaf_sbm_link_sram_init_en() 198 hns_dsaf_reg_cnt_clr_ce(struct dsaf_device *dsaf_dev, u32 reg_cnt_clr_ce) in hns_dsaf_reg_cnt_clr_ce() 210 hns_dsaf_ppe_qid_cfg(struct dsaf_device *dsaf_dev, u32 qid_cfg) in hns_dsaf_ppe_qid_cfg() 222 static void hns_dsaf_mix_def_qid_cfg(struct dsaf_device *dsaf_dev) in hns_dsaf_mix_def_qid_cfg() 246 static void hns_dsaf_sw_port_type_cfg(struct dsaf_device *dsaf_dev, in hns_dsaf_sw_port_type_cfg() 264 static void hns_dsaf_stp_port_type_cfg(struct dsaf_device *dsaf_dev, in hns_dsaf_stp_port_type_cfg() 281 static void hns_dsaf_sbm_cfg(struct dsaf_device *dsaf_dev) in hns_dsaf_sbm_cfg() 300 static int hns_dsaf_sbm_cfg_mib_en(struct dsaf_device *dsaf_dev) in hns_dsaf_sbm_cfg_mib_en() [all …]
|
D | hns_dsaf_misc.c | 85 void hns_dsaf_rst(struct dsaf_device *dsaf_dev, u32 val) in hns_dsaf_rst() 104 void hns_dsaf_xge_srst_by_port(struct dsaf_device *dsaf_dev, u32 port, u32 val) in hns_dsaf_xge_srst_by_port() 123 void hns_dsaf_xge_core_srst_by_port(struct dsaf_device *dsaf_dev, in hns_dsaf_xge_core_srst_by_port() 142 void hns_dsaf_ge_srst_by_port(struct dsaf_device *dsaf_dev, u32 port, u32 val) in hns_dsaf_ge_srst_by_port() 195 void hns_ppe_srst_by_port(struct dsaf_device *dsaf_dev, u32 port, u32 val) in hns_ppe_srst_by_port() 213 struct dsaf_device *dsaf_dev = ppe_common->dsaf_dev; in hns_ppe_com_srst() local
|
D | hns_dsaf_rcb.c | 496 u32 hns_rcb_get_coalesced_frames(struct dsaf_device *dsaf_dev, int port) in hns_rcb_get_coalesced_frames() 510 u32 hns_rcb_get_coalesce_usecs(struct dsaf_device *dsaf_dev, int comm_index) in hns_rcb_get_coalesce_usecs() 524 void hns_rcb_set_coalesce_usecs(struct dsaf_device *dsaf_dev, in hns_rcb_set_coalesce_usecs() 549 int hns_rcb_set_coalesced_frames(struct dsaf_device *dsaf_dev, in hns_rcb_set_coalesced_frames() 610 int hns_rcb_get_ring_num(struct dsaf_device *dsaf_dev, int comm_index) in hns_rcb_get_ring_num() 649 void __iomem *hns_rcb_common_get_vaddr(struct dsaf_device *dsaf_dev, in hns_rcb_common_get_vaddr() 664 static phys_addr_t hns_rcb_common_get_paddr(struct dsaf_device *dsaf_dev, in hns_rcb_common_get_paddr() 687 int hns_rcb_common_get_cfg(struct dsaf_device *dsaf_dev, in hns_rcb_common_get_cfg() 722 void hns_rcb_common_free_cfg(struct dsaf_device *dsaf_dev, in hns_rcb_common_free_cfg() 732 struct dsaf_device *dsaf_dev = ring->rcb_common->dsaf_dev; in hns_rcb_update_stats() local
|
D | hns_dsaf_ppe.c | 46 int hns_ppe_common_get_cfg(struct dsaf_device *dsaf_dev, int comm_index) in hns_ppe_common_get_cfg() 77 void hns_ppe_common_free_cfg(struct dsaf_device *dsaf_dev, u32 comm_index) in hns_ppe_common_free_cfg() 275 struct dsaf_device *dsaf_dev = ppe_common_cb->dsaf_dev; in hns_ppe_init_hw() local 316 void hns_ppe_uninit(struct dsaf_device *dsaf_dev) in hns_ppe_uninit() 333 void hns_ppe_reset_common(struct dsaf_device *dsaf_dev, u8 ppe_common_index) in hns_ppe_reset_common() 459 int hns_ppe_init(struct dsaf_device *dsaf_dev) in hns_ppe_init()
|
D | hns_dsaf_mac.c | 247 struct dsaf_device *dsaf_dev = mac_cb->dsaf_dev; in hns_mac_change_vf_addr() local 289 struct dsaf_device *dsaf_dev = mac_cb->dsaf_dev; in hns_mac_set_multi() local 325 struct dsaf_device *dsaf_dev; in hns_mac_del_mac() local 374 struct dsaf_device *dsaf_dev = mac_cb->dsaf_dev; in hns_mac_port_config_bc_en() local 409 struct dsaf_device *dsaf_dev = mac_cb->dsaf_dev; in hns_mac_vm_config_bc_en() local 713 u8 __iomem *hns_mac_get_vaddr(struct dsaf_device *dsaf_dev, in hns_mac_get_vaddr() 733 int hns_mac_get_cfg(struct dsaf_device *dsaf_dev, int mac_idx) in hns_mac_get_cfg() 784 int hns_mac_init(struct dsaf_device *dsaf_dev) in hns_mac_init() 815 void hns_mac_uninit(struct dsaf_device *dsaf_dev) in hns_mac_uninit()
|
D | hns_ae_adapt.c | 76 struct dsaf_device *dsaf_dev, int port) in hns_ae_get_q_num_per_vf() 84 struct dsaf_device *dsaf_dev, int port) in hns_ae_get_vf_num_per_port() 92 struct dsaf_device *dsaf_dev, int port) in hns_ae_get_base_ring_pair() 117 struct dsaf_device *dsaf_dev; in hns_ae_get_handle() local 487 struct dsaf_device *dsaf_dev; in hns_ae_update_stats() local 770 int hns_dsaf_ae_init(struct dsaf_device *dsaf_dev) in hns_dsaf_ae_init() 780 void hns_dsaf_ae_uninit(struct dsaf_device *dsaf_dev) in hns_dsaf_ae_uninit()
|
D | hns_dsaf_xgmac.c | 118 struct dsaf_device *dsaf_dev in hns_xgmac_enable() local 146 struct dsaf_device *dsaf_dev in hns_xgmac_disable() local 197 struct dsaf_device *dsaf_dev in hns_xgmac_init() local 423 struct dsaf_device *dsaf_dev in hns_xgmac_free() local
|
D | hns_dsaf_main.h | 186 struct dsaf_device *dsaf_dev; member 303 static inline void *hns_dsaf_dev_priv(const struct dsaf_device *dsaf_dev) in hns_dsaf_dev_priv() 342 static inline void hns_dsaf_tbl_tcam_addr_cfg(struct dsaf_device *dsaf_dev, in hns_dsaf_tbl_tcam_addr_cfg() 350 static inline void hns_dsaf_tbl_tcam_load_pul(struct dsaf_device *dsaf_dev) in hns_dsaf_tbl_tcam_load_pul() 361 static inline void hns_dsaf_tbl_line_addr_cfg(struct dsaf_device *dsaf_dev, in hns_dsaf_tbl_line_addr_cfg()
|
D | hns_dsaf_gmac.c | 108 struct dsaf_device *dsaf_dev in hns_gmac_free() local 297 struct dsaf_device *dsaf_dev in hns_gmac_init() local
|
D | hns_dsaf_ppe.h | 79 struct dsaf_device *dsaf_dev; member
|
D | hns_dsaf_rcb.h | 89 struct dsaf_device *dsaf_dev; member
|
D | hns_dsaf_mac.h | 309 struct dsaf_device *dsaf_dev; member
|