Searched refs:GET_INDEX (Results 1 – 2 of 2) sorted by relevance
206 #define GET_INDEX(a, b) ((((a) - PCI_DEVICE_ID_INTEL_MCH_PA) << 3) + ((b) & 7)) macro222 offset = quirk_aspm_offset[GET_INDEX(bus->self->device, devfn)]; in quirk_pcie_aspm_write()269 for (i = GET_INDEX(pdev->device, 0); i <= GET_INDEX(pdev->device, 7); ++i) in pcie_rootport_aspm_quirk()282 quirk_aspm_offset[GET_INDEX(pdev->device, dev->devfn)] = in pcie_rootport_aspm_quirk()
799 #define GET_INDEX(b, c) GET_CONTEXT_FIELD(b, c, V2PSR, INDEX) macro