/linux/arch/powerpc/include/asm/book3s/64/ |
A D | pgtable.h | 452 return !!(pte_raw(pte) & cpu_to_be64(_PAGE_READ)); in pte_read() 526 return !!(pte_raw(pte) & cpu_to_be64(_PAGE_EXEC)); in pte_exec() 551 cpu_to_be64(_PAGE_PRESENT | _PAGE_PTE); in pte_protnone() 588 cpu_to_be64(_PAGE_PRESENT | _PAGE_PTE); in pte_hw_valid() 603 cpu_to_be64(_PAGE_INVALID | _PAGE_PTE); in pte_present() 735 u64 mask = cpu_to_be64(_PAGE_DEVMAP | _PAGE_PTE); in pte_devmap() 744 cpu_to_be64(pgprot_val(newprot))); in pte_modify() 894 if (((pte_v & cpu_to_be64(_PAGE_CACHE_CTL)) == cpu_to_be64(_PAGE_TOLERANT)) || in pte_ci() 895 ((pte_v & cpu_to_be64(_PAGE_CACHE_CTL)) == cpu_to_be64(_PAGE_NON_IDEMPOTENT))) in pte_ci() 942 cpu_to_be64(_PAGE_INVALID)) in pmd_is_serializing() [all …]
|
A 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()
|
A 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()
|
A 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()
|
/linux/drivers/infiniband/ulp/opa_vnic/ |
A D | opa_vnic_vema_iface.c | 100 cntrs->tx_errors = cpu_to_be64(vstats.netstats.tx_errors); in opa_vnic_get_summary_counters() 101 cntrs->rx_errors = cpu_to_be64(vstats.netstats.rx_errors); in opa_vnic_get_summary_counters() 104 cntrs->tx_bytes = cpu_to_be64(vstats.netstats.tx_bytes); in opa_vnic_get_summary_counters() 105 cntrs->rx_bytes = cpu_to_be64(vstats.netstats.rx_bytes); in opa_vnic_get_summary_counters() 113 *dst = cpu_to_be64(*src); in opa_vnic_get_summary_counters() 139 cntrs->tx_errors = cpu_to_be64(vstats.netstats.tx_errors); in opa_vnic_get_error_counters() 141 cntrs->tx_dlid_zero = cpu_to_be64(vstats.tx_dlid_zero); in opa_vnic_get_error_counters() 142 cntrs->tx_drop_state = cpu_to_be64(vstats.tx_drop_state); in opa_vnic_get_error_counters() 147 cntrs->rx_runt = cpu_to_be64(vstats.rx_runt); in opa_vnic_get_error_counters() 148 cntrs->rx_oversize = cpu_to_be64(vstats.rx_oversize); in opa_vnic_get_error_counters() [all …]
|
/linux/arch/powerpc/include/asm/ |
A 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) })
|
/linux/drivers/net/ethernet/google/gve/ |
A D | gve_adminq.c | 494 cpu_to_be64(tx->q_resources_bus), in gve_adminq_create_tx_queue() 495 .tx_ring_addr = cpu_to_be64(tx->bus), in gve_adminq_create_tx_queue() 508 cpu_to_be64(tx->complq_bus_dqo); in gve_adminq_create_tx_queue() 548 cpu_to_be64(rx->desc.bus), in gve_adminq_create_rx_queue() 550 cpu_to_be64(rx->data.data_bus), in gve_adminq_create_rx_queue() 558 cpu_to_be64(rx->dqo.complq.bus); in gve_adminq_create_rx_queue() 560 cpu_to_be64(rx->dqo.bufq.bus); in gve_adminq_create_rx_queue() 722 cpu_to_be64(descriptor_bus); in gve_adminq_describe_device() 859 .parameter_value = cpu_to_be64(mtu), in gve_adminq_set_mtu() 875 .interval = cpu_to_be64(interval), in gve_adminq_report_stats() [all …]
|
/linux/include/crypto/ |
A D | gf128mul.h | 191 r->b = cpu_to_be64((b >> 1) | (a << 63)); in gf128mul_x_lle() 192 r->a = cpu_to_be64((a >> 1) ^ _tt); in gf128mul_x_lle() 203 r->a = cpu_to_be64((a << 1) | (b >> 63)); in gf128mul_x_bbe() 204 r->b = cpu_to_be64((b << 1) ^ _tt); in gf128mul_x_bbe()
|
/linux/include/net/ |
A D | addrconf.h | 445 return ((p[0] ^ cpu_to_be64(0xff02000000000000UL)) | (p[1] ^ cpu_to_be64(1))) == 0UL; in ipv6_addr_is_ll_all_nodes() 457 return ((p[0] ^ cpu_to_be64(0xff02000000000000UL)) | (p[1] ^ cpu_to_be64(2))) == 0UL; in ipv6_addr_is_ll_all_routers() 474 return ((p[0] ^ cpu_to_be64(0xff02000000000000UL)) | in ipv6_addr_is_solict_mult() 475 ((p[1] ^ cpu_to_be64(0x00000001ff000000UL)) & in ipv6_addr_is_solict_mult() 476 cpu_to_be64(0xffffffffff000000UL))) == 0UL; in ipv6_addr_is_solict_mult() 490 return ((p[0] ^ cpu_to_be64(0xff02000000000000UL)) | in ipv6_addr_is_all_snoopers() 491 (p[1] ^ cpu_to_be64(0x6a))) == 0UL; in ipv6_addr_is_all_snoopers()
|
/linux/drivers/i2c/busses/ |
A D | i2c-opal.c | 90 req.buffer_ra = cpu_to_be64(__pa(msgs[0].buf)); in i2c_opal_master_xfer() 101 req.buffer_ra = cpu_to_be64(__pa(msgs[1].buf)); in i2c_opal_master_xfer() 126 req.buffer_ra = cpu_to_be64(__pa(&data->byte)); in i2c_opal_smbus_xfer() 134 req.buffer_ra = cpu_to_be64(__pa(&data->byte)); in i2c_opal_smbus_xfer() 146 req.buffer_ra = cpu_to_be64(__pa(local)); in i2c_opal_smbus_xfer() 154 req.buffer_ra = cpu_to_be64(__pa(&data->block[1])); in i2c_opal_smbus_xfer()
|
/linux/drivers/misc/genwqe/ |
A D | card_dev.c | 579 *(__be64 *)&req->__asiv[8] = cpu_to_be64(tocopy); in do_flash_update() 580 *(__be64 *)&req->__asiv[16] = cpu_to_be64(flash); in do_flash_update() 590 *(__be64 *)&req->asiv[0] = cpu_to_be64(dma_addr); in do_flash_update() 593 *(__be64 *)&req->asiv[16] = cpu_to_be64(flash); in do_flash_update() 705 *(__be64 *)&cmd->__asiv[8] = cpu_to_be64(tocopy); in do_flash_read() 706 *(__be64 *)&cmd->__asiv[16] = cpu_to_be64(flash); in do_flash_read() 715 *(__be64 *)&cmd->asiv[16] = cpu_to_be64(flash); in do_flash_read() 899 cpu_to_be64(0x0); in ddcb_cmd_fixups() 911 cpu_to_be64(d_addr); in ddcb_cmd_fixups() 931 cpu_to_be64(0x0); in ddcb_cmd_fixups() [all …]
|
/linux/fs/xfs/libxfs/ |
A D | xfs_sb.c | 586 to->sb_uquotino = cpu_to_be64(from->sb_uquotino); in xfs_sb_quota_to_disk() 637 to->sb_gquotino = cpu_to_be64(NULLFSINO); in xfs_sb_quota_to_disk() 652 to->sb_dblocks = cpu_to_be64(from->sb_dblocks); in xfs_sb_to_disk() 653 to->sb_rblocks = cpu_to_be64(from->sb_rblocks); in xfs_sb_to_disk() 654 to->sb_rextents = cpu_to_be64(from->sb_rextents); in xfs_sb_to_disk() 657 to->sb_rootino = cpu_to_be64(from->sb_rootino); in xfs_sb_to_disk() 658 to->sb_rbmino = cpu_to_be64(from->sb_rbmino); in xfs_sb_to_disk() 659 to->sb_rsumino = cpu_to_be64(from->sb_rsumino); in xfs_sb_to_disk() 678 to->sb_icount = cpu_to_be64(from->sb_icount); in xfs_sb_to_disk() 679 to->sb_ifree = cpu_to_be64(from->sb_ifree); in xfs_sb_to_disk() [all …]
|
/linux/include/rdma/ |
A D | ib_cm.h | 328 #define IB_SERVICE_ID_AGN_MASK cpu_to_be64(0xFF00000000000000ULL) 329 #define IB_CM_ASSIGN_SERVICE_ID cpu_to_be64(0x0200000000000000ULL) 330 #define IB_CMA_SERVICE_ID cpu_to_be64(0x0000000001000000ULL) 331 #define IB_CMA_SERVICE_ID_MASK cpu_to_be64(0xFFFFFFFFFF000000ULL) 332 #define IB_SDP_SERVICE_ID cpu_to_be64(0x0000000000010000ULL) 333 #define IB_SDP_SERVICE_ID_MASK cpu_to_be64(0xFFFFFFFFFFFF0000ULL)
|
/linux/fs/omfs/ |
A D | file.c | 24 oe->e_next = ~cpu_to_be64(0ULL); in omfs_make_empty_table() 27 oe->e_entry.e_cluster = ~cpu_to_be64(0ULL); in omfs_make_empty_table() 28 oe->e_entry.e_blocks = ~cpu_to_be64(0ULL); in omfs_make_empty_table() 150 terminator->e_blocks = ~(cpu_to_be64( in omfs_grow_extent() 172 entry->e_cluster = cpu_to_be64(new_block); in omfs_grow_extent() 173 entry->e_blocks = cpu_to_be64((u64) new_count); in omfs_grow_extent() 175 terminator->e_blocks = ~(cpu_to_be64( in omfs_grow_extent()
|
/linux/arch/powerpc/platforms/powernv/ |
A 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()
|
/linux/arch/mips/cavium-octeon/crypto/ |
A 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))); \
|
/linux/crypto/ |
A D | keywrap.c | 164 block.A ^= cpu_to_be64(t); in crypto_kw_decrypt() 185 if (block.A != cpu_to_be64(0xa6a6a6a6a6a6a6a6ULL)) in crypto_kw_decrypt() 215 block.A = cpu_to_be64(0xa6a6a6a6a6a6a6a6ULL); in crypto_kw_encrypt() 241 block.A ^= cpu_to_be64(t); in crypto_kw_encrypt()
|
/linux/arch/powerpc/platforms/pseries/ |
A 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()
|
A D | hvconsole.c | 66 cpu_to_be64(lbuf[0]), in hvc_put_chars() 67 cpu_to_be64(lbuf[1])); in hvc_put_chars()
|
/linux/drivers/infiniband/hw/hfi1/ |
A D | mad.c | 322 trap->tid = cpu_to_be64(ibp->rvp.tid); in send_trap() 2768 cpu_to_be64(read_dev_cntr(dd, C_DC_RX_REPLAY, in pma_get_opa_portstatus() 2784 cpu_to_be64(read_dev_cntr(dd, C_DC_FM_CFG_ERR, in pma_get_opa_portstatus() 2807 cpu_to_be64(read_dev_cntr(dd, C_DC_RX_PKT_VL, in pma_get_opa_portstatus() 2811 cpu_to_be64(read_port_cntr(ppd, C_TX_FLIT_VL, in pma_get_opa_portstatus() 2815 cpu_to_be64(read_port_cntr(ppd, C_TX_PKT_VL, in pma_get_opa_portstatus() 3031 cpu_to_be64(read_port_cntr(ppd, C_TX_FLIT_VL, in pma_get_opa_datacounters() 3039 cpu_to_be64(read_port_cntr(ppd, C_TX_PKT_VL, in pma_get_opa_datacounters() 3043 cpu_to_be64(read_dev_cntr(dd, C_DC_RX_PKT_VL, in pma_get_opa_datacounters() 3147 cpu_to_be64(read_dev_cntr(dd, C_DC_RX_REPLAY, in pma_get_opa_port_ectrs() [all …]
|
/linux/fs/xfs/ |
A D | xfs_inode_item_recover.c | 135 return cpu_to_be64(its); in xfs_log_dinode_to_disk_ts() 167 to->di_size = cpu_to_be64(from->di_size); in xfs_log_dinode_to_disk() 168 to->di_nblocks = cpu_to_be64(from->di_nblocks); in xfs_log_dinode_to_disk() 180 to->di_changecount = cpu_to_be64(from->di_changecount); in xfs_log_dinode_to_disk() 183 to->di_flags2 = cpu_to_be64(from->di_flags2); in xfs_log_dinode_to_disk() 185 to->di_ino = cpu_to_be64(from->di_ino); in xfs_log_dinode_to_disk() 186 to->di_lsn = cpu_to_be64(lsn); in xfs_log_dinode_to_disk()
|
/linux/sound/firewire/dice/ |
A D | dice-transaction.c | 177 buffer[0] = cpu_to_be64(OWNER_NO_OWNER); in register_notification_address() 178 buffer[1] = cpu_to_be64( in register_notification_address() 193 if (buffer[0] == cpu_to_be64(OWNER_NO_OWNER)) in register_notification_address() 226 buffer[0] = cpu_to_be64( in unregister_notification_address() 229 buffer[1] = cpu_to_be64(OWNER_NO_OWNER); in unregister_notification_address()
|
/linux/drivers/crypto/cavium/nitrox/ |
A D | nitrox_reqmgr.c | 132 sgcomp[i].dma[j] = cpu_to_be64(sg_dma_address(sg)); in create_sg_component() 447 sr->instr.dptr0 = cpu_to_be64(sr->in.sgcomp_dma); in nitrox_process_se_request() 456 sr->instr.ih.bev = cpu_to_be64(sr->instr.ih.value); in nitrox_process_se_request() 468 sr->instr.irh.bev[0] = cpu_to_be64(sr->instr.irh.value[0]); in nitrox_process_se_request() 471 sr->instr.irh.s.ctxp = cpu_to_be64(ctx_handle); in nitrox_process_se_request() 476 sr->instr.slc.bev[0] = cpu_to_be64(sr->instr.slc.value[0]); in nitrox_process_se_request() 479 sr->instr.slc.s.rptr = cpu_to_be64(sr->out.sgcomp_dma); in nitrox_process_se_request()
|
/linux/drivers/misc/cxl/ |
A D | flash.c | 190 unwa->unit_address = cpu_to_be64(adapter->guest->handle); in update_devicetree() 248 header->image_offset = cpu_to_be64(CXL_AI_HEADER_SIZE); in handle_image() 249 header->image_length = cpu_to_be64(ai->len_image); in handle_image() 298 le[i].phys_addr = cpu_to_be64(virt_to_phys(buffer[i])); in handle_image() 299 le[i].len = cpu_to_be64(CXL_AI_BUFFER_SIZE); in handle_image() 301 le[i].len = cpu_to_be64(mod); in handle_image()
|
/linux/drivers/crypto/marvell/octeontx2/ |
A D | otx2_cptvf_reqmgr.c | 119 sg_ptr->ptr0 = cpu_to_be64(list[i * 4 + 0].dma_addr); in setup_sgio_components() 120 sg_ptr->ptr1 = cpu_to_be64(list[i * 4 + 1].dma_addr); in setup_sgio_components() 121 sg_ptr->ptr2 = cpu_to_be64(list[i * 4 + 2].dma_addr); in setup_sgio_components() 122 sg_ptr->ptr3 = cpu_to_be64(list[i * 4 + 3].dma_addr); in setup_sgio_components() 130 sg_ptr->ptr2 = cpu_to_be64(list[i * 4 + 2].dma_addr); in setup_sgio_components() 134 sg_ptr->ptr1 = cpu_to_be64(list[i * 4 + 1].dma_addr); in setup_sgio_components() 138 sg_ptr->ptr0 = cpu_to_be64(list[i * 4 + 0].dma_addr); in setup_sgio_components()
|