Home
last modified time | relevance | path

Searched refs:rmnet_dev (Results 1 – 4 of 4) sorted by relevance

/drivers/net/ethernet/qualcomm/rmnet/
Drmnet_vnd.c74 static int rmnet_vnd_change_mtu(struct net_device *rmnet_dev, int new_mtu) in rmnet_vnd_change_mtu() argument
76 struct rmnet_priv *priv = netdev_priv(rmnet_dev); in rmnet_vnd_change_mtu()
88 rmnet_dev->mtu = new_mtu; in rmnet_vnd_change_mtu()
222 void rmnet_vnd_setup(struct net_device *rmnet_dev) in rmnet_vnd_setup() argument
224 rmnet_dev->netdev_ops = &rmnet_vnd_ops; in rmnet_vnd_setup()
225 rmnet_dev->mtu = RMNET_DFLT_PACKET_SIZE; in rmnet_vnd_setup()
226 rmnet_dev->needed_headroom = RMNET_NEEDED_HEADROOM; in rmnet_vnd_setup()
227 eth_random_addr(rmnet_dev->dev_addr); in rmnet_vnd_setup()
228 rmnet_dev->tx_queue_len = RMNET_TX_QUEUE_LEN; in rmnet_vnd_setup()
231 rmnet_dev->header_ops = NULL; /* No header */ in rmnet_vnd_setup()
[all …]
Drmnet_config.c88 struct net_device *bridge_dev, *real_dev, *rmnet_dev; in rmnet_unregister_bridge() local
94 rmnet_dev = port->rmnet_dev; in rmnet_unregister_bridge()
111 netdev_upper_dev_unlink(bridge_dev, rmnet_dev); in rmnet_unregister_bridge()
158 port->rmnet_dev = dev; in rmnet_newlink()
426 int rmnet_add_bridge(struct net_device *rmnet_dev, in rmnet_add_bridge() argument
430 struct rmnet_priv *priv = netdev_priv(rmnet_dev); in rmnet_add_bridge()
461 err = netdev_master_upper_dev_link(slave_dev, rmnet_dev, NULL, NULL, in rmnet_add_bridge()
471 slave_port->rmnet_dev = rmnet_dev; in rmnet_add_bridge()
480 int rmnet_del_bridge(struct net_device *rmnet_dev, in rmnet_del_bridge() argument
Drmnet_config.h32 struct net_device *rmnet_dev; member
74 int rmnet_add_bridge(struct net_device *rmnet_dev,
77 int rmnet_del_bridge(struct net_device *rmnet_dev,
Drmnet_vnd.h11 int rmnet_vnd_newlink(u8 id, struct net_device *rmnet_dev,