Home
last modified time | relevance | path

Searched defs:dsaf_dev (Results 1 – 12 of 12) sorted by relevance

/linux-5.19.10/drivers/net/ethernet/hisilicon/hns/
Dhns_dsaf_main.c41 static int hns_dsaf_get_cfg(struct dsaf_device *dsaf_dev) in hns_dsaf_get_cfg()
212 static void hns_dsaf_sbm_link_sram_init_en(struct dsaf_device *dsaf_dev) in hns_dsaf_sbm_link_sram_init_en()
223 hns_dsaf_reg_cnt_clr_ce(struct dsaf_device *dsaf_dev, u32 reg_cnt_clr_ce) in hns_dsaf_reg_cnt_clr_ce()
235 hns_dsaf_ppe_qid_cfg(struct dsaf_device *dsaf_dev, u32 qid_cfg) in hns_dsaf_ppe_qid_cfg()
247 static void hns_dsaf_mix_def_qid_cfg(struct dsaf_device *dsaf_dev) in hns_dsaf_mix_def_qid_cfg()
264 static void hns_dsaf_inner_qid_cfg(struct dsaf_device *dsaf_dev) in hns_dsaf_inner_qid_cfg()
291 static void hns_dsaf_sw_port_type_cfg(struct dsaf_device *dsaf_dev, in hns_dsaf_sw_port_type_cfg()
309 static void hns_dsaf_stp_port_type_cfg(struct dsaf_device *dsaf_dev, in hns_dsaf_stp_port_type_cfg()
328 static void hns_dsaf_sbm_cfg(struct dsaf_device *dsaf_dev) in hns_dsaf_sbm_cfg()
347 static int hns_dsaf_sbm_cfg_mib_en(struct dsaf_device *dsaf_dev) in hns_dsaf_sbm_cfg_mib_en()
[all …]
Dhns_dsaf_misc.c33 static void dsaf_write_sub(struct dsaf_device *dsaf_dev, u32 reg, u32 val) in dsaf_write_sub()
41 static u32 dsaf_read_sub(struct dsaf_device *dsaf_dev, u32 reg) in dsaf_read_sub()
250 static void hns_dsaf_acpi_srst_by_port(struct dsaf_device *dsaf_dev, u8 op_type, in hns_dsaf_acpi_srst_by_port()
278 static void hns_dsaf_rst(struct dsaf_device *dsaf_dev, bool dereset) in hns_dsaf_rst()
295 static void hns_dsaf_rst_acpi(struct dsaf_device *dsaf_dev, bool dereset) in hns_dsaf_rst_acpi()
302 static void hns_dsaf_xge_srst_by_port(struct dsaf_device *dsaf_dev, u32 port, in hns_dsaf_xge_srst_by_port()
322 static void hns_dsaf_xge_srst_by_port_acpi(struct dsaf_device *dsaf_dev, in hns_dsaf_xge_srst_by_port_acpi()
341 hns_dsaf_srst_chns(struct dsaf_device *dsaf_dev, u32 msk, bool dereset) in hns_dsaf_srst_chns()
365 hns_dsaf_srst_chns_acpi(struct dsaf_device *dsaf_dev, u32 msk, bool dereset) in hns_dsaf_srst_chns_acpi()
372 static void hns_dsaf_roce_srst(struct dsaf_device *dsaf_dev, bool dereset) in hns_dsaf_roce_srst()
[all …]
Dhns_ae_adapt.c41 struct dsaf_device *dsaf_dev, int port) in hns_ae_get_q_num_per_vf()
47 struct dsaf_device *dsaf_dev, int port) in hns_ae_get_vf_num_per_port()
53 struct dsaf_device *dsaf_dev, int port) in hns_ae_get_base_ring_pair()
73 struct dsaf_device *dsaf_dev; in hns_ae_get_handle() local
151 struct dsaf_device *dsaf_dev; in hns_ae_wait_flow_down() local
476 struct dsaf_device *dsaf_dev = mac_cb->dsaf_dev; in hns_ae_get_pauseparam() local
499 struct dsaf_device *dsaf_dev = mac_cb->dsaf_dev; in hns_ae_set_pauseparam() local
534 struct dsaf_device *dsaf_dev = hns_ae_get_dsaf_dev(handle->dev); in hns_ae_get_max_coalesced_frames() local
563 struct dsaf_device *dsaf_dev = hns_ae_get_dsaf_dev(handle->dev); in hns_ae_set_coalesce_frames() local
593 struct dsaf_device *dsaf_dev; in hns_ae_get_coalesce_range() local
[all …]
Dhns_dsaf_ppe.c72 static int hns_ppe_common_get_cfg(struct dsaf_device *dsaf_dev, int comm_index) in hns_ppe_common_get_cfg()
105 hns_ppe_common_free_cfg(struct dsaf_device *dsaf_dev, u32 comm_index) in hns_ppe_common_free_cfg()
200 struct dsaf_device *dsaf_dev = ppe_common->dsaf_dev; in hns_ppe_common_init_hw() local
306 struct dsaf_device *dsaf_dev = ppe_common_cb->dsaf_dev; in hns_ppe_init_hw() local
354 struct dsaf_device *dsaf_dev = ppe_cb->ppe_common_cb->dsaf_dev; in hns_ppe_uninit_hw() local
372 void hns_ppe_uninit(struct dsaf_device *dsaf_dev) in hns_ppe_uninit()
390 void hns_ppe_reset_common(struct dsaf_device *dsaf_dev, u8 ppe_common_index) in hns_ppe_reset_common()
508 int hns_ppe_init(struct dsaf_device *dsaf_dev) in hns_ppe_init()
Dhns_dsaf_mac.c247 struct dsaf_device *dsaf_dev = mac_cb->dsaf_dev; in hns_mac_change_vf_addr() local
288 struct dsaf_device *dsaf_dev = mac_cb->dsaf_dev; in hns_mac_add_uc_addr() local
308 struct dsaf_device *dsaf_dev = mac_cb->dsaf_dev; in hns_mac_rm_uc_addr() local
329 struct dsaf_device *dsaf_dev = mac_cb->dsaf_dev; in hns_mac_set_multi() local
356 struct dsaf_device *dsaf_dev = mac_cb->dsaf_dev; in hns_mac_clr_multicast() local
388 struct dsaf_device *dsaf_dev = mac_cb->dsaf_dev; in hns_mac_port_config_bc_en() local
421 struct dsaf_device *dsaf_dev = mac_cb->dsaf_dev; in hns_mac_vm_config_bc_en() local
968 hns_mac_get_vaddr(struct dsaf_device *dsaf_dev, in hns_mac_get_vaddr()
988 hns_mac_get_cfg(struct dsaf_device *dsaf_dev, struct hns_mac_cb *mac_cb) in hns_mac_get_cfg()
1029 static int hns_mac_get_max_port_num(struct dsaf_device *dsaf_dev) in hns_mac_get_max_port_num()
[all …]
Dhns_dsaf_rcb.c728 static int hns_rcb_get_ring_num(struct dsaf_device *dsaf_dev) in hns_rcb_get_ring_num()
766 struct dsaf_device *dsaf_dev = rcb_common->dsaf_dev; in hns_rcb_common_get_vaddr() local
773 struct dsaf_device *dsaf_dev = rcb_common->dsaf_dev; in hns_rcb_common_get_paddr() local
778 int hns_rcb_common_get_cfg(struct dsaf_device *dsaf_dev, in hns_rcb_common_get_cfg()
812 void hns_rcb_common_free_cfg(struct dsaf_device *dsaf_dev, in hns_rcb_common_free_cfg()
822 struct dsaf_device *dsaf_dev = ring->rcb_common->dsaf_dev; in hns_rcb_update_stats() local
Dhns_dsaf_xgmac.c209 struct dsaf_device *dsaf_dev in hns_xgmac_init() local
412 struct dsaf_device *dsaf_dev in hns_xgmac_free() local
Dhns_dsaf_main.h212 struct dsaf_device *dsaf_dev; member
353 static inline void *hns_dsaf_dev_priv(const struct dsaf_device *dsaf_dev) in hns_dsaf_dev_priv()
395 static inline void hns_dsaf_tbl_tcam_addr_cfg(struct dsaf_device *dsaf_dev, in hns_dsaf_tbl_tcam_addr_cfg()
403 static inline void hns_dsaf_tbl_tcam_load_pul(struct dsaf_device *dsaf_dev) in hns_dsaf_tbl_tcam_load_pul()
414 static inline void hns_dsaf_tbl_line_addr_cfg(struct dsaf_device *dsaf_dev, in hns_dsaf_tbl_line_addr_cfg()
Dhns_dsaf_gmac.c109 struct dsaf_device *dsaf_dev in hns_gmac_free() local
336 struct dsaf_device *dsaf_dev in hns_gmac_init() local
Dhns_dsaf_ppe.h87 struct dsaf_device *dsaf_dev; member
Dhns_dsaf_rcb.h103 struct dsaf_device *dsaf_dev; member
Dhns_dsaf_mac.h305 struct dsaf_device *dsaf_dev; member