Lines Matching refs:dev0
208 static int get_dvsec_vendor0(struct pci_dev *dev, struct pci_dev **dev0, in get_dvsec_vendor0() argument
225 *dev0 = dev; in get_dvsec_vendor0()
232 struct pci_dev *dev0; in ocxl_config_get_reset_reload() local
236 if (get_dvsec_vendor0(dev, &dev0, &pos)) in ocxl_config_get_reset_reload()
239 pci_read_config_dword(dev0, pos + OCXL_DVSEC_VENDOR_RESET_RELOAD, in ocxl_config_get_reset_reload()
241 pci_dev_put(dev0); in ocxl_config_get_reset_reload()
248 struct pci_dev *dev0; in ocxl_config_set_reset_reload() local
252 if (get_dvsec_vendor0(dev, &dev0, &pos)) in ocxl_config_set_reset_reload()
255 pci_read_config_dword(dev0, pos + OCXL_DVSEC_VENDOR_RESET_RELOAD, in ocxl_config_set_reset_reload()
261 pci_write_config_dword(dev0, pos + OCXL_DVSEC_VENDOR_RESET_RELOAD, in ocxl_config_set_reset_reload()
263 pci_dev_put(dev0); in ocxl_config_set_reset_reload()