/Linux-v6.1/arch/powerpc/include/asm/book3s/64/ |
D | pgtable.h | 370 if ((pte_raw(*ptep) & cpu_to_be64(_PAGE_ACCESSED | H_PAGE_HASHPTE)) == 0) in __ptep_test_and_clear_young() 406 return !!(pte_raw(pte) & cpu_to_be64(_PAGE_WRITE)); in __pte_write() 420 return !(pte_raw(pte) & cpu_to_be64(_PAGE_RWX | _PAGE_PRIVILEGED)); in pte_savedwrite() 437 return !!(pte_raw(pte) & cpu_to_be64(_PAGE_READ)); in pte_read() 496 return !!(pte_raw(pte) & cpu_to_be64(_PAGE_DIRTY)); in pte_dirty() 501 return !!(pte_raw(pte) & cpu_to_be64(_PAGE_ACCESSED)); in pte_young() 506 return !!(pte_raw(pte) & cpu_to_be64(_PAGE_SPECIAL)); in pte_special() 511 return !!(pte_raw(pte) & cpu_to_be64(_PAGE_EXEC)); in pte_exec() 518 return !!(pte_raw(pte) & cpu_to_be64(_PAGE_SOFT_DIRTY)); in pte_soft_dirty() 523 return __pte_raw(pte_raw(pte) | cpu_to_be64(_PAGE_SOFT_DIRTY)); in pte_mksoft_dirty() [all …]
|
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 | 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()
|
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()
|
/Linux-v6.1/drivers/infiniband/ulp/opa_vnic/ |
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() 102 cntrs->tx_packets = cpu_to_be64(vstats.netstats.tx_packets); in opa_vnic_get_summary_counters() 103 cntrs->rx_packets = cpu_to_be64(vstats.netstats.rx_packets); 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() 140 cntrs->rx_errors = cpu_to_be64(vstats.netstats.rx_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() [all …]
|
/Linux-v6.1/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) }) 106 #define __hugepd(x) ((hugepd_t) { cpu_to_be64(x) })
|
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/ |
D | rx.c | 49 .ptag = cpu_to_be64(addr | MLX5_EN_WR), in mlx5e_xsk_alloc_rx_mpwqe() 58 .va = cpu_to_be64(addr), in mlx5e_xsk_alloc_rx_mpwqe() 69 .va = cpu_to_be64(addr), in mlx5e_xsk_alloc_rx_mpwqe() 73 .va = cpu_to_be64(addr + mapping_size), in mlx5e_xsk_alloc_rx_mpwqe() 77 .va = cpu_to_be64(addr + mapping_size * 2), in mlx5e_xsk_alloc_rx_mpwqe() 81 .va = cpu_to_be64(rq->wqe_overflow.addr), in mlx5e_xsk_alloc_rx_mpwqe() 94 .va = cpu_to_be64(addr), in mlx5e_xsk_alloc_rx_mpwqe() 99 .va = cpu_to_be64(rq->wqe_overflow.addr), in mlx5e_xsk_alloc_rx_mpwqe() 176 wqe->data[0].addr = cpu_to_be64(addr + rq->buff.headroom); in mlx5e_xsk_alloc_rx_wqes_batched() 202 wqe->data[0].addr = cpu_to_be64(addr + rq->buff.headroom); in mlx5e_xsk_alloc_rx_wqes()
|
/Linux-v6.1/drivers/net/ethernet/google/gve/ |
D | gve_adminq.c | 461 .counter_array = cpu_to_be64(counter_array_bus_addr), in gve_adminq_configure_device_resources() 463 .irq_db_addr = cpu_to_be64(db_array_bus_addr), in gve_adminq_configure_device_resources() 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() 540 .queue_resources_addr = cpu_to_be64(rx->q_resources_bus), in gve_adminq_create_rx_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() [all …]
|
/Linux-v6.1/include/crypto/ |
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-v6.1/include/net/ |
D | addrconf.h | 450 return ((p[0] ^ cpu_to_be64(0xff02000000000000UL)) | (p[1] ^ cpu_to_be64(1))) == 0UL; in ipv6_addr_is_ll_all_nodes() 462 return ((p[0] ^ cpu_to_be64(0xff02000000000000UL)) | (p[1] ^ cpu_to_be64(2))) == 0UL; in ipv6_addr_is_ll_all_routers() 479 return ((p[0] ^ cpu_to_be64(0xff02000000000000UL)) | in ipv6_addr_is_solict_mult() 480 ((p[1] ^ cpu_to_be64(0x00000001ff000000UL)) & in ipv6_addr_is_solict_mult() 481 cpu_to_be64(0xffffffffff000000UL))) == 0UL; in ipv6_addr_is_solict_mult() 495 return ((p[0] ^ cpu_to_be64(0xff02000000000000UL)) | in ipv6_addr_is_all_snoopers() 496 (p[1] ^ cpu_to_be64(0x6a))) == 0UL; in ipv6_addr_is_all_snoopers()
|
/Linux-v6.1/drivers/i2c/busses/ |
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-v6.1/include/rdma/ |
D | ib_cm.h | 327 #define IB_SERVICE_ID_AGN_MASK cpu_to_be64(0xFF00000000000000ULL) 328 #define IB_CM_ASSIGN_SERVICE_ID cpu_to_be64(0x0200000000000000ULL) 329 #define IB_CMA_SERVICE_ID cpu_to_be64(0x0000000001000000ULL) 330 #define IB_CMA_SERVICE_ID_MASK cpu_to_be64(0xFFFFFFFFFF000000ULL) 331 #define IB_SDP_SERVICE_ID cpu_to_be64(0x0000000000010000ULL) 332 #define IB_SDP_SERVICE_ID_MASK cpu_to_be64(0xFFFFFFFFFFFF0000ULL)
|
/Linux-v6.1/fs/omfs/ |
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-v6.1/drivers/misc/genwqe/ |
D | card_dev.c | 578 *(__be64 *)&req->__asiv[0] = cpu_to_be64(dma_addr); in do_flash_update() 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() 586 *(__be64 *)&req->__asiv[88] = cpu_to_be64(load->slu_id); in do_flash_update() 587 *(__be64 *)&req->__asiv[96] = cpu_to_be64(load->app_id); 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() 598 *(__be64 *)&req->asiv[80] = cpu_to_be64(load->slu_id); in do_flash_update() 599 *(__be64 *)&req->asiv[88] = cpu_to_be64(load->app_id); in do_flash_update() 704 *(__be64 *)&cmd->__asiv[0] = cpu_to_be64(dma_addr); in do_flash_read() [all …]
|
/Linux-v6.1/fs/xfs/libxfs/ |
D | xfs_sb.c | 639 to->sb_uquotino = cpu_to_be64(from->sb_uquotino); in xfs_sb_quota_to_disk() 647 to->sb_gquotino = cpu_to_be64(from->sb_gquotino); in xfs_sb_quota_to_disk() 648 to->sb_pquotino = cpu_to_be64(from->sb_pquotino); in xfs_sb_quota_to_disk() 678 to->sb_gquotino = cpu_to_be64(from->sb_gquotino); in xfs_sb_quota_to_disk() 680 to->sb_gquotino = cpu_to_be64(from->sb_pquotino); in xfs_sb_quota_to_disk() 690 to->sb_gquotino = cpu_to_be64(NULLFSINO); in xfs_sb_quota_to_disk() 705 to->sb_dblocks = cpu_to_be64(from->sb_dblocks); in xfs_sb_to_disk() 706 to->sb_rblocks = cpu_to_be64(from->sb_rblocks); in xfs_sb_to_disk() 707 to->sb_rextents = cpu_to_be64(from->sb_rextents); in xfs_sb_to_disk() 709 to->sb_logstart = cpu_to_be64(from->sb_logstart); in xfs_sb_to_disk() [all …]
|
/Linux-v6.1/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() 369 elf->e_phoff = cpu_to_be64(sizeof(Elf64_Ehdr)); in create_opalcore() 386 phdr->p_offset = cpu_to_be64(hdr_size); in create_opalcore() 387 phdr->p_filesz = phdr->p_memsz = cpu_to_be64(cpu_notes_size); in create_opalcore() 408 phdr->p_paddr = cpu_to_be64(paddr); in create_opalcore() 409 phdr->p_vaddr = cpu_to_be64(opal_base_addr + paddr); in create_opalcore() 411 cpu_to_be64(oc_conf->ptload_size[i]); in create_opalcore() 412 phdr->p_offset = cpu_to_be64(opalcore_off); in create_opalcore()
|
/Linux-v6.1/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))); \
|
/Linux-v6.1/crypto/ |
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-v6.1/drivers/crypto/aspeed/ |
D | aspeed-hace-hash.c | 38 cpu_to_be64(SHA384_H0), cpu_to_be64(SHA384_H1), 39 cpu_to_be64(SHA384_H2), cpu_to_be64(SHA384_H3), 40 cpu_to_be64(SHA384_H4), cpu_to_be64(SHA384_H5), 41 cpu_to_be64(SHA384_H6), cpu_to_be64(SHA384_H7) 45 cpu_to_be64(SHA512_H0), cpu_to_be64(SHA512_H1), 46 cpu_to_be64(SHA512_H2), cpu_to_be64(SHA512_H3), 47 cpu_to_be64(SHA512_H4), cpu_to_be64(SHA512_H5), 48 cpu_to_be64(SHA512_H6), cpu_to_be64(SHA512_H7) 100 bits[0] = cpu_to_be64(rctx->digcnt[0] << 3); in aspeed_ahash_fill_padding() 109 bits[1] = cpu_to_be64(rctx->digcnt[0] << 3); in aspeed_ahash_fill_padding() [all …]
|
/Linux-v6.1/fs/xfs/ |
D | xfs_inode_item_recover.c | 135 return cpu_to_be64(its); in xfs_log_dinode_to_disk_ts() 158 to->di_big_nextents = cpu_to_be64(from->di_big_nextents); in xfs_log_dinode_to_disk_iext_counters() 189 to->di_size = cpu_to_be64(from->di_size); in xfs_log_dinode_to_disk() 190 to->di_nblocks = cpu_to_be64(from->di_nblocks); in xfs_log_dinode_to_disk() 200 to->di_changecount = cpu_to_be64(from->di_changecount); in xfs_log_dinode_to_disk() 203 to->di_flags2 = cpu_to_be64(from->di_flags2); in xfs_log_dinode_to_disk() 205 to->di_ino = cpu_to_be64(from->di_ino); in xfs_log_dinode_to_disk() 206 to->di_lsn = cpu_to_be64(lsn); in xfs_log_dinode_to_disk()
|
/Linux-v6.1/arch/powerpc/platforms/pseries/ |
D | rtas-fadump.c | 98 cpu_to_be64(fadump_conf->cpu_state_data_size); in rtas_fadump_init_mem_struct() 99 fdm.cpu_state_data.destination_address = cpu_to_be64(addr); in rtas_fadump_init_mem_struct() 108 cpu_to_be64(fadump_conf->hpte_region_size); in rtas_fadump_init_mem_struct() 109 fdm.hpte_region.destination_address = cpu_to_be64(addr); in rtas_fadump_init_mem_struct() 122 fdm.rmr_region.source_address = cpu_to_be64(0); in rtas_fadump_init_mem_struct() 123 fdm.rmr_region.source_len = cpu_to_be64(fadump_conf->boot_memory_size); in rtas_fadump_init_mem_struct() 124 fdm.rmr_region.destination_address = cpu_to_be64(addr); in rtas_fadump_init_mem_struct()
|
D | hvconsole.c | 66 cpu_to_be64(lbuf[0]), in hvc_put_chars() 67 cpu_to_be64(lbuf[1])); in hvc_put_chars()
|
/Linux-v6.1/sound/firewire/dice/ |
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-v6.1/drivers/infiniband/hw/hfi1/ |
D | mad.c | 322 trap->tid = cpu_to_be64(ibp->rvp.tid); in send_trap() 922 pi->neigh_node_guid = cpu_to_be64(ppd->neighbor_guid); in __subn_get_opa_portinfo() 2604 rsp->port_xmit_wait = cpu_to_be64(sum_vl_xmit_wait); in a0_portstatus() 2724 cpu_to_be64(read_port_cntr(ppd, C_SW_RCV_CSTR_ERR, in pma_get_opa_portstatus() 2730 rsp->port_xmit_data = cpu_to_be64(read_dev_cntr(dd, C_DC_XMIT_FLITS, in pma_get_opa_portstatus() 2732 rsp->port_rcv_data = cpu_to_be64(read_dev_cntr(dd, C_DC_RCV_FLITS, in pma_get_opa_portstatus() 2734 rsp->port_xmit_pkts = cpu_to_be64(read_dev_cntr(dd, C_DC_XMIT_PKTS, in pma_get_opa_portstatus() 2736 rsp->port_rcv_pkts = cpu_to_be64(read_dev_cntr(dd, C_DC_RCV_PKTS, in pma_get_opa_portstatus() 2739 cpu_to_be64(read_dev_cntr(dd, C_DC_MC_XMIT_PKTS, in pma_get_opa_portstatus() 2742 cpu_to_be64(read_dev_cntr(dd, C_DC_MC_RCV_PKTS, in pma_get_opa_portstatus() [all …]
|
/Linux-v6.1/arch/powerpc/boot/ |
D | of.h | 34 #define cpu_to_be64(x) swab64(x) macro 41 #define cpu_to_be64(x) (x) macro
|