Lines Matching refs:htobe32
571 setup.sw_ver_major = htobe32(ATH_SW_VER_MAJOR); in uath_host_available()
572 setup.sw_ver_minor = htobe32(ATH_SW_VER_MINOR); in uath_host_available()
573 setup.sw_ver_patch = htobe32(ATH_SW_VER_PATCH); in uath_host_available()
574 setup.sw_ver_build = htobe32(ATH_SW_VER_BUILD); in uath_host_available()
698 hdr->len = htobe32(cmd->buflen); in uath_cmdsend()
699 hdr->code = htobe32(code); in uath_cmdsend()
701 hdr->magic = htobe32((cmd->flags & UATH_CMD_FLAG_MAGIC) ? 1 << 24 : 0); in uath_cmdsend()
808 cap = htobe32(cap); in uath_get_capability()
904 which = htobe32(which); in uath_get_status()
1091 val = htobe32(0); in uath_init()
1132 val = htobe32(TARGET_DEVICE_AWAKE); in uath_init()
1183 write.reg = htobe32(reg); in uath_config()
1184 write.len = htobe32(0); /* 0 = single write */ in uath_config()
1185 *(uint32_t *)write.data = htobe32(val); in uath_config()
1203 write.reg = htobe32(reg); in uath_config_multi()
1204 write.len = htobe32(len); in uath_config_multi()
1266 rxfilter.bits = htobe32(bits); in uath_set_rxfilter()
1267 rxfilter.op = htobe32(op); in uath_set_rxfilter()
1351 desc->msglen = htobe32(sizeof(struct uath_tx_desc)); in uath_dataflush()
1353 desc->type = htobe32(WDCMSG_FLUSH); in uath_dataflush()
1354 desc->txqid = htobe32(0); in uath_dataflush()
1355 desc->connid = htobe32(0); in uath_dataflush()
1356 desc->flags = htobe32(0); in uath_dataflush()
1411 connected = htobe32(connected); in uath_set_ledstate()
1426 reset.flags |= htobe32(UATH_CHAN_2GHZ); in uath_set_chan()
1428 reset.flags |= htobe32(UATH_CHAN_5GHZ); in uath_set_chan()
1431 reset.flags |= htobe32(UATH_CHAN_OFDM); in uath_set_chan()
1433 reset.flags |= htobe32(UATH_CHAN_CCK); in uath_set_chan()
1436 reset.flags |= htobe32(UATH_CHAN_TURBO); in uath_set_chan()
1437 reset.freq = htobe32(c->ic_freq); in uath_set_chan()
1438 reset.maxrdpower = htobe32(50); /* XXX */ in uath_set_chan()
1439 reset.channelchange = htobe32(1); in uath_set_chan()
1440 reset.keeprccontent = htobe32(0); in uath_set_chan()
1455 const uint32_t qid = htobe32(ac); in uath_reset_tx_queues()
1480 qinfo.qid = htobe32(ac); in uath_wme_init()
1481 qinfo.len = htobe32(sizeof(qinfo.attr)); in uath_wme_init()
1482 qinfo.attr.priority = htobe32(ac); /* XXX */ in uath_wme_init()
1483 qinfo.attr.aifs = htobe32(uath_wme_11g[ac].aifsn); in uath_wme_init()
1484 qinfo.attr.logcwmin = htobe32(uath_wme_11g[ac].logcwmin); in uath_wme_init()
1485 qinfo.attr.logcwmax = htobe32(uath_wme_11g[ac].logcwmax); in uath_wme_init()
1486 qinfo.attr.bursttime = htobe32(IEEE80211_TXOP_TO_US( in uath_wme_init()
1488 qinfo.attr.mode = htobe32(uath_wme_11g[ac].acm);/*XXX? */ in uath_wme_init()
1489 qinfo.attr.qflags = htobe32(1); /* XXX? */ in uath_wme_init()
1577 desc->msglen = htobe32(msglen); in uath_tx_start()
1580 desc->type = htobe32(WDCMSG_SEND); in uath_tx_start()
1587 desc->txqid = htobe32(WME_AC_VO | UATH_TXQID_MINRATE); in uath_tx_start()
1589 desc->txqid = htobe32(WME_AC_BE | UATH_TXQID_MINRATE); in uath_tx_start()
1593 desc->txqid = htobe32(M_WME_GETAC(m0)); in uath_tx_start()
1604 desc->connid = htobe32(UATH_ID_BSS); in uath_tx_start()
1606 desc->connid = htobe32(UATH_ID_INVALID); in uath_tx_start()
1607 desc->flags = htobe32(0 /* no UATH_TX_NOTIFY */); in uath_tx_start()
1608 desc->buflen = htobe32(m0->m_pkthdr.len); in uath_tx_start()
1902 create.connid = htobe32(connid); in uath_create_connection()
1903 create.bssid = htobe32(0); in uath_create_connection()
1905 create.size = htobe32(sizeof(struct uath_cmd_rateset)); in uath_create_connection()
1914 create.connattr.wlanmode = htobe32(WLAN_MODE_11a); in uath_create_connection()
1916 create.connattr.wlanmode = htobe32(WLAN_MODE_11g); in uath_create_connection()
1918 create.connattr.wlanmode = htobe32(WLAN_MODE_11b); in uath_create_connection()
1931 rates.connid = htobe32(UATH_ID_BSS); /* XXX */ in uath_set_rates()
1932 rates.size = htobe32(sizeof(struct uath_cmd_rateset)); in uath_set_rates()
1953 associd.defaultrateix = htobe32(1); /* XXX */ in uath_write_associd()
1954 associd.associd = htobe32(ni->ni_associd); in uath_write_associd()
1955 associd.timoffset = htobe32(0x3b); /* XXX */ in uath_write_associd()
1967 led.lednum = htobe32(lednum); in uath_set_ledsteady()
1968 led.ledmode = htobe32(ledmode); in uath_set_ledsteady()
1982 led.lednum = htobe32(lednum); in uath_set_ledblink()
1983 led.ledmode = htobe32(ledmode); in uath_set_ledblink()
1984 led.blinkrate = htobe32(blinkrate); in uath_set_ledblink()
1985 led.slowmode = htobe32(slowmode); in uath_set_ledblink()
2102 crypto.keyidx = htobe32(index); in uath_set_key()
2103 crypto.magic1 = htobe32(1); in uath_set_key()
2104 crypto.size = htobe32(368); in uath_set_key()
2105 crypto.mask = htobe32(0xffff); in uath_set_key()
2106 crypto.flags = htobe32(0x80000068); in uath_set_key()
2108 crypto.flags |= htobe32(index << 16); in uath_set_key()