Displaying 3 results from an estimated 3 matches for "disable_virtfn".
2008 Sep 01
2
[PATCH 3/4 v2] PCI: support SR-IOV capability
...m) ({ \
+ dev->iov->cb ? dev->iov->cb(dev, event, id, param) : 0; \
+})
+
+
+struct virtfn_slot {
+ int id;
+ char name[PCI_IOV_SLOTNAME_LEN];
+ struct pci_dev *dev;
+ struct list_head node;
+ struct hotplug_slot *slot;
+};
+
+static int enable_virtfn(struct hotplug_slot *);
+static int disable_virtfn(struct hotplug_slot *);
+static int set_virtfn_param(struct hotplug_slot *, const char *, int);
+static int get_virtfn_param(struct hotplug_slot *, const char **);
+
+static struct hotplug_slot_ops virtfn_slot_ops = {
+ .owner = THIS_MODULE,
+ .enable_slot = enable_virtfn,
+ .disable_slot = dis...
2008 Sep 01
2
[PATCH 3/4 v2] PCI: support SR-IOV capability
...m) ({ \
+ dev->iov->cb ? dev->iov->cb(dev, event, id, param) : 0; \
+})
+
+
+struct virtfn_slot {
+ int id;
+ char name[PCI_IOV_SLOTNAME_LEN];
+ struct pci_dev *dev;
+ struct list_head node;
+ struct hotplug_slot *slot;
+};
+
+static int enable_virtfn(struct hotplug_slot *);
+static int disable_virtfn(struct hotplug_slot *);
+static int set_virtfn_param(struct hotplug_slot *, const char *, int);
+static int get_virtfn_param(struct hotplug_slot *, const char **);
+
+static struct hotplug_slot_ops virtfn_slot_ops = {
+ .owner = THIS_MODULE,
+ .enable_slot = enable_virtfn,
+ .disable_slot = dis...
2008 Sep 01
2
[PATCH 3/4 v2] PCI: support SR-IOV capability
...m) ({ \
+ dev->iov->cb ? dev->iov->cb(dev, event, id, param) : 0; \
+})
+
+
+struct virtfn_slot {
+ int id;
+ char name[PCI_IOV_SLOTNAME_LEN];
+ struct pci_dev *dev;
+ struct list_head node;
+ struct hotplug_slot *slot;
+};
+
+static int enable_virtfn(struct hotplug_slot *);
+static int disable_virtfn(struct hotplug_slot *);
+static int set_virtfn_param(struct hotplug_slot *, const char *, int);
+static int get_virtfn_param(struct hotplug_slot *, const char **);
+
+static struct hotplug_slot_ops virtfn_slot_ops = {
+ .owner = THIS_MODULE,
+ .enable_slot = enable_virtfn,
+ .disable_slot = dis...