Home
last modified time | relevance | path

Searched refs:swab32 (Results 1 – 24 of 24) sorted by relevance

/arch/mips/boot/
Delf2ecoff.c162 #define swab32(x) \ macro
173 e->e_version = swab32(e->e_version); in convert_elf_hdr()
174 e->e_entry = swab32(e->e_entry); in convert_elf_hdr()
175 e->e_phoff = swab32(e->e_phoff); in convert_elf_hdr()
176 e->e_shoff = swab32(e->e_shoff); in convert_elf_hdr()
177 e->e_flags = swab32(e->e_flags); in convert_elf_hdr()
191 p->p_type = swab32(p->p_type); in convert_elf_phdrs()
192 p->p_offset = swab32(p->p_offset); in convert_elf_phdrs()
193 p->p_vaddr = swab32(p->p_vaddr); in convert_elf_phdrs()
194 p->p_paddr = swab32(p->p_paddr); in convert_elf_phdrs()
[all …]
/arch/mips/pci/
Dops-lantiq.c47 ltq_w32(swab32(*data), ((u32 *)cfg_base)); in ltq_pci_config_access()
50 *data = swab32(*data); in ltq_pci_config_access()
58 temp = swab32(temp); in ltq_pci_config_access()
/arch/powerpc/boot/
Dxz_config.h18 return swab32(*q); in swab32p()
23 #define cpu_to_be32(x) swab32(x)
Dof.h32 #define cpu_to_be32(x) swab32(x)
33 #define be32_to_cpu(x) swab32(x)
Dswab.h11 static inline u32 swab32(u32 x) in swab32() function
/arch/x86/include/asm/numachip/
Dnumachip_csr.h47 return swab32(readl(lcsr_address(offset))); in read_lcsr()
52 writel(swab32(val), lcsr_address(offset)); in write_lcsr()
/arch/arm/vdso/
Dvdsomunge.c52 #define swab32(x) \ macro
103 return swap ? swab32(word) : word; in read_elf_word()
113 *dst = swap ? swab32(val) : val; in write_elf_word()
/arch/m68k/include/asm/
Dio_no.h78 return swab32(__raw_readl(addr)); in readl()
96 __raw_writel(swab32(value), addr); in writel()
/arch/powerpc/include/asm/
Dinst.h94 return ppc_inst_prefix(swab32(ppc_inst_val(x)), swab32(ppc_inst_suffix(x))); in ppc_inst_swab()
Dkvm_ppc.h351 prefix = swab32(prefix); in kvmppc_get_last_inst()
352 suffix = swab32(suffix); in kvmppc_get_last_inst()
360 swab32(vcpu->arch.last_inst) : in kvmppc_get_last_inst()
/arch/powerpc/kernel/
Dalign.c233 data.w[0] = swab32(data.w[0]); in emulate_spe()
234 data.w[1] = swab32(data.w[1]); in emulate_spe()
/arch/loongarch/lib/
Dcsum.c115 return (u16)swab32(sum); in do_csum()
/arch/arm64/lib/
Dcsum.c127 return (u16)swab32(sum); in do_csum()
/arch/arm/include/asm/
Dopcodes.h88 #define ___opcode_swab32(x) swab32(x)
/arch/alpha/include/asm/
Dio.h543 #define ioread32be(p) swab32(ioread32(p))
545 #define iowrite32be(v,p) iowrite32(swab32(v), (p))
/arch/sparc/kernel/
Dleon_pci_grpci1.c149 *val = swab32(tmp); in grpci1_cfg_r32()
202 LEON3_BYPASS_STORE_PA(pci_conf, swab32(val)); in grpci1_cfg_w32()
Dunaligned_64.c225 src_val = swab32(src_val); in do_int_store()
365 val_in = swab32(val_in); in kernel_unaligned_trap()
Dleon_pci_grpci2.c276 *val = swab32(tmp); in grpci2_cfg_r32()
334 LEON3_BYPASS_STORE_PA(pci_conf, swab32(val)); in grpci2_cfg_w32()
Dpcic.c748 pend = swab32(pend); in pcic_nmi()
/arch/powerpc/kvm/
Dpowerpc.c155 shared->dsisr = swab32(shared->dsisr); in kvmppc_swab_shared()
156 shared->int_pending = swab32(shared->int_pending); in kvmppc_swab_shared()
158 shared->sr[i] = swab32(shared->sr[i]); in kvmppc_swab_shared()
1163 case 4: gpr = swab32(*(u32 *)run->mmio.data); break; in kvmppc_complete_mmio_load()
1380 case 4: *(u32 *)data = swab32(val); break; in kvmppc_handle_store()
Dbook3s_hv_nested.c70 hr->lpid = swab32(hr->lpid); in byteswap_hv_regs()
71 hr->vcpu_token = swab32(hr->vcpu_token); in byteswap_hv_regs()
Dbook3s_emulate.c248 (inst == swab32(inst_sc))) { in kvmppc_core_emulate_op_pr()
Dbook3s_hv.c1833 swab32(vcpu->arch.emul_inst) : in kvmppc_handle_exit_hv()
/arch/x86/kvm/
Demulate.c3287 ctxt->dst.val = swab32((u32)ctxt->src.val); in em_movbe()