Searched refs:SWAP16 (Results 1 – 2 of 2) sorted by relevance
3386 magic2 = SWAP16(magic); in ar9300_check_eeprom()3396 temp = SWAP16(*eepdata); in ar9300_check_eeprom()3419 el = SWAP16(ahp->ah_eeprom.def.base_eep_header.length); in ar9300_check_eeprom()3446 word = SWAP16(eep->base_eep_header.length); in ar9300_check_eeprom()3449 word = SWAP16(eep->base_eep_header.checksum); in ar9300_check_eeprom()3452 word = SWAP16(eep->base_eep_header.version); in ar9300_check_eeprom()3455 word = SWAP16(eep->base_eep_header.reg_dmn[0]); in ar9300_check_eeprom()3458 word = SWAP16(eep->base_eep_header.reg_dmn[1]); in ar9300_check_eeprom()3461 word = SWAP16(eep->base_eep_header.rf_silent); in ar9300_check_eeprom()3464 word = SWAP16(eep->base_eep_header.blue_tooth_options); in ar9300_check_eeprom()[all …]
413 #define SWAP16(_x) ( (u_int16_t)( (((const u_int8_t *)(&_x))[0] ) |\ macro425 #define SWAP16(_x) ( (u_int16_t)( (((const u_int8_t *)(&_x))[1] ) |\ macro