Lines Matching defs:dev0
199 * @dev0: The PCI device (function 0) found
204 * NOTE: If it's successful, the reference of dev0 is increased,
208 static int get_dvsec_vendor0(struct pci_dev *dev, struct pci_dev **dev0,
225 *dev0 = dev;
232 struct pci_dev *dev0;
236 if (get_dvsec_vendor0(dev, &dev0, &pos))
239 pci_read_config_dword(dev0, pos + OCXL_DVSEC_VENDOR_RESET_RELOAD,
241 pci_dev_put(dev0);
248 struct pci_dev *dev0;
252 if (get_dvsec_vendor0(dev, &dev0, &pos))
255 pci_read_config_dword(dev0, pos + OCXL_DVSEC_VENDOR_RESET_RELOAD,
261 pci_write_config_dword(dev0, pos + OCXL_DVSEC_VENDOR_RESET_RELOAD,
263 pci_dev_put(dev0);