Home
last modified time | relevance | path

Searched refs:dsaf_ver (Results 1 – 7 of 7) sorted by relevance

/Linux-v4.19/drivers/net/ethernet/hisilicon/hns/
Dhns_dsaf_main.c60 dsaf_dev->dsaf_ver = AE_VERSION_1; in hns_dsaf_get_cfg()
62 dsaf_dev->dsaf_ver = AE_VERSION_2; in hns_dsaf_get_cfg()
65 dsaf_dev->dsaf_ver = AE_VERSION_1; in hns_dsaf_get_cfg()
67 dsaf_dev->dsaf_ver = AE_VERSION_2; in hns_dsaf_get_cfg()
274 if (AE_IS_VER1(dsaf_dev->dsaf_ver)) in hns_dsaf_inner_qid_cfg()
327 (AE_IS_VER1((dev)->dsaf_ver) ? DSAF_SBM_NUM : DSAFV2_SBM_NUM)
768 if (AE_IS_VER1(dsaf_dev->dsaf_ver) && !HNS_DSAF_IS_DEBUG(dsaf_dev)) in hns_dsaf_set_promisc_mode()
796 if (AE_IS_VER1(dsaf_dev->dsaf_ver)) in hns_dsaf_rocee_bp_en()
1118 if (AE_IS_VER1(dsaf_dev->dsaf_ver)) { in hns_dsaf_set_pfc_pause()
1134 if (AE_IS_VER1(dsaf_dev->dsaf_ver)) { in hns_dsaf_set_rx_mac_pause_en()
[all …]
Dhns_dsaf_rcb.c310 if (AE_IS_VER1(rcb_common->dsaf_dev->dsaf_ver)) { in hns_rcb_set_port_timeout()
394 if (!AE_IS_VER1(rcb_common->dsaf_dev->dsaf_ver) && in hns_rcb_common_init_hw()
405 if (AE_IS_VER1(rcb_common->dsaf_dev->dsaf_ver)) { in hns_rcb_common_init_hw()
453 is_ver1 = AE_IS_VER1(ring_pair_cb->rcb_common->dsaf_dev->dsaf_ver); in hns_rcb_ring_get_cfg()
504 bool is_ver1 = AE_IS_VER1(rcb_common->dsaf_dev->dsaf_ver); in hns_rcb_get_base_irq_idx()
526 bool is_ver1 = AE_IS_VER1(rcb_common->dsaf_dev->dsaf_ver); in hns_rcb_get_cfg()
594 if (AE_IS_VER1(rcb_common->dsaf_dev->dsaf_ver)) in hns_rcb_get_coalesce_usecs()
619 if (AE_IS_VER1(rcb_common->dsaf_dev->dsaf_ver)) { in hns_rcb_set_coalesce_usecs()
1002 bool is_ver1 = AE_IS_VER1(rcb_com->dsaf_dev->dsaf_ver); in hns_rcb_get_common_regs()
Dhns_ae_adapt.c311 if (!AE_IS_VER1(mac_cb->dsaf_dev->dsaf_ver)) { in hns_ae_set_mtu()
352 if (AE_IS_VER1(mac_cb->dsaf_dev->dsaf_ver)) in hns_ae_start()
450 switch (mac_cb->dsaf_dev->dsaf_ver) { in hns_ae_adjust_link()
562 if (AE_IS_VER1(dsaf_dev->dsaf_ver) || in hns_ae_get_max_coalesced_frames()
591 if (AE_IS_VER1(dsaf_dev->dsaf_ver) || in hns_ae_set_coalesce_frames()
628 if (AE_IS_VER1(dsaf_dev->dsaf_ver) || in hns_ae_get_coalesce_range()
1008 switch (dsaf_dev->dsaf_ver) { in hns_dsaf_ae_init()
Dhns_dsaf_misc.c408 reg_val_2 = AE_IS_VER1(dsaf_dev->dsaf_ver) ? in hns_dsaf_ge_srst_by_port()
427 reg_val_2 = AE_IS_VER1(dsaf_dev->dsaf_ver) ? 0x100 : 0x40; in hns_dsaf_ge_srst_by_port()
514 bool is_ver1 = AE_IS_VER1(mac_cb->dsaf_dev->dsaf_ver); in hns_mac_get_phy_if()
650 if (!AE_IS_VER1(mac_cb->dsaf_dev->dsaf_ver)) { in hns_mac_config_sds_loopback()
Dhns_dsaf_main.h343 u32 dsaf_ver; member
Dhns_dsaf_mac.c466 bool is_ver1 = AE_IS_VER1(mac_cb->dsaf_dev->dsaf_ver); in hns_mac_reset()
612 bool is_ver1 = AE_IS_VER1(mac_cb->dsaf_dev->dsaf_ver); in hns_mac_set_pauseparam()
Dhns_dsaf_ppe.c332 if (!AE_IS_VER1(dsaf_dev->dsaf_ver)) { in hns_ppe_init_hw()