Lines Matching refs:temp
147 u32 temp; in ati_fetch_size() local
151 pci_read_config_dword(agp_bridge->dev, ATI_RS100_APSIZE, &temp); in ati_fetch_size()
153 pci_read_config_dword(agp_bridge->dev, ATI_RS300_APSIZE, &temp); in ati_fetch_size()
155 temp = (temp & 0x0000000e); in ati_fetch_size()
158 if (temp == values[i].size_value) { in ati_fetch_size()
179 u32 temp; in ati_cleanup() local
185 pci_read_config_dword(agp_bridge->dev, ATI_RS100_APSIZE, &temp); in ati_cleanup()
186 temp = ((temp & ~(0x0000000f)) | previous_size->size_value); in ati_cleanup()
187 pci_write_config_dword(agp_bridge->dev, ATI_RS100_APSIZE, temp); in ati_cleanup()
189 pci_read_config_dword(agp_bridge->dev, ATI_RS300_APSIZE, &temp); in ati_cleanup()
190 temp = ((temp & ~(0x0000000f)) | previous_size->size_value); in ati_cleanup()
191 pci_write_config_dword(agp_bridge->dev, ATI_RS300_APSIZE, temp); in ati_cleanup()
199 u32 temp; in ati_configure() local
202 pci_read_config_dword(agp_bridge->dev, ATI_GART_MMBASE_ADDR, &temp); in ati_configure()
203 temp = (temp & 0xfffff000); in ati_configure()
204 ati_generic_private.registers = (volatile u8 __iomem *) ioremap(temp, 4096); in ati_configure()
224 pci_read_config_dword(agp_bridge->dev, 4, &temp); in ati_configure()
225 pci_write_config_dword(agp_bridge->dev, 4, temp | (1<<14)); in ati_configure()
334 u32 temp; in ati_create_gatt_table() local
357 pci_read_config_dword(agp_bridge->dev, ATI_RS100_APSIZE, &temp); in ati_create_gatt_table()
358 temp = (((temp & ~(0x0000000e)) | current_size->size_value) in ati_create_gatt_table()
360 pci_write_config_dword(agp_bridge->dev, ATI_RS100_APSIZE, temp); in ati_create_gatt_table()
361 pci_read_config_dword(agp_bridge->dev, ATI_RS100_APSIZE, &temp); in ati_create_gatt_table()
363 pci_read_config_dword(agp_bridge->dev, ATI_RS300_APSIZE, &temp); in ati_create_gatt_table()
364 temp = (((temp & ~(0x0000000e)) | current_size->size_value) in ati_create_gatt_table()
366 pci_write_config_dword(agp_bridge->dev, ATI_RS300_APSIZE, temp); in ati_create_gatt_table()
367 pci_read_config_dword(agp_bridge->dev, ATI_RS300_APSIZE, &temp); in ati_create_gatt_table()
375 pci_read_config_dword(agp_bridge->dev, AGP_APBASE, &temp); in ati_create_gatt_table()
376 addr = (temp & PCI_BASE_ADDRESS_MEM_MASK); in ati_create_gatt_table()