Lines Matching defs:dev0
210 * @dev0: The PCI device (function 0) found
215 * NOTE: If it's successful, the reference of dev0 is increased,
219 static int get_dvsec_vendor0(struct pci_dev *dev, struct pci_dev **dev0,
236 *dev0 = dev;
243 struct pci_dev *dev0;
247 if (get_dvsec_vendor0(dev, &dev0, &pos))
250 pci_read_config_dword(dev0, pos + OCXL_DVSEC_VENDOR_RESET_RELOAD,
252 pci_dev_put(dev0);
259 struct pci_dev *dev0;
263 if (get_dvsec_vendor0(dev, &dev0, &pos))
266 pci_read_config_dword(dev0, pos + OCXL_DVSEC_VENDOR_RESET_RELOAD,
272 pci_write_config_dword(dev0, pos + OCXL_DVSEC_VENDOR_RESET_RELOAD,
274 pci_dev_put(dev0);