Searched refs:__bswap32 (Results 1 - 16 of 16) sorted by relevance

/freebsd-11-stable/sys/x86/include/
H A Dendian.h70 (((__uint64_t)__bswap32((x) & 0xffffffff) << 32) | __bswap32((x) >> 32))
76 #define __bswap32(x) \ macro
85 #define __bswap32(x) __bswap32_var(x) macro
126 #define __htonl(x) __bswap32(x)
128 #define __ntohl(x) __bswap32(x)
/freebsd-11-stable/sys/arm64/include/
H A Dendian.h57 #define __ntohl(x) (__bswap32(x))
59 #define __htonl(x) (__bswap32(x))
112 #define __bswap32(x) \ macro
119 #define __bswap32(x) __bswap32_var(x) macro
/freebsd-11-stable/sys/arm/include/
H A Dendian.h69 #define __ntohl(x) (__bswap32(x))
71 #define __htonl(x) (__bswap32(x))
130 #define __bswap32(x) \ macro
137 #define __bswap32(x) __bswap32_var(x) macro
/freebsd-11-stable/sys/riscv/include/
H A Dendian.h57 #define __ntohl(x) (__bswap32(x))
59 #define __htonl(x) (__bswap32(x))
114 #define __bswap32(x) \ macro
121 #define __bswap32(x) __bswap32_var(x) macro
/freebsd-11-stable/sys/powerpc/include/
H A Dendian.h134 #define __bswap32(x) (__is_constant(x) ? __bswap32_const(x) : \ macro
140 #define __htonl(x) (__bswap32((__uint32_t)(x)))
142 #define __ntohl(x) (__bswap32((__uint32_t)(x)))
/freebsd-11-stable/sys/mips/include/
H A Dendian.h113 #define __bswap32(x) ((__uint32_t)(__is_constant((x)) ? \ macro
134 #define __ntohl(x) (__bswap32((x)))
136 #define __htonl(x) (__bswap32((x)))
/freebsd-11-stable/sys/sys/
H A Dkerneldump.h44 #define dtoh32(x) __bswap32(x)
46 #define htod32(x) __bswap32(x)
H A Dendian.h60 #define bswap32(x) __bswap32(x)
/freebsd-11-stable/sys/contrib/dev/ath/ath_hal/ar9300/
H A Dar9300_xmit_ds.c46 /* checksum = __bswap32(ads->ds_info) + ads->ds_link */
110 ads->ds_ctl13 = __bswap32(AR9300TXC_CONST(ds0)->ds_ctl13);
111 ads->ds_ctl14 = __bswap32(AR9300TXC_CONST(ds0)->ds_ctl14);
112 ads->ds_ctl17 = __bswap32(SM(key_type, AR_encr_type));
185 ds->ds_info = __bswap32(ds->ds_info);
186 ds->status1 = __bswap32(ds->status1);
187 ds->status2 = __bswap32(ds->status2);
188 ds->status3 = __bswap32(ds->status3);
189 ds->status4 = __bswap32(ds->status4);
190 ds->status5 = __bswap32(d
[all...]
H A Dar9300_eeprom.c4327 dword = __bswap32(eep->base_eep_header.swreg);
4330 dword = __bswap32(eep->modal_header_2g.ant_ctrl_common);
4333 dword = __bswap32(eep->modal_header_2g.ant_ctrl_common2);
4336 dword = __bswap32(eep->modal_header_2g.paprd_rate_mask_ht20);
4339 dword = __bswap32(eep->modal_header_2g.paprd_rate_mask_ht40);
4342 dword = __bswap32(eep->modal_header_5g.ant_ctrl_common);
4345 dword = __bswap32(eep->modal_header_5g.ant_ctrl_common2);
4348 dword = __bswap32(eep->modal_header_5g.paprd_rate_mask_ht20);
4351 dword = __bswap32(eep->modal_header_5g.paprd_rate_mask_ht40);
/freebsd-11-stable/sys/dev/ath/ath_hal/ar5212/
H A Dar5212_xmit.c798 ads->ds_ctl0 |= __bswap32(AR_TxInterReq);
831 ads->ds_ctl0 = __bswap32(AR5212DESC_CONST(ds0)->ds_ctl0)
833 ads->ds_ctl2 = __bswap32(AR5212DESC_CONST(ds0)->ds_ctl2);
834 ads->ds_ctl3 = __bswap32(AR5212DESC_CONST(ds0)->ds_ctl3);
845 ads->ds_ctl0 = __bswap32(AR5212DESC_CONST(ds0)->ds_ctl0)
863 ds->ds_data = __bswap32(ds->ds_data);
864 ds->ds_ctl0 = __bswap32(ds->ds_ctl0);
865 ds->ds_ctl1 = __bswap32(ds->ds_ctl1);
866 ds->ds_hw[0] = __bswap32(ds->ds_hw[0]);
867 ds->ds_hw[1] = __bswap32(d
[all...]
/freebsd-11-stable/sys/dev/ath/ath_hal/ar5416/
H A Dar5416_xmit.c486 ads->ds_ctl0 = __bswap32(AR5416DESC_CONST(ds0)->ds_ctl0)
488 ads->ds_ctl2 = __bswap32(AR5416DESC_CONST(ds0)->ds_ctl2);
489 ads->ds_ctl3 = __bswap32(AR5416DESC_CONST(ds0)->ds_ctl3);
491 ads->ds_ctl6 = __bswap32(AR5416DESC_CONST(ds0)->ds_ctl6 & AR_EncrType);
504 ads->ds_ctl0 = __bswap32(AR5416DESC_CONST(ds0)->ds_ctl0)
506 ads->ds_ctl6 = __bswap32(AR5416DESC_CONST(ds0)->ds_ctl6 & AR_EncrType);
690 ads->ds_ctl2 = __bswap32(AR5416DESC_CONST(ds0)->ds_ctl2);
691 ads->ds_ctl3 = __bswap32(AR5416DESC_CONST(ds0)->ds_ctl3);
704 ds->ds_data = __bswap32(ds->ds_data);
705 ds->ds_ctl0 = __bswap32(d
[all...]
/freebsd-11-stable/sys/sparc64/include/
H A Dendian.h114 #define __bswap32(x) (__is_constant(x) ? __bswap32_const(x) : \ macro
/freebsd-11-stable/sys/dev/ath/ath_hal/
H A Dah_eeprom_9287.c190 /* XXX linux/ah_osdep.h only defines __bswap32 for BE */
191 integer = __bswap32(pModal->antCtrlCommon);
195 integer = __bswap32(pModal->antCtrlChain[i]);
H A Dah_eeprom_v14.c227 /* XXX linux/ah_osdep.h only defines __bswap32 for BE */
228 integer = __bswap32(pModal->antCtrlCommon);
232 integer = __bswap32(pModal->antCtrlChain[i]);
H A Dah_eeprom_v4k.c182 /* XXX linux/ah_osdep.h only defines __bswap32 for BE */
183 integer = __bswap32(pModal->antCtrlCommon);
187 integer = __bswap32(pModal->antCtrlChain[i]);

Completed in 127 milliseconds