Lines Matching refs:dev0
219 static int get_dvsec_vendor0(struct pci_dev *dev, struct pci_dev **dev0, in get_dvsec_vendor0() argument
236 *dev0 = dev; in get_dvsec_vendor0()
243 struct pci_dev *dev0; in ocxl_config_get_reset_reload() local
247 if (get_dvsec_vendor0(dev, &dev0, &pos)) in ocxl_config_get_reset_reload()
250 pci_read_config_dword(dev0, pos + OCXL_DVSEC_VENDOR_RESET_RELOAD, in ocxl_config_get_reset_reload()
252 pci_dev_put(dev0); in ocxl_config_get_reset_reload()
259 struct pci_dev *dev0; in ocxl_config_set_reset_reload() local
263 if (get_dvsec_vendor0(dev, &dev0, &pos)) in ocxl_config_set_reset_reload()
266 pci_read_config_dword(dev0, pos + OCXL_DVSEC_VENDOR_RESET_RELOAD, in ocxl_config_set_reset_reload()
272 pci_write_config_dword(dev0, pos + OCXL_DVSEC_VENDOR_RESET_RELOAD, in ocxl_config_set_reset_reload()
274 pci_dev_put(dev0); in ocxl_config_set_reset_reload()