Searched refs:htole (Results 1 - 9 of 9) sorted by relevance
/gem5/src/dev/pci/ |
H A D | device.cc | 89 config.vendor = htole(p->VendorID); 90 config.device = htole(p->DeviceID); 91 config.command = htole(p->Command); 92 config.status = htole(p->Status); 93 config.revision = htole(p->Revision); 94 config.progIF = htole(p->ProgIF); 95 config.subClassCode = htole(p->SubClassCode); 96 config.classCode = htole(p->ClassCode); 97 config.cacheLineSize = htole(p->CacheLineSize); 98 config.latencyTimer = htole( [all...] |
/gem5/src/dev/storage/ |
H A D | ide_ctrl.cc | 99 primaryTiming(htole(timeRegWithDecodeEn)), 100 secondaryTiming(htole(timeRegWithDecodeEn)), 142 ioEnabled = (config.command & htole(PCI_CMD_IOSE)); 143 bmEnabled = (config.command & htole(PCI_CMD_BME)); 194 pkt->setLE<uint8_t>(bits(htole(primaryTiming), 15, 8)); 197 pkt->setLE<uint8_t>(bits(htole(secondaryTiming), 15, 8)); 200 pkt->setLE<uint8_t>(bits(htole(ideConfig), 7, 0)); 203 pkt->setLE<uint8_t>(bits(htole(ideConfig), 15, 8)); 360 ioEnabled = (config.command & htole(PCI_CMD_IOSE)); 361 bmEnabled = (config.command & htole(PCI_CMD_BM [all...] |
/gem5/src/sim/ |
H A D | byteswap.hh | 143 template <typename T> inline T htole(T value) {return swap_byte(value);} function 149 template <typename T> inline T htole(T value) {return value;} function 161 htobe(value) : htole(value); 200 inline T htog(T value) {return htole(value);}
|
/gem5/src/mem/ |
H A D | packet_access.hh | 121 setRaw(htole(v));
|
/gem5/src/dev/net/ |
H A D | i8254xGBe.cc | 1265 desc->adv_wb.header_len = htole(0); 1266 desc->adv_wb.sph = htole(0); 1267 desc->adv_wb.pkt_len = htole((uint16_t)(pktPtr->length)); 1291 desc->adv_wb.header_len = htole((uint16_t)packet->length); 1292 desc->adv_wb.sph = htole(0); 1293 desc->adv_wb.pkt_len = htole(0); 1306 desc->adv_wb.header_len = htole(0); 1307 desc->adv_wb.pkt_len = htole((uint16_t)max_to_copy); 1308 desc->adv_wb.sph = htole(0); 1322 desc->adv_wb.header_len = htole(split_poin [all...] |
/gem5/src/dev/virtio/ |
H A D | fs9p.hh | 70 htop9(T v) { return htole(v); }
|
H A D | pci.cc | 52 config.subsystemID = htole(vio.deviceId);
|
/gem5/src/cpu/ |
H A D | static_inst.hh | 345 *reinterpret_cast<T *>(buf) = htole<T>(t);
|
/gem5/src/base/loader/ |
H A D | elf_object.cc | 184 uint32_t os_abi = is_le ? htole(raw_abi) : htobe(raw_abi);
|
Completed in 11 milliseconds