/freebsd/sys/crypto/ |
H A D | chacha20_poly1305.c | 75 lengths[0] = htole64(aad_len); in chacha20_poly1305_encrypt() 76 lengths[1] = htole64(src_len); in chacha20_poly1305_encrypt() 116 u.lengths[0] = htole64(aad_len); in chacha20_poly1305_decrypt() 117 u.lengths[1] = htole64(resid); in chacha20_poly1305_decrypt() 178 lengths[0] = htole64(aad_len); in xchacha20_poly1305_encrypt() 179 lengths[1] = htole64(src_len); in xchacha20_poly1305_encrypt() 219 u.lengths[0] = htole64(aad_len); in xchacha20_poly1305_decrypt() 220 u.lengths[1] = htole64(resid); in xchacha20_poly1305_decrypt()
|
/freebsd/contrib/libfido2/openbsd-compat/ |
H A D | openbsd-compat.h | 26 #define htole64(x) OSSwapHostToLittleInt64((x)) macro 40 uint64_t htole64(uint64_t);
|
H A D | endian_win32.c | 35 htole64(uint64_t in) in htole64() function
|
/freebsd/sys/dev/virtio/gpu/ |
H A D | virtio_gpu.c | 494 s.req.fence_id = htole64(atomic_fetchadd_64(&sc->vtgpu_next_fence, 1)); in vtgpu_get_display_info() 536 s.req.hdr.fence_id = htole64( in vtgpu_create_2d() 574 s.req.backing.hdr.fence_id = htole64( in vtgpu_attach_backing() 580 s.req.mem[0].addr = htole64(sc->vtgpu_fb_info.fb_pbase); in vtgpu_attach_backing() 610 s.req.hdr.fence_id = htole64( in vtgpu_set_scanout() 648 s.req.hdr.fence_id = htole64( in vtgpu_transfer_to_host_2d() 656 s.req.offset = htole64((y * sc->vtgpu_fb_info.fb_width + x) in vtgpu_transfer_to_host_2d() 687 s.req.hdr.fence_id = htole64( in vtgpu_resource_flush()
|
/freebsd/sbin/nvmecontrol/ |
H A D | resv.c | 250 data[0] = htole64(acquire_opt.crkey); in resvacquire() 251 data[1] = htole64(acquire_opt.prkey); in resvacquire() 289 data[0] = htole64(register_opt.crkey); in resvregister() 290 data[1] = htole64(register_opt.nrkey); in resvregister() 328 data[0] = htole64(release_opt.crkey); in resvrelease()
|
/freebsd/sys/arm64/arm64/ |
H A D | gicv3_its.c | 1779 cmd->cmd_dword[0] &= htole64(~CMD_COMMAND_MASK); in cmd_format_command() 1780 cmd->cmd_dword[0] |= htole64(cmd_type); in cmd_format_command() 1787 cmd->cmd_dword[0] &= htole64(~CMD_DEVID_MASK); in cmd_format_devid() 1788 cmd->cmd_dword[0] |= htole64((uint64_t)devid << CMD_DEVID_SHIFT); in cmd_format_devid() 1795 cmd->cmd_dword[1] &= htole64(~CMD_SIZE_MASK); in cmd_format_size() 1796 cmd->cmd_dword[1] |= htole64((size & CMD_SIZE_MASK)); in cmd_format_size() 1803 cmd->cmd_dword[1] &= htole64(~CMD_ID_MASK); in cmd_format_id() 1804 cmd->cmd_dword[1] |= htole64(id); in cmd_format_id() 1811 cmd->cmd_dword[1] &= htole64(~CMD_PID_MASK); in cmd_format_pid() 1812 cmd->cmd_dword[1] |= htole64((uint64_t)pid << CMD_PID_SHIFT); in cmd_format_pid() [all …]
|
/freebsd/contrib/ofed/include/ |
H A D | byteorder.h | 40 #define cpu_to_le64 htole64 54 #define cpu_to_le64p(x) htole64(*((uint64_t *)x))
|
/freebsd/contrib/openbsm/compat/ |
H A D | endian.h | 130 #define htole64(x) ((uint64_t)(x)) macro 144 #define htole64(x) bswap64((x)) macro
|
/freebsd/sys/sys/ |
H A D | _endian.h | 111 #define htole64(x) ((uint64_t)(x)) 125 #define htole64(x) __bswap64((x)) 109 #define htole64( global() macro 123 #define htole64( global() macro
|
/freebsd/tests/include/ |
H A D | sys_endian_test.c | 106 #define O64(x) htole64(x) in ATF_TC_BODY() 110 #define H64(x) htole64(x) in ATF_TC_BODY()
|
H A D | endian_test.c | 109 #define O64(x) htole64(x) in ATF_TC_BODY() 113 #define H64(x) htole64(x) in ATF_TC_BODY()
|
/freebsd/sys/dev/gem/ |
H A D | if_gemvar.h | 225 __rxd->gd_addr = htole64(__rxs->rxs_paddr); \ 226 __rxd->gd_flags = htole64((((__m->m_ext.ext_size) << \ 236 __rxd->gd_flags = htole64((((__m->m_ext.ext_size) << \
|
/freebsd/sys/dev/ice/ |
H A D | ice_iflib_txrx.c | 166 txd->buf_addr = htole64(segs[j].ds_addr); 168 htole64(ICE_TX_DESC_DTYPE_DATA 182 htole64(((u64)ICE_TXD_CMD << ICE_TXD_QW1_CMD_S)); 506 rxq->rx_base[next_pidx].read.pkt_addr = htole64(paddrs[i]);
|
/freebsd/sys/dev/iavf/ |
H A D | iavf_txrx_iflib.c | 299 TXD->type_cmd_tso_mss = htole64(type_cmd_tso_mss); in iavf_tso_setup() 373 txd->buffer_addr = htole64(segs[j].ds_addr); in iavf_isc_txd_encap() 375 htole64(IAVF_TX_DESC_DTYPE_DATA in iavf_isc_txd_encap() 387 htole64(((u64)IAVF_TXD_CMD << IAVF_TXD_QW1_CMD_SHIFT)); in iavf_isc_txd_encap() 585 rxr->rx_base[next_pidx].read.pkt_addr = htole64(paddrs[i]); in iavf_isc_rxd_refill()
|
/freebsd/tools/build/cross-build/include/mac/sys/ |
H A D | endian.h | 62 #define htole64(x) ((uint64_t)(x)) macro 76 #define htole64(x) bswap64((x)) macro
|
/freebsd/sys/dev/virtio/ |
H A D | virtio_endian.h | 92 return (htole64(val)); in virtio_gtoh64()
|
/freebsd/sys/compat/linuxkpi/common/include/asm/ |
H A D | byteorder.h | 42 #define __cpu_to_le64(x) htole64(x) 67 #define __cpu_to_le64p(x) htole64(*((const uint64_t *)(x)))
|
/freebsd/sys/dev/cas/ |
H A D | if_casvar.h | 227 (rxd)->cd_buf_ptr = htole64((rxds)->rxds_paddr); \ 231 htole64((uint64_t)((s) << CAS_RD_BUF_INDEX_SHFT)); \
|
/freebsd/sys/dev/bnxt/bnxt_en/ |
H A D | bnxt_hwrm.c | 139 req->resp_addr = htole64(softc->hwrm_cmd_resp.idi_paddr); in bnxt_hwrm_cmd_hdr_init() 185 htole64(softc->hwrm_short_cmd_req_addr.idi_paddr); in _hwrm_send_message() 528 *pg_dir = htole64(rmem->pg_tbl.idi_paddr); in bnxt_hwrm_set_pg_attr() 530 *pg_dir = htole64(rmem->pg_arr[0].idi_paddr); in bnxt_hwrm_set_pg_attr() 757 input->resp_addr = htole64(softc->hwrm_cmd_resp.idi_paddr); in bnxt_hwrm_passthrough() 1691 req.page_tbl_addr = htole64(ring->paddr); in bnxt_hwrm_ring_alloc() 1741 req.cq_handle = htole64(ring->id); in bnxt_hwrm_ring_alloc() 1809 req.stats_dma_addr = htole64(paddr); in bnxt_hwrm_stat_ctx_alloc() 1837 req.rx_stat_host_addr = htole64(softc->hw_rx_port_stats.idi_paddr); in bnxt_hwrm_port_qstats() 1838 req.tx_stat_host_addr = htole64(softc->hw_tx_port_stats.idi_paddr); in bnxt_hwrm_port_qstats() [all …]
|
H A D | bnxt_dcb.c | 336 get.dest_data_addr = htole64(dma_data.idi_paddr); in bnxt_hwrm_get_dcbx_app() 388 get.dest_data_addr = htole64(dma_data.idi_paddr); in bnxt_hwrm_set_dcbx_app() 441 set.src_data_addr = htole64(dma_data.idi_paddr); in bnxt_hwrm_set_dcbx_app() 497 req.dest_data_addr = htole64(dma_data.idi_paddr); in bnxt_hwrm_queue_dscp2pri_qcfg() 537 req.src_data_addr = htole64(dma_data.idi_paddr); in bnxt_hwrm_queue_dscp2pri_cfg()
|
/freebsd/usr.sbin/bhyve/ |
H A D | acpi.c | 496 fadt.XFacs = htole64(0); /* patched by basl */ in build_fadt() 497 fadt.XDsdt = htole64(0); /* patched by basl */ in build_fadt() 654 mcfg_allocation.Address = htole64(pci_ecfg_base()); in build_mcfg() 680 rsdp.XsdtPhysicalAddress = htole64(0); /* patched by basl */ in build_rsdp()
|
/freebsd/sys/dev/ixl/ |
H A D | ixl_txrx.c | 320 TXD->type_cmd_tso_mss = htole64(type_cmd_tso_mss); in ixl_tso_setup() 386 txd->buffer_addr = htole64(segs[j].ds_addr); in ixl_isc_txd_encap() 388 htole64(I40E_TX_DESC_DTYPE_DATA in ixl_isc_txd_encap() 400 htole64(((u64)IXL_TXD_CMD << I40E_TXD_QW1_CMD_SHIFT)); in ixl_isc_txd_encap() 562 rxr->rx_base[next_pidx].read.pkt_addr = htole64(paddrs[i]); in ixl_isc_rxd_refill()
|
/freebsd/sys/dev/e1000/ |
H A D | em_txrx.c | 407 ctxd->buffer_addr = htole64(seg_addr); in em_isc_txd_encap() 416 ctxd->buffer_addr = htole64(seg_addr + seg_len); in em_isc_txd_encap() 426 ctxd->buffer_addr = htole64(seg_addr); in em_isc_txd_encap() 548 rxd->buffer_addr = htole64(paddrs[i]); in lem_isc_rxd_refill() 577 rxd->read.buffer_addr = htole64(paddrs[i]); in em_isc_rxd_refill()
|
/freebsd/sys/dev/qlxge/ |
H A D | qls_os.h | 124 #define qla_host_to_le64(x) htole64(x)
|
/freebsd/sys/dev/qlxgbe/ |
H A D | ql_os.h | 132 #define qla_host_to_le64(x) htole64(x)
|