Searched refs:swap16 (Results 1 - 25 of 31) sorted by relevance

12

/openbsd-current/sys/ufs/ext2fs/
H A Dext2fs_bswap.c68 new->e2fs_mnt_count = swap16(old->e2fs_mnt_count);
69 new->e2fs_max_mnt_count = swap16(old->e2fs_max_mnt_count);
70 new->e2fs_magic = swap16(old->e2fs_magic);
71 new->e2fs_state = swap16(old->e2fs_state);
72 new->e2fs_beh = swap16(old->e2fs_beh);
73 new->e2fs_minrev = swap16(old->e2fs_minrev);
78 new->e2fs_ruid = swap16(old->e2fs_ruid);
79 new->e2fs_rgid = swap16(old->e2fs_rgid);
81 new->e2fs_inode_size = swap16(old->e2fs_inode_size);
82 new->e2fs_block_group_nr = swap16(ol
[all...]
/openbsd-current/sys/net/
H A Dtoeplitz.h68 return (hi ^ swap16(lo));
88 return (hi ^ swap16(lo));
90 return (swap16(hi) ^ lo);
/openbsd-current/usr.bin/nm/
H A Delf.c50 #define swap_half swap16
51 #define swap_quarter swap16
74 #define swap_quarter swap16
133 eh->e_type = swap16(eh->e_type);
134 eh->e_machine = swap16(eh->e_machine);
140 eh->e_ehsize = swap16(eh->e_ehsize);
141 eh->e_phentsize = swap16(eh->e_phentsize);
142 eh->e_phnum = swap16(eh->e_phnum);
143 eh->e_shentsize = swap16(eh->e_shentsize);
144 eh->e_shnum = swap16(e
[all...]
/openbsd-current/sys/dev/ata/
H A Data.c134 *p = swap16(*p);
138 *p = swap16(*p);
142 *p = swap16(*p);
/openbsd-current/sys/sys/
H A Dendian.h70 #define swap16(x) __swap16(x) macro
79 *__swap16_multi_v = swap16(*__swap16_multi_v); \
/openbsd-current/sys/dev/pci/drm/include/asm/
H A Dbyteorder.h29 #define swab16(x) swap16(x)
/openbsd-current/usr.sbin/makefs/cd9660/
H A Dcd9660_conversion.c37 #define bswap16 swap16
/openbsd-current/sbin/restore/
H A Dtape.c1306 s->c_mode = swap16(s->c_mode);
1334 s->c_spare1[1] = swap16(s->c_spare1[1]);
1335 s->c_spare1[2] = swap16(s->c_spare1[2]);
1346 os->c_inumber = swap16(os->c_inumber);
1350 os->c_odinode.odi_mode = swap16(os->c_odinode.odi_mode);
1351 os->c_odinode.odi_nlink = swap16(os->c_odinode.odi_nlink);
1352 os->c_odinode.odi_uid = swap16(os->c_odinode.odi_uid);
1353 os->c_odinode.odi_gid = swap16(os->c_odinode.odi_gid);
H A Ddirs.c352 dp->d_reclen = swap16(dp->d_reclen);
437 ndp->d_ino = swap16(odp->d_ino);
/openbsd-current/sys/kern/
H A Dsubr_disk.c196 swap16(dlp->d_npartitions) > MAXPARTITIONS)
205 swap16(dlp->d_npartitions)];
212 dlp->d_type = swap16(dlp->d_type);
229 dlp->d_secperunith = swap16(dlp->d_secperunith);
230 dlp->d_version = swap16(dlp->d_version);
237 dlp->d_npartitions = swap16(dlp->d_npartitions);
247 pp->p_offseth = swap16(pp->p_offseth);
248 pp->p_sizeh = swap16(pp->p_sizeh);
250 pp->p_cpg = swap16(pp->p_cpg);
/openbsd-current/sys/arch/octeon/dev/
H A Doctcf.c687 *ptr++ = swap16(temp);
714 OCTCF_REG_WRITE(wd, 0x0, swap16(temp));
824 *p = swap16(*p);
828 *p = swap16(*p);
832 *p = swap16(*p);
/openbsd-current/usr.sbin/tcpdump/
H A Dprivsep_pcap.c337 hp->version_major = swap16(hp->version_major);
338 hp->version_minor = swap16(hp->version_minor);
/openbsd-current/sys/dev/ic/
H A Dar9380.c222 base->regDmn[0] = swap16(base->regDmn[0]);
223 base->regDmn[1] = swap16(base->regDmn[1]);
232 modal->antCtrlChain[i] = swap16(modal->antCtrlChain[i]);
240 modal->antCtrlChain[i] = swap16(modal->antCtrlChain[i]);
H A Dar5008.c311 if (magic != swap16(AR_EEPROM_MAGIC)) {
335 *eep = swap16(*eep);
355 base->length = swap16(base->length);
356 base->version = swap16(base->version);
357 base->regDmn[0] = swap16(base->regDmn[0]);
358 base->regDmn[1] = swap16(base->regDmn[1]);
359 base->rfSilent = swap16(base->rfSilent);
360 base->blueToothOptions = swap16(base->blueToothOptions);
361 base->deviceCap = swap16(base->deviceCap);
H A Dne2000.c649 hdr->count = swap16(hdr->count);
H A Dar5416.c169 swap16(modal->spurChans[j].spurChan);
H A Dar9285.c181 swap16(eep->modalHeader.spurChans[i].spurChan);
H A Dar9287.c154 swap16(eep->modalHeader.spurChans[i].spurChan);
/openbsd-current/sys/arch/powerpc/powerpc/
H A Dbus_space.c316 val = swap16(val);
/openbsd-current/sys/net80211/
H A Dieee80211_crypto_tkip.c633 #define _S_(v16) (Sbox[Lo8(v16)] ^ swap16(Sbox[Hi8(v16)]))
787 PPK[i] = swap16(PPK[i]);
/openbsd-current/sys/dev/isa/
H A Dif_ec.c697 packet_hdrp->count = swap16(packet_hdrp->count);
H A Dif_we.c730 packet_hdrp->count = swap16(packet_hdrp->count);
/openbsd-current/sys/arch/i386/i386/
H A Dapm.c1080 swap16(powerp->minutes_left);
/openbsd-current/sys/dev/usb/
H A Dif_ure.c2078 swap16(rxvlan & URE_RXPKT_VLAN_DATA);
2168 cflags |= URE_TXPKT_VLAN_TAG | swap16(m->m_pkthdr.ether_vtag);
/openbsd-current/sys/dev/fdt/
H A Dif_mvpp.c3984 match = mvpp2_prs_tcam_data_cmp(pe, 0, swap16(tpid));
4098 match = mvpp2_prs_tcam_data_cmp(pe, 0, swap16(tpid1)) &&
4099 mvpp2_prs_tcam_data_cmp(pe, 4, swap16(tpid2));

Completed in 170 milliseconds

12