einj 345 drivers/edac/i5100_edac.c struct pci_dev *einj; /* device 19 func 0 */ einj 940 drivers/edac/i5100_edac.c pci_write_config_byte(priv->einj, I5100_DINJ0, 0xaa); einj 941 drivers/edac/i5100_edac.c pci_write_config_byte(priv->einj, I5100_DINJ0, 0xab); einj 999 drivers/edac/i5100_edac.c struct pci_dev *ch0mm, *ch1mm, *einj; einj 1073 drivers/edac/i5100_edac.c einj = pci_get_device_func(PCI_VENDOR_ID_INTEL, einj 1075 drivers/edac/i5100_edac.c if (!einj) { einj 1080 drivers/edac/i5100_edac.c rc = pci_enable_device(einj); einj 1094 drivers/edac/i5100_edac.c priv->einj = einj; einj 1155 drivers/edac/i5100_edac.c pci_disable_device(einj); einj 1158 drivers/edac/i5100_edac.c pci_dev_put(einj); einj 1199 drivers/edac/i5100_edac.c pci_disable_device(priv->einj); einj 1202 drivers/edac/i5100_edac.c pci_dev_put(priv->einj); einj 319 drivers/pci/pcie/aer_inject.c static int aer_inject(struct aer_error_inj *einj) einj 327 drivers/pci/pcie/aer_inject.c unsigned int devfn = PCI_DEVFN(einj->dev, einj->fn); einj 332 drivers/pci/pcie/aer_inject.c dev = pci_get_domain_bus_and_slot(einj->domain, einj->bus, devfn); einj 373 drivers/pci/pcie/aer_inject.c cor_mask &= !(einj->cor_status); einj 378 drivers/pci/pcie/aer_inject.c uncor_mask &= !(einj->uncor_status); einj 389 drivers/pci/pcie/aer_inject.c aer_error_init(err, einj->domain, einj->bus, devfn, einj 393 drivers/pci/pcie/aer_inject.c err->uncor_status |= einj->uncor_status; einj 394 drivers/pci/pcie/aer_inject.c err->cor_status |= einj->cor_status; einj 395 drivers/pci/pcie/aer_inject.c err->header_log0 = einj->header_log0; einj 396 drivers/pci/pcie/aer_inject.c err->header_log1 = einj->header_log1; einj 397 drivers/pci/pcie/aer_inject.c err->header_log2 = einj->header_log2; einj 398 drivers/pci/pcie/aer_inject.c err->header_log3 = einj->header_log3; einj 400 drivers/pci/pcie/aer_inject.c if (!aer_mask_override && einj->cor_status && einj 401 drivers/pci/pcie/aer_inject.c !(einj->cor_status & ~cor_mask)) { einj 407 drivers/pci/pcie/aer_inject.c if (!aer_mask_override && einj->uncor_status && einj 408 drivers/pci/pcie/aer_inject.c !(einj->uncor_status & ~uncor_mask)) { einj 424 drivers/pci/pcie/aer_inject.c if (einj->cor_status) { einj 430 drivers/pci/pcie/aer_inject.c rperr->source_id |= (einj->bus << 8) | devfn; einj 432 drivers/pci/pcie/aer_inject.c if (einj->uncor_status) { einj 435 drivers/pci/pcie/aer_inject.c if (sever & einj->uncor_status) { einj 443 drivers/pci/pcie/aer_inject.c rperr->source_id |= ((einj->bus << 8) | devfn) << 16; einj 470 drivers/pci/pcie/aer_inject.c einj->cor_status, einj->uncor_status, pci_name(dev)); einj 488 drivers/pci/pcie/aer_inject.c struct aer_error_inj einj; einj 494 drivers/pci/pcie/aer_inject.c usize > sizeof(einj)) einj 497 drivers/pci/pcie/aer_inject.c memset(&einj, 0, sizeof(einj)); einj 498 drivers/pci/pcie/aer_inject.c if (copy_from_user(&einj, ubuf, usize)) einj 501 drivers/pci/pcie/aer_inject.c ret = aer_inject(&einj);