Lines Matching refs:temp

155     uint32_t temp;  in assign_bus_numbers()  local
157 pci_read_config_word(loc_, 0x18, &temp); in assign_bus_numbers()
158 temp &= 0xff000000; // leave latency timer alone in assign_bus_numbers()
159 temp |= subordinate << 16; in assign_bus_numbers()
160 temp |= secondary << 8; in assign_bus_numbers()
161 temp |= primary << 0; in assign_bus_numbers()
162 pci_write_config_word(loc_, 0x18, temp); in assign_bus_numbers()
376 uint32_t temp; in assign_resource() local
381 temp = ((address >> 8) & 0xf0); // io base in assign_resource()
382 temp |= (((address + request->size - 1) >> 8) & 0xf0) << 8; in assign_resource()
383 pci_write_config_word(loc(), 0x1c, temp); in assign_resource()
389 temp = ((address >> 16) & 0xfff0); // mmio base in assign_resource()
390 temp |= ((address + request->size - 1) >> 16 & 0xfff0) << 16; in assign_resource()
391 pci_write_config_word(loc(), 0x24, temp); in assign_resource()
394 temp = ((address >> 16) & 0xfff0); // mmio base in assign_resource()
395 temp |= ((address + request->size - 1) >> 16 & 0xfff0) << 16; in assign_resource()
396 pci_write_config_word(loc(), 0x20, temp); in assign_resource()
412 temp = ((address >> 16) & 0xfff0); // mmio base in assign_resource()
413 temp |= ((address + request->size - 1) >> 16 & 0xfff0) << 16; in assign_resource()
414 pci_write_config_word(loc(), 0x24, temp); in assign_resource()
417 temp = (address >> 32); in assign_resource()
418 pci_write_config_word(loc(), 0x28, temp); in assign_resource()
419 temp = (address + request->size - 1) >> 32; in assign_resource()
420 pci_write_config_word(loc(), 0x2c, temp); in assign_resource()