Searched refs:swab32 (Results 1 – 24 of 24) sorted by relevance
162 #define swab32(x) \ macro173 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 …]
47 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()
18 return swab32(*q); in swab32p()23 #define cpu_to_be32(x) swab32(x)
32 #define cpu_to_be32(x) swab32(x)33 #define be32_to_cpu(x) swab32(x)
11 static inline u32 swab32(u32 x) in swab32() function
47 return swab32(readl(lcsr_address(offset))); in read_lcsr()52 writel(swab32(val), lcsr_address(offset)); in write_lcsr()
52 #define swab32(x) \ macro103 return swap ? swab32(word) : word; in read_elf_word()113 *dst = swap ? swab32(val) : val; in write_elf_word()
78 return swab32(__raw_readl(addr)); in readl()96 __raw_writel(swab32(value), addr); in writel()
94 return ppc_inst_prefix(swab32(ppc_inst_val(x)), swab32(ppc_inst_suffix(x))); in ppc_inst_swab()
351 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()
233 data.w[0] = swab32(data.w[0]); in emulate_spe()234 data.w[1] = swab32(data.w[1]); in emulate_spe()
115 return (u16)swab32(sum); in do_csum()
127 return (u16)swab32(sum); in do_csum()
88 #define ___opcode_swab32(x) swab32(x)
543 #define ioread32be(p) swab32(ioread32(p))545 #define iowrite32be(v,p) iowrite32(swab32(v), (p))
149 *val = swab32(tmp); in grpci1_cfg_r32()202 LEON3_BYPASS_STORE_PA(pci_conf, swab32(val)); in grpci1_cfg_w32()
225 src_val = swab32(src_val); in do_int_store()365 val_in = swab32(val_in); in kernel_unaligned_trap()
276 *val = swab32(tmp); in grpci2_cfg_r32()334 LEON3_BYPASS_STORE_PA(pci_conf, swab32(val)); in grpci2_cfg_w32()
748 pend = swab32(pend); in pcic_nmi()
155 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()
70 hr->lpid = swab32(hr->lpid); in byteswap_hv_regs()71 hr->vcpu_token = swab32(hr->vcpu_token); in byteswap_hv_regs()
248 (inst == swab32(inst_sc))) { in kvmppc_core_emulate_op_pr()
1833 swab32(vcpu->arch.emul_inst) : in kvmppc_handle_exit_hv()
3287 ctxt->dst.val = swab32((u32)ctxt->src.val); in em_movbe()