Searched refs:le32toh (Results 1 - 25 of 38) sorted by relevance

12

/haiku-fatelf/src/libs/compat/freebsd_network/compat/sys/
H A Dendian.h71 #define le32toh(x) ((uint32_t)(x)) macro
85 #define le32toh(x) bswap32((x)) macro
/haiku-fatelf/src/add-ons/kernel/drivers/network/wlan/iprowifi2100/dev/ipw/
H A Dif_ipw.c486 if (fp->datasize < sizeof *hdr + le32toh(hdr->mainsz) +
487 le32toh(hdr->ucodesz)) {
1014 ipw_cmdname(le32toh(cmd->type)), le32toh(cmd->type),
1015 le32toh(cmd->subtype), le32toh(cmd->seq), le32toh(cmd->len),
1016 le32toh(cmd->status)));
1033 state = le32toh(*mtod(sbuf->m, uint32_t *));
1197 DPRINTFN(5, ("received frame len=%u, rssi=%u\n", le32toh(statu
[all...]
/haiku-fatelf/src/add-ons/kernel/drivers/network/pcnet/dev/le/
H A Dlancevar.h139 #define LE_LE32TOH(v) (((sc)->sc_flags & LE_BSWAP) ? le32toh(v) : (v))
/haiku-fatelf/src/add-ons/kernel/drivers/network/wlan/iprowifi4965/dev/iwn/
H A Dif_iwn.c1796 le32toh(sc->eeprom_crystal));
2318 flags = le32toh(*(uint32_t *)(head + len));
2537 len = (le32toh(desc->len) & 0x3fff) - 4;
2629 if (le32toh(stats->rx.general.flags) != 1) {
2660 le32toh(stat->status));
2668 le32toh(stat->status) & 0xff);
2687 le32toh(stat->status));
2865 seqno = le32toh(*(status + nframes)) & 0xfff;
2976 misses = le32toh(miss->consecutive);
2980 misses, le32toh(mis
[all...]
/haiku-fatelf/src/add-ons/kernel/drivers/network/wlan/marvell88w8335/dev/malo/
H A Dif_malohal.c567 hw->wcbbase[0] = le32toh(cmd->wcbbase0) & 0x0000ffff;
568 hw->wcbbase[1] = le32toh(cmd->wcbbase1) & 0x0000ffff;
569 hw->wcbbase[2] = le32toh(cmd->wcbbase2) & 0x0000ffff;
570 hw->wcbbase[3] = le32toh(cmd->wcbbase3) & 0x0000ffff;
571 hw->rxdesc_read = le32toh(cmd->rxpdrd_ptr)& 0x0000ffff;
572 hw->rxdesc_write = le32toh(cmd->rxpdwr_ptr)& 0x0000ffff;
574 hw->fw_releasenum = le32toh(cmd->fw_releasenum);
H A Dif_malo.c892 uint32_t status = le32toh(ds->status);
898 le32toh(ds->physnext), le32toh(ds->physbuffdata),
910 uint32_t status = le32toh(ds->status);
916 le32toh(ds->physnext),
917 le32toh(ds->pktptr), le16toh(ds->pktlen), status,
922 le32toh(ds->sap_pktinfo), le16toh(ds->format));
1000 status = le32toh(ds->status);
2087 readptr = le32toh(ds->physnext);
/haiku-fatelf/src/add-ons/kernel/drivers/network/ipro100/dev/fxp/
H A Dif_fxp.c2047 hsp->tx_good += le32toh(sp->tx_good);
2048 hsp->tx_maxcols += le32toh(sp->tx_maxcols);
2049 hsp->tx_latecols += le32toh(sp->tx_latecols);
2050 hsp->tx_underruns += le32toh(sp->tx_underruns);
2051 hsp->tx_lostcrs += le32toh(sp->tx_lostcrs);
2052 hsp->tx_deffered += le32toh(sp->tx_deffered);
2053 hsp->tx_single_collisions += le32toh(sp->tx_single_collisions);
2055 le32toh(sp->tx_multiple_collisions);
2056 hsp->tx_total_collisions += le32toh(sp->tx_total_collisions);
2057 hsp->rx_good += le32toh(s
[all...]
/haiku-fatelf/headers/private/bluetooth/
H A Dl2cap.h36 #define le32toh(x) (x) macro
/haiku-fatelf/src/add-ons/kernel/drivers/network/wlan/iprowifi3945/dev/wpi/
H A Dif_wpi.c363 rtextsz = le32toh(hdr->rtextsz);
364 rdatasz = le32toh(hdr->rdatasz);
365 itextsz = le32toh(hdr->itextsz);
366 idatasz = le32toh(hdr->idatasz);
367 btextsz = le32toh(hdr->btextsz);
388 (le32toh(hdr->version) & 0xff000000) >> 24,
389 (le32toh(hdr->version) & 0x00ff0000) >> 16,
390 (le32toh(hdr->version) & 0x0000ffff),
1475 "rate=%x chan=%d tstamp=%ju\n", ring->cur, le32toh(desc->len),
1480 if ((le32toh(tai
[all...]
/haiku-fatelf/src/add-ons/kernel/bus_managers/firewire/
H A Dfwohcireg.h98 #define le32toh(x) ((uint32_t)__swap_int32(x)) macro
101 #define FWOHCI_DMA_READ(x) le32toh(x)
/haiku-fatelf/src/add-ons/kernel/network/protocols/l2cap/
H A Dl2cap_signal.cpp415 val->flow.token_rate = le32toh(val->flow.token_rate);
416 val->flow.token_bucket_size = le32toh(val->flow.token_bucket_size);
417 val->flow.peak_bandwidth = le32toh(val->flow.peak_bandwidth);
418 val->flow.latency = le32toh(val->flow.latency);
419 val->flow.delay_variation = le32toh(val->flow.delay_variation);
/haiku-fatelf/src/add-ons/kernel/drivers/network/wlan/iprowifi2200/dev/iwi/
H A Dif_iwi.c1520 beacon->state, le32toh(beacon->number)));
1530 if (le32toh(beacon->number) >= vap->iv_bmissthreshold) {
1532 le32toh(beacon->number),
2158 if ((IWI_FW_GET_MAJOR(le32toh(hdr->version)) != IWI_FW_REQ_MAJOR) ||
2159 (IWI_FW_GET_MINOR(le32toh(hdr->version)) != IWI_FW_REQ_MINOR)) {
2161 fp->name, IWI_FW_GET_MAJOR(le32toh(hdr->version)),
2162 IWI_FW_GET_MINOR(le32toh(hdr->version)), IWI_FW_REQ_MAJOR,
2178 if (hdr != NULL && le32toh(hdr->mode) != IWI_FW_MODE_UCODE) {
2291 if (fp->datasize < sizeof(*hdr) + le32toh(hdr->bsize) + le32toh(hd
[all...]
/haiku-fatelf/src/add-ons/kernel/drivers/network/wlan/ralinkwifi/dev/ral/
H A Drt2560.c896 if ((le32toh(desc->flags) & RT2560_TX_BUSY) ||
897 (le32toh(desc->flags) & RT2560_TX_CIPHER_BUSY))
901 if ((le32toh(desc->flags) & RT2560_TX_CIPHER_MASK) ==
942 flags = le32toh(desc->flags);
1045 flags = le32toh(desc->flags);
1141 if ((le32toh(desc->flags) & RT2560_RX_BUSY) ||
1142 (le32toh(desc->flags) & RT2560_RX_CIPHER_BUSY))
1150 if ((le32toh(desc->flags) & RT2560_RX_CIPHER_MASK) != 0 &&
1151 (le32toh(desc->flags) & RT2560_RX_ICV_ERROR)) {
1203 (le32toh(des
[all...]
H A Drt2661.c964 if ((le32toh(desc->flags) & RT2661_TX_BUSY) ||
965 !(le32toh(desc->flags) & RT2661_TX_VALID))
1006 if (le32toh(desc->flags) & RT2661_RX_BUSY)
1009 if ((le32toh(desc->flags) & RT2661_RX_PHY_ERROR) ||
1010 (le32toh(desc->flags) & RT2661_RX_CRC_ERROR)) {
1016 le32toh(desc->flags));
1021 if ((le32toh(desc->flags) & RT2661_RX_CIPHER_MASK) != 0) {
1073 (le32toh(desc->flags) >> 16) & 0xfff;
/haiku-fatelf/src/add-ons/kernel/drivers/network/wlan/marvell88w8363/dev/mwl/
H A Dmwlhal.c580 hw->wcbBase[0] = le32toh(pCmd->WcbBase0) & 0x0000ffff;
581 hw->wcbBase[1] = le32toh(pCmd->WcbBase1[0]) & 0x0000ffff;
582 hw->wcbBase[2] = le32toh(pCmd->WcbBase1[1]) & 0x0000ffff;
583 hw->wcbBase[3] = le32toh(pCmd->WcbBase1[2]) & 0x0000ffff;
584 hw->rxDescRead = le32toh(pCmd->RxPdRdPtr)& 0x0000ffff;
585 hw->rxDescWrite = le32toh(pCmd->RxPdWrPtr)& 0x0000ffff;
587 hw->fwReleaseNumber = le32toh(pCmd->FWReleaseNumber);
683 dp[i] = le32toh(sp[i]);
1646 *mode = le32toh(pCmd->Option);
1647 *threshold = le32toh(pCm
[all...]
H A Dif_mwl.c3480 status = le32toh(ds->Status);
4701 uint32_t status = le32toh(ds->Status);
4706 le32toh(ds->pPhysNext), le32toh(ds->pPhysBuffData),
4718 uint32_t status = le32toh(ds->Status);
4724 le32toh(ds->pPhysNext),
4725 le32toh(ds->PktPtr), le16toh(ds->PktLen), status,
4730 le32toh(ds->SapPktInfo), le16toh(ds->Format));
4733 , le32toh(ds->multiframes)
4739 , le32toh(d
[all...]
/haiku-fatelf/src/libs/compat/freebsd_wlan/net80211/
H A Dieee80211_radiotap.c329 uint32_t present = le32toh(rh->it_present);
/haiku-fatelf/src/add-ons/kernel/drivers/network/attansic_l1/dev/age/
H A Dif_age.c2137 status = le32toh(cmb->intr_status);
2143 sc->age_tpd_cons = (le32toh(cmb->tpd_cons) & TPD_CONS_MASK) >>
2145 sc->age_rr_prod = (le32toh(cmb->rprod_cons) & RRD_PROD_MASK) >>
2185 status = le32toh(cmb->intr_status);
2273 status = le32toh(rxrd->flags);
2274 index = le32toh(rxrd->index);
2278 sc->age_cdata.age_rxlen = AGE_RX_BYTES(le32toh(rxrd->len));
2315 mp->m_len = AGE_RX_BYTES(le32toh(desc->len));
2392 vtag = AGE_RX_VLAN(le32toh(rxrd->vtags));
2436 nsegs = AGE_RX_NSEGS(le32toh(rxr
[all...]
/haiku-fatelf/src/bin/network/ftpd/
H A Dmd5c.c86 output[i] = le32toh(ip[i]);
/haiku-fatelf/src/libs/crypt/
H A Dmd5c.c83 output[i] = le32toh(ip[i]);
/haiku-fatelf/src/add-ons/kernel/drivers/network/rtl81xx/dev/re/
H A Dif_re.c858 rxstat = le32toh(cur_rx->rl_cmdstat);
2135 rxstat = le32toh(cur_rx->rl_cmdstat);
2139 rxvlan = le32toh(cur_rx->rl_vlanctl);
2373 txstat = le32toh(sc->rl_ldata.rl_tx_list[cons].rl_cmdstat);
3965 le32toh(stats->rl_rx_errs));
3971 le32toh(stats->rl_tx_onecoll));
3973 le32toh(stats->rl_tx_multicolls));
3979 le32toh(stats->rl_rx_mcasts));
/haiku-fatelf/src/add-ons/kernel/drivers/network/rtl8139/pci/
H A Dif_rlreg.h788 #define RL_OWN(x) (le32toh((x)->rl_cmdstat) & RL_RDESC_STAT_OWN)
789 #define RL_RXBYTES(x) (le32toh((x)->rl_cmdstat) & sc->rl_rxlenmask)
/haiku-fatelf/src/add-ons/kernel/drivers/network/rtl81xx/pci/
H A Dif_rlreg.h788 #define RL_OWN(x) (le32toh((x)->rl_cmdstat) & RL_RDESC_STAT_OWN)
789 #define RL_RXBYTES(x) (le32toh((x)->rl_cmdstat) & sc->rl_rxlenmask)
/haiku-fatelf/src/add-ons/kernel/drivers/network/jmicron2x0/dev/jme/
H A Dif_jme.c2448 status = le32toh(txd->tx_desc->flags);
2458 le32toh(txd->tx_desc->buflen) &
2525 flags = le32toh(desc->flags);
2526 status = le32toh(desc->buflen);
2657 if ((le32toh(desc->flags) & JME_RD_OWN) == JME_RD_OWN)
2659 if ((le32toh(desc->buflen) & JME_RD_VALID) == 0)
2661 nsegs = JME_RX_NSEGS(le32toh(desc->buflen));
2668 pktlen = JME_RX_BYTES(le32toh(desc->buflen));
/haiku-fatelf/src/add-ons/kernel/drivers/network/dec21xxx/dev/dc/
H A Dif_dc.c2765 rxstat = le32toh(c->dc_status);
2822 if (!(le32toh(cur_rx->dc_status) & DC_RXSTAT_OWN))
2884 rxstat = le32toh(cur_rx->dc_status);
2900 rxstat = le32toh(cur_rx->dc_status);
3002 txstat = le32toh(cur_tx->dc_status);
3003 ctl = le32toh(cur_tx->dc_ctl);
4013 ctl = le32toh(ld->dc_tx_list[i].dc_ctl);

Completed in 444 milliseconds

12