st_param 585 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c int st_param[SELF_TEST_TPYE_NUM][2]; st_param 589 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c st_param[0][0] = MAC_INTERNALLOOP_MAC; /* XGE not supported lb */ st_param 590 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c st_param[0][1] = (priv->ae_handle->phy_if != PHY_INTERFACE_MODE_XGMII); st_param 591 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c st_param[1][0] = MAC_INTERNALLOOP_SERDES; st_param 592 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c st_param[1][1] = 1; /*serdes must exist*/ st_param 593 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c st_param[2][0] = MAC_INTERNALLOOP_PHY; /* only supporte phy node*/ st_param 594 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c st_param[2][1] = ((!!(priv->ae_handle->phy_dev)) && st_param 604 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c if (!st_param[i][1]) st_param 608 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c (enum hnae_loop)st_param[i][0]); st_param 611 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c ndev, (enum hnae_loop)st_param[i][0]); st_param 613 drivers/net/ethernet/hisilicon/hns/hns_ethtool.c (enum hnae_loop)st_param[i][0]); st_param 302 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c int st_param[HNS3_SELF_TEST_TYPE_NUM][2]; st_param 321 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c st_param[HNAE3_LOOP_APP][0] = HNAE3_LOOP_APP; st_param 322 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c st_param[HNAE3_LOOP_APP][1] = st_param 325 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c st_param[HNAE3_LOOP_SERIAL_SERDES][0] = HNAE3_LOOP_SERIAL_SERDES; st_param 326 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c st_param[HNAE3_LOOP_SERIAL_SERDES][1] = st_param 329 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c st_param[HNAE3_LOOP_PARALLEL_SERDES][0] = st_param 331 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c st_param[HNAE3_LOOP_PARALLEL_SERDES][1] = st_param 334 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c st_param[HNAE3_LOOP_PHY][0] = HNAE3_LOOP_PHY; st_param 335 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c st_param[HNAE3_LOOP_PHY][1] = st_param 359 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c enum hnae3_loop loop_type = (enum hnae3_loop)st_param[i][0]; st_param 361 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c if (!st_param[i][1])