Home
last modified time | relevance | path

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

/linux-6.1.9/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.h81 struct nsim_bus_dev *nsim_bus_dev; member
256 struct nsim_bus_dev *nsim_bus_dev; member
369 struct nsim_bus_dev { struct
370 struct device dev;
371 struct list_head list;
372 unsigned int port_count;
373 unsigned int num_queues; /* Number of queues for each port on this bus */
374 struct net *initial_net; /* Purpose of this is to carry net pointer
377 unsigned int max_vfs;
378 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()
397 struct nsim_bus_dev *nsim_bus_dev = nsim_dev->nsim_bus_dev; in nsim_dev_port_debugfs_init() local
1468 struct nsim_bus_dev *nsim_bus_dev = nsim_dev->nsim_bus_dev; in nsim_dev_reload_create() local
1532 int nsim_drv_probe(struct nsim_bus_dev *nsim_bus_dev) in nsim_drv_probe()
1671 void nsim_drv_remove(struct nsim_bus_dev *nsim_bus_dev) in nsim_drv_remove()
1705 int nsim_drv_port_add(struct nsim_bus_dev *nsim_bus_dev, enum nsim_dev_port_type type, in nsim_drv_port_add()
1720 int nsim_drv_port_del(struct nsim_bus_dev *nsim_bus_dev, enum nsim_dev_port_type type, in nsim_drv_port_del()
1737 int nsim_drv_configure_vfs(struct nsim_bus_dev *nsim_bus_dev, in nsim_drv_configure_vfs()