Searched refs:mci_pdev (Results 1 – 9 of 9) sorted by relevance
/linux-6.1.9/drivers/edac/ |
D | i82443bxgx_edac.c | 114 static struct pci_dev *mci_pdev; /* init dev: in case that AGP code has variable 360 if (mci_pdev == NULL) in i82443bxgx_edacmc_init_one() 361 mci_pdev = pci_dev_get(pdev); in i82443bxgx_edacmc_init_one() 408 if (mci_pdev == NULL) { in i82443bxgx_edacmc_init() 413 while (mci_pdev == NULL && id->vendor != 0) { in i82443bxgx_edacmc_init() 414 mci_pdev = pci_get_device(id->vendor, in i82443bxgx_edacmc_init() 419 if (!mci_pdev) { in i82443bxgx_edacmc_init() 425 pci_rc = i82443bxgx_edacmc_init_one(mci_pdev, i82443bxgx_pci_tbl); in i82443bxgx_edacmc_init() 440 pci_dev_put(mci_pdev); in i82443bxgx_edacmc_init() 449 i82443bxgx_edacmc_remove_one(mci_pdev); in i82443bxgx_edacmc_exit() [all …]
|
D | x38_edac.c | 146 static struct pci_dev *mci_pdev; variable 423 if (!mci_pdev) in x38_init_one() 424 mci_pdev = pci_dev_get(pdev); in x38_init_one() 475 if (!mci_pdev) { in x38_init() 477 mci_pdev = pci_get_device(PCI_VENDOR_ID_INTEL, in x38_init() 479 if (!mci_pdev) { in x38_init() 485 pci_rc = x38_init_one(mci_pdev, x38_pci_tbl); in x38_init() 499 pci_dev_put(mci_pdev); in x38_init() 510 x38_remove_one(mci_pdev); in x38_exit() 511 pci_dev_put(mci_pdev); in x38_exit()
|
D | i3000_edac.c | 186 static struct pci_dev *mci_pdev; variable 464 if (!mci_pdev) in i3000_init_one() 465 mci_pdev = pci_dev_get(pdev); in i3000_init_one() 517 if (!mci_pdev) { in i3000_init() 519 mci_pdev = pci_get_device(PCI_VENDOR_ID_INTEL, in i3000_init() 521 if (!mci_pdev) { in i3000_init() 527 pci_rc = i3000_init_one(mci_pdev, i3000_pci_tbl); in i3000_init() 541 pci_dev_put(mci_pdev); in i3000_init() 552 i3000_remove_one(mci_pdev); in i3000_exit() 553 pci_dev_put(mci_pdev); in i3000_exit()
|
D | i3200_edac.c | 162 static struct pci_dev *mci_pdev; variable 441 if (!mci_pdev) in i3200_init_one() 442 mci_pdev = pci_dev_get(pdev); in i3200_init_one() 497 if (!mci_pdev) { in i3200_init() 499 mci_pdev = pci_get_device(PCI_VENDOR_ID_INTEL, in i3200_init() 501 if (!mci_pdev) { in i3200_init() 507 pci_rc = i3200_init_one(mci_pdev, i3200_pci_tbl); in i3200_init() 521 pci_dev_put(mci_pdev); in i3200_init() 532 i3200_remove_one(mci_pdev); in i3200_exit() 533 pci_dev_put(mci_pdev); in i3200_exit()
|
D | i82875p_edac.c | 180 static struct pci_dev *mci_pdev; /* init dev: in case that AGP code has variable 484 if (mci_pdev == NULL) in i82875p_init_one() 485 mci_pdev = pci_dev_get(pdev); in i82875p_init_one() 551 if (mci_pdev == NULL) { in i82875p_init() 552 mci_pdev = pci_get_device(PCI_VENDOR_ID_INTEL, in i82875p_init() 555 if (!mci_pdev) { in i82875p_init() 561 pci_rc = i82875p_init_one(mci_pdev, i82875p_pci_tbl); in i82875p_init() 576 pci_dev_put(mci_pdev); in i82875p_init() 584 i82875p_remove_one(mci_pdev); in i82875p_exit() 585 pci_dev_put(mci_pdev); in i82875p_exit()
|
D | i82860_edac.c | 59 static struct pci_dev *mci_pdev; /* init dev: in case that AGP code variable 268 mci_pdev = pci_dev_get(pdev); in i82860_init_one() 318 if (!mci_pdev) { in i82860_init() 319 mci_pdev = pci_get_device(PCI_VENDOR_ID_INTEL, in i82860_init() 322 if (mci_pdev == NULL) { in i82860_init() 328 pci_rc = i82860_init_one(mci_pdev, i82860_pci_tbl); in i82860_init() 343 pci_dev_put(mci_pdev); in i82860_init() 351 pci_dev_put(mci_pdev); in i82860_exit()
|
D | i82975x_edac.c | 232 static struct pci_dev *mci_pdev; /* init dev: in case that AGP code has variable 601 if (mci_pdev == NULL) in i82975x_init_one() 602 mci_pdev = pci_dev_get(pdev); in i82975x_init_one() 657 if (mci_pdev == NULL) { in i82975x_init() 658 mci_pdev = pci_get_device(PCI_VENDOR_ID_INTEL, in i82975x_init() 661 if (!mci_pdev) { in i82975x_init() 667 pci_rc = i82975x_init_one(mci_pdev, i82975x_pci_tbl); in i82975x_init() 682 pci_dev_put(mci_pdev); in i82975x_init() 693 i82975x_remove_one(mci_pdev); in i82975x_exit() 694 pci_dev_put(mci_pdev); in i82975x_exit()
|
D | ie31200_edac.c | 181 static struct pci_dev *mci_pdev; variable 556 if (rc == 0 && !mci_pdev) in ie31200_init_one() 557 mci_pdev = pci_dev_get(pdev); in ie31200_init_one() 568 pci_dev_put(mci_pdev); in ie31200_remove_one() 569 mci_pdev = NULL; in ie31200_remove_one() 623 if (!mci_pdev) { in ie31200_init() 626 mci_pdev = pci_get_device(ie31200_pci_tbl[i].vendor, in ie31200_init() 629 if (mci_pdev) in ie31200_init() 632 if (!mci_pdev) { in ie31200_init() 637 pci_rc = ie31200_init_one(mci_pdev, &ie31200_pci_tbl[i]); in ie31200_init() [all …]
|
D | edac_mc_sysfs.c | 89 static struct device *mci_pdev; variable 941 mci->dev.parent = mci_pdev; in edac_create_sysfs_mci_device() 1032 mci_pdev = kzalloc(sizeof(*mci_pdev), GFP_KERNEL); in edac_mc_sysfs_init() 1033 if (!mci_pdev) in edac_mc_sysfs_init() 1036 mci_pdev->bus = edac_get_sysfs_subsys(); in edac_mc_sysfs_init() 1037 mci_pdev->release = mc_attr_release; in edac_mc_sysfs_init() 1038 mci_pdev->init_name = "mc"; in edac_mc_sysfs_init() 1040 err = device_register(mci_pdev); in edac_mc_sysfs_init() 1042 edac_dbg(1, "failure: create device %s\n", dev_name(mci_pdev)); in edac_mc_sysfs_init() 1043 put_device(mci_pdev); in edac_mc_sysfs_init() [all …]
|