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

/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/contrib/ath_hal/ar9300/
H A Dar9300eep.h419 #define SWAP16(_x) ( (u_int16_t)( (((const u_int8_t *)(&_x))[0] ) |\ macro
431 #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 92 milliseconds