Lines Matching refs:cpu_to_be32

261 	hdr->len  = cpu_to_be32(xferlen);  in ar5523_cmd()
262 hdr->code = cpu_to_be32(code); in ar5523_cmd()
266 hdr->magic = cpu_to_be32(1 << 24); in ar5523_cmd()
316 write.reg = cpu_to_be32(reg); in ar5523_config()
317 write.len = cpu_to_be32(0); /* 0 = single write */ in ar5523_config()
318 *(__be32 *)write.data = cpu_to_be32(val); in ar5523_config()
333 write.reg = cpu_to_be32(reg); in ar5523_config_multi()
334 write.len = cpu_to_be32(len); in ar5523_config_multi()
352 which_be = cpu_to_be32(which); in ar5523_get_status()
365 cap_be = cpu_to_be32(cap); in ar5523_get_capability()
430 led.lednum = cpu_to_be32(lednum); in ar5523_set_ledsteady()
431 led.ledmode = cpu_to_be32(ledmode); in ar5523_set_ledsteady()
444 rxfilter.bits = cpu_to_be32(bits); in ar5523_set_rxfilter()
445 rxfilter.op = cpu_to_be32(op); in ar5523_set_rxfilter()
454 __be32 qid = cpu_to_be32(0); in ar5523_reset_tx_queues()
468 reset.flags |= cpu_to_be32(UATH_CHAN_2GHZ); in ar5523_set_chan()
469 reset.flags |= cpu_to_be32(UATH_CHAN_OFDM); in ar5523_set_chan()
470 reset.freq = cpu_to_be32(conf->chandef.chan->center_freq); in ar5523_set_chan()
471 reset.maxrdpower = cpu_to_be32(50); /* XXX */ in ar5523_set_chan()
472 reset.channelchange = cpu_to_be32(1); in ar5523_set_chan()
473 reset.keeprccontent = cpu_to_be32(0); in ar5523_set_chan()
486 qinfo.qid = cpu_to_be32(0); in ar5523_queue_init()
487 qinfo.len = cpu_to_be32(sizeof(qinfo.attr)); in ar5523_queue_init()
488 qinfo.attr.priority = cpu_to_be32(0); /* XXX */ in ar5523_queue_init()
489 qinfo.attr.aifs = cpu_to_be32(3); in ar5523_queue_init()
490 qinfo.attr.logcwmin = cpu_to_be32(4); in ar5523_queue_init()
491 qinfo.attr.logcwmax = cpu_to_be32(10); in ar5523_queue_init()
492 qinfo.attr.bursttime = cpu_to_be32(0); in ar5523_queue_init()
493 qinfo.attr.mode = cpu_to_be32(0); in ar5523_queue_init()
494 qinfo.attr.qflags = cpu_to_be32(1); /* XXX? */ in ar5523_queue_init()
850 desc->msglen = cpu_to_be32(skb->len); in ar5523_tx_work_locked()
852 desc->buflen = cpu_to_be32(paylen); in ar5523_tx_work_locked()
853 desc->type = cpu_to_be32(WDCMSG_SEND); in ar5523_tx_work_locked()
854 desc->flags = cpu_to_be32(UATH_TX_NOTIFY); in ar5523_tx_work_locked()
857 desc->connid = cpu_to_be32(AR5523_ID_BSS); in ar5523_tx_work_locked()
859 desc->connid = cpu_to_be32(AR5523_ID_BROADCAST); in ar5523_tx_work_locked()
864 desc->txqid = cpu_to_be32(txqid); in ar5523_tx_work_locked()
1007 val = cpu_to_be32(0); in ar5523_start()
1041 val = cpu_to_be32(TARGET_DEVICE_AWAKE); in ar5523_start()
1235 rates.connid = cpu_to_be32(2); /* XXX */ in ar5523_set_basic_rates()
1236 rates.size = cpu_to_be32(sizeof(struct ar5523_cmd_rateset)); in ar5523_set_basic_rates()
1251 create.connid = cpu_to_be32(2); in ar5523_create_connection()
1252 create.bssid = cpu_to_be32(0); in ar5523_create_connection()
1254 create.size = cpu_to_be32(sizeof(struct ar5523_cmd_rateset)); in ar5523_create_connection()
1259 create.connattr.wlanmode = cpu_to_be32(wlan_mode); in ar5523_create_connection()
1271 associd.defaultrateix = cpu_to_be32(0); /* XXX */ in ar5523_write_associd()
1272 associd.associd = cpu_to_be32(vif->cfg.aid); in ar5523_write_associd()
1273 associd.timoffset = cpu_to_be32(0x3b); /* XXX */ in ar5523_write_associd()
1378 setup.sw_ver_major = cpu_to_be32(ATH_SW_VER_MAJOR); in ar5523_host_available()
1379 setup.sw_ver_minor = cpu_to_be32(ATH_SW_VER_MINOR); in ar5523_host_available()
1380 setup.sw_ver_patch = cpu_to_be32(ATH_SW_VER_PATCH); in ar5523_host_available()
1381 setup.sw_ver_build = cpu_to_be32(ATH_SW_VER_BUILD); in ar5523_host_available()
1521 txblock->flags = cpu_to_be32(AR5523_WRITE_BLOCK); in ar5523_load_firmware()
1522 txblock->total = cpu_to_be32(fw->size); in ar5523_load_firmware()
1529 txblock->remain = cpu_to_be32(len - mlen); in ar5523_load_firmware()
1530 txblock->len = cpu_to_be32(mlen); in ar5523_load_firmware()