/linux-4.4.14/fs/xfs/libxfs/ |
D | xfs_sb.c | 440 to->sb_uquotino = cpu_to_be64(from->sb_uquotino); in xfs_sb_quota_to_disk() 443 to->sb_gquotino = cpu_to_be64(from->sb_gquotino); in xfs_sb_quota_to_disk() 444 to->sb_pquotino = cpu_to_be64(from->sb_pquotino); in xfs_sb_quota_to_disk() 474 to->sb_gquotino = cpu_to_be64(from->sb_gquotino); in xfs_sb_quota_to_disk() 476 to->sb_gquotino = cpu_to_be64(from->sb_pquotino); in xfs_sb_quota_to_disk() 486 to->sb_gquotino = cpu_to_be64(NULLFSINO); in xfs_sb_quota_to_disk() 501 to->sb_dblocks = cpu_to_be64(from->sb_dblocks); in xfs_sb_to_disk() 502 to->sb_rblocks = cpu_to_be64(from->sb_rblocks); in xfs_sb_to_disk() 503 to->sb_rextents = cpu_to_be64(from->sb_rextents); in xfs_sb_to_disk() 505 to->sb_logstart = cpu_to_be64(from->sb_logstart); in xfs_sb_to_disk() [all …]
|
D | xfs_symlink_remote.c | 69 dsl->sl_owner = cpu_to_be64(ino); in xfs_symlink_hdr_set() 70 dsl->sl_blkno = cpu_to_be64(bp->b_bn); in xfs_symlink_hdr_set() 165 dsl->sl_lsn = cpu_to_be64(bip->bli_item.li_lsn); in xfs_symlink_write_verify()
|
D | xfs_inode_buf.c | 266 to->di_size = cpu_to_be64(from->di_size); in xfs_dinode_to_disk() 267 to->di_nblocks = cpu_to_be64(from->di_nblocks); in xfs_dinode_to_disk() 279 to->di_changecount = cpu_to_be64(from->di_changecount); in xfs_dinode_to_disk() 282 to->di_flags2 = cpu_to_be64(from->di_flags2); in xfs_dinode_to_disk() 283 to->di_ino = cpu_to_be64(from->di_ino); in xfs_dinode_to_disk() 284 to->di_lsn = cpu_to_be64(from->di_lsn); in xfs_dinode_to_disk()
|
D | xfs_bmap_btree.c | 254 r->l0 = cpu_to_be64( in xfs_bmbt_disk_set_allf() 258 r->l1 = cpu_to_be64( in xfs_bmbt_disk_set_allf() 355 cpu_to_be64(XFS_BUF_DADDR_NULL)); in xfs_bmbt_to_bmdr() 358 ASSERT(rblock->bb_u.l.bb_leftsib == cpu_to_be64(NULLFSBLOCK)); in xfs_bmbt_to_bmdr() 359 ASSERT(rblock->bb_u.l.bb_rightsib == cpu_to_be64(NULLFSBLOCK)); in xfs_bmbt_to_bmdr() 508 new->l = cpu_to_be64(args.fsbno); in xfs_bmbt_alloc_block() 600 cpu_to_be64(xfs_bmbt_disk_get_startoff(&rec->bmbt)); in xfs_bmbt_init_key_from_rec() 683 (block->bb_u.l.bb_leftsib != cpu_to_be64(NULLFSBLOCK) && in xfs_bmbt_verify() 687 (block->bb_u.l.bb_rightsib != cpu_to_be64(NULLFSBLOCK) && in xfs_bmbt_verify()
|
D | xfs_attr_remote.c | 189 if (rmt->rm_lsn != cpu_to_be64(NULLCOMMITLSN)) { in xfs_attr3_rmt_write_verify() 227 rmt->rm_owner = cpu_to_be64(ino); in xfs_attr3_rmt_hdr_set() 228 rmt->rm_blkno = cpu_to_be64(bno); in xfs_attr3_rmt_hdr_set() 240 rmt->rm_lsn = cpu_to_be64(NULLCOMMITLSN); in xfs_attr3_rmt_hdr_set()
|
D | xfs_dir2_block.c | 120 hdr3->lsn = cpu_to_be64(bip->bli_item.li_lsn); in xfs_dir3_block_write_verify() 162 hdr3->blkno = cpu_to_be64(bp->b_bn); in xfs_dir3_block_init() 163 hdr3->owner = cpu_to_be64(dp->i_ino); in xfs_dir3_block_init() 549 dep->inumber = cpu_to_be64(args->inumber); in xfs_dir2_block_addname() 874 dep->inumber = cpu_to_be64(args->inumber); in xfs_dir2_block_replace() 1159 dep->inumber = cpu_to_be64(dp->i_ino); in xfs_dir2_sf_to_block() 1173 dep->inumber = cpu_to_be64(dp->d_ops->sf_get_parent_ino(sfp)); in xfs_dir2_sf_to_block() 1224 dep->inumber = cpu_to_be64(dp->d_ops->sf_get_ino(sfp, sfep)); in xfs_dir2_sf_to_block()
|
D | xfs_btree.c | 71 block->bb_u.l.bb_blkno == cpu_to_be64( in xfs_btree_check_lblock() 81 (block->bb_u.l.bb_leftsib == cpu_to_be64(NULLFSBLOCK) || in xfs_btree_check_lblock() 85 (block->bb_u.l.bb_rightsib == cpu_to_be64(NULLFSBLOCK) || in xfs_btree_check_lblock() 122 block->bb_u.s.bb_blkno == cpu_to_be64( in xfs_btree_check_sblock() 239 block->bb_u.l.bb_lsn = cpu_to_be64(bip->bli_item.li_lsn); in xfs_btree_lblock_calc_crc() 277 block->bb_u.s.bb_lsn = cpu_to_be64(bip->bli_item.li_lsn); in xfs_btree_sblock_calc_crc() 611 return block->bb_u.l.bb_rightsib == cpu_to_be64(NULLFSBLOCK); in xfs_btree_islastblock() 868 ASSERT(ptr->l != cpu_to_be64(NULLFSBLOCK)); in xfs_btree_ptr_to_daddr() 916 if (b->bb_u.l.bb_leftsib == cpu_to_be64(NULLFSBLOCK)) in xfs_btree_setbuf() 918 if (b->bb_u.l.bb_rightsib == cpu_to_be64(NULLFSBLOCK)) in xfs_btree_setbuf() [all …]
|
D | xfs_ialloc_btree.c | 180 rec->inobt.ir_free = cpu_to_be64(cur->bc_rec.i.ir_free); in xfs_inobt_init_rec_from_cur() 244 if (block->bb_u.s.bb_blkno != cpu_to_be64(bp->b_bn)) in xfs_inobt_verify()
|
D | xfs_alloc_btree.c | 300 if (block->bb_u.s.bb_blkno != cpu_to_be64(bp->b_bn)) in xfs_allocbt_verify() 318 if (block->bb_u.s.bb_blkno != cpu_to_be64(bp->b_bn)) in xfs_allocbt_verify()
|
D | xfs_dir2_leaf.c | 214 hdr3->info.lsn = cpu_to_be64(bip->bli_item.li_lsn); in __write_verify() 316 leaf3->info.blkno = cpu_to_be64(bp->b_bn); in xfs_dir3_leaf_init() 317 leaf3->info.owner = cpu_to_be64(owner); in xfs_dir3_leaf_init() 860 dep->inumber = cpu_to_be64(args->inumber); in xfs_dir2_leaf_addname() 1525 dep->inumber = cpu_to_be64(args->inumber); in xfs_dir2_leaf_replace()
|
D | xfs_dir2_data.c | 302 hdr3->lsn = cpu_to_be64(bip->bli_item.li_lsn); in xfs_dir3_data_write_verify() 611 hdr3->blkno = cpu_to_be64(bp->b_bn); in xfs_dir3_data_init() 612 hdr3->owner = cpu_to_be64(dp->i_ino); in xfs_dir3_data_init()
|
D | xfs_dir2_node.c | 147 hdr3->lsn = cpu_to_be64(bip->bli_item.li_lsn); in xfs_dir3_free_write_verify() 231 hdr3->hdr.blkno = cpu_to_be64(bp->b_bn); in xfs_dir3_free_get_buf() 232 hdr3->hdr.owner = cpu_to_be64(dp->i_ino); in xfs_dir3_free_get_buf() 1970 dep->inumber = cpu_to_be64(args->inumber); in xfs_dir2_node_addname_int() 2196 dep->inumber = cpu_to_be64(inum); in xfs_dir2_node_replace()
|
D | xfs_da_btree.c | 198 hdr3->info.lsn = cpu_to_be64(bip->bli_item.li_lsn); in xfs_da3_node_write_verify() 331 hdr3->info.blkno = cpu_to_be64(bp->b_bn); in xfs_da3_node_create() 332 hdr3->info.owner = cpu_to_be64(args->dp->i_ino); in xfs_da3_node_create() 590 node3->hdr.info.blkno = cpu_to_be64(bp->b_bn); in xfs_da3_root_split() 1099 da3->blkno = cpu_to_be64(root_blk->bp->b_bn); in xfs_da3_root_join()
|
/linux-4.4.14/include/net/ |
D | addrconf.h | 348 return ((p[0] ^ cpu_to_be64(0xff02000000000000UL)) | (p[1] ^ cpu_to_be64(1))) == 0UL; in ipv6_addr_is_ll_all_nodes() 360 return ((p[0] ^ cpu_to_be64(0xff02000000000000UL)) | (p[1] ^ cpu_to_be64(2))) == 0UL; in ipv6_addr_is_ll_all_routers() 377 return ((p[0] ^ cpu_to_be64(0xff02000000000000UL)) | in ipv6_addr_is_solict_mult() 378 ((p[1] ^ cpu_to_be64(0x00000001ff000000UL)) & in ipv6_addr_is_solict_mult() 379 cpu_to_be64(0xffffffffff000000UL))) == 0UL; in ipv6_addr_is_solict_mult()
|
D | ipv6.h | 453 if (len && ((*a1 ^ *a2) & cpu_to_be64((~0UL) << (64 - len)))) in __ipv6_prefix_equal64_half() 580 return (be[0] | (be[1] ^ cpu_to_be64(1))) == 0UL; in ipv6_addr_loopback()
|
/linux-4.4.14/drivers/i2c/busses/ |
D | i2c-opal.c | 104 req.buffer_ra = cpu_to_be64(__pa(msgs[0].buf)); in i2c_opal_master_xfer() 115 req.buffer_ra = cpu_to_be64(__pa(msgs[1].buf)); in i2c_opal_master_xfer() 142 req.buffer_ra = cpu_to_be64(__pa(&data->byte)); in i2c_opal_smbus_xfer() 150 req.buffer_ra = cpu_to_be64(__pa(&data->byte)); in i2c_opal_smbus_xfer() 162 req.buffer_ra = cpu_to_be64(__pa(local)); in i2c_opal_smbus_xfer() 170 req.buffer_ra = cpu_to_be64(__pa(&data->block[1])); in i2c_opal_smbus_xfer()
|
/linux-4.4.14/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()
|
D | octeon-sha1.c | 162 bits = cpu_to_be64(sctx->count << 3); in octeon_sha1_final()
|
D | octeon-sha256.c | 174 bits = cpu_to_be64(sctx->count << 3); in octeon_sha256_final()
|
/linux-4.4.14/include/rdma/ |
D | ib_cm.h | 338 #define IB_SERVICE_ID_AGN_MASK cpu_to_be64(0xFF00000000000000ULL) 339 #define IB_CM_ASSIGN_SERVICE_ID cpu_to_be64(0x0200000000000000ULL) 340 #define IB_CMA_SERVICE_ID cpu_to_be64(0x0000000001000000ULL) 341 #define IB_CMA_SERVICE_ID_MASK cpu_to_be64(0xFFFFFFFFFF000000ULL) 342 #define IB_SDP_SERVICE_ID cpu_to_be64(0x0000000000010000ULL) 343 #define IB_SDP_SERVICE_ID_MASK cpu_to_be64(0xFFFFFFFFFFFF0000ULL)
|
D | ib_mad.h | 188 #define IB_SA_COMP_MASK(n) ((__force ib_sa_comp_mask) cpu_to_be64(1ull << (n)))
|
/linux-4.4.14/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()
|
D | dir.c | 103 oi->i_head.h_self = cpu_to_be64(inode->i_ino); in omfs_make_empty() 104 oi->i_sibling = ~cpu_to_be64(0ULL); in omfs_make_empty() 129 *entry = cpu_to_be64(inode->i_ino); in omfs_add_link() 141 oi->i_sibling = cpu_to_be64(block); in omfs_add_link() 142 oi->i_parent = cpu_to_be64(dir->i_ino); in omfs_add_link()
|
D | inode.c | 117 oi->i_head.h_self = cpu_to_be64(inode->i_ino); in __omfs_write_inode() 133 oi->i_size = cpu_to_be64(inode->i_size); in __omfs_write_inode() 137 oi->i_ctime = cpu_to_be64(ctime); in __omfs_write_inode()
|
/linux-4.4.14/drivers/misc/genwqe/ |
D | card_dev.c | 582 *(__be64 *)&req->__asiv[0] = cpu_to_be64(dma_addr); in do_flash_update() 583 *(__be64 *)&req->__asiv[8] = cpu_to_be64(tocopy); in do_flash_update() 584 *(__be64 *)&req->__asiv[16] = cpu_to_be64(flash); in do_flash_update() 590 *(__be64 *)&req->__asiv[88] = cpu_to_be64(load->slu_id); in do_flash_update() 591 *(__be64 *)&req->__asiv[96] = cpu_to_be64(load->app_id); in do_flash_update() 594 *(__be64 *)&req->asiv[0] = cpu_to_be64(dma_addr); in do_flash_update() 597 *(__be64 *)&req->asiv[16] = cpu_to_be64(flash); in do_flash_update() 602 *(__be64 *)&req->asiv[80] = cpu_to_be64(load->slu_id); in do_flash_update() 603 *(__be64 *)&req->asiv[88] = cpu_to_be64(load->app_id); in do_flash_update() 708 *(__be64 *)&cmd->__asiv[0] = cpu_to_be64(dma_addr); in do_flash_read() [all …]
|
D | card_utils.c | 67 __raw_writeq((__force u64)cpu_to_be64(val), cd->mmio + byte_offs); in __genwqe_writeq() 389 s[j].target_addr = cpu_to_be64(sgl->sgl_dma_addr + dma_offs); in genwqe_setup_sgl() 430 s[j].target_addr = cpu_to_be64(daddr); in genwqe_setup_sgl() 453 s[i].target_addr = cpu_to_be64(0); in genwqe_setup_sgl()
|
D | card_ddcb.c | 152 pddcb->priv_64 = cpu_to_be64(0); /* not tapped */ in ddcb_mark_unused() 844 pddcb->disp_ts_64 = cpu_to_be64(req->cmd.disp_ts); in __genwqe_enqueue_ddcb() 864 pddcb->n.ats_64 = cpu_to_be64(req->cmd.ats); in __genwqe_enqueue_ddcb()
|
/linux-4.4.14/drivers/staging/rdma/hfi1/ |
D | mad.c | 125 smp->tid = cpu_to_be64(ibp->tid); in send_trap() 330 ni->port_guid = cpu_to_be64(dd->pport[pidx].guid); in __subn_get_opa_nodeinfo() 338 ni->node_guid = cpu_to_be64(dd->pport->guid); in __subn_get_opa_nodeinfo() 365 nip->port_guid = cpu_to_be64(dd->pport[pidx].guid); in subn_get_nodeinfo() 374 nip->node_guid = cpu_to_be64(dd->pport->guid); in subn_get_nodeinfo() 677 pi->neigh_node_guid = cpu_to_be64(ppd->neighbor_guid); in __subn_get_opa_portinfo() 2288 rsp->port_rcv_bubble = cpu_to_be64(rcv_bubble); in a0_portstatus() 2298 cpu_to_be64(rcv_bubble); in a0_portstatus() 2310 rsp->port_xmit_wait = cpu_to_be64(max_vl_xmit_wait); in a0_portstatus() 2356 cpu_to_be64(read_port_cntr(ppd, C_SW_RCV_CSTR_ERR, in pma_get_opa_portstatus() [all …]
|
D | rc.c | 407 cpu_to_be64(wqe->rdma_wr.remote_addr); in hfi1_make_rc_req() 458 cpu_to_be64(wqe->rdma_wr.remote_addr); in hfi1_make_rc_req() 490 ohdr->u.atomic_eth.swap_data = cpu_to_be64( in hfi1_make_rc_req() 492 ohdr->u.atomic_eth.compare_data = cpu_to_be64( in hfi1_make_rc_req() 496 ohdr->u.atomic_eth.swap_data = cpu_to_be64( in hfi1_make_rc_req() 632 cpu_to_be64(wqe->rdma_wr.remote_addr + len); in hfi1_make_rc_req()
|
D | ruc.c | 269 return cpu_to_be64(ppd->guid); in get_sguid() 691 cpu_to_be64(ppd_from_ibp(ibp)->guid); in hfi1_make_grh()
|
D | verbs.c | 1547 cpu_to_be64(device_modify->sys_image_guid); in modify_device() 1596 gid->global.interface_id = cpu_to_be64(ppd->guid); in query_gid() 1994 ib_hfi1_sys_image_guid = cpu_to_be64(ppd->guid); in hfi1_register_ib_device() 1998 ibdev->node_guid = cpu_to_be64(ppd->guid); in hfi1_register_ib_device()
|
/linux-4.4.14/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()
|
D | iommu.c | 171 *tcep = cpu_to_be64(proto_tce | (rpn & TCE_RPN_MASK) << TCE_RPN_SHIFT); in tce_build_pSeries() 302 tcep[l] = cpu_to_be64(proto_tce | (rpn & TCE_RPN_MASK) << TCE_RPN_SHIFT); in tce_buildmulti_pSeriesLP() 511 tcep[l] = cpu_to_be64(proto_tce | next); in tce_setrange_multi_pSeriesLP() 1100 ddwprop->dma_base = cpu_to_be64(((u64)create.addr_hi << 32) | in enable_ddw()
|
/linux-4.4.14/fs/logfs/ |
D | journal.c | 324 WARN_ON(sh.gec != cpu_to_be64(0xffffffffffffffffull)); in read_gec() 408 u.sh.gec = cpu_to_be64(logfs_super(sb)->s_gec); in journal_erase_segment() 525 da->da_last_ino = cpu_to_be64(super->s_last_ino); in __logfs_write_anchor() 526 da->da_size = cpu_to_be64(i_size_read(inode)); in __logfs_write_anchor() 527 da->da_used_bytes = cpu_to_be64(li->li_used_bytes); in __logfs_write_anchor() 529 da->da_data[i] = cpu_to_be64(li->li_data[i]); in __logfs_write_anchor() 541 dynsb->ds_gec = cpu_to_be64(super->s_gec); in logfs_write_dynsb() 542 dynsb->ds_sweeper = cpu_to_be64(super->s_sweeper); in logfs_write_dynsb() 543 dynsb->ds_victim_ino = cpu_to_be64(super->s_victim_ino); in logfs_write_dynsb() 544 dynsb->ds_rename_dir = cpu_to_be64(super->s_rename_dir); in logfs_write_dynsb() [all …]
|
D | super.c | 151 sh->gec = cpu_to_be64(segno); in set_segment_header() 171 ds->ds_filesystem_size = cpu_to_be64(super->s_size); in logfs_write_ds() 174 ds->ds_feature_incompat = cpu_to_be64(super->s_feature_incompat); in logfs_write_ds() 175 ds->ds_feature_ro_compat= cpu_to_be64(super->s_feature_ro_compat); in logfs_write_ds() 176 ds->ds_feature_compat = cpu_to_be64(super->s_feature_compat); in logfs_write_ds() 177 ds->ds_feature_flags = cpu_to_be64(super->s_feature_flags); in logfs_write_ds() 178 ds->ds_root_reserve = cpu_to_be64(super->s_root_reserve); in logfs_write_ds() 179 ds->ds_speed_reserve = cpu_to_be64(super->s_speed_reserve); in logfs_write_ds() 182 ds->ds_magic = cpu_to_be64(LOGFS_MAGIC); in logfs_write_ds() 349 if (ds->ds_magic != cpu_to_be64(LOGFS_MAGIC)) in logfs_check_ds()
|
D | readwrite.c | 111 return cpu_to_be64((u64)tsp.tv_sec * NSEC_PER_SEC + tsp.tv_nsec); in timespec_to_be64() 161 di->di_size = cpu_to_be64(i_size_read(inode)); in logfs_inode_to_disk() 162 di->di_used_bytes = cpu_to_be64(li->li_used_bytes); in logfs_inode_to_disk() 174 di->di_data[0] = cpu_to_be64(inode->i_rdev); in logfs_inode_to_disk() 180 di->di_data[i] = cpu_to_be64(li->li_data[i]); in logfs_inode_to_disk() 458 return cpu_to_be64(val); in inode_val0() 482 val = cpu_to_be64(li->li_used_bytes); in inode_write_alias() 485 val = cpu_to_be64(i_size_read(inode)); in inode_write_alias() 488 val = cpu_to_be64(li->li_data[pos - INODE_POINTER_OFS]); in inode_write_alias() 690 array[index] = cpu_to_be64(ptr); in block_set_pointer()
|
D | segment.c | 321 h.ino = cpu_to_be64(inode->i_ino); in __logfs_segment_write() 322 h.bix = cpu_to_be64(shadow->bix); in __logfs_segment_write() 841 sh.gec = cpu_to_be64(logfs_super(sb)->s_gec); in ostore_erase_segment()
|
D | dir.c | 388 dd->ino = cpu_to_be64(inode->i_ino); in logfs_write_dir() 642 dd->ino = cpu_to_be64(inode->i_ino); in logfs_replace_inode()
|
/linux-4.4.14/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 | 22 #define cpu_to_fdt64(x) cpu_to_be64(x)
|
/linux-4.4.14/drivers/infiniband/hw/mthca/ |
D | mthca_mr.c | 268 mtt_entry[0] = cpu_to_be64(dev->mr_table.mtt_base + in __mthca_write_mtt() 273 mtt_entry[i + 2] = cpu_to_be64(buffer_list[i] | in __mthca_write_mtt() 325 mthca_write64_raw(cpu_to_be64(buffer_list[i] | MTHCA_MTT_FLAG_PRESENT), in mthca_tavor_write_mtt_seg() 352 mtts[i] = cpu_to_be64(buffer_list[i] | MTHCA_MTT_FLAG_PRESENT); in mthca_arbel_write_mtt_seg() 469 mpt_entry->start = cpu_to_be64(iova); in mthca_mr_alloc() 470 mpt_entry->length = cpu_to_be64(total_size); in mthca_mr_alloc() 477 cpu_to_be64(dev->mr_table.mtt_base + in mthca_mr_alloc() 641 mpt_entry->mtt_seg = cpu_to_be64(dev->mr_table.mtt_base + mtt_seg); in mthca_fmr_alloc() 739 __be64 mtt_entry = cpu_to_be64(page_list[i] | in mthca_tavor_map_phys_fmr() 745 mpt_entry.length = cpu_to_be64(list_len * (1ull << fmr->attr.page_shift)); in mthca_tavor_map_phys_fmr() [all …]
|
D | mthca_doorbell.h | 62 __raw_writeq((__force u64) cpu_to_be64((u64) hi << 32 | lo), dest); in mthca_write64()
|
D | mthca_wqe.h | 121 dseg->addr = cpu_to_be64(sg->addr); in mthca_set_data_seg()
|
D | mthca_qp.c | 1539 data->addr = cpu_to_be64(sqp->header_dma + in build_mlx_header() 1566 rseg->raddr = cpu_to_be64(remote_addr); in set_raddr_seg() 1575 aseg->swap_add = cpu_to_be64(wr->swap); in set_atomic_seg() 1576 aseg->compare = cpu_to_be64(wr->compare_add); in set_atomic_seg() 1578 aseg->swap_add = cpu_to_be64(wr->compare_add); in set_atomic_seg() 1588 useg->av_addr = cpu_to_be64(to_mah(wr->ah)->avdma); in set_tavor_ud_seg()
|
D | mthca_cmd.c | 692 pages[nent * 2] = cpu_to_be64(virt); in mthca_map_cmd() 697 cpu_to_be64((mthca_icm_addr(&iter) + (i << lg)) | in mthca_map_cmd() 1548 inbox[0] = cpu_to_be64(virt); in mthca_MAP_ICM_page() 1549 inbox[1] = cpu_to_be64(dma_addr); in mthca_MAP_ICM_page()
|
/linux-4.4.14/sound/firewire/dice/ |
D | dice-transaction.c | 247 buffer[0] = cpu_to_be64(OWNER_NO_OWNER); in register_notification_address() 248 buffer[1] = cpu_to_be64( in register_notification_address() 263 if (buffer[0] == cpu_to_be64(OWNER_NO_OWNER)) in register_notification_address() 296 buffer[0] = cpu_to_be64( in unregister_notification_address() 299 buffer[1] = cpu_to_be64(OWNER_NO_OWNER); in unregister_notification_address()
|
/linux-4.4.14/tools/testing/selftests/powerpc/vphn/ |
D | test-vphn.c | 10 #define cpu_to_be64(x) bswap_64(x) macro 15 #define cpu_to_be64(x) (x) macro
|
D | vphn.c | 38 be_packed[i] = cpu_to_be64(packed[i]); in vphn_unpack_associativity()
|
/linux-4.4.14/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()
|
/linux-4.4.14/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()
|
/linux-4.4.14/crypto/ |
D | gf128mul.c | 131 r->b = cpu_to_be64((b >> 1) | (a << 63)); in gf128mul_x_lle() 132 r->a = cpu_to_be64((a >> 1) ^ (_tt << 48)); in gf128mul_x_lle() 141 r->a = cpu_to_be64((a << 1) | (b >> 63)); in gf128mul_x_bbe() 142 r->b = cpu_to_be64((b << 1) ^ _tt); in gf128mul_x_bbe() 162 x->b = cpu_to_be64((b >> 8) | (a << 56)); in gf128mul_x8_lle() 163 x->a = cpu_to_be64((a >> 8) ^ (_tt << 48)); in gf128mul_x8_lle() 172 x->a = cpu_to_be64((a << 8) | (b >> 56)); in gf128mul_x8_bbe() 173 x->b = cpu_to_be64((b << 8) ^ _tt); in gf128mul_x8_bbe()
|
D | cmac.c | 85 consts[i + 0] = cpu_to_be64(_const[1]); in crypto_cmac_digest_setkey() 86 consts[i + 1] = cpu_to_be64(_const[0]); in crypto_cmac_digest_setkey() 99 consts[i] = cpu_to_be64(_const[0]); in crypto_cmac_digest_setkey()
|
D | tgr192.c | 602 dst[0] = be64p[0] = cpu_to_be64(tctx->a); in tgr192_final() 603 dst[1] = be64p[1] = cpu_to_be64(tctx->b); in tgr192_final() 604 dst[2] = be64p[2] = cpu_to_be64(tctx->c); in tgr192_final()
|
D | khazad.c | 834 *dst = cpu_to_be64(state); in khazad_crypt()
|
D | eseqiv.c | 135 seq = cpu_to_be64(req->seq); in eseqiv_givencrypt()
|
D | keywrap.c | 105 *a = cpu_to_be64(val); in crypto_kw_cpu_to_be64()
|
D | seqiv.c | 97 seq = cpu_to_be64(seq); in seqiv_geniv()
|
D | wp512.c | 1093 digest[i] = cpu_to_be64(wctx->hash[i]); in wp512_final()
|
/linux-4.4.14/arch/powerpc/platforms/powernv/ |
D | opal.c | 328 len = cpu_to_be64(count); in opal_get_chars() 374 olen = cpu_to_be64(total_len); in opal_put_chars() 820 sg->entry[i].data = cpu_to_be64(data); in opal_vmalloc_to_sg_list() 821 sg->entry[i].length = cpu_to_be64(length); in opal_vmalloc_to_sg_list() 831 sg->length = cpu_to_be64( in opal_vmalloc_to_sg_list() 834 sg->next = cpu_to_be64(__pa(next)); in opal_vmalloc_to_sg_list() 842 sg->length = cpu_to_be64(i * sizeof(struct opal_sg_entry) + 16); in opal_vmalloc_to_sg_list()
|
D | pci.c | 612 *(pnv_tce(tbl, idx)) = cpu_to_be64(newtce); in pnv_tce_build() 631 oldtce = xchg(pnv_tce(tbl, idx), cpu_to_be64(newtce)); in pnv_tce_xchg() 646 *(pnv_tce(tbl, idx)) = cpu_to_be64(0); in pnv_tce_free()
|
D | pci-ioda.c | 1680 __raw_rm_writeq(cpu_to_be64(start), invalidate); in pnv_pci_ioda1_tce_invalidate() 1682 __raw_writeq(cpu_to_be64(start), invalidate); in pnv_pci_ioda1_tce_invalidate() 1748 __raw_writeq(cpu_to_be64(val), phb->ioda.tce_inval_reg); in pnv_pci_ioda2_tce_invalidate_entire() 1770 __raw_rm_writeq(cpu_to_be64(start), invalidate); in pnv_pci_ioda2_do_tce_invalidate() 1772 __raw_writeq(cpu_to_be64(start), invalidate); in pnv_pci_ioda2_do_tce_invalidate() 2238 addr[i] = cpu_to_be64(__pa(tmp) | in pnv_pci_ioda2_table_do_alloc_pages()
|
/linux-4.4.14/drivers/char/tpm/ |
D | tpm_ibmvtpm.c | 190 rc = ibmvtpm_send_crq(ibmvtpm->vdev, cpu_to_be64(buf[0]), in ibmvtpm_crq_get_rtce_size() 191 cpu_to_be64(buf[1])); in ibmvtpm_crq_get_rtce_size() 217 rc = ibmvtpm_send_crq(ibmvtpm->vdev, cpu_to_be64(buf[0]), in ibmvtpm_crq_get_version() 218 cpu_to_be64(buf[1])); in ibmvtpm_crq_get_version() 342 rc = ibmvtpm_send_crq(ibmvtpm->vdev, cpu_to_be64(buf[0]), in tpm_ibmvtpm_suspend() 343 cpu_to_be64(buf[1])); in tpm_ibmvtpm_suspend()
|
/linux-4.4.14/drivers/misc/cxl/ |
D | fault.c | 27 return ((sste->vsid_data == cpu_to_be64(slb->vsid)) && in sste_matches() 28 (sste->esid_data == cpu_to_be64(slb->esid))); in sste_matches() 81 sste->vsid_data = cpu_to_be64(slb->vsid); in cxl_load_segment() 82 sste->esid_data = cpu_to_be64(slb->esid); in cxl_load_segment()
|
D | native.c | 345 *(ctx->afu->sw_command_status) = cpu_to_be64(cmd | 0 | ctx->pe); in do_process_element_cmd() 527 ctx->elem->sdr = cpu_to_be64(mfspr(SPRN_SDR1)); in attach_afu_directed() 535 ctx->elem->sr = cpu_to_be64(calculate_sr(ctx)); in attach_afu_directed() 543 ctx->elem->common.sstp0 = cpu_to_be64(ctx->sstp0); in attach_afu_directed() 544 ctx->elem->common.sstp1 = cpu_to_be64(ctx->sstp1); in attach_afu_directed() 551 ctx->elem->common.amr = cpu_to_be64(amr); in attach_afu_directed() 552 ctx->elem->common.wed = cpu_to_be64(wed); in attach_afu_directed()
|
/linux-4.4.14/drivers/infiniband/core/ |
D | packer.c | 101 mask = cpu_to_be64((~0ull >> (64 - desc[i].size_bits)) << shift); in ib_pack() 103 *addr = (*addr & ~mask) | (cpu_to_be64(val) & mask); in ib_pack() 133 case 64: *(__be64 *) (structure + offset) = cpu_to_be64(val); break; in value_write()
|
D | cm.c | 929 service_mask = service_mask ? service_mask : ~cpu_to_be64(0); in __ib_cm_listen() 943 cm_id->service_id = cpu_to_be64(cm.listen_service_id++); in __ib_cm_listen() 944 cm_id->service_mask = ~cpu_to_be64(0); in __ib_cm_listen() 1047 return cpu_to_be64(hi_tid | low_tid); in cm_form_tid() 1205 cm_id->service_mask = ~cpu_to_be64(0); in ib_send_cm_req() 1636 cm_id_priv->id.service_mask = ~cpu_to_be64(0); in cm_req_handler() 3017 cm_id->service_mask = ~cpu_to_be64(0); in ib_send_cm_sidr_req() 3081 cm_id_priv->av.dgid.global.subnet_prefix = cpu_to_be64(wc->slid); in cm_sidr_req_handler() 3113 cm_id_priv->id.service_mask = ~cpu_to_be64(0); in cm_sidr_req_handler()
|
/linux-4.4.14/fs/gfs2/ |
D | dir.h | 73 dent->de_inum.no_addr = cpu_to_be64(0); in gfs2_qstr2dirent() 74 dent->de_inum.no_formal_ino = cpu_to_be64(0); in gfs2_qstr2dirent()
|
D | super.c | 464 str->sc_total = cpu_to_be64(sc->sc_total); in gfs2_statfs_change_out() 465 str->sc_free = cpu_to_be64(sc->sc_free); in gfs2_statfs_change_out() 466 str->sc_dinodes = cpu_to_be64(sc->sc_dinodes); in gfs2_statfs_change_out() 703 str->di_num.no_addr = cpu_to_be64(ip->i_no_addr); in gfs2_dinode_out() 704 str->di_num.no_formal_ino = cpu_to_be64(ip->i_no_formal_ino); in gfs2_dinode_out() 709 str->di_size = cpu_to_be64(i_size_read(&ip->i_inode)); in gfs2_dinode_out() 710 str->di_blocks = cpu_to_be64(gfs2_get_inode_blocks(&ip->i_inode)); in gfs2_dinode_out() 711 str->di_atime = cpu_to_be64(ip->i_inode.i_atime.tv_sec); in gfs2_dinode_out() 712 str->di_mtime = cpu_to_be64(ip->i_inode.i_mtime.tv_sec); in gfs2_dinode_out() 713 str->di_ctime = cpu_to_be64(ip->i_inode.i_ctime.tv_sec); in gfs2_dinode_out() [all …]
|
D | inode.h | 78 dent->de_inum.no_formal_ino = cpu_to_be64(ip->i_no_formal_ino); in gfs2_inum_out() 79 dent->de_inum.no_addr = cpu_to_be64(ip->i_no_addr); in gfs2_inum_out()
|
D | dir.c | 851 leaf->lf_inode = cpu_to_be64(ip->i_no_addr); in new_leaf() 854 leaf->lf_sec = cpu_to_be64(tv.tv_sec); in new_leaf() 939 *lp = cpu_to_be64(bn); in dir_make_exhash() 1026 lp[x] = cpu_to_be64(bn); in dir_split_leaf() 1660 oleaf->lf_next = cpu_to_be64(bh->b_blocknr); in dir_new_leaf() 1725 leaf->lf_sec = cpu_to_be64(tv.tv_sec); in gfs2_dir_add() 1809 leaf->lf_sec = cpu_to_be64(tv.tv_sec); in gfs2_dir_del()
|
D | lops.c | 441 *ptr++ = cpu_to_be64(bd1->bd_bh->b_blocknr); in gfs2_before_commit() 444 *ptr++ = cpu_to_be64(buffer_escaped(bd1->bd_bh) ? 1 : 0); in gfs2_before_commit() 644 *(__be64 *)(page_address(page) + offset) = cpu_to_be64(bd->bd_blkno); in revoke_lo_before_commit()
|
D | recovery.c | 414 lh->lh_header.__pad0 = cpu_to_be64(0); in clean_journal() 417 lh->lh_sequence = cpu_to_be64(head->lh_sequence + 1); in clean_journal()
|
D | bmap.c | 162 *(__be64 *)(di + 1) = cpu_to_be64(block); in gfs2_unstuff_dinode() 164 di->di_blocks = cpu_to_be64(gfs2_get_inode_blocks(&ip->i_inode)); in gfs2_unstuff_dinode() 413 *ptr = cpu_to_be64(bn); in gfs2_indirect_init() 566 *ptr++ = cpu_to_be64(bn++); in gfs2_bmap_alloc()
|
D | trans.c | 220 mh->__pad0 = cpu_to_be64(0); in meta_lo_add()
|
D | quota.c | 634 qc->qc_change = cpu_to_be64(x); in do_qc() 806 q.qu_warn = cpu_to_be64(fdq->d_spc_softlimit >> sdp->sd_sb.sb_bsize_shift); in gfs2_adjust_quota() 810 q.qu_limit = cpu_to_be64(fdq->d_spc_hardlimit >> sdp->sd_sb.sb_bsize_shift); in gfs2_adjust_quota() 814 q.qu_value = cpu_to_be64(fdq->d_space >> sdp->sd_sb.sb_bsize_shift); in gfs2_adjust_quota()
|
D | log.c | 672 lh->lh_header.__pad0 = cpu_to_be64(0); in log_write_header() 675 lh->lh_sequence = cpu_to_be64(sdp->sd_log_sequence++); in log_write_header()
|
D | xattr.c | 709 *dataptr++ = cpu_to_be64(bh->b_blocknr); in ea_write() 1018 *eablk = cpu_to_be64(ip->i_eattr); in ea_set_block() 1030 *eablk = cpu_to_be64((u64)newbh->b_blocknr); in ea_set_block()
|
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/ |
D | mr.c | 601 mpt_entry->start = cpu_to_be64(iova); in mlx4_mr_rereg_mem_write() 602 mpt_entry->length = cpu_to_be64(size); in mlx4_mr_rereg_mem_write() 610 mpt_entry->mtt_addr = cpu_to_be64(mlx4_mtt_addr(dev, in mlx4_mr_rereg_mem_write() 651 mpt_entry->start = cpu_to_be64(mr->iova); in mlx4_mr_enable() 652 mpt_entry->length = cpu_to_be64(mr->size); in mlx4_mr_enable() 659 mpt_entry->mtt_addr = cpu_to_be64(mlx4_mtt_addr(dev, in mlx4_mr_enable() 712 mtts[i] = cpu_to_be64(page_list[i] | MLX4_MTT_FLAG_PRESENT); in mlx4_write_mtt_chunk() 769 inbox[0] = cpu_to_be64(mtt->offset + start_index); in mlx4_write_mtt() 772 inbox[i + 2] = cpu_to_be64(page_list[i] | in mlx4_write_mtt() 1024 fmr->mtts[i] = cpu_to_be64(page_list[i] | MLX4_MTT_FLAG_PRESENT); in mlx4_map_phys_fmr() [all …]
|
D | en_resources.c | 81 context->db_rec_addr = cpu_to_be64(priv->res.db.dma << 2); in mlx4_en_fill_qp_context()
|
D | cmd.c | 527 vhcr->in_param = cpu_to_be64(in_param); in mlx4_slave_cmd() 528 vhcr->out_param = out_param ? cpu_to_be64(*out_param) : 0; in mlx4_slave_cmd() 1766 vhcr_cmd->out_param = cpu_to_be64(vhcr->out_param); in mlx4_master_process_vhcr() 1780 vhcr_cmd->out_param = cpu_to_be64(vhcr->out_param); in mlx4_master_process_vhcr() 3219 cpu_to_be64(be64_to_cpu(counter_stats->rx_frames) + in mlx4_get_counter_stats() 3222 cpu_to_be64(be64_to_cpu(counter_stats->tx_frames) + in mlx4_get_counter_stats() 3225 cpu_to_be64(be64_to_cpu(counter_stats->rx_bytes) + in mlx4_get_counter_stats() 3228 cpu_to_be64(be64_to_cpu(counter_stats->tx_bytes) + in mlx4_get_counter_stats()
|
D | srq.c | 202 srq_context->db_rec_addr = cpu_to_be64(db_rec); in mlx4_srq_alloc()
|
D | qp.c | 472 cmd->primary_addr_path_mask = cpu_to_be64(pri_addr_path_mask); in mlx4_update_qp() 473 cmd->qp_mask = cpu_to_be64(qp_mask); in mlx4_update_qp()
|
D | cq.c | 328 cq_context->db_rec_addr = cpu_to_be64(db_rec); in mlx4_cq_alloc()
|
/linux-4.4.14/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()
|
D | sha256_glue.c | 106 bits = cpu_to_be64(sctx->count << 3); in sha256_sparc64_final()
|
/linux-4.4.14/include/linux/byteorder/ |
D | generic.h | 91 #define cpu_to_be64 __cpu_to_be64 macro 170 *var = cpu_to_be64(be64_to_cpu(*var) + val); in be64_add_cpu()
|
/linux-4.4.14/mm/ |
D | memtest.c | 30 cpu_to_be64(pattern), &start_bad, &end_bad); in reserve_bad_mem() 76 &this_start, &this_end, cpu_to_be64(pattern)); in do_one_pass()
|
/linux-4.4.14/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()
|
D | pci-calgary_64.c | 796 tbl->tar_val = cpu_to_be64(val64); in calgary_setup_tar() 814 writeq(cpu_to_be64(val64), target); in calgary_free_bus() 951 writeq(cpu_to_be64(val64), target); in calgary_set_split_completion_timeout()
|
/linux-4.4.14/arch/powerpc/kvm/ |
D | book3s_pr_papr.c | 71 hpte[0] = cpu_to_be64(kvmppc_get_gpr(vcpu, 6)); in kvmppc_h_pr_enter() 72 hpte[1] = cpu_to_be64(kvmppc_get_gpr(vcpu, 7)); in kvmppc_h_pr_enter() 235 pte[0] = (__force u64)cpu_to_be64(pte[0]); in kvmppc_h_pr_protect() 236 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() 656 hpte[1] = cpu_to_be64(r); in kvmppc_h_protect() 773 hpte[0] |= cpu_to_be64(HPTE_V_ABSENT); in kvmppc_h_clear_mod() 779 hpte[1] = cpu_to_be64(r & ~HPTE_R_C); in kvmppc_h_clear_mod() 802 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()
|
/linux-4.4.14/drivers/leds/ |
D | leds-powernv.c | 143 mask = cpu_to_be64(0); in powernv_led_get() 144 value = cpu_to_be64(0); in powernv_led_get() 304 powernv_led_common->max_led_type = cpu_to_be64(OPAL_SLOT_LED_TYPE_MAX); in powernv_led_probe()
|
/linux-4.4.14/drivers/staging/rdma/amso1100/ |
D | c2_mm.c | 129 cpu_to_be64(((u64 *)va)[pbl_index + i]); in send_pbl_messages() 229 wr->va = cpu_to_be64(*va); in c2_nsmr_register_phys_kern() 242 wr->paddrs[i] = cpu_to_be64(addr_list[i]); in c2_nsmr_register_phys_kern()
|
D | c2_rnic.c | 89 wr.hint_count = cpu_to_be64(c2dev->hint_count_dma); in c2_adapter_init() 90 wr.q0_host_shared = cpu_to_be64(c2dev->req_vq.shared_dma); in c2_adapter_init() 91 wr.q1_host_shared = cpu_to_be64(c2dev->rep_vq.shared_dma); in c2_adapter_init() 92 wr.q1_host_msg_pool = cpu_to_be64(c2dev->rep_vq.host_dma); in c2_adapter_init() 93 wr.q2_host_shared = cpu_to_be64(c2dev->aeq.shared_dma); in c2_adapter_init() 94 wr.q2_host_msg_pool = cpu_to_be64(c2dev->aeq.host_dma); in c2_adapter_init()
|
D | c2.c | 131 __raw_writeq((__force u64) cpu_to_be64(0x1122334455667788ULL), in c2_tx_ring_alloc() 184 __raw_writeq((__force u64) cpu_to_be64(0x99aabbccddeeffULL), in c2_rx_ring_alloc() 242 __raw_writeq((__force u64) cpu_to_be64(mapaddr), elem->hw_desc + C2_RXP_ADDR); in c2_rx_alloc() 292 __raw_writeq((__force u64) cpu_to_be64(0x99aabbccddeeffULL), in c2_rx_clean() 355 __raw_writeq((__force u64) cpu_to_be64(0x1122334455667788ULL), in c2_tx_clean() 452 __raw_writeq((__force u64) cpu_to_be64(elem->mapaddr), in c2_rx_error() 788 __raw_writeq((__force u64) cpu_to_be64(mapaddr), in c2_xmit_frame() 811 __raw_writeq((__force u64) cpu_to_be64(mapaddr), in c2_xmit_frame()
|
D | c2_qp.c | 472 wr.shared_sq_ht = cpu_to_be64(qp->sq_mq.shared_dma); in c2_alloc_qp() 473 wr.shared_rq_ht = cpu_to_be64(qp->rq_mq.shared_dma); in c2_alloc_qp() 684 dst->to = cpu_to_be64(src->addr); in move_sgl() 865 cpu_to_be64(rdma_wr(ib_wr)->remote_addr); in c2_post_send() 890 cpu_to_be64(ib_wr->sg_list->addr); in c2_post_send() 894 cpu_to_be64(rdma_wr(ib_wr)->remote_addr); in c2_post_send()
|
D | c2_cq.c | 326 wr.shared_ht = cpu_to_be64(cq->mq.shared_dma); in c2_init_cq() 327 wr.msg_pool = cpu_to_be64(cq->mq.host_dma); in c2_init_cq()
|
/linux-4.4.14/fs/xfs/ |
D | xfs_qm_syscalls.c | 457 ddq->d_blk_hardlimit = cpu_to_be64(hard); in xfs_qm_scall_setqlim() 458 ddq->d_blk_softlimit = cpu_to_be64(soft); in xfs_qm_scall_setqlim() 474 ddq->d_rtb_hardlimit = cpu_to_be64(hard); in xfs_qm_scall_setqlim() 475 ddq->d_rtb_softlimit = cpu_to_be64(soft); in xfs_qm_scall_setqlim() 491 ddq->d_ino_hardlimit = cpu_to_be64(hard); in xfs_qm_scall_setqlim() 492 ddq->d_ino_softlimit = cpu_to_be64(soft); in xfs_qm_scall_setqlim()
|
D | xfs_dquot.c | 100 d->d_blk_softlimit = cpu_to_be64(q->qi_bsoftlimit); in xfs_qm_adjust_dqlimits() 104 d->d_blk_hardlimit = cpu_to_be64(q->qi_bhardlimit); in xfs_qm_adjust_dqlimits() 108 d->d_ino_softlimit = cpu_to_be64(q->qi_isoftlimit); in xfs_qm_adjust_dqlimits() 110 d->d_ino_hardlimit = cpu_to_be64(q->qi_ihardlimit); in xfs_qm_adjust_dqlimits() 112 d->d_rtb_softlimit = cpu_to_be64(q->qi_rtbsoftlimit); in xfs_qm_adjust_dqlimits() 114 d->d_rtb_hardlimit = cpu_to_be64(q->qi_rtbhardlimit); in xfs_qm_adjust_dqlimits() 1012 dqb->dd_lsn = cpu_to_be64(dqp->q_logitem.qli_item.li_lsn); in xfs_qm_dqflush()
|
/linux-4.4.14/include/crypto/ |
D | sha512_base.h | 112 bits[0] = cpu_to_be64(sctx->count[1] << 3 | sctx->count[0] >> 61); in sha512_base_do_finalize() 113 bits[1] = cpu_to_be64(sctx->count[0] << 3); in sha512_base_do_finalize()
|
D | sha1_base.h | 89 *bits = cpu_to_be64(sctx->count << 3); in sha1_base_do_finalize()
|
D | sha256_base.h | 110 *bits = cpu_to_be64(sctx->count << 3); in sha256_base_do_finalize()
|
/linux-4.4.14/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()
|
/linux-4.4.14/include/linux/ |
D | libfdt_env.h | 15 #define cpu_to_fdt64(x) cpu_to_be64(x)
|
D | virtio_byteorder.h | 60 return (__force __virtio64)cpu_to_be64(val); in __cpu_to_virtio64()
|
/linux-4.4.14/drivers/scsi/ibmvscsi/ |
D | ibmvfc.c | 1175 login_info->max_dma_len = cpu_to_be64(IBMVFC_MAX_SECTORS << 9); in ibmvfc_set_login_info() 1186 login_info->capabilities = cpu_to_be64(IBMVFC_CAN_MIGRATE); in ibmvfc_set_login_info() 1187 login_info->async.va = cpu_to_be64(vhost->async_crq.msg_token); in ibmvfc_set_login_info() 1228 evt->crq.ioba = cpu_to_be64(pool->iu_token + (sizeof(*evt->xfer_iu) * i)); in ibmvfc_init_event_pool() 1313 md[i].va = cpu_to_be64(sg_dma_address(sg)); in ibmvfc_map_sg_list() 1377 data->va = cpu_to_be64(evt->ext_list_token); in ibmvfc_map_sg_data() 1413 evt->xfer_iu->cmd.tag = cpu_to_be64((u64)evt); in ibmvfc_send_event() 1415 evt->xfer_iu->mad_common.tag = cpu_to_be64((u64)evt); in ibmvfc_send_event() 1634 vfc_cmd->resp.va = cpu_to_be64(be64_to_cpu(evt->crq.ioba) + offsetof(struct ibmvfc_cmd, rsp)); in ibmvfc_queuecommand_lck() 1640 vfc_cmd->tgt_scsi_id = cpu_to_be64(rport->port_id); in ibmvfc_queuecommand_lck() [all …]
|
D | ibmvscsi.c | 479 evt->crq.IU_data_ptr = cpu_to_be64(pool->iu_token + in initialize_event_pool() 673 descr->va = cpu_to_be64(sg_dma_address(sg)); in map_sg_list() 747 indirect->table_desc.va = cpu_to_be64(evt_struct->ext_list_token); in map_sg_data() 1082 cpu_to_be64(be64_to_cpu(evt_struct->crq.IU_data_ptr) + in ibmvscsi_queuecommand_lck() 1287 req->buffer = cpu_to_be64(hostdata->caps_addr); in send_mad_capabilities() 1447 req->buffer = cpu_to_be64(hostdata->adapter_info_addr); in send_mad_adapter_info() 1900 host_config->buffer = cpu_to_be64(addr); in ibmvscsi_do_host_config()
|
/linux-4.4.14/arch/arm/boot/compressed/ |
D | libfdt_env.h | 17 #define cpu_to_fdt64(x) cpu_to_be64(x)
|
/linux-4.4.14/net/netfilter/ |
D | nft_counter.c | 79 if (nla_put_be64(skb, NFTA_COUNTER_BYTES, cpu_to_be64(total.bytes)) || in nft_counter_dump() 80 nla_put_be64(skb, NFTA_COUNTER_PACKETS, cpu_to_be64(total.packets))) in nft_counter_dump()
|
D | nft_limit.c | 92 if (nla_put_be64(skb, NFTA_LIMIT_RATE, cpu_to_be64(rate)) || in nft_limit_dump() 93 nla_put_be64(skb, NFTA_LIMIT_UNIT, cpu_to_be64(secs)) || in nft_limit_dump()
|
D | nfnetlink_acct.c | 164 if (nla_put_be64(skb, NFACCT_PKTS, cpu_to_be64(pkts)) || in nfnl_acct_fill_info() 165 nla_put_be64(skb, NFACCT_BYTES, cpu_to_be64(bytes)) || in nfnl_acct_fill_info() 172 nla_put_be64(skb, NFACCT_QUOTA, cpu_to_be64(*quota))) in nfnl_acct_fill_info()
|
D | nft_dynset.c | 230 if (nla_put_be64(skb, NFTA_DYNSET_TIMEOUT, cpu_to_be64(priv->timeout))) in nft_dynset_dump()
|
D | nfnetlink_log.c | 545 ts.sec = cpu_to_be64(kts.tv_sec); in __build_packet_message() 546 ts.usec = cpu_to_be64(kts.tv_nsec / NSEC_PER_USEC); in __build_packet_message()
|
/linux-4.4.14/drivers/infiniband/hw/cxgb3/ |
D | iwch_qp.c | 79 wqe->send.sgl[i].to = cpu_to_be64(wr->sg_list[i].addr); in build_rdma_send() 99 wqe->write.to_sink = cpu_to_be64(rdma_wr(wr)->remote_addr); in build_rdma_write() 119 cpu_to_be64(wr->sg_list[i].addr); in build_rdma_write() 141 wqe->read.rem_to = cpu_to_be64(rdma_wr(wr)->remote_addr); in build_rdma_read() 144 wqe->read.local_to = cpu_to_be64(wr->sg_list[0].addr); in build_rdma_read() 184 *p = cpu_to_be64((u64)mhp->pages[i]); in build_memreg() 269 wqe->recv.sgl[i].to = cpu_to_be64(((u32)wr->sg_list[i].addr) & in build_rdma_recv() 333 wqe->recv.sgl[i].to = cpu_to_be64(wr->sg_list[i].addr); in build_zero_stag_recv() 583 wqe->bind.mw_va = cpu_to_be64(mw_bind->bind_info.addr); in iwch_bind_mw() 761 wqe->read.rem_to = cpu_to_be64(1); in iwch_post_zb_read() [all …]
|
D | cxio_hal.c | 153 wqe->sge_cmd = cpu_to_be64(sge_cmd); in cxio_hal_clear_qp_ctx() 571 wqe->sge_cmd = cpu_to_be64(sge_cmd); in cxio_hal_init_ctrl_qp() 572 wqe->ctx1 = cpu_to_be64(ctx1); in cxio_hal_init_ctrl_qp() 573 wqe->ctx0 = cpu_to_be64(ctx0); in cxio_hal_init_ctrl_qp() 656 *wqe = cpu_to_be64(utx_cmd); in cxio_hal_ctrl_qp_write_mem() 861 wqe->qp_dma_addr = cpu_to_be64(attr->qp_dma_addr); in cxio_rdma_init()
|
D | iwch_mem.c | 193 (*page_list)[n++] = cpu_to_be64(buffer_list[i].addr + in build_phys_page_list()
|
/linux-4.4.14/drivers/scsi/osd/ |
D | osd_initiator.c | 610 ocdb->h.partition = cpu_to_be64(obj->partition); in _osdv1_req_encode_common() 611 ocdb->h.object = cpu_to_be64(obj->id); in _osdv1_req_encode_common() 612 ocdb->h.v1.length = cpu_to_be64(len); in _osdv1_req_encode_common() 613 ocdb->h.v1.start_address = cpu_to_be64(offset); in _osdv1_req_encode_common() 627 ocdb->h.partition = cpu_to_be64(obj->partition); in _osdv2_req_encode_common() 628 ocdb->h.object = cpu_to_be64(obj->id); in _osdv2_req_encode_common() 629 ocdb->h.v2.length = cpu_to_be64(len); in _osdv2_req_encode_common() 630 ocdb->h.v2.start_address = cpu_to_be64(offset); in _osdv2_req_encode_common() 931 oscd->entries[i].offset = cpu_to_be64(sglist[i].offset); in _add_sg_continuation_descriptor() 932 oscd->entries[i].len = cpu_to_be64(sglist[i].len); in _add_sg_continuation_descriptor() [all …]
|
/linux-4.4.14/drivers/infiniband/hw/qib/ |
D | qib_eeprom.c | 211 if (*(__be64 *) ifp->if_guid == cpu_to_be64(0) || in qib_get_eeprom_info() 212 *(__be64 *) ifp->if_guid == ~cpu_to_be64(0)) { in qib_get_eeprom_info()
|
D | qib_mad.c | 97 smp->tid = cpu_to_be64(ibp->tid); in qib_send_trap() 1419 p->counter[i] = cpu_to_be64( in pma_get_portsamplesresult_ext() 1584 p->port_adr_events = cpu_to_be64(0); in pma_get_portcounters_cong() 1585 p->port_xmit_wait = cpu_to_be64(xmit_wait_counter); in pma_get_portcounters_cong() 1586 p->port_xmit_data = cpu_to_be64(cntrs.port_xmit_data); in pma_get_portcounters_cong() 1587 p->port_rcv_data = cpu_to_be64(cntrs.port_rcv_data); in pma_get_portcounters_cong() 1589 cpu_to_be64(cntrs.port_xmit_packets); in pma_get_portcounters_cong() 1591 cpu_to_be64(cntrs.port_rcv_packets); in pma_get_portcounters_cong() 1682 p->port_xmit_data = cpu_to_be64(swords); in pma_get_portcounters_ext() 1683 p->port_rcv_data = cpu_to_be64(rwords); in pma_get_portcounters_ext() [all …]
|
D | qib_rc.c | 378 cpu_to_be64(wqe->rdma_wr.remote_addr); in qib_make_rc_req() 430 cpu_to_be64(wqe->rdma_wr.remote_addr); in qib_make_rc_req() 462 ohdr->u.atomic_eth.swap_data = cpu_to_be64( in qib_make_rc_req() 464 ohdr->u.atomic_eth.compare_data = cpu_to_be64( in qib_make_rc_req() 468 ohdr->u.atomic_eth.swap_data = cpu_to_be64( in qib_make_rc_req() 602 cpu_to_be64(wqe->rdma_wr.remote_addr + len); in qib_make_rc_req()
|
/linux-4.4.14/drivers/infiniband/hw/mlx5/ |
D | mem.c | 173 pas[i] = cpu_to_be64(umem_dma_to_mtt(pa)); in __mlx5_ib_populate_pas() 188 pas[i >> shift] = cpu_to_be64(cur); in __mlx5_ib_populate_pas()
|
D | qp.c | 1019 in->ctx.db_rec_addr = cpu_to_be64(qp->db.dma); in create_qp_common() 1685 context->db_rec_addr = cpu_to_be64(qp->db.dma); in __mlx5_ib_modify_qp() 1833 rseg->raddr = cpu_to_be64(remote_addr); in set_raddr_seg() 1850 dseg->addr = cpu_to_be64(sg->addr); in set_data_ptr_seg() 1875 return cpu_to_be64(result); in frwr_mkey_mask() 1896 return cpu_to_be64(result); in sig_mkey_mask() 1913 umr->mkey_mask = cpu_to_be64(MLX5_MKEY_MASK_FREE); in set_linv_umr_seg() 1933 return cpu_to_be64(result); in get_umr_reg_mr_mask() 1942 return cpu_to_be64(result); in get_umr_unreg_mr_mask() 1951 return cpu_to_be64(result); in get_umr_update_mtt_mask() [all …]
|
D | srq.c | 304 in->ctx.db_record = cpu_to_be64(srq->db.dma); in mlx5_ib_create_srq() 460 scat[i].addr = cpu_to_be64(wr->sg_list[i].addr); in mlx5_ib_post_srq_recv()
|
D | mr.c | 1008 in->seg.start_addr = cpu_to_be64(virt_addr); in reg_create() 1009 in->seg.len = cpu_to_be64(length); in reg_create() 1448 descs[mr->ndescs++] = cpu_to_be64(addr | MLX5_EN_RD | MLX5_EN_WR); in mlx5_set_page()
|
/linux-4.4.14/arch/powerpc/mm/ |
D | vphn.c | 38 be_packed[i] = cpu_to_be64(packed[i]); in vphn_unpack_associativity()
|
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()
|
D | slb.c | 73 p->save_area[index].vsid = cpu_to_be64(mk_vsid_data(ea, ssize, flags)); in slb_shadow_update() 74 p->save_area[index].esid = cpu_to_be64(mk_esid_data(ea, ssize, index)); in slb_shadow_update()
|
/linux-4.4.14/drivers/crypto/ccp/ |
D | ccp-crypto-aes-cmac.c | 310 *gk = cpu_to_be64(k1_hi); in ccp_aes_cmac_setkey() 312 *gk = cpu_to_be64(k1_lo); in ccp_aes_cmac_setkey() 321 *gk = cpu_to_be64(k2_hi); in ccp_aes_cmac_setkey() 323 *gk = cpu_to_be64(k2_lo); in ccp_aes_cmac_setkey()
|
/linux-4.4.14/drivers/mtd/ubi/ |
D | eba.c | 602 vid_hdr->sqnum = cpu_to_be64(ubi_next_sqnum(ubi)); in recover_peb() 719 vid_hdr->sqnum = cpu_to_be64(ubi_next_sqnum(ubi)); in ubi_eba_write_leb() 783 vid_hdr->sqnum = cpu_to_be64(ubi_next_sqnum(ubi)); in ubi_eba_write_leb() 836 vid_hdr->sqnum = cpu_to_be64(ubi_next_sqnum(ubi)); in ubi_eba_write_leb_st() 905 vid_hdr->sqnum = cpu_to_be64(ubi_next_sqnum(ubi)); in ubi_eba_write_leb_st() 957 vid_hdr->sqnum = cpu_to_be64(ubi_next_sqnum(ubi)); in ubi_eba_atomic_leb_change() 1030 vid_hdr->sqnum = cpu_to_be64(ubi_next_sqnum(ubi)); in ubi_eba_atomic_leb_change() 1189 vid_hdr->sqnum = cpu_to_be64(ubi_next_sqnum(ubi)); in ubi_eba_copy_leb()
|
D | fastmap.c | 1279 avhdr->sqnum = cpu_to_be64(ubi_next_sqnum(ubi)); in ubi_write_fastmap() 1303 dvhdr->sqnum = cpu_to_be64(ubi_next_sqnum(ubi)); in ubi_write_fastmap() 1375 ec_hdr->ec = cpu_to_be64(ec); in erase_block() 1428 vh->sqnum = cpu_to_be64(ubi_next_sqnum(ubi)); in invalidate_fastmap()
|
/linux-4.4.14/arch/powerpc/kernel/ |
D | fadump.c | 173 fdm->cpu_state_data.source_len = cpu_to_be64(fw_dump.cpu_state_data_size); in init_fadump_mem_struct() 174 fdm->cpu_state_data.destination_address = cpu_to_be64(addr); in init_fadump_mem_struct() 181 fdm->hpte_region.source_len = cpu_to_be64(fw_dump.hpte_region_size); in init_fadump_mem_struct() 182 fdm->hpte_region.destination_address = cpu_to_be64(addr); in init_fadump_mem_struct() 188 fdm->rmr_region.source_address = cpu_to_be64(RMA_START); in init_fadump_mem_struct() 189 fdm->rmr_region.source_len = cpu_to_be64(fw_dump.boot_memory_size); in init_fadump_mem_struct() 190 fdm->rmr_region.destination_address = cpu_to_be64(addr); in init_fadump_mem_struct()
|
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 | nvram_64.c | 379 oops_hdr->timestamp = cpu_to_be64(ktime_get_real_seconds()); in zip_oops() 426 oops_hdr->timestamp = cpu_to_be64(ktime_get_real_seconds()); in nvram_pstore_write() 724 oops_hdr->timestamp = cpu_to_be64(ktime_get_real_seconds()); in oops_to_nvram()
|
D | prom_init.c | 1126 mem_reserve_map[cnt].base = cpu_to_be64(base); in reserve_mem() 1127 mem_reserve_map[cnt].size = cpu_to_be64(size); in reserve_mem() 2679 val = cpu_to_be64(prom_initrd_start); in prom_check_initrd() 2682 val = cpu_to_be64(prom_initrd_end); in prom_check_initrd() 2882 __be64 val = cpu_to_be64(prom_memory_limit); in prom_init()
|
/linux-4.4.14/drivers/infiniband/hw/mlx4/ |
D | alias_GUID.c | 145 if (curr_guid == cpu_to_be64(MLX4_GUID_FOR_DELETE_VAL) || in mlx4_ib_slave_alias_guid_event() 148 required_guid = cpu_to_be64(MLX4_GUID_FOR_DELETE_VAL); in mlx4_ib_slave_alias_guid_event() 151 if (required_guid == cpu_to_be64(MLX4_GUID_FOR_DELETE_VAL)) in mlx4_ib_slave_alias_guid_event() 239 if (required_value == cpu_to_be64(MLX4_GUID_FOR_DELETE_VAL)) in mlx4_ib_notify_slaves_on_guid_change() 342 cpu_to_be64(MLX4_GUID_FOR_DELETE_VAL)) in aliasguid_query_handler() 659 cpu_to_be64(MLX4_GUID_FOR_DELETE_VAL)) in set_required_record() 678 cpu_to_be64(MLX4_GUID_FOR_DELETE_VAL)) { in set_required_record()
|
D | qp.c | 1781 context->db_rec_addr = cpu_to_be64(qp->db.dma); in __mlx4_ib_modify_qp() 2522 fseg->buf_list = cpu_to_be64(mr->page_map); in set_reg_seg() 2523 fseg->start_addr = cpu_to_be64(mr->ibmr.iova); in set_reg_seg() 2524 fseg->reg_len = cpu_to_be64(mr->ibmr.length); in set_reg_seg() 2546 bseg->addr = cpu_to_be64(wr->bind_info.addr); in set_bind_seg() 2547 bseg->length = cpu_to_be64(wr->bind_info.length); in set_bind_seg() 2559 rseg->raddr = cpu_to_be64(remote_addr); in set_raddr_seg() 2568 aseg->swap_add = cpu_to_be64(wr->swap); in set_atomic_seg() 2569 aseg->compare = cpu_to_be64(wr->compare_add); in set_atomic_seg() 2571 aseg->swap_add = cpu_to_be64(wr->compare_add); in set_atomic_seg() [all …]
|
D | srq.c | 356 scat[i].addr = cpu_to_be64(wr->sg_list[i].addr); in mlx4_ib_post_srq_recv()
|
D | sysfs.c | 92 cpu_to_be64(sysadmin_ag_val); in store_admin_alias_guid() 97 mlx4_set_admin_guid(mdev->dev, cpu_to_be64(sysadmin_ag_val), in store_admin_alias_guid()
|
/linux-4.4.14/drivers/staging/rdma/ipath/ |
D | ipath_mad.c | 1016 cpu_to_be64( in recv_pma_get_portsamplesresult_ext() 1146 p->port_xmit_data = cpu_to_be64(swords); in recv_pma_get_portcounters_ext() 1147 p->port_rcv_data = cpu_to_be64(rwords); in recv_pma_get_portcounters_ext() 1148 p->port_xmit_packets = cpu_to_be64(spkts); in recv_pma_get_portcounters_ext() 1149 p->port_rcv_packets = cpu_to_be64(rpkts); in recv_pma_get_portcounters_ext() 1150 p->port_unicast_xmit_packets = cpu_to_be64(dev->n_unicast_xmit); in recv_pma_get_portcounters_ext() 1151 p->port_unicast_rcv_packets = cpu_to_be64(dev->n_unicast_rcv); in recv_pma_get_portcounters_ext() 1152 p->port_multicast_xmit_packets = cpu_to_be64(dev->n_multicast_xmit); in recv_pma_get_portcounters_ext() 1153 p->port_multicast_rcv_packets = cpu_to_be64(dev->n_multicast_rcv); in recv_pma_get_portcounters_ext()
|
D | ipath_rc.c | 353 cpu_to_be64(wqe->rdma_wr.remote_addr); in ipath_make_rc_req() 404 cpu_to_be64(wqe->rdma_wr.remote_addr); in ipath_make_rc_req() 435 ohdr->u.atomic_eth.swap_data = cpu_to_be64( in ipath_make_rc_req() 437 ohdr->u.atomic_eth.compare_data = cpu_to_be64( in ipath_make_rc_req() 441 ohdr->u.atomic_eth.swap_data = cpu_to_be64( in ipath_make_rc_req() 570 cpu_to_be64(wqe->rdma_wr.remote_addr + len); in ipath_make_rc_req()
|
D | ipath_eeprom.c | 775 if (*(__be64 *) ifp->if_guid == cpu_to_be64(0) || in ipath_get_eeprom_info() 776 *(__be64 *) ifp->if_guid == ~cpu_to_be64(0)) { in ipath_get_eeprom_info()
|
/linux-4.4.14/include/linux/unaligned/ |
D | access_ok.h | 64 *((__be64 *)p) = cpu_to_be64(val); in put_unaligned_be64()
|
/linux-4.4.14/drivers/crypto/nx/ |
D | nx-842-powernv.c | 72 dde->address = cpu_to_be64(nx842_get_pa(ddl)); in setup_indirect_dde() 92 dde->address = cpu_to_be64(pa); in setup_direct_dde() 434 crb->csb_addr = cpu_to_be64(csb_addr); in nx842_powernv_function()
|
D | nx-842-pseries.c | 192 entry->ptr = cpu_to_be64(nx842_get_pa((void *)buf)); in nx842_build_scatterlist() 195 entry->len = cpu_to_be64(entrylen); in nx842_build_scatterlist()
|
/linux-4.4.14/lib/842/ |
D | 842_compress.c | 212 put_unaligned(cpu_to_be64(o << 56 | d << 24), (__be64 *)out); in add_bits() 214 put_unaligned(cpu_to_be64(o << 56 | d << 16), (__be64 *)out); in add_bits() 216 put_unaligned(cpu_to_be64(o << 56 | d << 8), (__be64 *)out); in add_bits() 218 put_unaligned(cpu_to_be64(o << 56 | d), (__be64 *)out); in add_bits()
|
D | 842_decompress.c | 160 put_unaligned(cpu_to_be64((u64)v), (__be64 *)p->out); in do_data()
|
/linux-4.4.14/drivers/scsi/csiostor/ |
D | csio_mb.c | 526 cmdp->iqaddr |= cpu_to_be64(iq_params->iqaddr); in csio_mb_iq_write() 549 cmdp->fl0addr |= cpu_to_be64(iq_params->fl0addr); in csio_mb_iq_write() 733 cmdp->eqaddr |= cpu_to_be64(eq_ofld_params->eqaddr); in csio_mb_eq_ofld_write() 1164 cmd[i / 8] = cpu_to_be64(csio_rd_reg64(hw, data_reg + i)); in csio_mb_debug_cmd_handler() 1308 hdr = cpu_to_be64(csio_rd_reg64(hw, data_reg)); in csio_mb_issue() 1319 *cmd++ = cpu_to_be64(csio_rd_reg64 in csio_mb_issue() 1501 hdr = cpu_to_be64(csio_rd_reg64(hw, data_reg)); in csio_mb_isr_handler() 1520 *cmd++ = cpu_to_be64(csio_rd_reg64 in csio_mb_isr_handler()
|
D | csio_scsi.c | 226 wr->rsp_dmaaddr = cpu_to_be64(dma_buf->paddr); in csio_scsi_init_cmd_wr() 307 sgl->addr0 = cpu_to_be64(sg_dma_address(sgel)); in csio_scsi_init_ultptx_dsgl() 313 sge_pair->addr[1] = cpu_to_be64( in csio_scsi_init_ultptx_dsgl() 319 sge_pair->addr[0] = cpu_to_be64( in csio_scsi_init_ultptx_dsgl() 331 sgl->addr0 = cpu_to_be64(dma_buf->paddr); in csio_scsi_init_ultptx_dsgl() 336 sge_pair->addr[1] = cpu_to_be64(dma_buf->paddr); in csio_scsi_init_ultptx_dsgl() 341 sge_pair->addr[0] = cpu_to_be64(dma_buf->paddr); in csio_scsi_init_ultptx_dsgl() 385 wr->rsp_dmaaddr = cpu_to_be64(dma_buf->paddr); in csio_scsi_init_read_wr() 438 wr->rsp_dmaaddr = cpu_to_be64(dma_buf->paddr); in csio_scsi_init_write_wr()
|
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4vf/ |
D | sge.c | 661 *d++ = cpu_to_be64(dma_addr); in refill_fl() 690 *d++ = cpu_to_be64(dma_addr); in refill_fl() 919 sgl->addr0 = cpu_to_be64(addr[0] + start); in write_sgl() 923 sgl->addr0 = cpu_to_be64(addr[1]); in write_sgl() 940 to->addr[0] = cpu_to_be64(addr[i]); in write_sgl() 941 to->addr[1] = cpu_to_be64(addr[++i]); in write_sgl() 946 to->addr[0] = cpu_to_be64(addr[i + 1]); in write_sgl() 1363 cpl->ctrl1 = cpu_to_be64(cntrl); in t4vf_eth_xmit() 2262 cmd.iqaddr = cpu_to_be64(rspq->phys_addr); in t4vf_sge_alloc_rxq() 2310 cmd.fl0addr = cpu_to_be64(fl->addr); in t4vf_sge_alloc_rxq() [all …]
|
/linux-4.4.14/drivers/block/drbd/ |
D | drbd_main.c | 852 p->uuid[i] = cpu_to_be64(device->ldev->md.uuid[i]); in _drbd_send_uuids() 856 p->uuid[UI_SIZE] = cpu_to_be64(device->comm_bm_set); in _drbd_send_uuids() 862 p->uuid[UI_FLAGS] = cpu_to_be64(uuid_flags); in _drbd_send_uuids() 917 p->uuid = cpu_to_be64(uuid); in drbd_gen_and_send_sync_uuid() 958 p->d_size = cpu_to_be64(d_size); in drbd_send_sizes() 959 p->u_size = cpu_to_be64(u_size); in drbd_send_sizes() 960 p->c_size = cpu_to_be64(trigger_reply ? 0 : drbd_get_capacity(device->this_bdev)); in drbd_send_sizes() 1363 cpu_to_be64(peer_req->i.sector), in drbd_send_ack() 1374 cpu_to_be64(sector), in drbd_send_ack_ex() 1376 cpu_to_be64(block_id)); in drbd_send_ack_ex() [all …]
|
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_uld.h | 60 (w)->wr.wr_lo = cpu_to_be64(0); \ 73 (w)->wr.wr_lo = cpu_to_be64(0); \
|
D | sge.c | 619 *d++ = cpu_to_be64(mapping); in refill_fl() 647 *d++ = cpu_to_be64(mapping); in refill_fl() 863 sgl->addr0 = cpu_to_be64(addr[0] + start); in write_sgl() 867 sgl->addr0 = cpu_to_be64(addr[1]); in write_sgl() 884 to->addr[0] = cpu_to_be64(addr[i]); in write_sgl() 885 to->addr[1] = cpu_to_be64(addr[++i]); in write_sgl() 890 to->addr[0] = cpu_to_be64(addr[i + 1]); in write_sgl() 1216 wr->r3 = cpu_to_be64(0); in t4_eth_xmit() 1288 cpl->ctrl1 = cpu_to_be64(cntrl); in t4_eth_xmit() 2484 c.iqaddr = cpu_to_be64(iq->phys_addr); in t4_sge_alloc_rxq() [all …]
|
/linux-4.4.14/include/linux/netfilter/ipset/ |
D | ip_set.h | 349 cpu_to_be64((u64)skbinfo->skbmark << 32 | in ip_set_put_skbinfo() 373 cpu_to_be64(ip_set_get_bytes(counter))) || in ip_set_put_counter() 375 cpu_to_be64(ip_set_get_packets(counter))); in ip_set_put_counter()
|
/linux-4.4.14/fs/ufs/ |
D | swab.h | 40 return (__force __fs64)cpu_to_be64(n); in cpu_to_fs64()
|
/linux-4.4.14/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()
|
D | sha256-spe-glue.c | 165 *pbits = cpu_to_be64(sctx->count << 3); in ppc_spe_sha256_final()
|
/linux-4.4.14/drivers/scsi/cxgbi/cxgb4i/ |
D | cxgb4i.c | 219 req->opt0 = cpu_to_be64(opt0); in send_act_open_req() 243 req->opt0 = cpu_to_be64(opt0); in send_act_open_req() 244 req->params = cpu_to_be64(FILTER_TUPLE_V( in send_act_open_req() 313 req->opt0 = cpu_to_be64(opt0); in send_act_open_req6() 336 req->opt0 = cpu_to_be64(opt0); in send_act_open_req6() 341 req->params = cpu_to_be64(FILTER_TUPLE_V(cxgb4_select_ntuple( in send_act_open_req6() 1669 req->mask = cpu_to_be64(0x3 << 8); in ddp_setup_conn_pgidx() 1670 req->val = cpu_to_be64(pg_idx << 8); in ddp_setup_conn_pgidx() 1701 req->mask = cpu_to_be64(0x3 << 4); in ddp_setup_conn_digest() 1702 req->val = cpu_to_be64(((hcrc ? ULP_CRC_HEADER : 0) | in ddp_setup_conn_digest()
|
/linux-4.4.14/fs/qnx6/ |
D | qnx6.h | 90 return (__force __fs64)cpu_to_be64(n); in cpu_to_fs64()
|
/linux-4.4.14/drivers/cpuidle/ |
D | cpuidle-pseries.c | 50 get_lppaca()->wait_state_cycles = cpu_to_be64(wait_cycles); in idle_loop_epilog()
|
/linux-4.4.14/drivers/staging/lustre/lustre/include/ |
D | lustre_fid.h | 656 dst->lsr_start = cpu_to_be64(src->lsr_start); in range_cpu_to_be() 657 dst->lsr_end = cpu_to_be64(src->lsr_end); in range_cpu_to_be()
|
/linux-4.4.14/net/sunrpc/auth_gss/ |
D | gss_krb5_seal.c | 190 *((__be64 *)(krb5_hdr + 8)) = cpu_to_be64(seq_send); in gss_get_mic_v2()
|
/linux-4.4.14/include/scsi/ |
D | fc_frame.h | 36 #define htonll(x) cpu_to_be64(x)
|
/linux-4.4.14/fs/befs/ |
D | endian.h | 29 return (__force fs64)cpu_to_be64(n); in cpu_to_fs64()
|
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_tx.c | 232 dseg->addr = cpu_to_be64(dma_addr); in mlx5e_sq_xmit() 251 dseg->addr = cpu_to_be64(dma_addr); in mlx5e_sq_xmit()
|
D | alloc.c | 208 pas[i] = cpu_to_be64(addr); in mlx5_fill_page_array()
|
D | en_rx.c | 61 wqe->data.addr = cpu_to_be64(dma_addr + MLX5E_NET_IP_ALIGN); in mlx5e_alloc_rx_wqe()
|
D | eq.c | 370 in->events_mask = cpu_to_be64(mask); in mlx5_create_map_eq()
|
D | cmd.c | 652 lay->in_ptr = cpu_to_be64(ent->in->next->dma); in cmd_work_handler() 655 lay->out_ptr = cpu_to_be64(ent->out->next->dma); in cmd_work_handler() 969 block->next = cpu_to_be64(tmp->next ? tmp->next->dma : 0); in mlx5_alloc_cmd_msg()
|
/linux-4.4.14/drivers/scsi/bfa/ |
D | bfad_attr.c | 73 fc_starget_node_name(starget) = cpu_to_be64(node_name); in bfad_im_get_starget_node_name() 99 fc_starget_port_name(starget) = cpu_to_be64(port_name); in bfad_im_get_starget_port_name() 255 fc_host_fabric_name(shost) = cpu_to_be64(fabric_nwwn); in bfad_im_get_host_fabric_name() 830 return snprintf(buf, PAGE_SIZE, "0x%llx\n", cpu_to_be64(nwwn)); in bfad_im_node_name_show()
|
D | bfad_im.c | 1022 cpu_to_be64((bfa_fcs_lport_get_nwwn(port->fcs_port))); in bfad_fc_host_init() 1024 cpu_to_be64((bfa_fcs_lport_get_pwwn(port->fcs_port))); in bfad_fc_host_init() 1053 cpu_to_be64(bfa_fcs_itnim_get_nwwn(&itnim->fcs_itnim)); in bfad_im_fc_rport_add() 1055 cpu_to_be64(bfa_fcs_itnim_get_pwwn(&itnim->fcs_itnim)); in bfad_im_fc_rport_add()
|
/linux-4.4.14/drivers/infiniband/hw/cxgb4/ |
D | qp.c | 329 res->u.sqrq.eqaddr = cpu_to_be64(wq->sq.dma_addr); in create_qp() 353 res->u.sqrq.eqaddr = cpu_to_be64(wq->rq.dma_addr); in create_qp() 440 *flitp = cpu_to_be64(((u64)sg_list[i].lkey << 32) | in build_isgl() 444 *flitp = cpu_to_be64(sg_list[i].addr); in build_isgl() 536 wqe->write.to_sink = cpu_to_be64(rdma_wr(wr)->remote_addr); in build_rdma_write() 640 mhp->mpl[i] = (__force u64)cpu_to_be64((u64)mhp->mpl[i]); in build_memreg() 646 sglp->addr0 = cpu_to_be64(mhp->mpl_addr); in build_memreg() 659 *p = cpu_to_be64((u64)mhp->mpl[i]); in build_memreg() 1247 init->u.write.to_sink = cpu_to_be64(1); in build_rtr_msg()
|
D | cq.c | 146 res->u.cq.iqaddr = cpu_to_be64(cq->dma_addr); in create_cq() 195 cqe.bits_type_ts = cpu_to_be64(CQE_GENBIT_V((u64)cq->gen)); in insert_recv_cqe() 229 cqe.bits_type_ts = cpu_to_be64(CQE_GENBIT_V((u64)cq->gen)); in insert_sq_cqe()
|
D | mem.c | 98 sgl->addr0 = cpu_to_be64(data); in _c4iw_write_mem_dma_aligned() 490 (*page_list)[n++] = cpu_to_be64(buffer_list[i].addr + in build_phys_page_list() 757 pages[i++] = cpu_to_be64(sg_dma_address(sg) + in c4iw_reg_user_mr()
|
/linux-4.4.14/sound/firewire/ |
D | scs1x.c | 369 data = cpu_to_be64(((u64)HSS1394_TAG_CHANGE_ADDRESS << 56) | in scs_init_hss_address() 461 data = cpu_to_be64(((u64)HSS1394_TAG_CHANGE_ADDRESS << 56) | in scs_update()
|
/linux-4.4.14/drivers/net/wireless/prism54/ |
D | islpci_eth.c | 286 avs->mactime = cpu_to_be64(clock); in islpci_monitor_rx() 287 avs->hosttime = cpu_to_be64(jiffies); in islpci_monitor_rx()
|
/linux-4.4.14/arch/arm64/include/asm/ |
D | kvm_emulate.h | 285 return cpu_to_be64(data); in vcpu_data_host_to_guest()
|
/linux-4.4.14/drivers/net/ethernet/sgi/ |
D | ioc3-eth.c | 637 rxr[n_entry] = cpu_to_be64(ioc3_map(rxb, 1)); in ioc3_rx() 926 rxr[i] = cpu_to_be64(ioc3_map(rxb, 1)); in ioc3_alloc_rings() 1485 desc->p1 = cpu_to_be64(ioc3_map(skb->data, 1)); in ioc3_start_xmit() 1486 desc->p2 = cpu_to_be64(ioc3_map((void *) b2, 1)); in ioc3_start_xmit() 1491 desc->p1 = cpu_to_be64(ioc3_map(skb->data, 1)); in ioc3_start_xmit()
|
/linux-4.4.14/drivers/crypto/ |
D | padlock-sha.c | 366 bits = cpu_to_be64(state->count << 3); in padlock_sha1_final_nano() 456 bits = cpu_to_be64(state->count << 3); in padlock_sha256_final_nano()
|
/linux-4.4.14/drivers/staging/fbtft/ |
D | fbtft-io.c | 78 *(u64 *)dst = cpu_to_be64(tmp); in fbtft_write_spi_emulate_9()
|
/linux-4.4.14/sound/soc/fsl/ |
D | fsl_dma.c | 462 dma_private->link[i].next = cpu_to_be64(temp_link); in fsl_dma_open() 467 dma_private->link[i - 1].next = cpu_to_be64(dma_private->ld_buf_phys); in fsl_dma_open()
|
/linux-4.4.14/drivers/infiniband/ulp/iser/ |
D | iser_initiator.c | 84 hdr->read_va = cpu_to_be64(mem_reg->sge.addr); in iser_prepare_read_cmd() 140 hdr->write_va = cpu_to_be64(mem_reg->sge.addr + unsol_sz); in iser_prepare_write_cmd()
|
/linux-4.4.14/drivers/scsi/bnx2fc/ |
D | bnx2fc_els.c | 833 hdr[0] = cpu_to_be64(temp_hdr[0]); in bnx2fc_process_els_compl() 834 hdr[1] = cpu_to_be64(temp_hdr[1]); in bnx2fc_process_els_compl() 835 hdr[2] = cpu_to_be64(temp_hdr[2]); in bnx2fc_process_els_compl()
|
/linux-4.4.14/drivers/char/ipmi/ |
D | ipmi_powernv.c | 137 size = cpu_to_be64(sizeof(*opal_msg) + IPMI_MAX_MSG_LENGTH); in ipmi_powernv_recv()
|
/linux-4.4.14/drivers/scsi/cxgbi/cxgb3i/ |
D | cxgb3i.c | 1160 req->mask = cpu_to_be64(0xF0000000); in ddp_setup_conn_pgidx() 1161 req->val = cpu_to_be64(val << 28); in ddp_setup_conn_pgidx() 1197 req->mask = cpu_to_be64(0x0F000000); in ddp_setup_conn_digest() 1198 req->val = cpu_to_be64(val << 24); in ddp_setup_conn_digest()
|
/linux-4.4.14/kernel/trace/ |
D | blktrace.c | 861 __be64 rpdu = cpu_to_be64(depth); in blk_add_trace_unplug() 880 __be64 rpdu = cpu_to_be64(pdu); in blk_add_trace_split() 913 r.sector_from = cpu_to_be64(from); in blk_add_trace_bio_remap() 946 r.sector_from = cpu_to_be64(from); in blk_add_trace_rq_remap()
|
/linux-4.4.14/net/rds/ |
D | message.c | 102 hdr->h_sequence = cpu_to_be64(seq); in rds_message_populate_header()
|
/linux-4.4.14/drivers/scsi/aic7xxx/ |
D | aic7xxx_osm.h | 117 #define ahc_htobe64(x) cpu_to_be64(x)
|
D | aic79xx_osm.h | 105 #define ahd_htobe64(x) cpu_to_be64(x)
|
/linux-4.4.14/arch/mips/include/asm/ |
D | io.h | 479 __raw_writeq(cpu_to_be64((val)), (__force unsigned *)(addr)) in BUILDIO_MEM()
|
/linux-4.4.14/drivers/infiniband/ulp/srp/ |
D | ib_srp.c | 1266 desc->va = cpu_to_be64(dma_addr); in srp_map_desc() 1595 buf->va = cpu_to_be64(ib_sg_dma_address(ibdev, scat)); in srp_map_data() 1665 indirect_hdr->table_desc.va = cpu_to_be64(req->indirect_dma_addr); in srp_map_data() 3004 target->id_ext = cpu_to_be64(simple_strtoull(p, NULL, 16)); in srp_parse_options() 3014 target->ioc_guid = cpu_to_be64(simple_strtoull(p, NULL, 16)); in srp_parse_options() 3056 target->service_id = cpu_to_be64(simple_strtoull(p, NULL, 16)); in srp_parse_options() 3110 target->initiator_ext = cpu_to_be64(simple_strtoull(p, NULL, 16)); in srp_parse_options()
|
/linux-4.4.14/drivers/infiniband/ulp/srpt/ |
D | ib_srpt.c | 343 iocp->guid = cpu_to_be64(srpt_service_guid); in srpt_get_ioc() 392 svc_entries->service_entries[0].id = cpu_to_be64(ioc_guid); in srpt_get_svc_entries() 1632 cpu_to_be64(0x0000FFFFFFFFFFFFLL)) != 0) in srpt_unpack_lun() 2447 if (*(__be64 *)req->target_port_id != cpu_to_be64(srpt_service_guid) in srpt_cm_req_recv() 2449 cpu_to_be64(srpt_service_guid)) { in srpt_cm_req_recv() 3191 if (ib_cm_listen(sdev->cm_id, cpu_to_be64(srpt_service_guid), 0)) in srpt_add_one()
|
/linux-4.4.14/drivers/crypto/sunxi-ss/ |
D | sun4i-ss-hash.c | 417 bits = cpu_to_be64(op->byte_count << 3); in sun4i_hash_final()
|
/linux-4.4.14/drivers/net/ethernet/brocade/bna/ |
D | bna.h | 40 cpu_to_be64((u64)(_addr)); \
|
/linux-4.4.14/fs/jbd2/ |
D | revoke.c | 624 cpu_to_be64(record->blocknr); in write_one_revoke_record()
|