Home
last modified time | relevance | path

Searched refs:htole32 (Results 1 – 25 of 28) sorted by relevance

12

/illumos-gate/usr/src/tools/btxld/
H A Delfh.c43 #ifndef htole32
44 #define htole32 LE_32 macro
59 htole32(EV_CURRENT), /* e_version */
60 htole32(SET_ME), /* e_entry */
61 htole32(offsetof(struct elfh, p)), /* e_phoff */
62 htole32(offsetof(struct elfh, sh)), /* e_shoff */
73 htole32(PT_LOAD), /* p_type */
74 htole32(sizeof(elfhdr)), /* p_offset */
75 htole32(SET_ME), /* p_vaddr */
76 htole32(SET_ME), /* p_paddr */
[all …]
H A Dbtxld.c289 btxle.btx_entry = htole32(btxle.btx_entry); in btxld()
425 ex.a_text = htole32(hdr->text); in puthdr()
427 ex.a_data = htole32(hdr->data); in puthdr()
428 ex.a_entry = htole32(hdr->entry); in puthdr()
435 eh.e.e_entry = htole32(hdr->entry); in puthdr()
436 eh.p[0].p_vaddr = eh.p[0].p_paddr = htole32(hdr->org); in puthdr()
437 eh.p[0].p_filesz = eh.p[0].p_memsz = htole32(hdr->text); in puthdr()
438 eh.p[1].p_offset = htole32(le32toh(eh.p[0].p_offset) + in puthdr()
441 htole32(align(le32toh(eh.p[0].p_paddr) + le32toh(eh.p[0].p_memsz), in puthdr()
443 eh.p[1].p_filesz = eh.p[1].p_memsz = htole32(hdr->data); in puthdr()
H A Dendian.h32 #ifndef htole32
33 #define htole32 LE_32 macro
/illumos-gate/usr/src/cmd/bhyve/
H A Dacpi.c454 facs.Version = htole32(2); in build_facs()
471 fadt.Facs = htole32(0); /* patched by basl */ in build_fadt()
472 fadt.Dsdt = htole32(0); /* patched by basl */ in build_fadt()
474 fadt.SmiCommand = htole32(SMI_CMD); in build_fadt()
477 fadt.Pm1aEventBlock = htole32(PM1A_EVT_ADDR); in build_fadt()
478 fadt.Pm1aControlBlock = htole32(PM1A_CNT_ADDR); in build_fadt()
479 fadt.PmTimerBlock = htole32(IO_PMTMR); in build_fadt()
480 fadt.Gpe0Block = htole32(IO_GPE0_BLK); in build_fadt()
487 fadt.Flags = htole32(ACPI_FADT_WBINVD | ACPI_FADT_C1_SUPPORTED | in build_fadt()
544 hpet.Id = htole32(hpet_capabilities); in build_hpet()
[all …]
H A Dqemu_loader.c100 element->entry.cmd_le = htole32(QEMU_LOADER_CMD_ALLOC); in qemu_loader_alloc()
102 element->entry.alloc.alignment_le = htole32(alignment); in qemu_loader_alloc()
131 element->entry.cmd_le = htole32(QEMU_LOADER_CMD_ADD_CHECKSUM); in qemu_loader_add_checksum()
133 element->entry.add_checksum.off_le = htole32(off); in qemu_loader_add_checksum()
134 element->entry.add_checksum.start_le = htole32(start); in qemu_loader_add_checksum()
135 element->entry.add_checksum.len_le = htole32(len); in qemu_loader_add_checksum()
159 element->entry.cmd_le = htole32(QEMU_LOADER_CMD_ADD_POINTER); in qemu_loader_add_pointer()
164 element->entry.add_pointer.off_le = htole32(off); in qemu_loader_add_pointer()
H A Dtpm_ppi_qemu.c118 fwcfg->ppi_address = htole32(TPM_PPI_ADDRESS); in tpm_ppi_init()
H A Dbasl.c624 header_le.OemRevision = htole32(oem_revision);
626 header_le.AslCompilerRevision = htole32(0x20220504);
H A Dqemu_fwcfg.c249 *le_fwcfg_id_ptr = htole32(*le_fwcfg_id_ptr); in qemu_fwcfg_add_item_id()
/illumos-gate/usr/src/test/util-tests/tests/smbios/
H A Dsmbios_test_memdevice.c78 mem->smbmdev_extsize = htole32(0x123456); in smbios_test_memdevice_fill()
103 mem.smbmdev_extspeed = htole32(0); in smbios_test_memdevice_mktable_32()
104 mem.smbmdev_extclkspeed = htole32(0); in smbios_test_memdevice_mktable_32()
121 mem.smbmdev_extspeed = htole32(0); in smbios_test_memdevice_mktable_33()
122 mem.smbmdev_extclkspeed = htole32(0); in smbios_test_memdevice_mktable_33()
139 mem.smbmdev_extspeed = htole32(smbios_memdevice_extspeed); in smbios_test_memdevice_mktable_33ext()
140 mem.smbmdev_extclkspeed = htole32(smbios_memdevice_extclkspeed); in smbios_test_memdevice_mktable_33ext()
157 mem.smbmdev_extspeed = htole32(smbios_memdevice_extspeed); in smbios_test_memdevice_mktable_37()
158 mem.smbmdev_extclkspeed = htole32(smbios_memdevice_extclkspeed); in smbios_test_memdevice_mktable_37()
H A Dsmbios_test_chassis.c58 ch->smbch_oemdata = htole32(smbios_chassis_oem); in smbios_test_chassis_mktable_fill_chassis()
H A Dsmbios.c201 ent30->smbe_stlen = htole32(table->stt_offset); in smbios_test_table_snapshot()
/illumos-gate/usr/src/uts/common/io/iwn/
H A Dif_iwn.c1929 ring->desc[i] = htole32(data->dma_data.paddr >> 8); in iwn_alloc_rx_ring()
2534 sc->rxon.filter &= ~htole32(IWN_FILTER_BSS); in iwn_newstate()
2712 htole32(data->dma_data.paddr >> 8); in iwn_rx_done()
3915 tx->lifetime = htole32(IWN_LIFETIME_INFINITE); in iwn_send()
3929 tx->loaddr = htole32(IWN_LOADDR(data->scratch_paddr)); in iwn_send()
3939 tx->flags = htole32(flags); in iwn_send()
3949 desc->segs[0].addr = htole32(IWN_LOADDR(data->cmd_paddr)); in iwn_send()
3958 desc->segs[i].addr = htole32(IWN_LOADDR(cookie.dmac_laddress)); in iwn_send()
4439 desc->segs[0].addr = htole32(IWN_LOADDR(paddr)); in iwn_cmd()
4591 led.unit = htole32(10000); /* on/off in unit of 100ms */ in iwn_set_led()
[all …]
H A Dif_iwncompat.h154 #define htole32(x) LE_32(x) macro
H A Dif_iwnreg.h920 #define IWN_BT_KILL_ACK_MASK_DEF htole32(0xffff0000)
922 #define IWN_BT_KILL_CTS_MASK_DEF htole32(0xffff0000)
/illumos-gate/usr/src/boot/sys/sys/
H A Dendian.h72 #define htole32(x) ((uint32_t)(x)) macro
86 #define htole32(x) bswap32((x)) macro
H A Dimgact_aout.h45 ( (ex).a_midmag = htole32((((flag) & 0x3f) <<26) | \
/illumos-gate/usr/src/lib/libc/i386/gen/
H A Dendian.c53 htole32(uint32_t in) in htole32() function
/illumos-gate/usr/src/lib/libc/amd64/gen/
H A Dendian.c29 htole32(uint32_t in) in htole32() function
/illumos-gate/usr/src/head/
H A Dendian.h51 extern uint32_t htole32(uint32_t);
/illumos-gate/usr/src/contrib/bhyve/dev/nvme/
H A Dnvme.h1782 cmd->nsid = htole32(nsid); in nvme_ns_flush_cmd()
1790 cmd->nsid = htole32(nsid); in nvme_ns_rw_cmd()
1791 cmd->cdw10 = htole32(lba & 0xffffffffu); in nvme_ns_rw_cmd()
1792 cmd->cdw11 = htole32(lba >> 32); in nvme_ns_rw_cmd()
1793 cmd->cdw12 = htole32(count-1); in nvme_ns_rw_cmd()
1815 cmd->nsid = htole32(nsid); in nvme_ns_trim_cmd()
1816 cmd->cdw10 = htole32(num_ranges - 1); in nvme_ns_trim_cmd()
1817 cmd->cdw11 = htole32(NVME_DSM_ATTR_DEALLOCATE); in nvme_ns_trim_cmd()
/illumos-gate/usr/src/lib/libc/sparc/gen/
H A Dendian.c29 htole32(uint32_t in) in htole32() function
/illumos-gate/usr/src/lib/libc/sparcv9/gen/
H A Dendian.c29 htole32(uint32_t in) in htole32() function
/illumos-gate/usr/src/compat/bhyve/sys/
H A Dendian.h128 #define htole32(x) ((uint32_t)(x)) macro
/illumos-gate/usr/src/test/libc-tests/tests/
H A Dendian.c69 test32 = htole32(val32); in endian_fromhost()
/illumos-gate/usr/src/lib/lib9p/common/
H A Dpack.c182 copy = htole32(*val); in l9p_pu32()

12