swap16
dp->d_reclen = swap16(dp->d_reclen);
ndp->d_ino = swap16(odp->d_ino);
s->c_mode = swap16(s->c_mode);
s->c_spare1[1] = swap16(s->c_spare1[1]);
s->c_spare1[2] = swap16(s->c_spare1[2]);
os->c_inumber = swap16(os->c_inumber);
os->c_odinode.odi_mode = swap16(os->c_odinode.odi_mode);
os->c_odinode.odi_nlink = swap16(os->c_odinode.odi_nlink);
os->c_odinode.odi_uid = swap16(os->c_odinode.odi_uid);
os->c_odinode.odi_gid = swap16(os->c_odinode.odi_gid);
swap16(powerp->minutes_left);
*ptr++ = swap16(temp);
OCTCF_REG_WRITE(wd, 0x0, swap16(temp));
*p = swap16(*p);
*p = swap16(*p);
*p = swap16(*p);
val = swap16(val);
*p = swap16(*p);
*p = swap16(*p);
*p = swap16(*p);
d[i] = swap16(s[i]);
match = mvpp2_prs_tcam_data_cmp(pe, 0, swap16(tpid));
match = mvpp2_prs_tcam_data_cmp(pe, 0, swap16(tpid1)) &&
mvpp2_prs_tcam_data_cmp(pe, 4, swap16(tpid2));
*p = swap16(*p);
if (magic != swap16(AR_EEPROM_MAGIC)) {
*eep = swap16(*eep);
base->length = swap16(base->length);
base->version = swap16(base->version);
base->regDmn[0] = swap16(base->regDmn[0]);
base->regDmn[1] = swap16(base->regDmn[1]);
base->rfSilent = swap16(base->rfSilent);
base->blueToothOptions = swap16(base->blueToothOptions);
base->deviceCap = swap16(base->deviceCap);
swap16(modal->spurChans[j].spurChan);
swap16(eep->modalHeader.spurChans[i].spurChan);
swap16(eep->modalHeader.spurChans[i].spurChan);
base->regDmn[0] = swap16(base->regDmn[0]);
base->regDmn[1] = swap16(base->regDmn[1]);
modal->antCtrlChain[i] = swap16(modal->antCtrlChain[i]);
modal->antCtrlChain[i] = swap16(modal->antCtrlChain[i]);
hdr->count = swap16(hdr->count);
vlanctl |= swap16(m->m_pkthdr.ether_vtag) |
packet_hdrp->count = swap16(packet_hdrp->count);
packet_hdrp->count = swap16(packet_hdrp->count);
#define swab16(x) swap16(x)
cflags |= swap16(m->m_pkthdr.ether_vtag) | RGE_TDEXTSTS_VTAG;
m->m_pkthdr.ether_vtag = swap16(rxctl & VGE_RDCTL_VLANID);
ri->ri_devcmap[i] = swap16(c);
m->m_pkthdr.ether_vtag = swap16(rxvlan & URE_RXPKT_VLAN_DATA);
swap16((rxvlan >> 16) & URE_RXPKT_VLAN_DATA);
cflags |= URE_TXPKT_VLAN_TAG | swap16(m->m_pkthdr.ether_vtag);
swap16(dlp->d_npartitions) > MAXPARTITIONS)
swap16(dlp->d_npartitions)];
dlp->d_type = swap16(dlp->d_type);
dlp->d_secperunith = swap16(dlp->d_secperunith);
dlp->d_version = swap16(dlp->d_version);
dlp->d_npartitions = swap16(dlp->d_npartitions);
pp->p_offseth = swap16(pp->p_offseth);
pp->p_sizeh = swap16(pp->p_sizeh);
pp->p_cpg = swap16(pp->p_cpg);
return (hi ^ swap16(lo));
return (hi ^ swap16(lo));
return (swap16(hi) ^ lo);
#define _S_(v16) (Sbox[Lo8(v16)] ^ swap16(Sbox[Hi8(v16)]))
PPK[i] = swap16(PPK[i]);
*__swap16_multi_v = swap16(*__swap16_multi_v); \
new[i].ext2bgd_nbfree = swap16(old[i].ext2bgd_nbfree);
new[i].ext2bgd_nifree = swap16(old[i].ext2bgd_nifree);
new[i].ext2bgd_ndirs = swap16(old[i].ext2bgd_ndirs);
new->e2di_mode = swap16(old->e2di_mode);
new->e2di_uid_low = swap16(old->e2di_uid_low);
new->e2di_gid_low = swap16(old->e2di_gid_low);
new->e2di_uid_high = swap16(old->e2di_uid_high);
new->e2di_gid_high = swap16(old->e2di_gid_high);
new->e2di_nlink = swap16(old->e2di_nlink);
new->e2di_nblock_hi = swap16(old->e2di_nblock_hi);
new->e2di_facl_hi = swap16(old->e2di_facl_hi);
new->e2di_isize = swap16(old->e2di_isize);
new->e2fs_mnt_count = swap16(old->e2fs_mnt_count);
new->e2fs_max_mnt_count = swap16(old->e2fs_max_mnt_count);
new->e2fs_magic = swap16(old->e2fs_magic);
new->e2fs_state = swap16(old->e2fs_state);
new->e2fs_beh = swap16(old->e2fs_beh);
new->e2fs_minrev = swap16(old->e2fs_minrev);
new->e2fs_ruid = swap16(old->e2fs_ruid);
new->e2fs_rgid = swap16(old->e2fs_rgid);
new->e2fs_inode_size = swap16(old->e2fs_inode_size);
new->e2fs_block_group_nr = swap16(old->e2fs_block_group_nr);
new->e2fs_gdesc_size = swap16(old->e2fs_gdesc_size);
eh->e_type = swap16(eh->e_type);
eh->e_machine = swap16(eh->e_machine);
eh->e_ehsize = swap16(eh->e_ehsize);
eh->e_phentsize = swap16(eh->e_phentsize);
eh->e_phnum = swap16(eh->e_phnum);
eh->e_shentsize = swap16(eh->e_shentsize);
eh->e_shnum = swap16(eh->e_shnum);
eh->e_shstrndx = swap16(eh->e_shstrndx);
sym->st_shndx = swap16(sym->st_shndx);
#define swap_half swap16
#define swap_quarter swap16
#define swap_quarter swap16
#define bswap16 swap16
hp->version_major = swap16(hp->version_major);
hp->version_minor = swap16(hp->version_minor);