Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/qualcomm/rmnet/
Drmnet_vnd.c79 static int rmnet_vnd_change_mtu(struct net_device *rmnet_dev, int new_mtu) in rmnet_vnd_change_mtu() argument
81 struct rmnet_priv *priv = netdev_priv(rmnet_dev); in rmnet_vnd_change_mtu()
93 WRITE_ONCE(rmnet_dev->mtu, new_mtu); in rmnet_vnd_change_mtu()
272 void rmnet_vnd_setup(struct net_device *rmnet_dev) in rmnet_vnd_setup() argument
274 rmnet_dev->netdev_ops = &rmnet_vnd_ops; in rmnet_vnd_setup()
275 rmnet_dev->mtu = RMNET_DFLT_PACKET_SIZE; in rmnet_vnd_setup()
276 rmnet_dev->needed_headroom = RMNET_NEEDED_HEADROOM; in rmnet_vnd_setup()
277 eth_hw_addr_random(rmnet_dev); in rmnet_vnd_setup()
278 rmnet_dev->tx_queue_len = RMNET_TX_QUEUE_LEN; in rmnet_vnd_setup()
281 rmnet_dev->header_ops = NULL; /* No header */ in rmnet_vnd_setup()
[all …]
Drmnet_config.c93 struct net_device *bridge_dev, *real_dev, *rmnet_dev; in rmnet_unregister_bridge() local
99 rmnet_dev = port->rmnet_dev; in rmnet_unregister_bridge()
116 netdev_upper_dev_unlink(bridge_dev, rmnet_dev); in rmnet_unregister_bridge()
163 port->rmnet_dev = dev; in rmnet_newlink()
431 int rmnet_add_bridge(struct net_device *rmnet_dev, in rmnet_add_bridge() argument
435 struct rmnet_priv *priv = netdev_priv(rmnet_dev); in rmnet_add_bridge()
466 err = netdev_master_upper_dev_link(slave_dev, rmnet_dev, NULL, NULL, in rmnet_add_bridge()
476 slave_port->rmnet_dev = rmnet_dev; in rmnet_add_bridge()
485 int rmnet_del_bridge(struct net_device *rmnet_dev, in rmnet_del_bridge() argument
Drmnet_config.h39 struct net_device *rmnet_dev; member
94 int rmnet_add_bridge(struct net_device *rmnet_dev,
97 int rmnet_del_bridge(struct net_device *rmnet_dev,
Drmnet_vnd.h11 int rmnet_vnd_newlink(u8 id, struct net_device *rmnet_dev,
Drmnet_map_data.c539 priv = netdev_priv(port->rmnet_dev); in rmnet_send_skb()