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

/freebsd-12-stable/sys/x86/include/
H A Dendian.h72 (((__uint64_t)__bswap32((x) & 0xffffffff) << 32) | __bswap32((x) >> 32))
78 #define __bswap32(x) \ macro
87 #define __bswap32(x) __bswap32_var(x) macro
128 #define __htonl(x) __bswap32(x)
130 #define __ntohl(x) __bswap32(x)
/freebsd-12-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-12-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-12-stable/sys/arm/include/
H A Dendian.h71 #define __ntohl(x) (__bswap32(x))
73 #define __htonl(x) (__bswap32(x))
132 #define __bswap32(x) \ macro
139 #define __bswap32(x) __bswap32_var(x) macro
/freebsd-12-stable/sys/powerpc/include/
H A Dendian.h136 #define __bswap32(x) (__is_constant(x) ? __bswap32_const(x) : \ macro
142 #define __htonl(x) (__bswap32((__uint32_t)(x)))
144 #define __ntohl(x) (__bswap32((__uint32_t)(x)))
/freebsd-12-stable/sys/mips/include/
H A Dendian.h115 #define __bswap32(x) ((__uint32_t)(__is_constant((x)) ? \ macro
136 #define __ntohl(x) (__bswap32((x)))
138 #define __htonl(x) (__bswap32((x)))
/freebsd-12-stable/sys/sys/
H A Dkerneldump.h49 #define dtoh32(x) __bswap32(x)
51 #define htod32(x) __bswap32(x)
H A Dendian.h62 #define bswap32(x) __bswap32(x)
/freebsd-12-stable/sys/contrib/dev/ath/ath_hal/ar9300/
H A Dar9300_xmit_ds.c48 /* checksum = __bswap32(ads->ds_info) + ads->ds_link */
112 ads->ds_ctl13 = __bswap32(AR9300TXC_CONST(ds0)->ds_ctl13);
113 ads->ds_ctl14 = __bswap32(AR9300TXC_CONST(ds0)->ds_ctl14);
114 ads->ds_ctl17 = __bswap32(SM(key_type, AR_encr_type));
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(d
[all...]
H A Dar9300_eeprom.c4355 dword = __bswap32(eep->base_eep_header.swreg);
4358 dword = __bswap32(eep->modal_header_2g.ant_ctrl_common);
4361 dword = __bswap32(eep->modal_header_2g.ant_ctrl_common2);
4364 dword = __bswap32(eep->modal_header_2g.paprd_rate_mask_ht20);
4367 dword = __bswap32(eep->modal_header_2g.paprd_rate_mask_ht40);
4370 dword = __bswap32(eep->modal_header_5g.ant_ctrl_common);
4373 dword = __bswap32(eep->modal_header_5g.ant_ctrl_common2);
4376 dword = __bswap32(eep->modal_header_5g.paprd_rate_mask_ht20);
4379 dword = __bswap32(eep->modal_header_5g.paprd_rate_mask_ht40);
/freebsd-12-stable/sys/dev/ath/ath_hal/ar5212/
H A Dar5212_xmit.c799 ads->ds_ctl0 |= __bswap32(AR_TxInterReq);
832 ads->ds_ctl0 = __bswap32(AR5212DESC_CONST(ds0)->ds_ctl0)
834 ads->ds_ctl2 = __bswap32(AR5212DESC_CONST(ds0)->ds_ctl2);
835 ads->ds_ctl3 = __bswap32(AR5212DESC_CONST(ds0)->ds_ctl3);
846 ads->ds_ctl0 = __bswap32(AR5212DESC_CONST(ds0)->ds_ctl0)
864 ds->ds_data = __bswap32(ds->ds_data);
865 ds->ds_ctl0 = __bswap32(ds->ds_ctl0);
866 ds->ds_ctl1 = __bswap32(ds->ds_ctl1);
867 ds->ds_hw[0] = __bswap32(ds->ds_hw[0]);
868 ds->ds_hw[1] = __bswap32(d
[all...]
/freebsd-12-stable/sys/dev/ath/ath_hal/ar5416/
H A Dar5416_xmit.c487 ads->ds_ctl0 = __bswap32(AR5416DESC_CONST(ds0)->ds_ctl0)
489 ads->ds_ctl2 = __bswap32(AR5416DESC_CONST(ds0)->ds_ctl2);
490 ads->ds_ctl3 = __bswap32(AR5416DESC_CONST(ds0)->ds_ctl3);
492 ads->ds_ctl6 = __bswap32(AR5416DESC_CONST(ds0)->ds_ctl6 & AR_EncrType);
505 ads->ds_ctl0 = __bswap32(AR5416DESC_CONST(ds0)->ds_ctl0)
507 ads->ds_ctl6 = __bswap32(AR5416DESC_CONST(ds0)->ds_ctl6 & AR_EncrType);
691 ads->ds_ctl2 = __bswap32(AR5416DESC_CONST(ds0)->ds_ctl2);
692 ads->ds_ctl3 = __bswap32(AR5416DESC_CONST(ds0)->ds_ctl3);
705 ds->ds_data = __bswap32(ds->ds_data);
706 ds->ds_ctl0 = __bswap32(d
[all...]
/freebsd-12-stable/sys/sparc64/include/
H A Dendian.h116 #define __bswap32(x) (__is_constant(x) ? __bswap32_const(x) : \ macro
/freebsd-12-stable/sys/dev/ath/ath_hal/
H A Dah_eeprom_9287.c192 /* XXX linux/ah_osdep.h only defines __bswap32 for BE */
193 integer = __bswap32(pModal->antCtrlCommon);
197 integer = __bswap32(pModal->antCtrlChain[i]);
H A Dah_eeprom_v14.c229 /* XXX linux/ah_osdep.h only defines __bswap32 for BE */
230 integer = __bswap32(pModal->antCtrlCommon);
234 integer = __bswap32(pModal->antCtrlChain[i]);
H A Dah_eeprom_v4k.c184 /* XXX linux/ah_osdep.h only defines __bswap32 for BE */
185 integer = __bswap32(pModal->antCtrlCommon);
189 integer = __bswap32(pModal->antCtrlChain[i]);

Completed in 497 milliseconds