Home
last modified time | relevance | path

Searched refs:htole16 (Results 1 – 25 of 29) sorted by relevance

12

/illumos-gate/usr/src/tools/btxld/
H A Delfh.c40 #ifndef htole16
41 #define htole16 LE_16 macro
57 htole16(ET_EXEC), /* e_type */
58 htole16(EM_386), /* e_machine */
64 htole16(sizeof(elfhdr.e)), /* e_ehsize */
65 htole16(sizeof(elfhdr.p[0])), /* e_phentsize */
66 htole16(sizeof(elfhdr.p) / sizeof(elfhdr.p[0])), /* e_phnum */
67 htole16(sizeof(elfhdr.sh[0])), /* e_shentsize */
68 htole16(sizeof(elfhdr.sh) / sizeof(elfhdr.sh[0])), /* e_shnum */
69 htole16(1) /* e_shstrndx */
H A Dendian.h29 #ifndef htole16
30 #define htole16 LE_16 macro
H A Dbtxld.c287 btxle.btx_pgctl = htole16(btxle.btx_pgctl); in btxld()
288 btxle.btx_textsz = htole16(btxle.btx_textsz); in btxld()
/illumos-gate/usr/src/test/util-tests/tests/smbios/
H A Dsmbios_test_proc.c61 proc->smbpr_clkspeed = htole16(0x1234); in smbios_test_proc_fill()
62 proc->smbpr_maxspeed = htole16(0x5678); in smbios_test_proc_fill()
63 proc->smbpr_curspeed = htole16(0x3210); in smbios_test_proc_fill()
66 proc->smbpr_l1cache = htole16(0x11ca); in smbios_test_proc_fill()
67 proc->smbpr_l2cache = htole16(0x12ca); in smbios_test_proc_fill()
68 proc->smbpr_l3cache = htole16(0x13ca); in smbios_test_proc_fill()
76 proc->smbpr_family2 = htole16(0); in smbios_test_proc_fill()
77 proc->smbpr_corecount2 = htole16(0); in smbios_test_proc_fill()
79 proc->smbpr_threadcount2 = htole16(0); in smbios_test_proc_fill()
80 proc->smpbr_threaden = htole16(11); in smbios_test_proc_fill()
[all …]
H A Dsmbios_test_memdevice.c65 mem->smbmdev_error = htole16(0xfffe); in smbios_test_memdevice_fill()
101 mem.smbmdev_speed = htole16(smbios_memdevice_speed); in smbios_test_memdevice_mktable_32()
102 mem.smbmdev_clkspeed = htole16(smbios_memdevice_clkspeed); in smbios_test_memdevice_mktable_32()
119 mem.smbmdev_speed = htole16(smbios_memdevice_speed); in smbios_test_memdevice_mktable_33()
120 mem.smbmdev_clkspeed = htole16(smbios_memdevice_clkspeed); in smbios_test_memdevice_mktable_33()
137 mem.smbmdev_speed = htole16(0xffff); in smbios_test_memdevice_mktable_33ext()
138 mem.smbmdev_clkspeed = htole16(0xffff); in smbios_test_memdevice_mktable_33ext()
155 mem.smbmdev_speed = htole16(0xffff); in smbios_test_memdevice_mktable_37()
156 mem.smbmdev_clkspeed = htole16(0xffff); in smbios_test_memdevice_mktable_37()
162 mem.smbmdev_rcdmfgid = htole16(smbios_memdevice_rcd_mfg); in smbios_test_memdevice_mktable_37()
[all …]
H A Dsmbios_test_strprop.c32 str.smbstrp_prop_id = htole16(SMB_STRP_UEFI_DEVPATH); in smbios_test_strprop_mktable_basic()
34 str.smbstrp_phdl = htole16(smbios_strprop_hdl); in smbios_test_strprop_mktable_basic()
51 str.smbstrp_prop_id = htole16(SMB_STRP_UEFI_DEVPATH); in smbios_test_strprop_mktable_badstr()
53 str.smbstrp_phdl = htole16(smbios_strprop_hdl); in smbios_test_strprop_mktable_badstr()
85 str.smbstrp_prop_id = htole16(0); in smbios_test_strprop_mktable_invlen2()
87 str.smbstrp_phdl = htole16(0); in smbios_test_strprop_mktable_invlen2()
H A Dsmbios_test_slot.c41 slot->smbsl_id = htole16(1); in smbios_test_slot_fill()
44 slot->smbsl_sg = htole16(1); in smbios_test_slot_fill()
61 peers[0].smbspb_group_no = htole16(1); in smbios_test_slot_mktable()
66 peers[1].smbspb_group_no = htole16(1); in smbios_test_slot_mktable()
99 cont.smbsl_pitch = htole16(smbios_slot_pitch); in smbios_test_slot_mktable_nopeers()
139 peers[0].smbspb_group_no = htole16(1); in smbios_test_slot_mktable_34_peers()
146 cont.smbsl_pitch = htole16(smbios_slot_pitch); in smbios_test_slot_mktable_34_peers()
H A Dsmbios_test_pinfo.c40 pi.smbpai_proc = htole16(smbios_pinfo_phandle); in smbios_test_pinfo_mktable_amd64()
113 pi.smbpai_proc = htole16(smbios_pinfo_phandle); in smbios_test_pinfo_mktable_riscv()
377 pi.smbpai_proc = htole16(smbios_pinfo_phandle); in smbios_test_pinfo_mktable_invlen1()
399 pi.smbpai_proc = htole16(smbios_pinfo_phandle); in smbios_test_pinfo_mktable_invlen2()
427 pi.smbpai_proc = htole16(smbios_pinfo_phandle); in smbios_test_pinfo_mktable_invlen3()
457 pi.smbpai_proc = htole16(smbios_pinfo_phandle); in smbios_test_pinfo_mktable_invlen4()
H A Dsmbios_test_addinfo.c119 ent0.smbaie_rhdl = htole16(smbios_addinfo_ent0_hdl); in smbios_test_addinfo_mktable_ents()
125 ent1.smbaie_rhdl = htole16(smbios_addinfo_ent1_hdl); in smbios_test_addinfo_mktable_ents()
132 ent2.smbaie_rhdl = htole16(smbios_addinfo_ent2_hdl); in smbios_test_addinfo_mktable_ents()
358 ent0.smbaie_rhdl = htole16(smbios_addinfo_ent0_hdl); in smbios_test_addinfo_mktable_invlen_multient()
H A Dsmbios_test_extmemdevice.c35 ext->smbmdeve_mdev = htole16(smbios_extmemdevice_mdev); in smbios_test_extmem_mktable_common()
H A Dsmbios.c141 hdr->smbh_hdl = htole16(table->stt_nextid); in smbios_test_table_append()
/illumos-gate/usr/src/uts/common/io/iwn/
H A Dif_iwn.c3412 *w = htole16(len + 8); in iwn4965_update_sched()
3430 *w = htole16(id << 12 | (len + 8)); in iwn5000_update_sched()
3448 *w = (*w & htole16(0xf000)) | htole16(1); in iwn5000_reset_sched()
3891 tx->timeout = htole16(3); in iwn_send()
3893 tx->timeout = htole16(2); in iwn_send()
3895 tx->timeout = htole16(0); in iwn_send()
3911 tx->len = htole16(totlen); in iwn_send()
4635 cmd.lintval = htole16(10); in iwn_set_timing()
5727 hdr->rxchain = htole16(rxchain); in iwn_scan()
5880 hdr->len = htole16(buflen); in iwn_scan()
[all …]
H A Dif_iwnreg.h877 #define IWN_GOOD_CRC_TH_DEFAULT htole16(1)
878 #define IWN_GOOD_CRC_TH_NEVER htole16(0xffff)
960 #define IWN_BT_VALID_ENABLE_FLAGS htole16(1 << 0)
961 #define IWN_BT_VALID_BOOST htole16(1 << 1)
962 #define IWN_BT_VALID_MAX_KILL htole16(1 << 2)
963 #define IWN_BT_VALID_3W_TIMERS htole16(1 << 3)
964 #define IWN_BT_VALID_KILL_ACK_MASK htole16(1 << 4)
965 #define IWN_BT_VALID_KILL_CTS_MASK htole16(1 << 5)
966 #define IWN_BT_VALID_REDUCED_TX_PWR htole16(1 << 6)
967 #define IWN_BT_VALID_3W_LUT htole16(1 << 7)
H A Dif_iwncompat.h152 #define htole16(x) LE_16(x) macro
/illumos-gate/usr/src/cmd/bhyve/
H A Dacpi.c473 fadt.SciInterrupt = htole16(SCI_INT); in build_fadt()
486 fadt.BootFlags = htole16(ACPI_FADT_NO_VGA | ACPI_FADT_NO_ASPM); in build_fadt()
599 madt_irq_override.IntiFlags = htole16( in build_madt()
609 madt_irq_override.IntiFlags = htole16( in build_madt()
619 madt_lapic_nmi.IntiFlags = htole16( in build_madt()
H A Dqemu_fwcfg.c131 *eax = htole16(fwcfg_sc.selector.bits); in qemu_fwcfg_selector_port_handler()
268 *fwcfg_max_cpus = htole16(guest_ncpus); in qemu_fwcfg_add_item_max_cpus()
282 *fwcfg_max_cpus = htole16(guest_ncpus); in qemu_fwcfg_add_item_nb_cpus()
/illumos-gate/usr/src/boot/sys/sys/
H A Dendian.h71 #define htole16(x) ((uint16_t)(x)) macro
85 #define htole16(x) bswap16((x)) macro
/illumos-gate/usr/src/lib/libc/i386/gen/
H A Dendian.c47 htole16(uint16_t in) in htole16() function
/illumos-gate/usr/src/lib/libc/amd64/gen/
H A Dendian.c23 htole16(uint16_t in) in htole16() function
/illumos-gate/usr/src/head/
H A Dendian.h50 extern uint16_t htole16(uint16_t);
/illumos-gate/usr/src/lib/libc/sparc/gen/
H A Dendian.c23 htole16(uint16_t in) in htole16() function
/illumos-gate/usr/src/lib/libc/sparcv9/gen/
H A Dendian.c23 htole16(uint16_t in) in htole16() function
/illumos-gate/usr/src/compat/bhyve/sys/
H A Dendian.h127 #define htole16(x) ((uint16_t)(x)) macro
/illumos-gate/usr/src/test/libc-tests/tests/
H A Dendian.c67 test16 = htole16(val16); in endian_fromhost()
/illumos-gate/usr/src/cmd/etdump/
H A Detdump.c51 w = htole16(w); in cd9660_721()

12