Searched refs:ncapid (Results 1 – 2 of 2) sorted by relevance
318 u32 tstatus, mstatus, ncapid; in agp_3_5_enable() local398 pci_read_config_dword(dev, mcapndx, &ncapid); in agp_3_5_enable()399 if ((ncapid & 0xff) != 2) in agp_3_5_enable()400 mcapndx = (ncapid >> 8) & 0xff; in agp_3_5_enable()402 while (((ncapid & 0xff) != 2) && (mcapndx != 0)); in agp_3_5_enable()413 mmajor = (ncapid >> AGP_MAJOR_VERSION_SHIFT) & 0xf; in agp_3_5_enable()
791 u32 ncapid; in get_agp_version() local797 pci_read_config_dword(bridge->dev, bridge->capndx, &ncapid); in get_agp_version()798 bridge->major_version = (ncapid >> AGP_MAJOR_VERSION_SHIFT) & 0xf; in get_agp_version()799 bridge->minor_version = (ncapid >> AGP_MINOR_VERSION_SHIFT) & 0xf; in get_agp_version()