Searched refs:SWAP16 (Results 1 – 2 of 2) sorted by relevance
3414 magic2 = SWAP16(magic); in ar9300_check_eeprom()3424 temp = SWAP16(*eepdata); in ar9300_check_eeprom()3447 el = SWAP16(ahp->ah_eeprom.def.base_eep_header.length); in ar9300_check_eeprom()3474 word = SWAP16(eep->base_eep_header.length); in ar9300_check_eeprom()3477 word = SWAP16(eep->base_eep_header.checksum); in ar9300_check_eeprom()3480 word = SWAP16(eep->base_eep_header.version); in ar9300_check_eeprom()3483 word = SWAP16(eep->base_eep_header.reg_dmn[0]); in ar9300_check_eeprom()3486 word = SWAP16(eep->base_eep_header.reg_dmn[1]); in ar9300_check_eeprom()3489 word = SWAP16(eep->base_eep_header.rf_silent); in ar9300_check_eeprom()3492 word = SWAP16(eep->base_eep_header.blue_tooth_options); in ar9300_check_eeprom()[all …]
419 #define SWAP16(_x) ( (u_int16_t)( (((const u_int8_t *)(&_x))[0] ) |\ macro431 #define SWAP16(_x) ( (u_int16_t)( (((const u_int8_t *)(&_x))[1] ) |\ macro