/arch/powerpc/include/asm/book3s/64/ |
D | pgtable.h | 384 if ((pte_raw(*ptep) & cpu_to_be64(_PAGE_ACCESSED | H_PAGE_HASHPTE)) == 0) in __ptep_test_and_clear_young() 400 return !!(pte_raw(pte) & cpu_to_be64(_PAGE_WRITE)); in __pte_write() 414 return !(pte_raw(pte) & cpu_to_be64(_PAGE_RWX | _PAGE_PRIVILEGED)); in pte_savedwrite() 431 return !!(pte_raw(pte) & cpu_to_be64(_PAGE_READ)); in pte_read() 490 return !!(pte_raw(pte) & cpu_to_be64(_PAGE_DIRTY)); in pte_dirty() 495 return !!(pte_raw(pte) & cpu_to_be64(_PAGE_ACCESSED)); in pte_young() 500 return !!(pte_raw(pte) & cpu_to_be64(_PAGE_SPECIAL)); in pte_special() 505 return !!(pte_raw(pte) & cpu_to_be64(_PAGE_EXEC)); in pte_exec() 512 return !!(pte_raw(pte) & cpu_to_be64(_PAGE_SOFT_DIRTY)); in pte_soft_dirty() 517 return __pte_raw(pte_raw(pte) | cpu_to_be64(_PAGE_SOFT_DIRTY)); in pte_mksoft_dirty() [all …]
|
D | pgtable-64k.h | 22 return !!(pmd_raw(pmd) & cpu_to_be64(_PAGE_PTE)); in pmd_huge() 30 return !!(pud_raw(pud) & cpu_to_be64(_PAGE_PTE)); in pud_huge() 38 return !!(pgd_raw(pgd) & cpu_to_be64(_PAGE_PTE)); in pgd_huge()
|
D | pgtable-4k.h | 15 return !!(pmd_raw(pmd) & cpu_to_be64(_PAGE_PTE)); in pmd_huge() 25 return !!(pud_raw(pud) & cpu_to_be64(_PAGE_PTE)); in pud_huge() 35 return !!(pgd_raw(pgd) & cpu_to_be64(_PAGE_PTE)); in pgd_huge()
|
D | hash.h | 168 : "r" (ptep), "r" (cpu_to_be64(clr)), "m" (*ptep), in hash__pte_update() 169 "r" (cpu_to_be64(H_PAGE_BUSY)), "r" (cpu_to_be64(set)) in hash__pte_update() 189 mask = cpu_to_be64(_PAGE_DIRTY | _PAGE_ACCESSED | _PAGE_READ | _PAGE_WRITE | in hash__ptep_set_access_flags() 202 :"r" (val), "r" (ptep), "m" (*ptep), "r" (cpu_to_be64(H_PAGE_BUSY)) in hash__ptep_set_access_flags() 208 return (((pte_raw(pte_a) ^ pte_raw(pte_b)) & ~cpu_to_be64(_PAGE_HPTEFLAGS)) == 0); in hash__pte_same()
|
D | radix.h | 160 : "r" (ptep), "r" (cpu_to_be64(set)), "r" (cpu_to_be64(clr)) in __radix_pte_update()
|
/arch/powerpc/include/asm/ |
D | pgtable-be-types.h | 9 #define __pte(x) ((pte_t) { cpu_to_be64(x) }) 24 #define __pmd(x) ((pmd_t) { cpu_to_be64(x) }) 38 #define __pud(x) ((pud_t) { cpu_to_be64(x) }) 54 #define __pgd(x) ((pgd_t) { cpu_to_be64(x) }) 105 #define __hugepd(x) ((hugepd_t) { cpu_to_be64(x) })
|
D | idle.h | 29 get_lppaca()->wait_state_cycles = cpu_to_be64(wait_cycles); in update_idle_purr_accounting()
|
/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 | 184 bits[1] = cpu_to_be64(sctx->count[0] << 3); in octeon_sha512_final() 185 bits[0] = cpu_to_be64(sctx->count[1] << 3 | sctx->count[0] >> 61); in octeon_sha512_final() 204 dst[i] = cpu_to_be64(sctx->state[i]); in octeon_sha512_final()
|
/arch/powerpc/platforms/pseries/ |
D | hvconsole.c | 66 cpu_to_be64(lbuf[0]), in hvc_put_chars() 67 cpu_to_be64(lbuf[1])); in hvc_put_chars()
|
D | rtas-fadump.c | 97 cpu_to_be64(fadump_conf->cpu_state_data_size); in rtas_fadump_init_mem_struct() 98 fdm.cpu_state_data.destination_address = cpu_to_be64(addr); in rtas_fadump_init_mem_struct() 107 cpu_to_be64(fadump_conf->hpte_region_size); in rtas_fadump_init_mem_struct() 108 fdm.hpte_region.destination_address = cpu_to_be64(addr); in rtas_fadump_init_mem_struct() 115 fdm.rmr_region.source_address = cpu_to_be64(0); in rtas_fadump_init_mem_struct() 116 fdm.rmr_region.source_len = cpu_to_be64(fadump_conf->boot_memory_size); in rtas_fadump_init_mem_struct() 117 fdm.rmr_region.destination_address = cpu_to_be64(addr); in rtas_fadump_init_mem_struct()
|
D | vphn.c | 39 be_packed[i] = cpu_to_be64(packed[i]); in vphn_unpack_associativity()
|
/arch/powerpc/boot/ |
D | of.h | 34 #define cpu_to_be64(x) swab64(x) macro 41 #define cpu_to_be64(x) (x) macro
|
D | libfdt_env.h | 25 #define cpu_to_fdt64(x) cpu_to_be64(x)
|
/arch/powerpc/platforms/powernv/ |
D | opal-core.c | 146 bufp[idx++] = cpu_to_be64(AT_ENTRY); in auxv_to_elf64_notes() 147 bufp[idx++] = cpu_to_be64(opal_boot_entry); in auxv_to_elf64_notes() 150 bufp[idx++] = cpu_to_be64(AT_NULL); in auxv_to_elf64_notes() 367 elf->e_phoff = cpu_to_be64(sizeof(Elf64_Ehdr)); in create_opalcore() 384 phdr->p_offset = cpu_to_be64(hdr_size); in create_opalcore() 385 phdr->p_filesz = phdr->p_memsz = cpu_to_be64(cpu_notes_size); in create_opalcore() 406 phdr->p_paddr = cpu_to_be64(paddr); in create_opalcore() 407 phdr->p_vaddr = cpu_to_be64(opal_base_addr + paddr); in create_opalcore() 409 cpu_to_be64(oc_conf->ptload_size[i]); in create_opalcore() 410 phdr->p_offset = cpu_to_be64(opalcore_off); in create_opalcore()
|
D | opal-secvar.c | 65 *dsize = cpu_to_be64(*dsize); in opal_get_variable() 82 *keylen = cpu_to_be64(*keylen); in opal_get_next_variable()
|
D | pci-ioda-tce.c | 107 cpu_to_be64(tce))); in pnv_tce() 140 *(pnv_tce(tbl, false, idx, true)) = cpu_to_be64(newtce); in pnv_tce_build() 175 oldtce = be64_to_cpu(xchg(ptce, cpu_to_be64(newtce))); in pnv_tce_xchg() 200 *ptce = cpu_to_be64(0); in pnv_tce_free() 281 addr[i] = cpu_to_be64(__pa(tmp) | in pnv_pci_ioda2_table_do_alloc_pages()
|
D | opal.c | 437 len = cpu_to_be64(count); in opal_get_chars() 467 olen = cpu_to_be64(total_len); in __opal_put_chars() 1154 sg->entry[i].data = cpu_to_be64(data); in opal_vmalloc_to_sg_list() 1155 sg->entry[i].length = cpu_to_be64(length); in opal_vmalloc_to_sg_list() 1165 sg->length = cpu_to_be64( in opal_vmalloc_to_sg_list() 1168 sg->next = cpu_to_be64(__pa(next)); in opal_vmalloc_to_sg_list() 1176 sg->length = cpu_to_be64(i * sizeof(struct opal_sg_entry) + 16); in opal_vmalloc_to_sg_list()
|
D | opal-fadump.c | 184 fdm->fadumphdr_addr = cpu_to_be64(0); in opal_fadump_init_metadata() 199 opal_fdm->rgn[i].src = cpu_to_be64(fadump_conf->boot_mem_addr[i]); in opal_fadump_init_mem_struct() 200 opal_fdm->rgn[i].dest = cpu_to_be64(addr); in opal_fadump_init_mem_struct() 201 opal_fdm->rgn[i].size = cpu_to_be64(fadump_conf->boot_mem_sz[i]); in opal_fadump_init_mem_struct() 212 opal_fdm->fadumphdr_addr = cpu_to_be64(be64_to_cpu(opal_fdm->rgn[0].dest) + in opal_fadump_init_mem_struct()
|
/arch/x86/include/asm/crypto/ |
D | glue_helper.h | 74 dst->a = cpu_to_be64(le64_to_cpu(src->a)); in le128_to_be128() 75 dst->b = cpu_to_be64(le64_to_cpu(src->b)); in le128_to_be128()
|
/arch/x86/crypto/ |
D | blowfish_glue.c | 284 ctrblocks[0] = cpu_to_be64(ctrblk++); in __ctr_crypt() 285 ctrblocks[1] = cpu_to_be64(ctrblk++); in __ctr_crypt() 286 ctrblocks[2] = cpu_to_be64(ctrblk++); in __ctr_crypt() 287 ctrblocks[3] = cpu_to_be64(ctrblk++); in __ctr_crypt() 305 ctrblocks[0] = cpu_to_be64(ctrblk++); in __ctr_crypt() 314 *(__be64 *)walk->iv = cpu_to_be64(ctrblk); in __ctr_crypt()
|
D | des3_ede_glue.c | 285 ctrblocks[0] = cpu_to_be64(ctrblk++); in __ctr_crypt() 286 ctrblocks[1] = cpu_to_be64(ctrblk++); in __ctr_crypt() 287 ctrblocks[2] = cpu_to_be64(ctrblk++); in __ctr_crypt() 306 ctrblocks[0] = cpu_to_be64(ctrblk++); in __ctr_crypt() 317 *(__be64 *)walk->iv = cpu_to_be64(ctrblk); in __ctr_crypt()
|
/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()
|
/arch/powerpc/mm/book3s64/ |
D | hash_pgtable.c | 210 : "r" (pmdp), "r" (cpu_to_be64(clr)), "m" (*pmdp), in hash__pmd_hugepage_update() 211 "r" (cpu_to_be64(H_PAGE_BUSY)), "r" (cpu_to_be64(set)) in hash__pmd_hugepage_update()
|
/arch/powerpc/kvm/ |
D | book3s_pr_papr.c | 70 hpte[0] = cpu_to_be64(kvmppc_get_gpr(vcpu, 6)); in kvmppc_h_pr_enter() 71 hpte[1] = cpu_to_be64(kvmppc_get_gpr(vcpu, 7)); in kvmppc_h_pr_enter() 248 pte[0] = (__force u64)cpu_to_be64(pte[0]); in kvmppc_h_pr_protect() 249 pte[1] = (__force u64)cpu_to_be64(pte[1]); in kvmppc_h_pr_protect()
|