Searched refs:SWAP16 (Results 1 - 4 of 4) sorted by relevance

/freebsd-11.0-release/sys/boot/arm/at91/libat91/
H A Demac.c62 t += SWAP16(*p);
86 p_ARP->frame_type = SWAP16(PROTOCOL_ARP);
87 p_ARP->hard_type = SWAP16(1);
88 p_ARP->prot_type = SWAP16(PROTOCOL_IP);
91 p_ARP->operation = SWAP16(ARP_REQUEST);
124 macHdr->proto_mac = SWAP16(PROTOCOL_IP);
130 ipHdr->ip_len = SWAP16(28 + tftpLength);
132 ipHdr->ip_off = SWAP16(0x4000);
140 ipHdr->ip_sum = SWAP16(IP_checksum((unsigned short*)ipHdr, 20));
146 udpHdr->udp_len = SWAP16(
[all...]
H A Demac.h44 #define SWAP16(x) ((((x) & 0xff) << 8) | ((x) >> 8)) macro
/freebsd-11.0-release/sys/contrib/dev/ath/ath_hal/ar9300/
H A Dar9300eep.h413 #define SWAP16(_x) ( (u_int16_t)( (((const u_int8_t *)(&_x))[0] ) |\ macro
425 #define SWAP16(_x) ( (u_int16_t)( (((const u_int8_t *)(&_x))[1] ) |\ macro
H A Dar9300_eeprom.c3386 magic2 = SWAP16(magic);
3396 temp = SWAP16(*eepdata);
3419 el = SWAP16(ahp->ah_eeprom.def.base_eep_header.length);
3446 word = SWAP16(eep->base_eep_header.length);
3449 word = SWAP16(eep->base_eep_header.checksum);
3452 word = SWAP16(eep->base_eep_header.version);
3455 word = SWAP16(eep->base_eep_header.reg_dmn[0]);
3458 word = SWAP16(eep->base_eep_header.reg_dmn[1]);
3461 word = SWAP16(eep->base_eep_header.rf_silent);
3464 word = SWAP16(ee
[all...]

Completed in 116 milliseconds