/freebsd-10.2-release/usr.sbin/kgzip/ |
H A D | elfhdr.c | 46 htole16(ET_EXEC), /* e_type */ 47 htole16(EM_386), /* e_machine */ 53 htole16(sizeof(Elf32_Ehdr)), /* e_ehsize */ 56 htole16(sizeof(Elf32_Shdr)), /* e_shentsize */ 57 htole16(KGZ_SHNUM), /* e_shnum */ 58 htole16(KGZ_SH_SHSTRTAB) /* e_shstrndx */ 131 htole16(SHN_UNDEF) /* st_shndx */ 139 htole16(KGZ_SH_DATA) /* st_shndx */ 147 htole16(KGZ_SH_DATA) /* st_shndx */
|
/freebsd-10.2-release/usr.sbin/btxld/ |
H A D | elfh.c | 47 htole16(ET_EXEC), /* e_type */ 48 htole16(EM_386), /* e_machine */ 54 htole16(sizeof(elfhdr.e)), /* e_ehsize */ 55 htole16(sizeof(elfhdr.p[0])), /* e_phentsize */ 56 htole16(sizeof(elfhdr.p) / sizeof(elfhdr.p[0])), /* e_phnum */ 57 htole16(sizeof(elfhdr.sh[0])), /* e_shentsize */ 58 htole16(sizeof(elfhdr.sh) / sizeof(elfhdr.sh[0])), /* e_shnum */ 59 htole16(1) /* e_shstrndx */
|
/freebsd-10.2-release/sys/netgraph/bluetooth/l2cap/ |
H A D | ng_l2cap_cmds.h | 68 c->param.reason = htole16((_reason)); \ 71 c->data.mtu.mtu = htole16((_mtu)); \ 74 c->data.cid.scid = htole16((_scid)); \ 75 c->data.cid.dcid = htole16((_dcid)); \ 82 c->hdr.length = htole16(c->hdr.length); \ 102 c->hdr.length = htole16(sizeof(c->param)); \ 104 c->param.psm = htole16((_psm)); \ 105 c->param.scid = htole16((_scid)); \ 125 c->hdr.length = htole16(sizeof(c->param)); \ 127 c->param.dcid = htole16((_dci [all...] |
/freebsd-10.2-release/sys/gnu/fs/reiserfs/ |
H A D | reiserfs_fs_sb.h | 55 #define set_sb_version(sbi, v) ((sbi)->s_v1.s_version = htole16(v)) 58 #define set_sb_blocksize(sbi, v) ((sbi)->s_v1.s_blocksize = htole16(v)) 66 #define set_sb_bmap_nr(sbi, v) ((sbi)->s_v1.s_bmap_nr = htole16(v))
|
/freebsd-10.2-release/sys/dev/mwl/ |
H A D | mwlhal.c | 100 pCmd->CmdHdr.Cmd = htole16(cmd); \ 101 pCmd->CmdHdr.Length = htole16(sizeof(type)); \ 271 hvap->bss_type = htole16(WL_MAC_TYPE_PRIMARY_AP); 276 hvap->bss_type = htole16(WL_MAC_TYPE_SECONDARY_AP); 281 hvap->bss_type = htole16(WL_MAC_TYPE_PRIMARY_CLIENT); 286 hvap->bss_type = htole16(WL_MAC_TYPE_SECONDARY_CLIENT); 738 pCmd->Action = htole16(HostCmd_ACT_GEN_SET); 742 pCmd->Control = htole16(preamble); 743 pCmd->RadioOn = htole16(onoff); 769 pCmd->Action = htole16(dirSe [all...] |
H A D | if_mwlvar.h | 193 bas->qos = htole16(tid | IEEE80211_QOS_ACKPOLICY_BA); 214 return (qos & htole16(IEEE80211_QOS_TID|IEEE80211_QOS_ACKPOLICY)) ==
|
/freebsd-10.2-release/usr.sbin/bluetooth/hccontrol/ |
H A D | link_policy.c | 54 cp.con_handle = htole16(cp.con_handle); 170 cp.con_handle = htole16(cp.con_handle); 213 cp.con_handle = htole16(cp.con_handle); 220 cp.settings = htole16(cp.settings);
|
H A D | status.c | 54 cp.con_handle = htole16(cp.con_handle); 96 cp.con_handle = htole16(cp.con_handle); 135 cp.con_handle = htole16(cp.con_handle); 177 cp.con_handle = htole16(cp.con_handle);
|
H A D | link_control.c | 178 cp.pkt_type = htole16( NG_HCI_PKT_DM1 | NG_HCI_PKT_DH1 | 201 cp.clock_offset = htole16(cp.clock_offset); 229 cp.pkt_type = htole16(cp.pkt_type); 316 cp.con_handle = htole16(cp.con_handle); 373 cp.pkt_type = htole16(NG_HCI_PKT_HV1 | NG_HCI_PKT_HV2 | NG_HCI_PKT_HV3); 387 cp.pkt_type = htole16(cp.pkt_type); 395 cp.con_handle = htole16(cp.con_handle); 459 cp.con_handle = htole16(cp.con_handle); 466 cp.pkt_type = htole16(cp.pkt_type); 534 cp.clock_offset = htole16(c [all...] |
H A D | host_controller_baseband.c | 195 cmd.hdr.opcode = htole16(NG_HCI_OPCODE(NG_HCI_OGF_HC_BASEBAND, 493 cp.timeout = htole16(cp.timeout); 558 cp.timeout = htole16(cp.timeout); 700 cp.page_scan_interval = htole16(cp.page_scan_interval); 701 cp.page_scan_window = htole16(cp.page_scan_window); 782 htole16(cp.inquiry_scan_interval); 783 cp.inquiry_scan_window = htole16(cp.inquiry_scan_window); 1054 cp.settings = htole16(cp.settings); 1289 cp.con_handle = htole16(cp.con_handle); 1334 cp.con_handle = htole16(c [all...] |
/freebsd-10.2-release/sys/dev/malo/ |
H A D | if_malohal.c | 61 pCmd->cmdhdr.cmd = htole16(_cmd); \ 62 pCmd->cmdhdr.length = htole16(sizeof(_type)); \ 354 mh->mh_cmdbuf[0] = htole16(MALO_HOSTCMD_CODE_DNLD); 355 mh->mh_cmdbuf[1] = htole16(bsize); 415 mh->mh_cmdbuf[0] = htole16(MALO_HOSTCMD_CODE_DNLD); 416 mh->mh_cmdbuf[1] = htole16(dsize); 417 mh->mh_cmdbuf[2] = htole16(seqnum); 617 cmd->action = htole16(dirset); 622 cmd->mode = htole16(ant); 647 cmd->action = htole16(MALO_HOSTCMD_ACT_GEN_SE [all...] |
/freebsd-10.2-release/contrib/ofed/include/infiniband/ |
H A D | byteorder.h | 44 #define cpu_to_le16 htole16 58 #define cpu_to_le16p(x) htole16(*((uint16_t *)x))
|
/freebsd-10.2-release/contrib/openbsm/compat/ |
H A D | endian.h | 129 #define htole16(x) ((uint16_t)(x)) macro 143 #define htole16(x) bswap16((x)) macro
|
/freebsd-10.2-release/sys/ofed/include/asm/ |
H A D | byteorder.h | 47 #define cpu_to_le16 htole16 61 #define cpu_to_le16p(x) htole16(*((uint16_t *)x))
|
/freebsd-10.2-release/sys/net80211/ |
H A D | ieee80211_radiotap.c | 71 th->it_len = htole16(roundup2(tlen, sizeof(uint32_t))); 87 rh->it_len = htole16(roundup2(rlen, sizeof(uint32_t))); 138 rc->freq = htole16(c->ic_freq); 139 rc->flags = htole16(c->ic_flags); 153 rc->freq = htole16(c->ic_freq);
|
/freebsd-10.2-release/sys/dev/usb/wlan/ |
H A D | if_upgt.c | 448 stats->header1.len = htole16( 452 stats->header2.type = htole16(UPGT_H2_TYPE_STATS); 563 led->header1.len = htole16( 568 led->header2.type = htole16(UPGT_H2_TYPE_LED); 573 led->mode = htole16(UPGT_LED_MODE_SET); 575 led->action_tmp = htole16(UPGT_LED_ACTION_OFF); 579 led->mode = htole16(UPGT_LED_MODE_SET); 581 led->action_tmp = htole16(UPGT_LED_ACTION_ON); 594 led->mode = htole16(UPGT_LED_MODE_SET); 595 led->action_fix = htole16(UPGT_LED_ACTION_OF [all...] |
/freebsd-10.2-release/sys/sys/ |
H A D | endian.h | 71 #define htole16(x) ((uint16_t)(x)) macro 85 #define htole16(x) bswap16((x)) macro
|
/freebsd-10.2-release/sys/mips/nlm/ |
H A D | board_cpld.c | 64 data = htole16(data);
|
/freebsd-10.2-release/usr.sbin/bluetooth/hcsecd/ |
H A D | hcsecd.c | 278 cmd->opcode = htole16(NG_HCI_OPCODE(NG_HCI_OGF_LINK_CONTROL, 293 cmd->opcode = htole16(NG_HCI_OPCODE(NG_HCI_OGF_LINK_CONTROL, 337 cmd->opcode = htole16(NG_HCI_OPCODE(NG_HCI_OGF_LINK_CONTROL, 351 cmd->opcode = htole16(NG_HCI_OPCODE(NG_HCI_OGF_LINK_CONTROL,
|
/freebsd-10.2-release/sys/netgraph/bluetooth/hci/ |
H A D | ng_hci_ulpi.c | 238 req->hdr.opcode = htole16(NG_HCI_OPCODE(NG_HCI_OGF_LINK_CONTROL, 255 req->cp.pkt_type = htole16(req->cp.pkt_type); 275 req->cp.clock_offset = htole16(n->clock_offset); 431 req->hdr.opcode = htole16(NG_HCI_OPCODE(NG_HCI_OGF_LINK_CONTROL, 434 req->cp.con_handle = htole16(acl_con->con_handle); 448 req->cp.pkt_type = htole16(req->cp.pkt_type); 544 req->hdr.opcode = htole16(NG_HCI_OPCODE(NG_HCI_OGF_LINK_CONTROL, 547 req->cp.con_handle = htole16(ep->con_handle); 790 req->hdr.opcode = htole16(NG_HCI_OPCODE( 824 req->hdr.opcode = htole16(NG_HCI_OPCOD [all...] |
/freebsd-10.2-release/sys/dev/iwn/ |
H A D | if_iwn.c | 1731 if (val & htole16(IWN_EEPROM_SKU_CAP_11N)) 2571 if (stat->flags & htole16(IWN_STAT_FLAG_SHPREAMBLE)) 3497 *w = htole16(len + 8); 3515 *w = htole16(id << 12 | (len + 8)); 3533 *w = (*w & htole16(0xf000)) | htole16(1); 3594 htole16(ni->ni_txseqs[tid] << IEEE80211_SEQ_SEQ_SHIFT); 3703 tx->timeout = htole16(3); 3705 tx->timeout = htole16(2); 3707 tx->timeout = htole16( [all...] |
/freebsd-10.2-release/sys/dev/le/ |
H A D | lancevar.h | 132 #define LE_HTOLE16(v) (((sc)->sc_flags & LE_BSWAP) ? htole16(v) : (v))
|
/freebsd-10.2-release/tools/tools/net80211/wlaninject/ |
H A D | wlaninject.c | 611 *(uint16_t*)wh->i_dur = htole16(atoi(optarg)); 631 *(uint16_t*)wh->i_seq |= htole16((atoi(optarg) & 0xfff) 697 *x = htole16(atoi(optarg)); 705 *x = htole16(atoi(optarg)); 717 *x = htole16(atoi(optarg));
|
/freebsd-10.2-release/sys/dev/ubsec/ |
H A D | ubsec.c | 610 if ((dmap->d_dma->d_mcr.mcr_flags & htole16(UBS_MCR_DONE)) == 0) 656 if ((mcr->mcr_flags & htole16(UBS_MCR_DONE)) == 0) { 790 q->q_dma->d_dma->d_mcr.mcr_pkts = htole16(npkts); 1085 dmap->d_dma->d_mcr.mcr_pkts = htole16(1); 1143 ctx.pc_flags |= htole16(UBS_PKTCTX_ENC_3DES); 1160 ctx.pc_flags |= htole16(UBS_PKTCTX_INBOUND); 1189 ctx.pc_flags |= htole16(UBS_PKTCTX_AUTH_MD5); 1191 ctx.pc_flags |= htole16(UBS_PKTCTX_AUTH_SHA1); 1243 ctx.pc_offset = htole16(coffset >> 2); 1271 dmap->d_dma->d_mcr.mcr_pktlen = htole16(stheen [all...] |
/freebsd-10.2-release/sys/dev/nfe/ |
H A D | if_nfe.c | 1962 desc64->length = htole16(m->m_len); 1963 desc64->flags = htole16(NFE_RX_READY); 1966 desc32->length = htole16(m->m_len); 1967 desc32->flags = htole16(NFE_RX_READY); 1988 desc64->length = htole16(m->m_len); 1989 desc64->flags = htole16(NFE_RX_READY); 1992 desc32->length = htole16(m->m_len); 1993 desc32->flags = htole16(NFE_RX_READY); 2041 desc64->length = htole16(segs[0].ds_len); 2042 desc64->flags = htole16(NFE_RX_READ [all...] |