Lines Matching refs:vga_agpstat
479 static void agp_v2_parse_one(u32 *requested_mode, u32 *bridge_agpstat, u32 *vga_agpstat) in agp_v2_parse_one() argument
537 …if (!((*bridge_agpstat & AGPSTAT_SBA) && (*vga_agpstat & AGPSTAT_SBA) && (*requested_mode & AGPSTA… in agp_v2_parse_one()
541 …if (!((*bridge_agpstat & AGPSTAT2_4X) && (*vga_agpstat & AGPSTAT2_4X) && (*requested_mode & AGPSTA… in agp_v2_parse_one()
544 …if (!((*bridge_agpstat & AGPSTAT2_2X) && (*vga_agpstat & AGPSTAT2_2X) && (*requested_mode & AGPSTA… in agp_v2_parse_one()
547 …if (!((*bridge_agpstat & AGPSTAT2_1X) && (*vga_agpstat & AGPSTAT2_1X) && (*requested_mode & AGPSTA… in agp_v2_parse_one()
582 static void agp_v3_parse_one(u32 *requested_mode, u32 *bridge_agpstat, u32 *vga_agpstat) in agp_v3_parse_one() argument
584 u32 origbridge=*bridge_agpstat, origvga=*vga_agpstat; in agp_v3_parse_one()
607 max_t(u32,(*bridge_agpstat & AGPSTAT_ARQSZ),(*vga_agpstat & AGPSTAT_ARQSZ))); in agp_v3_parse_one()
612 min_t(u32,(*bridge_agpstat & AGPSTAT_CAL_MASK),(*vga_agpstat & AGPSTAT_CAL_MASK))); in agp_v3_parse_one()
653 if (!(*vga_agpstat & AGPSTAT3_8X)) { in agp_v3_parse_one()
675 if ((*bridge_agpstat & AGPSTAT3_8X) && (*vga_agpstat & AGPSTAT3_8X)) { in agp_v3_parse_one()
679 *vga_agpstat &= ~(AGPSTAT3_4X | AGPSTAT3_RSVD); in agp_v3_parse_one()
688 if (!(*vga_agpstat & AGPSTAT3_8X)) { in agp_v3_parse_one()
690 *vga_agpstat, origvga); in agp_v3_parse_one()
691 *vga_agpstat &= ~(AGPSTAT3_8X | AGPSTAT3_RSVD); in agp_v3_parse_one()
692 *vga_agpstat |= AGPSTAT3_4X; in agp_v3_parse_one()
724 u32 vga_agpstat; in agp_collect_device_status() local
742 pci_read_config_dword(device, cap_ptr+PCI_AGP_STATUS, &vga_agpstat); in agp_collect_device_status()
747 min_t(u32, (bridge_agpstat & AGPSTAT_RQ_DEPTH), (vga_agpstat & AGPSTAT_RQ_DEPTH)))); in agp_collect_device_status()
751 (vga_agpstat & AGPSTAT_FW) && in agp_collect_device_status()
757 agp_v3_parse_one(&requested_mode, &bridge_agpstat, &vga_agpstat); in agp_collect_device_status()
759 agp_v2_parse_one(&requested_mode, &bridge_agpstat, &vga_agpstat); in agp_collect_device_status()