Searched refs:dsaf_device (Results 1 – 13 of 13) sorted by relevance
/linux-6.3-rc2/drivers/net/ethernet/hisilicon/hns/ |
A D | hns_dsaf_main.h | 212 struct dsaf_device *dsaf_dev; 321 struct dsaf_device { struct 428 int hns_dsaf_set_mac_uc_entry(struct dsaf_device *dsaf_dev, 430 int hns_dsaf_add_mac_mc_port(struct dsaf_device *dsaf_dev, 434 int hns_dsaf_del_mac_mc_port(struct dsaf_device *dsaf_dev, 438 int hns_dsaf_ae_init(struct dsaf_device *dsaf_dev); 439 void hns_dsaf_ae_uninit(struct dsaf_device *dsaf_dev); 446 struct dsaf_device *dsaf_dev); 451 void hns_dsaf_set_promisc_tcam(struct dsaf_device *dsaf_dev, 459 struct dsaf_device *dsaf_dev, [all …]
|
A D | hns_dsaf_main.c | 591 struct dsaf_device *dsaf_dev, in hns_dsaf_tbl_tcam_match_cfg() 606 struct dsaf_device *dsaf_dev, in hns_dsaf_tbl_tcam_data_cfg() 621 struct dsaf_device *dsaf_dev, in hns_dsaf_tbl_tcam_mcast_cfg() 655 struct dsaf_device *dsaf_dev, in hns_dsaf_tbl_tcam_ucast_cfg() 731 struct dsaf_device *dsaf_dev) in hns_dsaf_tbl_tcam_data_mcast_pul() 749 struct dsaf_device *dsaf_dev) in hns_dsaf_tbl_tcam_data_ucast_pul() 859 struct dsaf_device *dsaf_dev, in hns_dsaf_single_line_tbl_cfg() 1506 struct dsaf_device *dsaf_dev, in hns_dsaf_find_soft_mac_entry() 1581 struct dsaf_device *dsaf_dev, in hns_dsaf_set_mac_key() 1613 struct dsaf_device *dsaf_dev, in hns_dsaf_set_mac_uc_entry() [all …]
|
A D | hns_dsaf_misc.c | 33 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() 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() 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() 372 static void hns_dsaf_roce_srst(struct dsaf_device *dsaf_dev, bool dereset) in hns_dsaf_roce_srst() 450 static void hns_dsaf_ge_srst_by_port_acpi(struct dsaf_device *dsaf_dev, in hns_dsaf_ge_srst_by_port_acpi() 457 static void hns_ppe_srst_by_port(struct dsaf_device *dsaf_dev, u32 port, in hns_ppe_srst_by_port() 480 static void hns_ppe_com_srst(struct dsaf_device *dsaf_dev, bool dereset) in hns_ppe_com_srst() [all …]
|
A D | hns_dsaf_ppe.h | 87 struct dsaf_device *dsaf_dev; 100 int hns_ppe_init(struct dsaf_device *dsaf_dev); 102 void hns_ppe_uninit(struct dsaf_device *dsaf_dev); 104 void hns_ppe_reset_common(struct dsaf_device *dsaf_dev, u8 ppe_common_index);
|
A D | hns_ae_adapt.c | 25 return container_of(dev, struct dsaf_device, ae_dev); in hns_ae_get_dsaf_dev() 41 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() 151 struct dsaf_device *dsaf_dev; in hns_ae_wait_flow_down() 476 struct dsaf_device *dsaf_dev = mac_cb->dsaf_dev; in hns_ae_get_pauseparam() 499 struct dsaf_device *dsaf_dev = mac_cb->dsaf_dev; in hns_ae_set_pauseparam() 593 struct dsaf_device *dsaf_dev; in hns_ae_get_coalesce_range() 623 struct dsaf_device *dsaf_dev; in hns_ae_update_stats() [all …]
|
A D | hns_dsaf_rcb.h | 103 struct dsaf_device *dsaf_dev; 116 int hns_rcb_common_get_cfg(struct dsaf_device *dsaf_dev, int comm_index); 117 void hns_rcb_common_free_cfg(struct dsaf_device *dsaf_dev, u32 comm_index);
|
A D | hns_dsaf_ppe.c | 72 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() 306 struct dsaf_device *dsaf_dev = ppe_common_cb->dsaf_dev; in hns_ppe_init_hw() 354 struct dsaf_device *dsaf_dev = ppe_cb->ppe_common_cb->dsaf_dev; in hns_ppe_uninit_hw() 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()
|
A D | hns_dsaf_mac.c | 247 struct dsaf_device *dsaf_dev = mac_cb->dsaf_dev; in hns_mac_change_vf_addr() 288 struct dsaf_device *dsaf_dev = mac_cb->dsaf_dev; in hns_mac_add_uc_addr() 308 struct dsaf_device *dsaf_dev = mac_cb->dsaf_dev; in hns_mac_rm_uc_addr() 329 struct dsaf_device *dsaf_dev = mac_cb->dsaf_dev; in hns_mac_set_multi() 356 struct dsaf_device *dsaf_dev = mac_cb->dsaf_dev; in hns_mac_clr_multicast() 388 struct dsaf_device *dsaf_dev = mac_cb->dsaf_dev; in hns_mac_port_config_bc_en() 421 struct dsaf_device *dsaf_dev = mac_cb->dsaf_dev; in hns_mac_vm_config_bc_en() 968 hns_mac_get_vaddr(struct dsaf_device *dsaf_dev, in hns_mac_get_vaddr() 1029 static int hns_mac_get_max_port_num(struct dsaf_device *dsaf_dev) in hns_mac_get_max_port_num() 1056 int hns_mac_init(struct dsaf_device *dsaf_dev) in hns_mac_init() [all …]
|
A D | hns_dsaf_mac.h | 15 struct dsaf_device; 305 struct dsaf_device *dsaf_dev; 424 int hns_mac_init(struct dsaf_device *dsaf_dev); 435 void hns_mac_uninit(struct dsaf_device *dsaf_dev);
|
A D | hns_dsaf_misc.h | 32 struct dsaf_misc_op *hns_misc_op_get(struct dsaf_device *dsaf_dev);
|
A D | hns_dsaf_rcb.c | 728 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() 773 struct dsaf_device *dsaf_dev = rcb_common->dsaf_dev; in hns_rcb_common_get_paddr() 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()
|
A D | hns_dsaf_gmac.c | 109 struct dsaf_device *dsaf_dev in hns_gmac_free() 110 = (struct dsaf_device *)dev_get_drvdata(drv->dev); in hns_gmac_free() 336 struct dsaf_device *dsaf_dev in hns_gmac_init() 337 = (struct dsaf_device *)dev_get_drvdata(drv->dev); in hns_gmac_init()
|
A D | hns_dsaf_xgmac.c | 209 struct dsaf_device *dsaf_dev in hns_xgmac_init() 210 = (struct dsaf_device *)dev_get_drvdata(drv->dev); in hns_xgmac_init() 412 struct dsaf_device *dsaf_dev in hns_xgmac_free() 413 = (struct dsaf_device *)dev_get_drvdata(drv->dev); in hns_xgmac_free()
|
Completed in 29 milliseconds