Home
last modified time | relevance | path

Searched refs:cpu_to_be64 (Results 1 – 17 of 17) sorted by relevance

/include/crypto/
Dgf128mul.h191 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()
Dsha512_base.h112 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()
Dsha256_base.h90 *bits = cpu_to_be64(sctx->count << 3); in sha256_base_do_finalize()
Dsm3_base.h92 *bits = cpu_to_be64(sctx->count << 3); in sm3_base_do_finalize()
Dsha1_base.h89 *bits = cpu_to_be64(sctx->count << 3); in sha1_base_do_finalize()
/include/net/
Daddrconf.h453 return ((p[0] ^ cpu_to_be64(0xff02000000000000UL)) | (p[1] ^ cpu_to_be64(1))) == 0UL; in ipv6_addr_is_ll_all_nodes()
465 return ((p[0] ^ cpu_to_be64(0xff02000000000000UL)) | (p[1] ^ cpu_to_be64(2))) == 0UL; in ipv6_addr_is_ll_all_routers()
482 return ((p[0] ^ cpu_to_be64(0xff02000000000000UL)) | in ipv6_addr_is_solict_mult()
483 ((p[1] ^ cpu_to_be64(0x00000001ff000000UL)) & in ipv6_addr_is_solict_mult()
484 cpu_to_be64(0xffffffffff000000UL))) == 0UL; in ipv6_addr_is_solict_mult()
498 return ((p[0] ^ cpu_to_be64(0xff02000000000000UL)) | in ipv6_addr_is_all_snoopers()
499 (p[1] ^ cpu_to_be64(0x6a))) == 0UL; in ipv6_addr_is_all_snoopers()
Dipv6.h593 if (len && ((*a1 ^ *a2) & cpu_to_be64((~0UL) << (64 - len)))) in __ipv6_prefix_equal64_half()
676 return (be[0] | (be[1] ^ cpu_to_be64(1))) == 0UL; in ipv6_addr_loopback()
/include/rdma/
Dib_cm.h352 #define IB_SERVICE_ID_AGN_MASK cpu_to_be64(0xFF00000000000000ULL)
353 #define IB_CM_ASSIGN_SERVICE_ID cpu_to_be64(0x0200000000000000ULL)
354 #define IB_CMA_SERVICE_ID cpu_to_be64(0x0000000001000000ULL)
355 #define IB_CMA_SERVICE_ID_MASK cpu_to_be64(0xFFFFFFFFFF000000ULL)
356 #define IB_SDP_SERVICE_ID cpu_to_be64(0x0000000000010000ULL)
357 #define IB_SDP_SERVICE_ID_MASK cpu_to_be64(0xFFFFFFFFFFFF0000ULL)
Dopa_addr.h54 #define OPA_MAKE_ID(x) (cpu_to_be64(OPA_SPECIAL_OUI << 40 | (x)))
Dib_mad.h188 #define IB_SA_COMP_MASK(n) ((__force ib_sa_comp_mask) cpu_to_be64(1ull << (n)))
/include/linux/
Dlibfdt_env.h20 #define cpu_to_fdt64(x) cpu_to_be64(x)
Dvirtio_byteorder.h61 return (__force __virtio64)cpu_to_be64(val); in __cpu_to_virtio64()
/include/linux/byteorder/
Dgeneric.h92 #define cpu_to_be64 __cpu_to_be64 macro
188 *var = cpu_to_be64(be64_to_cpu(*var) + val); in be64_add_cpu()
/include/linux/unaligned/
Daccess_ok.h65 *((__be64 *)p) = cpu_to_be64(val); in put_unaligned_be64()
/include/scsi/
Dfc_frame.h24 #define htonll(x) cpu_to_be64(x)
/include/linux/netfilter/ipset/
Dip_set.h634 cpu_to_be64(ip_set_get_bytes(counter)), in ip_set_put_counter()
637 cpu_to_be64(ip_set_get_packets(counter)), in ip_set_put_counter()
665 cpu_to_be64((u64)skbinfo->skbmark << 32 | in ip_set_put_skbinfo()
/include/linux/mlx5/
Ddevice.h107 *((__be64 *)(p) + __mlx5_64_off(typ, fld)) = cpu_to_be64(v); \