Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/netdevsim/
Dbus.c27 static int nsim_bus_dev_vfs_enable(struct nsim_bus_dev *nsim_bus_dev, in nsim_bus_dev_vfs_enable()
40 static void nsim_bus_dev_vfs_disable(struct nsim_bus_dev *nsim_bus_dev) in nsim_bus_dev_vfs_disable()
51 struct nsim_bus_dev *nsim_bus_dev = to_nsim_bus_dev(dev); in nsim_bus_dev_numvfs_store() local
86 struct nsim_bus_dev *nsim_bus_dev = to_nsim_bus_dev(dev); in nsim_bus_dev_numvfs_show() local
99 struct nsim_bus_dev *nsim_bus_dev = to_nsim_bus_dev(dev); in new_port_store() local
128 struct nsim_bus_dev *nsim_bus_dev = to_nsim_bus_dev(dev); in del_port_store() local
171 struct nsim_bus_dev *nsim_bus_dev = to_nsim_bus_dev(dev); in nsim_bus_dev_release() local
187 struct nsim_bus_dev *nsim_bus_dev; in new_device_store() local
239 struct nsim_bus_dev *nsim_bus_dev, *tmp; in del_device_store() local
285 struct nsim_bus_dev *nsim_bus_dev = to_nsim_bus_dev(dev); in nsim_bus_probe() local
[all …]
Dnetdev.c85 struct nsim_bus_dev *nsim_bus_dev = ns->nsim_bus_dev; in nsim_set_vf_mac() local
99 struct nsim_bus_dev *nsim_bus_dev = ns->nsim_bus_dev; in nsim_set_vf_vlan() local
114 struct nsim_bus_dev *nsim_bus_dev = ns->nsim_bus_dev; in nsim_set_vf_rate() local
128 struct nsim_bus_dev *nsim_bus_dev = ns->nsim_bus_dev; in nsim_set_vf_spoofchk() local
140 struct nsim_bus_dev *nsim_bus_dev = ns->nsim_bus_dev; in nsim_set_vf_rss_query_en() local
152 struct nsim_bus_dev *nsim_bus_dev = ns->nsim_bus_dev; in nsim_set_vf_trust() local
165 struct nsim_bus_dev *nsim_bus_dev = ns->nsim_bus_dev; in nsim_get_vf_config() local
188 struct nsim_bus_dev *nsim_bus_dev = ns->nsim_bus_dev; in nsim_set_vf_link_state() local
Dnetdevsim.h70 struct nsim_bus_dev *nsim_bus_dev; member
184 struct nsim_bus_dev *nsim_bus_dev; member
278 struct nsim_bus_dev { struct
279 struct device dev;
280 struct list_head list;
281 unsigned int port_count;
282 struct net *initial_net; /* Purpose of this is to carry net pointer
285 unsigned int num_vfs;
286 struct nsim_vf_config *vfconfigs;
288 struct mutex nsim_bus_reload_lock;
[all …]
Ddev.c997 struct nsim_bus_dev *nsim_bus_dev = nsim_dev->nsim_bus_dev; in nsim_dev_reload_create() local
1050 int nsim_dev_probe(struct nsim_bus_dev *nsim_bus_dev) in nsim_dev_probe()
1161 void nsim_dev_remove(struct nsim_bus_dev *nsim_bus_dev) in nsim_dev_remove()
1190 int nsim_dev_port_add(struct nsim_bus_dev *nsim_bus_dev, in nsim_dev_port_add()
1205 int nsim_dev_port_del(struct nsim_bus_dev *nsim_bus_dev, in nsim_dev_port_del()
/kernel/linux/linux-6.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
280 struct nsim_bus_dev *nsim_bus_dev; member
406 struct nsim_bus_dev { struct
407 struct device dev;
408 struct list_head list;
409 unsigned int port_count;
410 unsigned int num_queues; /* Number of queues for each port on this bus */
411 struct net *initial_net; /* Purpose of this is to carry net pointer
414 unsigned int max_vfs;
415 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()