Lines Matching refs:slave_dev
432 struct net_device *slave_dev, in rmnet_add_bridge() argument
455 if (rmnet_is_real_dev_registered(slave_dev)) { in rmnet_add_bridge()
462 err = rmnet_register_real_device(slave_dev, extack); in rmnet_add_bridge()
466 err = netdev_master_upper_dev_link(slave_dev, rmnet_dev, NULL, NULL, in rmnet_add_bridge()
469 rmnet_unregister_real_device(slave_dev); in rmnet_add_bridge()
473 slave_port = rmnet_get_port_rtnl(slave_dev); in rmnet_add_bridge()
479 port->bridge_ep = slave_dev; in rmnet_add_bridge()
481 netdev_dbg(slave_dev, "registered with rmnet as slave\n"); in rmnet_add_bridge()
486 struct net_device *slave_dev) in rmnet_del_bridge() argument
488 struct rmnet_port *port = rmnet_get_port_rtnl(slave_dev); in rmnet_del_bridge()
492 netdev_dbg(slave_dev, "removed from rmnet as slave\n"); in rmnet_del_bridge()