Lines Matching defs:ndev
82 static int hns3_lp_setup(struct net_device *ndev, enum hnae3_loop loop, bool en) in hns3_lp_setup()
117 static int hns3_lp_up(struct net_device *ndev, enum hnae3_loop loop_mode) in hns3_lp_up()
132 static int hns3_lp_down(struct net_device *ndev, enum hnae3_loop loop_mode) in hns3_lp_down()
151 struct net_device *ndev = skb->dev; in hns3_lp_setup_skb() local
249 static int hns3_lp_run_test(struct net_device *ndev, enum hnae3_loop mode) in hns3_lp_run_test()
328 static void hns3_selftest_prepare(struct net_device *ndev, bool if_running) in hns3_selftest_prepare()
353 static void hns3_selftest_restore(struct net_device *ndev, bool if_running) in hns3_selftest_restore()
373 static void hns3_do_selftest(struct net_device *ndev, int (*st_param)[2], in hns3_do_selftest()
398 static void hns3_do_external_lb(struct net_device *ndev, in hns3_do_external_lb()
418 static void hns3_self_test(struct net_device *ndev, in hns3_self_test()
1110 static int hns3_check_ringparam(struct net_device *ndev, in hns3_check_ringparam()
1147 hns3_is_ringparam_changed(struct net_device *ndev, in hns3_is_ringparam_changed()
1176 static int hns3_change_rx_buf_len(struct net_device *ndev, u32 rx_buf_len) in hns3_change_rx_buf_len()
1216 static int hns3_set_ringparam(struct net_device *ndev, in hns3_set_ringparam()