Lines Matching refs:temp
24 u32 temp; in ali_fetch_size() local
27 pci_read_config_dword(agp_bridge->dev, ALI_ATTBASE, &temp); in ali_fetch_size()
28 temp &= ~(0xfffffff0); in ali_fetch_size()
32 if (temp == values[i].size_value) { in ali_fetch_size()
45 u32 temp; in ali_tlbflush() local
47 pci_read_config_dword(agp_bridge->dev, ALI_TLBCTRL, &temp); in ali_tlbflush()
48 temp &= 0xfffffff0; in ali_tlbflush()
49 temp |= (1<<0 | 1<<1); in ali_tlbflush()
50 pci_write_config_dword(agp_bridge->dev, ALI_TAGCTRL, temp); in ali_tlbflush()
56 u32 temp; in ali_cleanup() local
60 pci_read_config_dword(agp_bridge->dev, ALI_TLBCTRL, &temp); in ali_cleanup()
63 ((temp & 0xffffff00) | 0x00000001|0x00000002)); in ali_cleanup()
65 pci_read_config_dword(agp_bridge->dev, ALI_ATTBASE, &temp); in ali_cleanup()
67 ((temp & 0x00000ff0) | previous_size->size_value)); in ali_cleanup()
72 u32 temp; in ali_configure() local
78 pci_read_config_dword(agp_bridge->dev, ALI_ATTBASE, &temp); in ali_configure()
79 temp = (((temp & 0x00000ff0) | (agp_bridge->gatt_bus_addr & 0xfffff000)) in ali_configure()
81 pci_write_config_dword(agp_bridge->dev, ALI_ATTBASE, temp); in ali_configure()
84 pci_read_config_dword(agp_bridge->dev, ALI_TLBCTRL, &temp); in ali_configure()
85 pci_write_config_dword(agp_bridge->dev, ALI_TLBCTRL, ((temp & 0xffffff00) | 0x00000010)); in ali_configure()
118 pci_read_config_dword(agp_bridge->dev, ALI_TLBCTRL, &temp); in ali_configure()
119 temp &= 0xffffff7f; //enable TLB in ali_configure()
120 pci_write_config_dword(agp_bridge->dev, ALI_TLBCTRL, temp); in ali_configure()
129 u32 temp; in m1541_cache_flush() local
136 &temp); in m1541_cache_flush()
138 (((temp & ALI_CACHE_FLUSH_ADDR_MASK) | in m1541_cache_flush()
147 u32 temp; in m1541_alloc_page() local
152 pci_read_config_dword(agp_bridge->dev, ALI_CACHE_FLUSH_CTRL, &temp); in m1541_alloc_page()
154 (((temp & ALI_CACHE_FLUSH_ADDR_MASK) | in m1541_alloc_page()
172 u32 temp; in m1541_destroy_page() local
180 pci_read_config_dword(agp_bridge->dev, ALI_CACHE_FLUSH_CTRL, &temp); in m1541_destroy_page()
182 (((temp & ALI_CACHE_FLUSH_ADDR_MASK) | in m1541_destroy_page()