Lines Matching refs:slave_dev
427 struct net_device *slave_dev, in rmnet_add_bridge() argument
450 if (rmnet_is_real_dev_registered(slave_dev)) { in rmnet_add_bridge()
457 err = rmnet_register_real_device(slave_dev, extack); in rmnet_add_bridge()
461 err = netdev_master_upper_dev_link(slave_dev, rmnet_dev, NULL, NULL, in rmnet_add_bridge()
464 rmnet_unregister_real_device(slave_dev); in rmnet_add_bridge()
468 slave_port = rmnet_get_port_rtnl(slave_dev); in rmnet_add_bridge()
474 port->bridge_ep = slave_dev; in rmnet_add_bridge()
476 netdev_dbg(slave_dev, "registered with rmnet as slave\n"); in rmnet_add_bridge()
481 struct net_device *slave_dev) in rmnet_del_bridge() argument
483 struct rmnet_port *port = rmnet_get_port_rtnl(slave_dev); in rmnet_del_bridge()
487 netdev_dbg(slave_dev, "removed from rmnet as slave\n"); in rmnet_del_bridge()