Lines Matching refs:temp
26 u8 temp; in via_fetch_size() local
30 pci_read_config_byte(agp_bridge->dev, VIA_APSIZE, &temp); in via_fetch_size()
32 if (temp == values[i].size_value) { in via_fetch_size()
39 printk(KERN_ERR PFX "Unknown aperture size from AGP bridge (0x%x)\n", temp); in via_fetch_size()
81 u32 temp; in via_tlbflush() local
83 pci_read_config_dword(agp_bridge->dev, VIA_GARTCTRL, &temp); in via_tlbflush()
84 temp |= (1<<7); in via_tlbflush()
85 pci_write_config_dword(agp_bridge->dev, VIA_GARTCTRL, temp); in via_tlbflush()
86 temp &= ~(1<<7); in via_tlbflush()
87 pci_write_config_dword(agp_bridge->dev, VIA_GARTCTRL, temp); in via_tlbflush()
108 u16 temp; in via_fetch_size_agp3() local
112 pci_read_config_word(agp_bridge->dev, VIA_AGP3_APSIZE, &temp); in via_fetch_size_agp3()
113 temp &= 0xfff; in via_fetch_size_agp3()
116 if (temp == values[i].size_value) { in via_fetch_size_agp3()
129 u32 temp; in via_configure_agp3() local
147 pci_read_config_dword(agp_bridge->dev, VIA_AGP3_GARTCTRL, &temp); in via_configure_agp3()
148 pci_write_config_dword(agp_bridge->dev, VIA_AGP3_GARTCTRL, temp | (3<<7)); in via_configure_agp3()
164 u32 temp; in via_tlbflush_agp3() local
166 pci_read_config_dword(agp_bridge->dev, VIA_AGP3_GARTCTRL, &temp); in via_tlbflush_agp3()
167 pci_write_config_dword(agp_bridge->dev, VIA_AGP3_GARTCTRL, temp & ~(1<<7)); in via_tlbflush_agp3()
168 pci_write_config_dword(agp_bridge->dev, VIA_AGP3_GARTCTRL, temp); in via_tlbflush_agp3()