/illumos-gate/usr/src/tools/btxld/ |
H A D | elfh.c | 40 #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 D | endian.h | 29 #ifndef htole16 30 #define htole16 LE_16 macro
|
H A D | btxld.c | 287 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 D | smbios_test_proc.c | 64 proc->smbpr_clkspeed = htole16(0x1234); in smbios_test_proc_fill() 65 proc->smbpr_maxspeed = htole16(0x5678); in smbios_test_proc_fill() 66 proc->smbpr_curspeed = htole16(0x3210); in smbios_test_proc_fill() 69 proc->smbpr_l1cache = htole16(0x11ca); in smbios_test_proc_fill() 70 proc->smbpr_l2cache = htole16(0x12ca); in smbios_test_proc_fill() 71 proc->smbpr_l3cache = htole16(0x13ca); in smbios_test_proc_fill() 78 proc->smbpr_cflags = htole16(SMB_PRC_64BIT | SMB_PRC_NX); in smbios_test_proc_fill() 79 proc->smbpr_family2 = htole16(0); in smbios_test_proc_fill() 80 proc->smbpr_corecount2 = htole16(0); in smbios_test_proc_fill() 81 proc->smbpr_coresenabled2 = htole16(0); in smbios_test_proc_fill() [all …]
|
H A D | smbios_test_memdevice.c | 65 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() 160 mem.smbmdev_pmic0mfgid = htole16(smbios_memdevice_pmic0_mfg); in smbios_test_memdevice_mktable_37() [all …]
|
H A D | smbios_test_strprop.c | 32 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 D | smbios_test_slot.c | 41 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 D | smbios_test_pinfo.c | 40 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 D | smbios_test_addinfo.c | 119 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 D | smbios_test_extmemdevice.c | 35 ext->smbmdeve_mdev = htole16(smbios_extmemdevice_mdev); in smbios_test_extmem_mktable_common()
|
H A D | smbios.c | 141 hdr->smbh_hdl = htole16(table->stt_nextid); in smbios_test_table_append()
|
/illumos-gate/usr/src/uts/common/io/iwn/ |
H A D | if_iwn.c | 2143 if (val & htole16(IWN_EEPROM_SKU_CAP_11N)) in iwn_read_eeprom() 3412 *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() 3950 desc->segs[0].len = htole16(IWN_HIADDR(data->cmd_paddr) | in iwn_send() 3959 desc->segs[i].len = htole16(IWN_HIADDR(cookie.dmac_laddress) | in iwn_send() [all …]
|
H A D | if_iwnreg.h | 877 #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 D | if_iwncompat.h | 152 #define htole16(x) LE_16(x) macro
|
/illumos-gate/usr/src/cmd/bhyve/common/ |
H A D | acpi.c | 473 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 D | qemu_fwcfg.c | 131 *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 D | endian.h | 71 #define htole16(x) ((uint16_t)(x)) macro 85 #define htole16(x) bswap16((x)) macro
|
/illumos-gate/usr/src/lib/libc/i386/gen/ |
H A D | endian.c | 47 htole16(uint16_t in) in htole16() function
|
/illumos-gate/usr/src/lib/libc/amd64/gen/ |
H A D | endian.c | 23 htole16(uint16_t in) in htole16() function
|
/illumos-gate/usr/src/head/ |
H A D | endian.h | 50 extern uint16_t htole16(uint16_t);
|
/illumos-gate/usr/src/lib/libc/sparc/gen/ |
H A D | endian.c | 23 htole16(uint16_t in) in htole16() function
|
/illumos-gate/usr/src/lib/libc/sparcv9/gen/ |
H A D | endian.c | 23 htole16(uint16_t in) in htole16() function
|
/illumos-gate/usr/src/compat/bhyve/sys/ |
H A D | endian.h | 127 #define htole16(x) ((uint16_t)(x)) macro
|
/illumos-gate/usr/src/test/libc-tests/tests/ |
H A D | endian.c | 67 test16 = htole16(val16); in endian_fromhost()
|
/illumos-gate/usr/src/cmd/etdump/ |
H A D | etdump.c | 51 w = htole16(w); in cd9660_721()
|