Searched refs:le16toh (Results 1 - 25 of 183) sorted by relevance

12345678

/freebsd-11-stable/sys/dev/mpr/
H A Dmpr_sas_lsi.c151 sz = le16toh(event->EventDataLength) * 4;
224 le16toh(phy->AttachedDevHandle),
229 le16toh(phy->AttachedDevHandle));
230 mprsas_prepare_remove(sassc, le16toh(
235 mprsas_prepare_remove(sassc, le16toh(
299 elementType = le16toh(element->ElementFlags) &
360 if (reply && (le16toh(reply->IOCStatus) &
366 le16toh(reply->IOCStatus));
381 le16toh(element->VolDevHandle))) {
384 __func__, le16toh(elemen
[all...]
H A Dmpr_mapping.c151 dpm_entry->MappingInformation = le16toh(dpm_entry->
153 dpm_entry->DeviceIndex = le16toh(dpm_entry->DeviceIndex);
158 dpm_entry->MappingInformation = le16toh(dpm_entry->
160 dpm_entry->DeviceIndex = le16toh(dpm_entry->DeviceIndex);
221 dpm_entry->MappingInformation = le16toh(dpm_entry->
223 dpm_entry->DeviceIndex = le16toh(dpm_entry->DeviceIndex);
227 dpm_entry->MappingInformation = le16toh(dpm_entry->MappingInformation);
228 dpm_entry->DeviceIndex = le16toh(dpm_entry->DeviceIndex);
248 u16 ioc_pg8_flags = le16toh(sc->ioc_pg8.Flags);
250 volume_mapping_flags = le16toh(s
[all...]
H A Dmpr_config.c112 ioc_status = le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK;
144 cm->cm_length = le16toh(mpi_reply->Header.PageLength) * 4;
171 ioc_status = le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK;
244 ioc_status = le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK;
276 cm->cm_length = le16toh(mpi_reply->Header.PageLength) * 4;
303 ioc_status = le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK;
414 ioc_status = le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK;
449 cm->cm_length = le16toh(request->ExtPageLength) * 4;
475 ioc_status = le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK;
552 ioc_status = le16toh(repl
[all...]
/freebsd-11-stable/usr.sbin/bluetooth/hccontrol/
H A Dinfo.c59 rp.manufacturer = le16toh(rp.manufacturer);
64 le16toh(rp.hci_revision));
68 le16toh(rp.lmp_subversion));
156 le16toh(rp.max_acl_size));
158 le16toh(rp.num_acl_pkt));
162 le16toh(rp.num_sco_pkt));
H A Dstatus.c77 fprintf(stdout, "Connection handle: %d\n", le16toh(rp.con_handle));
78 fprintf(stdout, "Failed contact counter: %d\n", le16toh(rp.counter));
158 fprintf(stdout, "Connection handle: %d\n", le16toh(rp.con_handle));
159 fprintf(stdout, "Link quality: %d\n", le16toh(rp.quality));
200 fprintf(stdout, "Connection handle: %d\n", le16toh(rp.con_handle));
H A Dlink_policy.c78 fprintf(stdout, "Connection handle: %d\n", le16toh(rp.con_handle));
194 fprintf(stdout, "Connection handle: %d\n", le16toh(rp.con_handle));
195 fprintf(stdout, "Link policy settings: %#x\n", le16toh(rp.settings));
H A Dlink_control.c165 le16toh(ir->clock_offset));
281 le16toh(ep->con_handle));
356 le16toh(ep->con_handle));
436 le16toh(ep->con_handle));
507 le16toh(ep->con_handle));
509 le16toh(ep->pkt_type));
664 le16toh(ep->con_handle));
731 ep->manufacturer = le16toh(ep->manufacturer);
734 le16toh(ep->con_handle));
738 le16toh(e
[all...]
H A Dsend_recv.c93 cc->opcode = le16toh(cc->opcode);
109 cs->opcode = le16toh(cs->opcode);
/freebsd-11-stable/sys/dev/mps/
H A Dmps_sas_lsi.c149 sz = le16toh(event->EventDataLength) * 4;
221 le16toh(phy->AttachedDevHandle),
226 le16toh(phy->AttachedDevHandle));
227 mpssas_prepare_remove(sassc, le16toh(
232 mpssas_prepare_remove(sassc,le16toh(
300 le16toh(element->VolDevHandle))){
303 __func__, le16toh(element->
318 le16toh(element->VolDevHandle));
367 le16toh(element->PhysDiskDevHandle), 0)){
370 le16toh(elemen
[all...]
H A Dmps_config.c111 ioc_status = le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK;
143 cm->cm_length = le16toh(mpi_reply->Header.PageLength) * 4;
170 ioc_status = le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK;
246 ioc_status = le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK;
275 cm->cm_length = le16toh(mpi_reply->Header.PageLength) * 4;
303 ioc_status = le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK;
506 if ((le16toh(mpi_reply.IOCStatus) &
607 ioc_status = le16toh(reply->IOCStatus) & MPI2_IOCSTATUS_MASK;
642 cm->cm_length = le16toh(request->ExtPageLength) * 4;
668 ioc_status = le16toh(repl
[all...]
H A Dmps_mapping.c151 dpm_entry->MappingInformation = le16toh(dpm_entry->
153 dpm_entry->DeviceIndex = le16toh(dpm_entry->DeviceIndex);
158 dpm_entry->MappingInformation = le16toh(dpm_entry->
160 dpm_entry->DeviceIndex = le16toh(dpm_entry->DeviceIndex);
221 dpm_entry->MappingInformation = le16toh(dpm_entry->
223 dpm_entry->DeviceIndex = le16toh(dpm_entry->DeviceIndex);
227 dpm_entry->MappingInformation = le16toh(dpm_entry->MappingInformation);
228 dpm_entry->DeviceIndex = le16toh(dpm_entry->DeviceIndex);
248 u16 ioc_pg8_flags = le16toh(sc->ioc_pg8.Flags);
250 volume_mapping_flags = le16toh(s
[all...]
/freebsd-11-stable/sys/dev/bnxt/
H A Dbnxt_hwrm.c131 cp_ring_id = le16toh(req->cmpl_ring);
184 le16toh(req->seq_id));
198 softc->hwrm_cmd_timeo, le16toh(req->req_type),
199 le16toh(req->seq_id), msg_len,
204 err = le16toh(resp->error_code);
341 softc->ver_info->chip_num = le16toh(resp->chip_num);
348 softc->hwrm_max_req_len = le16toh(resp->max_req_win_len);
350 softc->hwrm_cmd_timeo = le16toh(resp->def_req_timeout);
437 func->fw_fid = le16toh(resp->fid);
439 func->max_rsscos_ctxs = le16toh(res
[all...]
H A Dbnxt_txrx.c215 err = (le16toh(cmpl[cons].errors_v) &
350 type = le16toh(cmp[cons].type) & CMPL_BASE_TYPE_MASK;
481 ri->iri_frags[0].irf_len = le16toh(rcp->len);
482 ri->iri_len = le16toh(rcp->len);
490 errors = le16toh(rcph->errors_v2);
523 ri->iri_frags[i].irf_len = le16toh(acp->len);
524 ri->iri_len += le16toh(acp->len);
550 if (le16toh(tpas->low.flags_type) & RX_TPA_START_CMPL_FLAGS_RSS_VALID) {
563 ri->iri_frags[0].irf_len = le16toh(tpas->low.len);
564 ri->iri_len = le16toh(tpa
[all...]
/freebsd-11-stable/sys/netgraph/bluetooth/l2cap/
H A Dng_l2cap_evnt.c114 hdr->length = le16toh(hdr->length);
115 hdr->dcid = le16toh(hdr->dcid);
186 hdr->length = le16toh(hdr->length);
301 hdr->length = le16toh(hdr->length);
393 cp->reason = le16toh(cp->reason);
471 psm = le16toh(cp->psm);
472 dcid = le16toh(cp->scid);
534 dcid = le16toh(cp->dcid);
535 scid = le16toh(cp->scid);
536 result = le16toh(c
[all...]
/freebsd-11-stable/sys/net80211/
H A Dieee80211_radiotap.c120 sizeof(struct ieee80211_frame) + le16toh(th->it_len),
214 len = le16toh(th->it_len);
236 len = le16toh(rh->it_len);
258 int len = le16toh(rh->it_len);
362 if (off + items[i].width > le16toh(rh->it_len)) {
366 off, items[i].width, le16toh(rh->it_len));
/freebsd-11-stable/contrib/openbsm/compat/
H A Dendian.h135 #define le16toh(x) ((uint16_t)(x)) macro
149 #define le16toh(x) bswap16((x)) macro
/freebsd-11-stable/contrib/ofed/include/
H A Dbyteorder.h45 #define le16_to_cpu le16toh
59 #define le16_to_cpup(x) le16toh(*((uint16_t *)x))
/freebsd-11-stable/sys/compat/linuxkpi/common/include/asm/
H A Dbyteorder.h49 #define le16_to_cpu(x) le16toh(x)
63 #define le16_to_cpup(x) le16toh(*((const uint16_t *)(x)))
/freebsd-11-stable/contrib/smbfs/lib/smb/
H A Drap.c292 *value = le16toh(*(u_int16_t*)rap->r_npbuf);
322 rap->r_result = le16toh(*rp++);
323 conv = le16toh(*rp++);
331 rap->r_entries = entries = le16toh(*(u_int16_t*)rap->r_npbuf);
/freebsd-11-stable/sys/netgraph/bluetooth/hci/
H A Dng_hci_cmds.c195 ep->opcode = le16toh(ep->opcode);
294 ep->opcode = le16toh(ep->opcode);
415 opcode = le16toh(mtod(m, ng_hci_cmd_pkt_t *)->opcode);
506 h = NG_HCI_CON_HANDLE(le16toh(rp->con_handle));
702 le16toh(rp->num_acl_pkt), /* number */
703 le16toh(rp->max_acl_size), /* size */
704 le16toh(rp->num_acl_pkt) /* free */
709 le16toh(rp->num_sco_pkt), /* number */
711 le16toh(rp->num_sco_pkt) /* free */
H A Dng_hci_evnt.c523 con->con_handle = NG_HCI_CON_HANDLE(le16toh(ep->handle));
645 n->clock_offset = le16toh(n->clock_offset);
716 con->con_handle = NG_HCI_CON_HANDLE(le16toh(ep->con_handle));
887 h = NG_HCI_CON_HANDLE(le16toh(ep->con_handle));
924 h = NG_HCI_CON_HANDLE(le16toh(ep->con_handle));
975 h = NG_HCI_CON_HANDLE(le16toh(ep->con_handle));
1026 h = NG_HCI_CON_HANDLE(le16toh(ep->con_handle));
1121 h = NG_HCI_CON_HANDLE(le16toh(h));
1126 p = le16toh(p);
1175 u_int16_t h = NG_HCI_CON_HANDLE(le16toh(e
[all...]
/freebsd-11-stable/sys/sys/
H A Dendian.h78 #define le16toh(x) ((uint16_t)(x)) macro
92 #define le16toh(x) bswap16((x)) macro
/freebsd-11-stable/sys/geom/label/
H A Dg_label_gpt.c64 ch = (bo == BIG_ENDIAN) ? be16toh(*str) : le16toh(*str);
69 : le16toh(*str);
/freebsd-11-stable/sys/mips/nlm/
H A Dboard_cpld.c58 return le16toh(val);
/freebsd-11-stable/sys/dev/iwm/
H A Dif_iwm_phy_db.c318 enum iwm_phy_db_section_type type = le16toh(phy_db_notif->type);
319 uint16_t size = le16toh(phy_db_notif->length);
327 chg_id = le16toh(*(uint16_t *)phy_db_notif->data);
341 chg_id = le16toh(*(uint16_t *)phy_db_notif->data);
437 if (le16toh(txp_chg->max_channel_idx) >= ch_index)

Completed in 382 milliseconds

12345678