Lines Matching defs:ndev
81 static int hns3_lp_setup(struct net_device *ndev, enum hnae3_loop loop, bool en) in hns3_lp_setup()
115 static int hns3_lp_up(struct net_device *ndev, enum hnae3_loop loop_mode) in hns3_lp_up()
130 static int hns3_lp_down(struct net_device *ndev, enum hnae3_loop loop_mode) in hns3_lp_down()
149 struct net_device *ndev = skb->dev; in hns3_lp_setup_skb() local
245 static int hns3_lp_run_test(struct net_device *ndev, enum hnae3_loop mode) in hns3_lp_run_test()
321 static void hns3_selftest_prepare(struct net_device *ndev, in hns3_selftest_prepare()
352 static void hns3_selftest_restore(struct net_device *ndev, bool if_running) in hns3_selftest_restore()
375 static void hns3_do_selftest(struct net_device *ndev, int (*st_param)[2], in hns3_do_selftest()
406 static void hns3_self_test(struct net_device *ndev, in hns3_self_test()
1060 static int hns3_check_ringparam(struct net_device *ndev, in hns3_check_ringparam()
1081 static int hns3_set_ringparam(struct net_device *ndev, in hns3_set_ringparam()