/arch/mips/cavium-octeon/crypto/ |
D | octeon-crypto.h | 36 : [rt] "d" (cpu_to_be64(value))); \ 62 : [rt] "d" (cpu_to_be64(value))); \ 73 : [rt] "d" (cpu_to_be64(value))); \
|
D | octeon-sha512.c | 188 bits[1] = cpu_to_be64(sctx->count[0] << 3); in octeon_sha512_final() 189 bits[0] = cpu_to_be64(sctx->count[1] << 3 | sctx->count[0] >> 61); in octeon_sha512_final() 208 dst[i] = cpu_to_be64(sctx->state[i]); in octeon_sha512_final()
|
/arch/powerpc/platforms/pseries/ |
D | hvconsole.c | 79 cpu_to_be64(lbuf[0]), in hvc_put_chars() 80 cpu_to_be64(lbuf[1])); in hvc_put_chars()
|
/arch/powerpc/boot/ |
D | of.h | 33 #define cpu_to_be64(x) swab64(x) macro 40 #define cpu_to_be64(x) (x) macro
|
D | libfdt_env.h | 26 #define cpu_to_fdt64(x) cpu_to_be64(x)
|
/arch/powerpc/include/asm/ |
D | kvm_book3s_64.h | 71 be_lockbit = cpu_to_be64(HPTE_V_HVLOCK); in try_lock_hpte() 72 be_bits = cpu_to_be64(bits); in try_lock_hpte() 92 hpte[0] = cpu_to_be64(hpte_v); in unlock_hpte() 99 hpte[0] = cpu_to_be64(hpte_v); in __unlock_hpte()
|
/arch/x86/crypto/ |
D | blowfish_glue.c | 302 ctrblocks[0] = cpu_to_be64(ctrblk++); in __ctr_crypt() 303 ctrblocks[1] = cpu_to_be64(ctrblk++); in __ctr_crypt() 304 ctrblocks[2] = cpu_to_be64(ctrblk++); in __ctr_crypt() 305 ctrblocks[3] = cpu_to_be64(ctrblk++); in __ctr_crypt() 323 ctrblocks[0] = cpu_to_be64(ctrblk++); in __ctr_crypt() 332 *(__be64 *)walk->iv = cpu_to_be64(ctrblk); in __ctr_crypt()
|
D | des3_ede_glue.c | 301 ctrblocks[0] = cpu_to_be64(ctrblk++); in __ctr_crypt() 302 ctrblocks[1] = cpu_to_be64(ctrblk++); in __ctr_crypt() 303 ctrblocks[2] = cpu_to_be64(ctrblk++); in __ctr_crypt() 322 ctrblocks[0] = cpu_to_be64(ctrblk++); in __ctr_crypt() 333 *(__be64 *)walk->iv = cpu_to_be64(ctrblk); in __ctr_crypt()
|
/arch/arm/boot/compressed/ |
D | libfdt_env.h | 21 #define cpu_to_fdt64(x) cpu_to_be64(x)
|
/arch/x86/kernel/ |
D | tce_64.c | 67 *tp = cpu_to_be64(t); in tce_build() 82 *tp = cpu_to_be64(0); in tce_free()
|
/arch/powerpc/platforms/powernv/ |
D | opal.c | 323 len = cpu_to_be64(count); in opal_get_chars() 367 olen = cpu_to_be64(total_len); in opal_put_chars() 814 sg->entry[i].data = cpu_to_be64(data); in opal_vmalloc_to_sg_list() 815 sg->entry[i].length = cpu_to_be64(length); in opal_vmalloc_to_sg_list() 825 sg->length = cpu_to_be64( in opal_vmalloc_to_sg_list() 828 sg->next = cpu_to_be64(__pa(next)); in opal_vmalloc_to_sg_list() 836 sg->length = cpu_to_be64(i * sizeof(struct opal_sg_entry) + 16); in opal_vmalloc_to_sg_list()
|
/arch/sparc/crypto/ |
D | sha512_glue.c | 108 bits[1] = cpu_to_be64(sctx->count[0] << 3); in sha512_sparc64_final() 109 bits[0] = cpu_to_be64(sctx->count[1] << 3 | sctx->count[0] >> 61); in sha512_sparc64_final() 127 dst[i] = cpu_to_be64(sctx->state[i]); in sha512_sparc64_final()
|
D | sha1_glue.c | 86 bits = cpu_to_be64(sctx->count << 3); in sha1_sparc64_final()
|
/arch/powerpc/mm/ |
D | vphn.c | 38 be_packed[i] = cpu_to_be64(packed[i]); in vphn_unpack_associativity()
|
D | slb.c | 73 WRITE_ONCE(p->save_area[index].vsid, cpu_to_be64(mk_vsid_data(ea, ssize, flags))); in slb_shadow_update() 74 WRITE_ONCE(p->save_area[index].esid, cpu_to_be64(mk_esid_data(ea, ssize, index))); in slb_shadow_update()
|
D | hash_native_64.c | 231 hptep->r = cpu_to_be64(hpte_r); in native_hpte_insert() 238 hptep->v = cpu_to_be64(hpte_v); in native_hpte_insert() 318 hptep->r = cpu_to_be64((be64_to_cpu(hptep->r) & in native_hpte_updatepp() 387 hptep->r = cpu_to_be64((be64_to_cpu(hptep->r) & in native_hpte_updateboltedpp()
|
/arch/x86/include/asm/crypto/ |
D | glue_helper.h | 80 dst->a = cpu_to_be64(le64_to_cpu(src->a)); in le128_to_be128() 81 dst->b = cpu_to_be64(le64_to_cpu(src->b)); in le128_to_be128()
|
/arch/powerpc/kvm/ |
D | book3s_pr_papr.c | 73 hpte[0] = cpu_to_be64(kvmppc_get_gpr(vcpu, 6)); in kvmppc_h_pr_enter() 74 hpte[1] = cpu_to_be64(kvmppc_get_gpr(vcpu, 7)); in kvmppc_h_pr_enter() 251 pte[0] = (__force u64)cpu_to_be64(pte[0]); in kvmppc_h_pr_protect() 252 pte[1] = (__force u64)cpu_to_be64(pte[1]); in kvmppc_h_pr_protect()
|
D | book3s_hv_rm_mmu.c | 364 hpte[1] = cpu_to_be64(ptel); in kvmppc_do_h_enter() 456 hpte[0] &= ~cpu_to_be64(HPTE_V_VALID); in kvmppc_do_h_remove() 550 hp[0] &= ~cpu_to_be64(HPTE_V_HVLOCK); in kvmppc_h_bulk_remove() 568 hp[0] &= ~cpu_to_be64(HPTE_V_VALID); in kvmppc_h_bulk_remove() 652 hpte[0] = cpu_to_be64((v & ~HPTE_V_VALID) | in kvmppc_h_protect() 658 hpte[1] = cpu_to_be64(r); in kvmppc_h_protect() 775 hpte[0] |= cpu_to_be64(HPTE_V_ABSENT); in kvmppc_h_clear_mod() 781 hpte[1] = cpu_to_be64(r & ~HPTE_R_C); in kvmppc_h_clear_mod() 804 hptep[0] &= ~cpu_to_be64(HPTE_V_VALID); in kvmppc_invalidate_hpte()
|
D | book3s_64_mmu_hv.c | 611 hptep[0] |= cpu_to_be64(HPTE_V_ABSENT); in kvmppc_book3s_hv_page_fault() 619 hptep[1] = cpu_to_be64(r); in kvmppc_book3s_hv_page_fault() 760 hptep[0] |= cpu_to_be64(HPTE_V_ABSENT); in kvm_unmap_rmapp() 973 while (hptep[0] & cpu_to_be64(HPTE_V_HVLOCK)) in kvm_test_clear_dirty_npages() 979 if (!(hptep[0] & cpu_to_be64(HPTE_V_VALID))) { in kvm_test_clear_dirty_npages() 985 hptep[0] |= cpu_to_be64(HPTE_V_ABSENT); in kvm_test_clear_dirty_npages() 990 hptep[1] = cpu_to_be64(r & ~HPTE_R_C); in kvm_test_clear_dirty_npages() 1228 hpte[0] = cpu_to_be64(v); in record_hpte() 1229 hpte[1] = cpu_to_be64(r); in record_hpte()
|
/arch/powerpc/kernel/ |
D | machine_kexec_64.c | 422 htab_base = cpu_to_be64(__pa(htab_address)); in export_htab_values() 424 htab_size = cpu_to_be64(htab_size_bytes); in export_htab_values()
|
D | rtas_flash.c | 614 f->blocks[i].data = (char *)cpu_to_be64(__pa(f->blocks[i].data)); in rtas_flash_firmware() 616 f->blocks[i].length = cpu_to_be64(f->blocks[i].length); in rtas_flash_firmware() 621 f->next = (struct flash_block_list *)cpu_to_be64(__pa(f->next)); in rtas_flash_firmware() 626 f->num_blocks = cpu_to_be64(f->num_blocks); in rtas_flash_firmware()
|
D | fadump.c | 176 fdm->cpu_state_data.source_len = cpu_to_be64(fw_dump.cpu_state_data_size); in init_fadump_mem_struct() 177 fdm->cpu_state_data.destination_address = cpu_to_be64(addr); in init_fadump_mem_struct() 184 fdm->hpte_region.source_len = cpu_to_be64(fw_dump.hpte_region_size); in init_fadump_mem_struct() 185 fdm->hpte_region.destination_address = cpu_to_be64(addr); in init_fadump_mem_struct() 191 fdm->rmr_region.source_address = cpu_to_be64(RMA_START); in init_fadump_mem_struct() 192 fdm->rmr_region.source_len = cpu_to_be64(fw_dump.boot_memory_size); in init_fadump_mem_struct() 193 fdm->rmr_region.destination_address = cpu_to_be64(addr); in init_fadump_mem_struct()
|
/arch/powerpc/crypto/ |
D | sha1.c | 87 bits = cpu_to_be64(sctx->count << 3); in sha1_final()
|
D | sha1-spe-glue.c | 143 *pbits = cpu_to_be64(sctx->count << 3); in ppc_spe_sha1_final()
|