/freebsd/contrib/llvm-project/lld/ELF/Arch/ |
H A D | Mips.cpp | 221 uint32_t v = read32(loc); in readShuffle() 229 uint32_t instr = read32(loc); in writeValue() 391 return SignExtend64<32>(read32(buf)); in getImplicitAddend() 396 return SignExtend64<28>(read32(buf) << 2); in getImplicitAddend() 402 return SignExtend64<16>(read32(buf)) << 16; in getImplicitAddend() 416 return SignExtend64<16>(read32(buf)); in getImplicitAddend() 434 return SignExtend64<18>(read32(buf) << 2); in getImplicitAddend() 436 return SignExtend64<21>(read32(buf) << 2); in getImplicitAddend() 438 return SignExtend64<23>(read32(buf) << 2); in getImplicitAddend() 440 return SignExtend64<28>(read32(buf) << 2); in getImplicitAddend() [all …]
|
H A D | ARM.cpp | 557 write32(loc, (read32(loc) & 0xff3ff000) | opcode | rot | (imm & 0xff)); in encodeAluGroup() 575 write32(loc, (read32(loc) & 0xff7ff000) | opcode | imm); in encodeLdrGroup() 593 write32(loc, (read32(loc) & 0xff7ff0f0) | opcode | ((imm & 0xf0) << 4) | in encodeLdrsGroup() 620 write32(loc, (read32(loc) & 0x80000000) | (val & ~0x80000000)); in relocate() 629 bool isBlx = (read32(loc) & 0xfe000000) == 0xfa000000; in relocate() 644 write32(loc, 0xeb000000 | (read32(loc) & 0x00ffffff)); in relocate() 652 write32(loc, (read32(loc) & ~0x00ffffff) | ((val >> 2) & 0x00ffffff)); in relocate() 657 write16(loc, (read32(loc) & 0xff00) | ((val >> 1) & 0x00ff)); in relocate() 662 write16(loc, (read32(loc) & 0xf800) | ((val >> 1) & 0x07ff)); in relocate() 732 write32(loc, (read32(loc) & ~0x000f0fff) | ((val & 0xf000) << 4) | in relocate() [all …]
|
H A D | PPC64.cpp | 573 return read32(config->isLE ? loc : loc - 2); in readFromHalf16() 687 uint32_t accessInsn = read32(loc + rel.addend); in relaxGot() 919 uint32_t regNo = read32(loc - offset) & 0x03E00000; // bits 6-10 in relaxTlsIeToLe() 934 uint32_t primaryOp = getPrimaryOpCode(read32(loc)); in relaxTlsIeToLe() 937 uint32_t secondaryOp = (read32(loc) & 0x000007FE) >> 1; // bits 21-30 in relaxTlsIeToLe() 947 write32(loc, dFormOp | (read32(loc) & 0x03ff0000)); in relaxTlsIeToLe() 953 uint32_t tlsInstr = read32(loc - 1); in relaxTlsIeToLe() 1119 return SignExtend64<32>(read32(buf)); in getImplicitAddend() 1381 write32(loc, (read32(loc) & ~mask) | (val & mask)); in relocate() 1389 write32(loc, (read32(loc) & ~mask) | (val & mask)); in relocate() [all …]
|
H A D | PPC.cpp | 68 return read32(config->isLE ? loc : loc - 2); in readFromHalf16() 291 return SignExtend64<32>(read32(buf)); 368 write32(loc, (read32(loc) & ~mask) | (val & mask)); in relocate() 378 write32(loc, (read32(loc) & ~mask) | (val & mask)); 477 uint32_t insn = read32(loc); in relaxTlsIeToLe() 481 unsigned secondaryOp = (read32(loc) & 0x000007fe) >> 1; in relaxTlsIeToLe()
|
H A D | AArch64.cpp | 235 return SignExtend64<32>(read32(buf)); in getImplicitAddend() 271 return SignExtend64<16>(getBits(read32(buf), 5, 20)); in getImplicitAddend() 277 return SignExtend64<16>(getBits(read32(buf), 5, 18) << 2); in getImplicitAddend() 288 return SignExtend64<21>(getBits(read32(buf), 5, 23) << 2); in getImplicitAddend() 294 return SignExtend64<12>(getBits(read32(buf), 10, 21)); in getImplicitAddend() 308 return SignExtend64<21>((getBits(read32(buf), 5, 23) << 2) | in getImplicitAddend() 309 getBits(read32(buf), 29, 30)); in getImplicitAddend() 315 return SignExtend64<28>(getBits(read32(buf), 0, 25) << 2); in getImplicitAddend()
|
H A D | Hexagon.cpp | 413 return SignExtend64<32>(read32(buf)); in getImplicitAddend()
|
/freebsd/stand/usb/tools/ |
H A D | sysinit.c | 66 read32(uint32_t val) in read32() function 239 (*sipp)->dw_lsb_value = read32((*sipp)->dw_lsb_value); in main() 240 (*sipp)->dw_msb_value = read32((*sipp)->dw_msb_value); in main() 241 (*sipp)->dw_file_line = read32((*sipp)->dw_file_line); in main()
|
/freebsd/sys/contrib/dev/athk/ath10k/ |
H A D | hif.h | 78 u32 (*read32)(struct ath10k *ar, u32 address); member 212 if (!ar->hif.ops->read32) { in ath10k_hif_read32() 217 return ar->hif.ops->read32(ar, address); in ath10k_hif_read32()
|
H A D | ce.h | 137 u32 (*read32)(struct ath10k *ar, u32 offset); member 381 ce->bus_ops->read32((ar), CE_WRAPPER_BASE_ADDRESS + in ath10k_ce_interrupt_summary()
|
H A D | ahb.c | 716 .read32 = ath10k_ahb_read32, 721 .read32 = ath10k_ahb_read32,
|
H A D | snoc.c | 1159 .read32 = ath10k_snoc_read32, 1180 .read32 = ath10k_snoc_read32,
|
/freebsd/sys/contrib/dev/athk/ath12k/ |
H A D | hif.h | 13 u32 (*read32)(struct ath12k_base *sc, u32 address); member 125 return ab->hif.ops->read32(ab, address); in ath12k_hif_read32()
|
/freebsd/sys/contrib/dev/athk/ath11k/ |
H A D | hif.h | 12 u32 (*read32)(struct ath11k_base *sc, u32 address); member 95 return sc->hif.ops->read32(sc, address); in ath11k_hif_read32()
|
H A D | ahb.c | 762 .read32 = ath11k_ahb_read32, 775 .read32 = ath11k_pcic_read32,
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | Endian.h | 405 [[nodiscard]] inline uint32_t read32(const void *P, endianness E) { in read32() function 415 template <endianness E> [[nodiscard]] inline uint32_t read32(const void *P) { in read32() function 426 return read32<llvm::endianness::little>(P); in read32le() 435 return read32<llvm::endianness::big>(P); in read32be()
|
/freebsd/contrib/llvm-project/lld/ELF/ |
H A D | Target.h | 289 inline uint32_t read32(const void *p) { in read64() 290 return llvm::support::endian::read32(p, config->endianness); 283 inline uint32_t read32(const void *p) { read32() function
|
H A D | OutputSections.cpp | 520 bool nonZeroFiller = read32(filler.data()) != 0; in writeTo() 612 if (OutputSection *osec = sections[read32(&idx)]->getOutputSection()) in finalizeShtGroup()
|
H A D | SyntheticSections.cpp | 63 return config->is64 ? read64(buf) : read32(buf); in readUint() 442 uint32_t id = endian::read32<ELFT::Endianness>(fde.data().data() + 4); in addRecords() 476 uint32_t id = endian::read32<ELFT::Endianness>(fde.data().data() + 4); in iterateFDEWithLSDAAux() 596 return read32(buf); in readFdeAddr() 598 return (int32_t)read32(buf); in readFdeAddr() 4051 prevUnwind = read32(prev->content().data() + prev->content().size() - 4); in isDuplicateArmExidxSec() 4068 uint32_t curUnwind = read32(cur->content().data() + offset); in isDuplicateArmExidxSec() 4182 read32(d->content().data() + dataOffset)); in writeTo()
|
H A D | InputFiles.cpp | 989 uint32_t type = read32<ELFT::Endianness>(desc.data()); in readGnuProperty() 990 uint32_t size = read32<ELFT::Endianness>(desc.data() + 4); in readGnuProperty() 1001 f.andFeatures |= read32<ELFT::Endianness>(desc.data()); in readGnuProperty()
|
H A D | InputSection.cpp | 1308 uint64_t size = endian::read32<ELFT::Endianness>(d.data()); in split() 1311 uint32_t id = endian::read32<ELFT::Endianness>(d.data() + 4); in split()
|
/freebsd/sys/contrib/dev/rtw88/ |
H A D | hci.h | 27 u32 (*read32)(struct rtw_dev *rtwdev, u32 addr); member 99 return rtwdev->hci.ops->read32(rtwdev, addr); in rtw_read32()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/JITLink/ |
H A D | ppc64.h | 419 uint32_t Inst = support::endian::read32<Endianness>(FixupPtr); 442 uint32_t Inst = support::endian::read32<Endianness>(FixupPtr); 446 uint32_t NopInst = support::endian::read32<Endianness>(FixupPtr + 4);
|
/freebsd/sys/contrib/dev/iwlwifi/ |
H A D | iwl-trans.h | 628 u32 (*read32)(struct iwl_trans *trans, u32 ofs); global() member
|
/freebsd/contrib/llvm-project/llvm/lib/ObjCopy/ELF/ |
H A D | ELFObjcopy.cpp | 653 uint32_t NameSizeValue = support::endian::read32(NameSize.data(), Endianness); in verifyNoteSection() 654 uint32_t DescSizeValue = support::endian::read32(DescSize.data(), Endianness); in verifyNoteSection()
|
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/ |
H A D | aarch32.cpp | 400 return SignExtend64<32>(support::endian::read32(FixupPtr, Endian)); in applyFixupThumb() 402 return SignExtend64<31>(support::endian::read32(FixupPtr, Endian)); in applyFixupThumb()
|