Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/netdevsim/
Dbus.c34 struct nsim_bus_dev *nsim_bus_dev = to_nsim_bus_dev(dev); in nsim_bus_dev_numvfs_store() local
55 struct nsim_bus_dev *nsim_bus_dev = to_nsim_bus_dev(dev); in nsim_bus_dev_numvfs_show() local
68 struct nsim_bus_dev *nsim_bus_dev = to_nsim_bus_dev(dev); in new_port_store() local
89 struct nsim_bus_dev *nsim_bus_dev = to_nsim_bus_dev(dev); in del_port_store() local
124 struct nsim_bus_dev *nsim_bus_dev; in nsim_bus_dev_release() local
144 struct nsim_bus_dev *nsim_bus_dev; in new_device_store() local
198 struct nsim_bus_dev *nsim_bus_dev, *tmp; in del_device_store() local
389 struct nsim_bus_dev *nsim_bus_dev = to_nsim_bus_dev(dev); in nsim_bus_probe() local
396 struct nsim_bus_dev *nsim_bus_dev = to_nsim_bus_dev(dev); in nsim_bus_remove() local
403 struct nsim_bus_dev *nsim_bus_dev = to_nsim_bus_dev(dev); in nsim_num_vf() local
[all …]
Dnetdevsim.h111 struct nsim_bus_dev *nsim_bus_dev; member
292 struct nsim_bus_dev *nsim_bus_dev; member
418 struct nsim_bus_dev { struct
419 struct device dev;
420 struct list_head list;
421 unsigned int port_count;
422 unsigned int num_queues; /* Number of queues for each port on this bus */
423 struct net *initial_net; /* Purpose of this is to carry net pointer
426 unsigned int max_vfs;
427 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
1463 struct nsim_bus_dev *nsim_bus_dev = nsim_dev->nsim_bus_dev; in nsim_dev_reload_create() local
1527 int nsim_drv_probe(struct nsim_bus_dev *nsim_bus_dev) in nsim_drv_probe()
1670 void nsim_drv_remove(struct nsim_bus_dev *nsim_bus_dev) in nsim_drv_remove()
1704 int nsim_drv_port_add(struct nsim_bus_dev *nsim_bus_dev, enum nsim_dev_port_type type, in nsim_drv_port_add()
1719 int nsim_drv_port_del(struct nsim_bus_dev *nsim_bus_dev, enum nsim_dev_port_type type, in nsim_drv_port_del()
1736 int nsim_drv_configure_vfs(struct nsim_bus_dev *nsim_bus_dev, in nsim_drv_configure_vfs()