Home
last modified time | relevance | path

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

/Linux-v5.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.c1000 struct nsim_bus_dev *nsim_bus_dev = nsim_dev->nsim_bus_dev; in nsim_dev_reload_create() local
1051 int nsim_dev_probe(struct nsim_bus_dev *nsim_bus_dev) in nsim_dev_probe()
1162 void nsim_dev_remove(struct nsim_bus_dev *nsim_bus_dev) in nsim_dev_remove()
1191 int nsim_dev_port_add(struct nsim_bus_dev *nsim_bus_dev, in nsim_dev_port_add()
1206 int nsim_dev_port_del(struct nsim_bus_dev *nsim_bus_dev, in nsim_dev_port_del()