Home
last modified time | relevance | path

Searched defs:nsim_bus_dev (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.6/drivers/net/netdevsim/
Dbus.c30 struct nsim_bus_dev *nsim_bus_dev = to_nsim_bus_dev(dev); in nsim_bus_dev_numvfs_store() local
51 struct nsim_bus_dev *nsim_bus_dev = to_nsim_bus_dev(dev); in nsim_bus_dev_numvfs_show() local
64 struct nsim_bus_dev *nsim_bus_dev = to_nsim_bus_dev(dev); in new_port_store() local
85 struct nsim_bus_dev *nsim_bus_dev = to_nsim_bus_dev(dev); in del_port_store() local
120 struct nsim_bus_dev *nsim_bus_dev; in nsim_bus_dev_release() local
138 struct nsim_bus_dev *nsim_bus_dev; in new_device_store() local
191 struct nsim_bus_dev *nsim_bus_dev, *tmp; in del_device_store() local
237 struct nsim_bus_dev *nsim_bus_dev = to_nsim_bus_dev(dev); in nsim_bus_probe() local
244 struct nsim_bus_dev *nsim_bus_dev = to_nsim_bus_dev(dev); in nsim_bus_remove() local
251 struct nsim_bus_dev *nsim_bus_dev = to_nsim_bus_dev(dev); in nsim_num_vf() local
[all …]
Dnetdevsim.h103 struct nsim_bus_dev *nsim_bus_dev; member
279 struct nsim_bus_dev *nsim_bus_dev; member
405 struct nsim_bus_dev { struct
406 struct device dev;
407 struct list_head list;
408 unsigned int port_count;
409 unsigned int num_queues; /* Number of queues for each port on this bus */
410 struct net *initial_net; /* Purpose of this is to carry net pointer
413 unsigned int max_vfs;
414 unsigned int num_vfs;
[all …]
Ddev.c68 nsim_bus_dev_set_vfs(struct nsim_bus_dev *nsim_bus_dev, unsigned int num_vfs) in nsim_bus_dev_set_vfs()
394 struct nsim_bus_dev *nsim_bus_dev = nsim_dev->nsim_bus_dev; in nsim_dev_port_debugfs_init() local
1460 struct nsim_bus_dev *nsim_bus_dev = nsim_dev->nsim_bus_dev; in nsim_dev_reload_create() local
1524 int nsim_drv_probe(struct nsim_bus_dev *nsim_bus_dev) in nsim_drv_probe()
1667 void nsim_drv_remove(struct nsim_bus_dev *nsim_bus_dev) in nsim_drv_remove()
1701 int nsim_drv_port_add(struct nsim_bus_dev *nsim_bus_dev, enum nsim_dev_port_type type, in nsim_drv_port_add()
1716 int nsim_drv_port_del(struct nsim_bus_dev *nsim_bus_dev, enum nsim_dev_port_type type, in nsim_drv_port_del()
1733 int nsim_drv_configure_vfs(struct nsim_bus_dev *nsim_bus_dev, in nsim_drv_configure_vfs()