Lines Matching refs:real_dev
74 struct net_device *real_dev; member
81 struct net_device *real_dev = priv->real_dev; in qmimux_open() local
83 if (!(priv->real_dev->flags & IFF_UP)) in qmimux_open()
86 if (netif_carrier_ok(real_dev)) in qmimux_open()
108 skb->dev = priv->real_dev; in qmimux_start_xmit()
244 static int qmimux_register_device(struct net_device *real_dev, u8 mux_id) in qmimux_register_device() argument
255 dev_net_set(new_dev, dev_net(real_dev)); in qmimux_register_device()
258 priv->real_dev = real_dev; in qmimux_register_device()
273 dev_hold(real_dev); in qmimux_register_device()
275 err = netdev_upper_dev_link(real_dev, new_dev, NULL); in qmimux_register_device()
279 netif_stacked_transfer_operstate(real_dev, new_dev); in qmimux_register_device()
285 dev_put(real_dev); in qmimux_register_device()
296 struct net_device *real_dev = priv->real_dev; in qmimux_unregister_device() local
299 netdev_upper_dev_unlink(real_dev, dev); in qmimux_unregister_device()
303 dev_put(real_dev); in qmimux_unregister_device()