Home
last modified time | relevance | path

Searched refs:__bswap32 (Results 1 – 11 of 11) sorted by relevance

/freebsd-14-stable/sys/sys/
HD_endian.h84 #define __bswap32(x) __builtin_bswap32(x) macro
88 #define __ntohl(x) (__bswap32(x))
90 #define __htonl(x) (__bswap32(x))
105 #define htobe32(x) __bswap32((x))
112 #define be32toh(x) __bswap32((x))
122 #define htole32(x) __bswap32((x))
129 #define le32toh(x) __bswap32((x))
HDkerneldump.h47 #define dtoh32(x) __bswap32(x)
49 #define htod32(x) __bswap32(x)
HDendian.h66 #define bswap32(x) __bswap32(x)
/freebsd-14-stable/sys/contrib/dev/ath/ath_hal/ar9300/
HDar9300_xmit_ds.c112 ads->ds_ctl13 = __bswap32(AR9300TXC_CONST(ds0)->ds_ctl13); in ar9300_fill_tx_desc()
113 ads->ds_ctl14 = __bswap32(AR9300TXC_CONST(ds0)->ds_ctl14); in ar9300_fill_tx_desc()
114 ads->ds_ctl17 = __bswap32(SM(key_type, AR_encr_type)); in ar9300_fill_tx_desc()
188 ds->ds_info = __bswap32(ds->ds_info);
189 ds->status1 = __bswap32(ds->status1);
190 ds->status2 = __bswap32(ds->status2);
191 ds->status3 = __bswap32(ds->status3);
192 ds->status4 = __bswap32(ds->status4);
193 ds->status5 = __bswap32(ds->status5);
194 ds->status6 = __bswap32(ds->status6);
[all …]
HDar9300_eeprom.c4355 dword = __bswap32(eep->base_eep_header.swreg); in ar9300_swap_eeprom()
4358 dword = __bswap32(eep->modal_header_2g.ant_ctrl_common); in ar9300_swap_eeprom()
4361 dword = __bswap32(eep->modal_header_2g.ant_ctrl_common2); in ar9300_swap_eeprom()
4364 dword = __bswap32(eep->modal_header_2g.paprd_rate_mask_ht20); in ar9300_swap_eeprom()
4367 dword = __bswap32(eep->modal_header_2g.paprd_rate_mask_ht40); in ar9300_swap_eeprom()
4370 dword = __bswap32(eep->modal_header_5g.ant_ctrl_common); in ar9300_swap_eeprom()
4373 dword = __bswap32(eep->modal_header_5g.ant_ctrl_common2); in ar9300_swap_eeprom()
4376 dword = __bswap32(eep->modal_header_5g.paprd_rate_mask_ht20); in ar9300_swap_eeprom()
4379 dword = __bswap32(eep->modal_header_5g.paprd_rate_mask_ht40); in ar9300_swap_eeprom()
/freebsd-14-stable/include/
HDbyteswap.h34 #define __bswap_32(x) __bswap32(x)
38 #define bswap_32(x) __bswap32(x)
/freebsd-14-stable/sys/dev/ath/ath_hal/ar5212/
HDar5212_xmit.c797 ads->ds_ctl0 |= __bswap32(AR_TxInterReq); in ar5212IntrReqTxDesc()
830 ads->ds_ctl0 = __bswap32(AR5212DESC_CONST(ds0)->ds_ctl0) in ar5212FillTxDesc()
832 ads->ds_ctl2 = __bswap32(AR5212DESC_CONST(ds0)->ds_ctl2); in ar5212FillTxDesc()
833 ads->ds_ctl3 = __bswap32(AR5212DESC_CONST(ds0)->ds_ctl3); in ar5212FillTxDesc()
844 ads->ds_ctl0 = __bswap32(AR5212DESC_CONST(ds0)->ds_ctl0) in ar5212FillTxDesc()
862 ds->ds_data = __bswap32(ds->ds_data); in ar5212SwapTxDesc()
863 ds->ds_ctl0 = __bswap32(ds->ds_ctl0); in ar5212SwapTxDesc()
864 ds->ds_ctl1 = __bswap32(ds->ds_ctl1); in ar5212SwapTxDesc()
865 ds->ds_hw[0] = __bswap32(ds->ds_hw[0]); in ar5212SwapTxDesc()
866 ds->ds_hw[1] = __bswap32(ds->ds_hw[1]); in ar5212SwapTxDesc()
[all …]
/freebsd-14-stable/sys/dev/ath/ath_hal/ar5416/
HDar5416_xmit.c485 ads->ds_ctl0 = __bswap32(AR5416DESC_CONST(ds0)->ds_ctl0) in ar5416FillTxDesc()
487 ads->ds_ctl2 = __bswap32(AR5416DESC_CONST(ds0)->ds_ctl2); in ar5416FillTxDesc()
488 ads->ds_ctl3 = __bswap32(AR5416DESC_CONST(ds0)->ds_ctl3); in ar5416FillTxDesc()
490 ads->ds_ctl6 = __bswap32(AR5416DESC_CONST(ds0)->ds_ctl6 & AR_EncrType); in ar5416FillTxDesc()
503 ads->ds_ctl0 = __bswap32(AR5416DESC_CONST(ds0)->ds_ctl0) in ar5416FillTxDesc()
505 ads->ds_ctl6 = __bswap32(AR5416DESC_CONST(ds0)->ds_ctl6 & AR_EncrType); in ar5416FillTxDesc()
689 ads->ds_ctl2 = __bswap32(AR5416DESC_CONST(ds0)->ds_ctl2); in ar5416SetupLastTxDesc()
690 ads->ds_ctl3 = __bswap32(AR5416DESC_CONST(ds0)->ds_ctl3); in ar5416SetupLastTxDesc()
703 ds->ds_data = __bswap32(ds->ds_data); in ar5416SwapTxDesc()
704 ds->ds_ctl0 = __bswap32(ds->ds_ctl0); in ar5416SwapTxDesc()
[all …]
/freebsd-14-stable/sys/dev/ath/ath_hal/
HDah_eeprom_9287.c191 integer = __bswap32(pModal->antCtrlCommon); in eepromSwap()
195 integer = __bswap32(pModal->antCtrlChain[i]); in eepromSwap()
HDah_eeprom_v4k.c183 integer = __bswap32(pModal->antCtrlCommon); in eepromSwap()
187 integer = __bswap32(pModal->antCtrlChain[i]); in eepromSwap()
HDah_eeprom_v14.c228 integer = __bswap32(pModal->antCtrlCommon); in eepromSwap()
232 integer = __bswap32(pModal->antCtrlChain[i]); in eepromSwap()