Home
last modified time | relevance | path

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

/drivers/pci/pcie/aer/
Daer_inject.c52 int pos_cap_err; member
79 int pos_cap_err) in aer_error_init() argument
85 err->pos_cap_err = pos_cap_err; in aer_error_init()
147 if (err->pos_cap_err == -1) in find_pci_config_dword()
150 switch (where - err->pos_cap_err) { in find_pci_config_dword()
328 int pos_cap_err, rp_pos_cap_err; in aer_inject() local
341 pos_cap_err = pci_find_ext_capability(dev, PCI_EXT_CAP_ID_ERR); in aer_inject()
342 if (!pos_cap_err) { in aer_inject()
346 pci_read_config_dword(dev, pos_cap_err + PCI_ERR_UNCOR_SEVER, &sever); in aer_inject()
347 pci_read_config_dword(dev, pos_cap_err + PCI_ERR_COR_MASK, &cor_mask); in aer_inject()
[all …]