/kernel/linux/linux-5.10/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 | 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() 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()
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/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) })
|
/kernel/linux/linux-5.10/drivers/net/ethernet/google/gve/ |
D | gve_adminq.c | 297 .counter_array = cpu_to_be64(counter_array_bus_addr), in gve_adminq_configure_device_resources() 299 .irq_db_addr = cpu_to_be64(db_array_bus_addr), in gve_adminq_configure_device_resources() 331 cpu_to_be64(tx->q_resources_bus), in gve_adminq_create_tx_queue() 332 .tx_ring_addr = cpu_to_be64(tx->bus), in gve_adminq_create_tx_queue() 371 .queue_resources_addr = cpu_to_be64(rx->q_resources_bus), in gve_adminq_create_rx_queue() 372 .rx_desc_ring_addr = cpu_to_be64(rx->desc.bus), in gve_adminq_create_rx_queue() 373 .rx_data_ring_addr = cpu_to_be64(rx->data.data_bus), in gve_adminq_create_rx_queue() 478 cpu_to_be64(descriptor_bus); in gve_adminq_describe_device() 548 page_list[i] = cpu_to_be64(qpl->page_buses[i]); in gve_adminq_register_page_list() 554 .page_address_list_addr = cpu_to_be64(page_list_bus), in gve_adminq_register_page_list() [all …]
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/include/net/ |
D | addrconf.h | 447 return ((p[0] ^ cpu_to_be64(0xff02000000000000UL)) | (p[1] ^ cpu_to_be64(1))) == 0UL; in ipv6_addr_is_ll_all_nodes() 459 return ((p[0] ^ cpu_to_be64(0xff02000000000000UL)) | (p[1] ^ cpu_to_be64(2))) == 0UL; in ipv6_addr_is_ll_all_routers() 476 return ((p[0] ^ cpu_to_be64(0xff02000000000000UL)) | in ipv6_addr_is_solict_mult() 477 ((p[1] ^ cpu_to_be64(0x00000001ff000000UL)) & in ipv6_addr_is_solict_mult() 478 cpu_to_be64(0xffffffffff000000UL))) == 0UL; in ipv6_addr_is_solict_mult() 492 return ((p[0] ^ cpu_to_be64(0xff02000000000000UL)) | in ipv6_addr_is_all_snoopers() 493 (p[1] ^ cpu_to_be64(0x6a))) == 0UL; in ipv6_addr_is_all_snoopers()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/include/rdma/ |
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)
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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))); \
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/fs/xfs/libxfs/ |
D | xfs_sb.c | 572 to->sb_uquotino = cpu_to_be64(from->sb_uquotino); in xfs_sb_quota_to_disk() 575 to->sb_gquotino = cpu_to_be64(from->sb_gquotino); in xfs_sb_quota_to_disk() 576 to->sb_pquotino = cpu_to_be64(from->sb_pquotino); in xfs_sb_quota_to_disk() 606 to->sb_gquotino = cpu_to_be64(from->sb_gquotino); in xfs_sb_quota_to_disk() 608 to->sb_gquotino = cpu_to_be64(from->sb_pquotino); in xfs_sb_quota_to_disk() 618 to->sb_gquotino = cpu_to_be64(NULLFSINO); in xfs_sb_quota_to_disk() 633 to->sb_dblocks = cpu_to_be64(from->sb_dblocks); in xfs_sb_to_disk() 634 to->sb_rblocks = cpu_to_be64(from->sb_rblocks); in xfs_sb_to_disk() 635 to->sb_rextents = cpu_to_be64(from->sb_rextents); in xfs_sb_to_disk() 637 to->sb_logstart = cpu_to_be64(from->sb_logstart); in xfs_sb_to_disk() [all …]
|
/kernel/linux/linux-5.10/crypto/ |
D | keywrap.c | 163 block.A ^= cpu_to_be64(t); in crypto_kw_decrypt() 184 if (block.A != cpu_to_be64(0xa6a6a6a6a6a6a6a6ULL)) in crypto_kw_decrypt() 214 block.A = cpu_to_be64(0xa6a6a6a6a6a6a6a6ULL); in crypto_kw_encrypt() 240 block.A ^= cpu_to_be64(t); in crypto_kw_encrypt()
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/pseries/ |
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 | hvconsole.c | 66 cpu_to_be64(lbuf[0]), in hvc_put_chars() 67 cpu_to_be64(lbuf[1])); in hvc_put_chars()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/fs/xfs/ |
D | xfs_inode_item_recover.c | 135 return cpu_to_be64(its); in xfs_log_dinode_to_disk_ts() 166 to->di_size = cpu_to_be64(from->di_size); in xfs_log_dinode_to_disk() 167 to->di_nblocks = cpu_to_be64(from->di_nblocks); in xfs_log_dinode_to_disk() 179 to->di_changecount = cpu_to_be64(from->di_changecount); in xfs_log_dinode_to_disk() 182 to->di_flags2 = cpu_to_be64(from->di_flags2); in xfs_log_dinode_to_disk() 184 to->di_ino = cpu_to_be64(from->di_ino); in xfs_log_dinode_to_disk() 185 to->di_lsn = cpu_to_be64(from->di_lsn); in xfs_log_dinode_to_disk()
|
/kernel/linux/linux-5.10/arch/powerpc/boot/ |
D | of.h | 34 #define cpu_to_be64(x) swab64(x) macro 41 #define cpu_to_be64(x) (x) macro
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/ |
D | mad.c | 364 trap->tid = cpu_to_be64(ibp->rvp.tid); in send_trap() 964 pi->neigh_node_guid = cpu_to_be64(ppd->neighbor_guid); in __subn_get_opa_portinfo() 2646 rsp->port_xmit_wait = cpu_to_be64(sum_vl_xmit_wait); in a0_portstatus() 2766 cpu_to_be64(read_port_cntr(ppd, C_SW_RCV_CSTR_ERR, in pma_get_opa_portstatus() 2772 rsp->port_xmit_data = cpu_to_be64(read_dev_cntr(dd, C_DC_XMIT_FLITS, in pma_get_opa_portstatus() 2774 rsp->port_rcv_data = cpu_to_be64(read_dev_cntr(dd, C_DC_RCV_FLITS, in pma_get_opa_portstatus() 2776 rsp->port_xmit_pkts = cpu_to_be64(read_dev_cntr(dd, C_DC_XMIT_PKTS, in pma_get_opa_portstatus() 2778 rsp->port_rcv_pkts = cpu_to_be64(read_dev_cntr(dd, C_DC_RCV_PKTS, in pma_get_opa_portstatus() 2781 cpu_to_be64(read_dev_cntr(dd, C_DC_MC_XMIT_PKTS, in pma_get_opa_portstatus() 2784 cpu_to_be64(read_dev_cntr(dd, C_DC_MC_RCV_PKTS, in pma_get_opa_portstatus() [all …]
|
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/vphn/ |
D | test-vphn.c | 11 #define cpu_to_be64(x) bswap_64(x) macro 16 #define cpu_to_be64(x) (x) macro
|
/kernel/linux/linux-5.10/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()
|