Home
last modified time | relevance | path

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

/linux-6.15/drivers/net/ethernet/hisilicon/hns/
H A Dhns_dsaf_rcb.c298 if (AE_IS_VER1(rcb_common->dsaf_dev->dsaf_ver)) { in hns_rcb_set_port_timeout()
382 if (!AE_IS_VER1(rcb_common->dsaf_dev->dsaf_ver) && in hns_rcb_common_init_hw()
393 if (AE_IS_VER1(rcb_common->dsaf_dev->dsaf_ver)) { in hns_rcb_common_init_hw()
441 is_ver1 = AE_IS_VER1(ring_pair_cb->rcb_common->dsaf_dev->dsaf_ver); in hns_rcb_ring_get_cfg()
492 bool is_ver1 = AE_IS_VER1(rcb_common->dsaf_dev->dsaf_ver); in hns_rcb_get_base_irq_idx()
514 bool is_ver1 = AE_IS_VER1(rcb_common->dsaf_dev->dsaf_ver); in hns_rcb_get_cfg()
582 if (AE_IS_VER1(rcb_common->dsaf_dev->dsaf_ver)) in hns_rcb_get_coalesce_usecs()
607 if (AE_IS_VER1(rcb_common->dsaf_dev->dsaf_ver)) { in hns_rcb_set_coalesce_usecs()
962 bool is_ver1 = AE_IS_VER1(rcb_com->dsaf_dev->dsaf_ver); in hns_rcb_get_common_regs()
H A Dhns_dsaf_main.c56 dsaf_dev->dsaf_ver = AE_VERSION_1; in hns_dsaf_get_cfg()
58 dsaf_dev->dsaf_ver = AE_VERSION_2; in hns_dsaf_get_cfg()
61 dsaf_dev->dsaf_ver = AE_VERSION_1; in hns_dsaf_get_cfg()
63 dsaf_dev->dsaf_ver = AE_VERSION_2; in hns_dsaf_get_cfg()
270 if (AE_IS_VER1(dsaf_dev->dsaf_ver)) in hns_dsaf_inner_qid_cfg()
791 if (AE_IS_VER1(dsaf_dev->dsaf_ver)) in hns_dsaf_rocee_bp_en()
1175 if (AE_IS_VER1(dsaf_dev->dsaf_ver)) { in hns_dsaf_set_pfc_pause()
1191 if (AE_IS_VER1(dsaf_dev->dsaf_ver)) { in hns_dsaf_set_rx_mac_pause_en()
1207 if (AE_IS_VER1(dsaf_dev->dsaf_ver)) in hns_dsaf_get_rx_mac_pause_en()
1283 if (AE_IS_VER1(dsaf_dev->dsaf_ver)) { in hns_dsaf_inode_init()
[all …]
H A Dhns_ae_adapt.c302 if (!AE_IS_VER1(mac_cb->dsaf_dev->dsaf_ver)) { in hns_ae_set_mtu()
343 if (AE_IS_VER1(mac_cb->dsaf_dev->dsaf_ver)) in hns_ae_start()
444 switch (mac_cb->dsaf_dev->dsaf_ver) { in hns_ae_adjust_link()
536 if (AE_IS_VER1(dsaf_dev->dsaf_ver) || in hns_ae_get_max_coalesced_frames()
565 if (AE_IS_VER1(dsaf_dev->dsaf_ver) || in hns_ae_set_coalesce_frames()
602 if (AE_IS_VER1(dsaf_dev->dsaf_ver) || in hns_ae_get_coalesce_range()
974 switch (dsaf_dev->dsaf_ver) { in hns_dsaf_ae_init()
H A Dhns_dsaf_misc.c347 reg_val_2 = AE_IS_VER1(dsaf_dev->dsaf_ver) ? in hns_dsaf_ge_srst_by_port()
366 reg_val_2 = AE_IS_VER1(dsaf_dev->dsaf_ver) ? 0x100 : 0x40; in hns_dsaf_ge_srst_by_port()
453 bool is_ver1 = AE_IS_VER1(mac_cb->dsaf_dev->dsaf_ver); in hns_mac_get_phy_if()
590 if (!AE_IS_VER1(mac_cb->dsaf_dev->dsaf_ver)) { in hns_mac_config_sds_loopback()
H A Dhns_dsaf_main.h313 u32 dsaf_ver; member
H A Dhns_dsaf_mac.c492 bool is_ver1 = AE_IS_VER1(mac_cb->dsaf_dev->dsaf_ver); in hns_mac_reset()
638 bool is_ver1 = AE_IS_VER1(mac_cb->dsaf_dev->dsaf_ver); in hns_mac_set_pauseparam()
H A Dhns_dsaf_ppe.c326 if (!AE_IS_VER1(dsaf_dev->dsaf_ver)) { in hns_ppe_init_hw()