Searched refs:cpu_to_be64 (Results 1 - 25 of 449) sorted by relevance

1234567891011>>

/linux-master/arch/powerpc/include/asm/book3s/64/
H A Dpgtable-64k.h22 return !!(pmd_raw(pmd) & cpu_to_be64(_PAGE_PTE));
30 return !!(pud_raw(pud) & cpu_to_be64(_PAGE_PTE));
H A Dpgtable-4k.h15 return !!(pmd_raw(pmd) & cpu_to_be64(_PAGE_PTE));
25 return !!(pud_raw(pud) & cpu_to_be64(_PAGE_PTE));
H A Dpgtable.h354 if ((pte_raw(*ptep) & cpu_to_be64(_PAGE_ACCESSED | H_PAGE_HASHPTE)) == 0)
390 return !!(pte_raw(pte) & cpu_to_be64(_PAGE_WRITE));
395 return !!(pte_raw(pte) & cpu_to_be64(_PAGE_READ));
446 return !!(pte_raw(pte) & cpu_to_be64(_PAGE_DIRTY));
451 return !!(pte_raw(pte) & cpu_to_be64(_PAGE_ACCESSED));
456 return !!(pte_raw(pte) & cpu_to_be64(_PAGE_SPECIAL));
461 return !!(pte_raw(pte) & cpu_to_be64(_PAGE_EXEC));
468 return !!(pte_raw(pte) & cpu_to_be64(_PAGE_SOFT_DIRTY));
473 return __pte_raw(pte_raw(pte) | cpu_to_be64(_PAGE_SOFT_DIRTY));
478 return __pte_raw(pte_raw(pte) & cpu_to_be64(~_PAGE_SOFT_DIRT
[all...]
H A Dhash.h137 return (((pmd_raw(pmd_a) ^ pmd_raw(pmd_b)) & ~cpu_to_be64(_PAGE_HPTEFLAGS)) == 0);
147 return (((pud_raw(pud_a) ^ pud_raw(pud_b)) & ~cpu_to_be64(_PAGE_HPTEFLAGS)) == 0);
182 : "r" (ptep), "r" (cpu_to_be64(clr)), "m" (*ptep),
183 "r" (cpu_to_be64(H_PAGE_BUSY)), "r" (cpu_to_be64(set))
203 mask = cpu_to_be64(_PAGE_DIRTY | _PAGE_ACCESSED | _PAGE_READ | _PAGE_WRITE |
216 :"r" (val), "r" (ptep), "m" (*ptep), "r" (cpu_to_be64(H_PAGE_BUSY))
222 return (((pte_raw(pte_a) ^ pte_raw(pte_b)) & ~cpu_to_be64(_PAGE_HPTEFLAGS)) == 0);
/linux-master/arch/powerpc/platforms/pseries/
H A Dhvconsole.c66 cpu_to_be64(lbuf[0]),
67 cpu_to_be64(lbuf[1]));
H A Dplpks_sed_ops.c116 data.authority = cpu_to_be64(PLPKS_SED_AUTHORITY);
117 data.range = cpu_to_be64(PLPKS_SED_RANGE);
/linux-master/include/linux/
H A Dlibfdt_env.h20 #define cpu_to_fdt64(x) cpu_to_be64(x)
/linux-master/include/crypto/
H A Dgf128mul.h191 r->b = cpu_to_be64((b >> 1) | (a << 63));
192 r->a = cpu_to_be64((a >> 1) ^ _tt);
203 r->a = cpu_to_be64((a << 1) | (b >> 63));
204 r->b = cpu_to_be64((b << 1) ^ _tt);
/linux-master/arch/powerpc/include/asm/
H A Dpgtable-be-types.h9 #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-master/drivers/infiniband/ulp/opa_vnic/
H A Dopa_vnic_vema_iface.c100 cntrs->tx_errors = cpu_to_be64(vstats.netstats.tx_errors);
101 cntrs->rx_errors = cpu_to_be64(vstats.netstats.rx_errors);
102 cntrs->tx_packets = cpu_to_be64(vstats.netstats.tx_packets);
103 cntrs->rx_packets = cpu_to_be64(vstats.netstats.rx_packets);
104 cntrs->tx_bytes = cpu_to_be64(vstats.netstats.tx_bytes);
105 cntrs->rx_bytes = cpu_to_be64(vstats.netstats.rx_bytes);
113 *dst = cpu_to_be64(*src);
139 cntrs->tx_errors = cpu_to_be64(vstats.netstats.tx_errors);
140 cntrs->rx_errors = cpu_to_be64(vstats.netstats.rx_errors);
141 cntrs->tx_dlid_zero = cpu_to_be64(vstat
[all...]
/linux-master/arch/mips/cavium-octeon/crypto/
H A Docteon-crypto.h36 : [rt] "d" (cpu_to_be64(value))); \
62 : [rt] "d" (cpu_to_be64(value))); \
73 : [rt] "d" (cpu_to_be64(value))); \
/linux-master/arch/powerpc/boot/
H A Dlibfdt_env.h25 #define cpu_to_fdt64(x) cpu_to_be64(x)
H A Dof.h34 #define cpu_to_be64(x) swab64(x) macro
41 #define cpu_to_be64(x) (x) macro
/linux-master/crypto/
H A Dkeywrap.c164 block.A ^= cpu_to_be64(t);
185 if (block.A != cpu_to_be64(0xa6a6a6a6a6a6a6a6ULL))
215 block.A = cpu_to_be64(0xa6a6a6a6a6a6a6a6ULL);
241 block.A ^= cpu_to_be64(t);
/linux-master/fs/gfs2/
H A Ddir.h69 dent->de_inum.no_addr = cpu_to_be64(0);
70 dent->de_inum.no_formal_ino = cpu_to_be64(0);
/linux-master/include/rdma/
H A Dib_cm.h327 #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-master/drivers/i2c/busses/
H A Di2c-opal.c90 req.buffer_ra = cpu_to_be64(__pa(msgs[0].buf));
101 req.buffer_ra = cpu_to_be64(__pa(msgs[1].buf));
126 req.buffer_ra = cpu_to_be64(__pa(&data->byte));
134 req.buffer_ra = cpu_to_be64(__pa(&data->byte));
146 req.buffer_ra = cpu_to_be64(__pa(local));
154 req.buffer_ra = cpu_to_be64(__pa(&data->block[1]));
/linux-master/drivers/net/ethernet/google/gve/
H A Dgve_adminq.c532 .counter_array = cpu_to_be64(counter_array_bus_addr),
534 .irq_db_addr = cpu_to_be64(db_array_bus_addr),
565 cpu_to_be64(tx->q_resources_bus),
566 .tx_ring_addr = cpu_to_be64(tx->bus),
591 cpu_to_be64(tx->complq_bus_dqo);
623 .queue_resources_addr = cpu_to_be64(rx->q_resources_bus),
631 cpu_to_be64(rx->desc.bus),
633 cpu_to_be64(rx->data.data_bus),
653 cpu_to_be64(rx->dqo.complq.bus);
655 cpu_to_be64(r
[all...]
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/
H A Drx.c60 .ptag = cpu_to_be64(addr | MLX5_EN_WR),
71 .va = cpu_to_be64(addr),
84 .va = cpu_to_be64(addr),
88 .va = cpu_to_be64(addr + mapping_size),
92 .va = cpu_to_be64(addr + mapping_size * 2),
96 .va = cpu_to_be64(rq->wqe_overflow.addr),
111 .va = cpu_to_be64(addr),
116 .va = cpu_to_be64(rq->wqe_overflow.addr),
191 wqe->data[0].addr = cpu_to_be64(addr + rq->buff.headroom);
218 wqe->data[0].addr = cpu_to_be64(add
[all...]
/linux-master/fs/omfs/
H A Dfile.c24 oe->e_next = ~cpu_to_be64(0ULL);
27 oe->e_entry[0].e_cluster = ~cpu_to_be64(0ULL);
28 oe->e_entry[0].e_blocks = ~cpu_to_be64(0ULL);
150 terminator->e_blocks = ~(cpu_to_be64(
172 entry->e_cluster = cpu_to_be64(new_block);
173 entry->e_blocks = cpu_to_be64((u64) new_count);
175 terminator->e_blocks = ~(cpu_to_be64(
/linux-master/include/net/
H A Daddrconf.h463 return ((p[0] ^ cpu_to_be64(0xff02000000000000UL)) | (p[1] ^ cpu_to_be64(1))) == 0UL;
475 return ((p[0] ^ cpu_to_be64(0xff02000000000000UL)) | (p[1] ^ cpu_to_be64(2))) == 0UL;
492 return ((p[0] ^ cpu_to_be64(0xff02000000000000UL)) |
493 ((p[1] ^ cpu_to_be64(0x00000001ff000000UL)) &
494 cpu_to_be64(0xffffffffff000000UL))) == 0UL;
508 return ((p[0] ^ cpu_to_be64(0xff02000000000000UL)) |
509 (p[1] ^ cpu_to_be64(0x6a))) == 0UL;
/linux-master/arch/sparc/crypto/
H A Dsha512_glue.c77 bits[1] = cpu_to_be64(sctx->count[0] << 3);
78 bits[0] = cpu_to_be64(sctx->count[1] << 3 | sctx->count[0] >> 61);
96 dst[i] = cpu_to_be64(sctx->state[i]);
/linux-master/include/linux/byteorder/
H A Dgeneric.h92 #define cpu_to_be64 __cpu_to_be64 macro
188 *var = cpu_to_be64(be64_to_cpu(*var) + val);
/linux-master/arch/powerpc/platforms/powernv/
H A Dopal-secvar.c64 *dsize = cpu_to_be64(*dsize);
80 *keylen = cpu_to_be64(*keylen);
/linux-master/fs/xfs/
H A Dxfs_inode_item_recover.c135 return cpu_to_be64(its);
158 to->di_big_nextents = cpu_to_be64(from->di_big_nextents);
189 to->di_size = cpu_to_be64(from->di_size);
190 to->di_nblocks = cpu_to_be64(from->di_nblocks);
200 to->di_changecount = cpu_to_be64(from->di_changecount);
203 to->di_flags2 = cpu_to_be64(from->di_flags2);
205 to->di_ino = cpu_to_be64(from->di_ino);
206 to->di_lsn = cpu_to_be64(lsn);

Completed in 374 milliseconds

1234567891011>>