/drivers/net/ethernet/hisilicon/hns/ |
D | hns_dsaf_main.c | 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() [all …]
|
D | hns_dsaf_misc.c | 38 static void dsaf_write_sub(struct dsaf_device *dsaf_dev, u32 reg, u32 val) in dsaf_write_sub() 46 static u32 dsaf_read_sub(struct dsaf_device *dsaf_dev, u32 reg) in dsaf_read_sub() 137 static void hns_dsaf_acpi_srst_by_port(struct dsaf_device *dsaf_dev, u8 op_type, in hns_dsaf_acpi_srst_by_port() 165 static void hns_dsaf_rst(struct dsaf_device *dsaf_dev, bool dereset) in hns_dsaf_rst() 182 static void hns_dsaf_rst_acpi(struct dsaf_device *dsaf_dev, bool dereset) in hns_dsaf_rst_acpi() 189 static void hns_dsaf_xge_srst_by_port(struct dsaf_device *dsaf_dev, u32 port, in hns_dsaf_xge_srst_by_port() 209 static void hns_dsaf_xge_srst_by_port_acpi(struct dsaf_device *dsaf_dev, in hns_dsaf_xge_srst_by_port_acpi() 216 static void hns_dsaf_xge_core_srst_by_port(struct dsaf_device *dsaf_dev, in hns_dsaf_xge_core_srst_by_port() 246 void hns_dsaf_srst_chns(struct dsaf_device *dsaf_dev, u32 msk, bool dereset) in hns_dsaf_srst_chns() 269 hns_dsaf_srst_chns_acpi(struct dsaf_device *dsaf_dev, u32 msk, bool dereset) in hns_dsaf_srst_chns_acpi() [all …]
|
D | hns_dsaf_ppe.c | 76 int hns_ppe_common_get_cfg(struct dsaf_device *dsaf_dev, int comm_index) in hns_ppe_common_get_cfg() 107 void hns_ppe_common_free_cfg(struct dsaf_device *dsaf_dev, u32 comm_index) in hns_ppe_common_free_cfg() 202 struct dsaf_device *dsaf_dev = ppe_common->dsaf_dev; in hns_ppe_common_init_hw() local 285 struct dsaf_device *dsaf_dev = ppe_common_cb->dsaf_dev; in hns_ppe_init_hw() local 333 struct dsaf_device *dsaf_dev = ppe_cb->ppe_common_cb->dsaf_dev; in hns_ppe_uninit_hw() local 351 void hns_ppe_uninit(struct dsaf_device *dsaf_dev) in hns_ppe_uninit() 368 void hns_ppe_reset_common(struct dsaf_device *dsaf_dev, u8 ppe_common_index) in hns_ppe_reset_common() 497 int hns_ppe_init(struct dsaf_device *dsaf_dev) in hns_ppe_init()
|
D | hns_ae_adapt.c | 50 struct dsaf_device *dsaf_dev, int port) in hns_ae_get_q_num_per_vf() 56 struct dsaf_device *dsaf_dev, int port) in hns_ae_get_vf_num_per_port() 62 struct dsaf_device *dsaf_dev, int port) in hns_ae_get_base_ring_pair() 82 struct dsaf_device *dsaf_dev; in hns_ae_get_handle() local 366 struct dsaf_device *dsaf_dev = mac_cb->dsaf_dev; in hns_ae_get_pauseparam() local 407 struct dsaf_device *dsaf_dev = mac_cb->dsaf_dev; in hns_ae_set_pauseparam() local 476 struct dsaf_device *dsaf_dev; in hns_ae_get_coalesce_range() local 499 struct dsaf_device *dsaf_dev; in hns_ae_update_stats() local 616 struct dsaf_device *dsaf_dev = hns_ae_get_dsaf_dev(handle->dev); in hns_ae_get_strings() local 646 struct dsaf_device *dsaf_dev = hns_ae_get_dsaf_dev(handle->dev); in hns_ae_get_sset_count() local [all …]
|
D | hns_dsaf_mac.c | 228 struct dsaf_device *dsaf_dev = mac_cb->dsaf_dev; in hns_mac_change_vf_addr() local 270 struct dsaf_device *dsaf_dev = mac_cb->dsaf_dev; in hns_mac_set_multi() local 306 struct dsaf_device *dsaf_dev; in hns_mac_del_mac() local 355 struct dsaf_device *dsaf_dev = mac_cb->dsaf_dev; in hns_mac_port_config_bc_en() local 390 struct dsaf_device *dsaf_dev = mac_cb->dsaf_dev; in hns_mac_vm_config_bc_en() local 892 u8 __iomem *hns_mac_get_vaddr(struct dsaf_device *dsaf_dev, in hns_mac_get_vaddr() 911 int hns_mac_get_cfg(struct dsaf_device *dsaf_dev, struct hns_mac_cb *mac_cb) in hns_mac_get_cfg() 952 static int hns_mac_get_max_port_num(struct dsaf_device *dsaf_dev) in hns_mac_get_max_port_num() 965 int hns_mac_init(struct dsaf_device *dsaf_dev) in hns_mac_init() 1027 void hns_mac_uninit(struct dsaf_device *dsaf_dev) in hns_mac_uninit()
|
D | hns_dsaf_rcb.c | 630 int hns_rcb_get_ring_num(struct dsaf_device *dsaf_dev) in hns_rcb_get_ring_num() 668 struct dsaf_device *dsaf_dev = rcb_common->dsaf_dev; in hns_rcb_common_get_vaddr() local 675 struct dsaf_device *dsaf_dev = rcb_common->dsaf_dev; in hns_rcb_common_get_paddr() local 680 int hns_rcb_common_get_cfg(struct dsaf_device *dsaf_dev, in hns_rcb_common_get_cfg() 713 void hns_rcb_common_free_cfg(struct dsaf_device *dsaf_dev, in hns_rcb_common_free_cfg() 723 struct dsaf_device *dsaf_dev = ring->rcb_common->dsaf_dev; in hns_rcb_update_stats() local
|
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 | 216 struct dsaf_device *dsaf_dev; member 358 static inline void *hns_dsaf_dev_priv(const struct dsaf_device *dsaf_dev) in hns_dsaf_dev_priv() 397 static inline void hns_dsaf_tbl_tcam_addr_cfg(struct dsaf_device *dsaf_dev, in hns_dsaf_tbl_tcam_addr_cfg() 405 static inline void hns_dsaf_tbl_tcam_load_pul(struct dsaf_device *dsaf_dev) in hns_dsaf_tbl_tcam_load_pul() 416 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 | 107 struct dsaf_device *dsaf_dev in hns_gmac_free() local 314 struct dsaf_device *dsaf_dev in hns_gmac_init() local
|
D | hns_dsaf_rcb.h | 96 struct dsaf_device *dsaf_dev; member
|
D | hns_dsaf_ppe.h | 91 struct dsaf_device *dsaf_dev; member
|
D | hns_dsaf_mac.h | 312 struct dsaf_device *dsaf_dev; member
|