Lines Matching defs:pos
98 int pos;
100 pos = pci_find_aer_capability(pdev->port);
108 pci_read_config_dword(pdev->port, pos + PCI_ERR_ROOT_STATUS, &status);
115 pci_read_config_dword(pdev->port, pos + PCI_ERR_ROOT_COR_SRC, &id);
116 pci_write_config_dword(pdev->port, pos + PCI_ERR_ROOT_STATUS, status);
248 int pos;
250 pos = pci_find_aer_capability(dev);
253 pci_write_config_dword(dev, pos + PCI_ERR_ROOT_COMMAND, 0);
273 pci_read_config_dword(dev, pos + PCI_ERR_ROOT_STATUS, &status);
274 pci_write_config_dword(dev, pos + PCI_ERR_ROOT_STATUS, status);
276 pos + PCI_ERR_ROOT_COMMAND,
304 int pos;
309 pos = pci_find_capability(dev, PCI_CAP_ID_EXP);
310 pci_read_config_word(dev, pos + PCI_EXP_DEVSTA, ®16);
311 pci_write_config_word(dev, pos + PCI_EXP_DEVSTA, reg16);
314 pos = pci_find_aer_capability(dev);
315 pci_read_config_dword(dev, pos + PCI_ERR_UNCOR_STATUS, &status);
316 pci_read_config_dword(dev, pos + PCI_ERR_UNCOR_SEVER, &mask);
321 pci_write_config_dword(dev, pos + PCI_ERR_UNCOR_STATUS, status);