Home
last modified time | relevance | path

Searched refs:aer_pos (Results 1 – 2 of 2) sorted by relevance

/drivers/pci/pcie/aer/
Daerdrv.c125 int aer_pos; in aer_enable_rootport() local
137 aer_pos = pci_find_ext_capability(pdev, PCI_EXT_CAP_ID_ERR); in aer_enable_rootport()
139 pci_read_config_dword(pdev, aer_pos + PCI_ERR_ROOT_STATUS, &reg32); in aer_enable_rootport()
140 pci_write_config_dword(pdev, aer_pos + PCI_ERR_ROOT_STATUS, reg32); in aer_enable_rootport()
141 pci_read_config_dword(pdev, aer_pos + PCI_ERR_COR_STATUS, &reg32); in aer_enable_rootport()
142 pci_write_config_dword(pdev, aer_pos + PCI_ERR_COR_STATUS, reg32); in aer_enable_rootport()
143 pci_read_config_dword(pdev, aer_pos + PCI_ERR_UNCOR_STATUS, &reg32); in aer_enable_rootport()
144 pci_write_config_dword(pdev, aer_pos + PCI_ERR_UNCOR_STATUS, reg32); in aer_enable_rootport()
153 pci_read_config_dword(pdev, aer_pos + PCI_ERR_ROOT_COMMAND, &reg32); in aer_enable_rootport()
155 pci_write_config_dword(pdev, aer_pos + PCI_ERR_ROOT_COMMAND, reg32); in aer_enable_rootport()
/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_main.c1446 u32 aer_pos; in netxen_mask_aer_correctable() local
1459 aer_pos = pci_find_ext_capability(root, PCI_EXT_CAP_ID_ERR); in netxen_mask_aer_correctable()
1460 if (!aer_pos) in netxen_mask_aer_correctable()
1463 pci_write_config_dword(root, aer_pos + PCI_ERR_COR_MASK, 0xffff); in netxen_mask_aer_correctable()