Searched refs:le16_to_cpu (Results 1 - 25 of 160) sorted by relevance

1234567

/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/ntfs/
H A Dunistr.c101 c1 = le16_to_cpu(*name1++);
102 c2 = le16_to_cpu(*name2++);
105 c1 = le16_to_cpu(upcase[c1]);
107 c2 = le16_to_cpu(upcase[c2]);
123 c1 = le16_to_cpu(*name1);
139 * le16_to_cpu() conversion is performed on non-little endian machines.
154 if ((c1 = le16_to_cpu(s1[i])) < upcase_size)
155 c1 = le16_to_cpu(upcase[c1]);
156 if ((c2 = le16_to_cpu(s2[i])) < upcase_size)
157 c2 = le16_to_cpu(upcas
[all...]
/asus-wl-520gu-7.0.1.45/src/router/acl/libacl/
H A Dbyteorder.h4 # define cpu_to_le16(w16) le16_to_cpu(w16)
5 # define le16_to_cpu(w16) ((u_int16_t)((u_int16_t)(w16) >> 8) | \ macro
14 # define le16_to_cpu(w16) ((u_int16_t)(w16)) macro
H A D__acl_from_xattr.c62 entry_obj_p->etag = le16_to_cpu(ext_entry_p->e_tag);
63 entry_obj_p->eperm.sperm = le16_to_cpu(ext_entry_p->e_perm);
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/udf/
H A Dmisc.c120 if (le16_to_cpu(eahd->descTag.tagIdent) != TAG_IDENT_EAHD ||
217 if (le16_to_cpu(eahd->descTag.tagIdent) != TAG_IDENT_EAHD ||
280 *ident = le16_to_cpu(tag_p->tagIdent);
301 if (le16_to_cpu(tag_p->descVersion) != 0x0002U &&
302 le16_to_cpu(tag_p->descVersion) != 0x0003U)
305 le16_to_cpu(tag_p->descVersion), block);
310 if (le16_to_cpu(tag_p->descCRCLength) + sizeof(tag) > sb->s_blocksize ||
311 le16_to_cpu(tag_p->descCRC) == udf_crc(bh->b_data + sizeof(tag),
312 le16_to_cpu(tag_p->descCRCLength), 0))
317 block, le16_to_cpu(tag_
[all...]
H A Dudfend.h11 out.partitionReferenceNum = le16_to_cpu(in.partitionReferenceNum);
27 out.typeAndTimezone = le16_to_cpu(in.typeAndTimezone);
28 out.year = le16_to_cpu(in.year);
H A Ddirectory.c185 le16_to_cpu(cfi->lengthOfImpUse) + 3) & ~3;
217 if (le16_to_cpu(fi->descTag.tagIdent) != TAG_IDENT_FID)
220 le16_to_cpu(fi->descTag.tagIdent));
231 fi->lengthFileIdent + le16_to_cpu(fi->lengthOfImpUse);
257 if ( le16_to_cpu(fe->descTag.tagIdent) != TAG_IDENT_FE )
260 le16_to_cpu(fe->descTag.tagIdent));
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/ext2/
H A Dialloc.c201 cpu_to_le16(le16_to_cpu(desc->bg_free_inodes_count) + 1);
204 cpu_to_le16(le16_to_cpu(desc->bg_used_dirs_count) - 1);
245 if (le16_to_cpu(desc->bg_free_inodes_count) < avefreei)
248 (le16_to_cpu(desc->bg_free_blocks_count) >
249 le16_to_cpu(best_desc->bg_free_blocks_count))) {
258 cpu_to_le16(le16_to_cpu(best_desc->bg_free_inodes_count) - 1);
260 cpu_to_le16(le16_to_cpu(best_desc->bg_used_dirs_count) + 1);
277 if (desc && le16_to_cpu(desc->bg_free_inodes_count))
289 if (desc && le16_to_cpu(desc->bg_free_inodes_count))
301 if (desc && le16_to_cpu(des
[all...]
H A Dsuper.c45 cpu_to_le16(le16_to_cpu(es->s_state) | EXT2_ERROR_FS);
52 (le16_to_cpu(sb->u.ext2_sb.s_es->s_errors) == EXT2_ERRORS_PANIC &&
59 (le16_to_cpu(sb->u.ext2_sb.s_es->s_errors) == EXT2_ERRORS_RO &&
74 cpu_to_le16(le16_to_cpu(sb->u.ext2_sb.s_es->s_state) | EXT2_ERROR_FS);
131 es->s_state = le16_to_cpu(EXT2_SB(sb)->s_mount_state);
303 else if ((__s16) le16_to_cpu(es->s_max_mnt_count) >= 0 &&
304 le16_to_cpu(es->s_mnt_count) >=
305 (unsigned short) (__s16) le16_to_cpu(es->s_max_mnt_count))
312 if (!(__s16) le16_to_cpu(es->s_max_mnt_count))
314 es->s_mnt_count=cpu_to_le16(le16_to_cpu(e
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/parisc/lib/
H A Dio.c336 outw(le16_to_cpu(l >> 16), port);
337 outw(le16_to_cpu(l & 0xffff), port);
340 outw(le16_to_cpu(*(unsigned short*)src), port);
346 outw(le16_to_cpu(*(unsigned short*)src), port);
354 outw(le16_to_cpu(l >> 16), port);
355 outw(le16_to_cpu(l & 0xffff), port);
358 outw(le16_to_cpu(*(unsigned short*)src), port);
374 outw(le16_to_cpu(l | l2 >> 8), port);
378 outw (le16_to_cpu(l | l2>>8), port);
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/ext3/
H A Ddir.c44 const int rlen = le16_to_cpu(de->rec_len);
132 if (le16_to_cpu(de->rec_len) <
135 i += le16_to_cpu(de->rec_len);
155 offset += le16_to_cpu(de->rec_len);
183 filp->f_pos += le16_to_cpu(de->rec_len);
H A Dialloc.c264 le16_to_cpu(gdp->bg_free_inodes_count) + 1);
267 le16_to_cpu(gdp->bg_used_dirs_count) - 1);
337 le16_to_cpu(tmp->bg_free_inodes_count) &&
338 le16_to_cpu(tmp->bg_free_inodes_count) >=
340 if (!gdp || (le16_to_cpu(tmp->bg_free_blocks_count) >
341 le16_to_cpu(gdp->bg_free_blocks_count))) {
355 if (tmp && le16_to_cpu(tmp->bg_free_inodes_count))
369 le16_to_cpu(tmp->bg_free_inodes_count)) {
385 le16_to_cpu(tmp->bg_free_inodes_count)) {
420 if (le16_to_cpu(gd
[all...]
H A Dnamei.c88 de_len = le16_to_cpu(de->rec_len);
297 de->rec_len = le16_to_cpu(sb->s_blocksize);
319 le16_to_cpu(de->rec_len) >= rec_len) ||
320 (le16_to_cpu(de->rec_len) >=
325 offset += le16_to_cpu(de->rec_len);
330 cpu_to_le16(le16_to_cpu(de->rec_len) -
353 offset += le16_to_cpu(de->rec_len);
355 ((char *) de + le16_to_cpu(de->rec_len));
384 cpu_to_le16(le16_to_cpu(pde->rec_len) +
385 le16_to_cpu(d
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/mips/momentum/ocelot_g/
H A Dgt64240_dep.h44 *(data) = le16_to_cpu(*(volatile u16 *)(GT64240_BASE+(ofs)))
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/linux/mtd/
H A Dcfi_endian.h33 #define cfi16_to_cpu(x) le16_to_cpu(x)
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/linux/mtd/
H A Dcfi_endian.h33 #define cfi16_to_cpu(x) le16_to_cpu(x)
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/jfs/
H A Djfs_xattr.h48 le16_to_cpu((ea)->valuelen))
H A Djfs_xtree.c68 if ((le16_to_cpu((P)->header.nextindex) < XTENTRYSTART) ||\
69 (le16_to_cpu((P)->header.nextindex) > le16_to_cpu((P)->header.maxentry)) ||\
70 (le16_to_cpu((P)->header.maxentry) > (((BN)==0)?XTROOTMAXSLOT:PSIZE>>L2XTSLOTSIZE)))\
307 if (index == le16_to_cpu(p->header.nextindex)) {
390 if (index == le16_to_cpu(p->header.nextindex) - 1) {
451 if (index == le16_to_cpu(p->header.nextindex) - 1) {
559 le16_to_cpu(p->header.nextindex)) {
575 le16_to_cpu(p->header.nextindex)) {
638 lim = le16_to_cpu(
[all...]
H A Djfs_unicode.c41 codepage->uni2char(le16_to_cpu(from[i]), &to[outlen],
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/ncpfs/
H A Dinode.c121 inode->i_mtime = ncp_date_dos2unix(le16_to_cpu(nwi->modifyTime),
122 le16_to_cpu(nwi->modifyDate));
123 inode->i_ctime = ncp_date_dos2unix(le16_to_cpu(nwi->creationTime),
124 le16_to_cpu(nwi->creationDate));
125 inode->i_atime = ncp_date_dos2unix(0, le16_to_cpu(nwi->lastAccessDate));
189 inode->i_mtime = ncp_date_dos2unix(le16_to_cpu(nwi->modifyTime),
190 le16_to_cpu(nwi->modifyDate));
191 inode->i_ctime = ncp_date_dos2unix(le16_to_cpu(nwi->creationTime),
192 le16_to_cpu(nwi->creationDate));
194 le16_to_cpu(nw
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/befs/
H A Dendian.h55 return le16_to_cpu(n);
78 run.start = le16_to_cpu(n.start);
79 run.len = le16_to_cpu(n.len);
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/mtd/
H A Dnftlmount.c97 if (le16_to_cpu(h1.EraseMark | h1.EraseMark1) != ERASE_MARK) {
100 le16_to_cpu(h1.EraseMark), le16_to_cpu(h1.EraseMark1));
150 nftl->nb_boot_blocks = le16_to_cpu(mh->FirstPhysicalEUN);
170 nftl->nb_blocks = le16_to_cpu(mh->NumEraseUnits) + le16_to_cpu(mh->FirstPhysicalEUN);
255 erase_mark = le16_to_cpu ((uci.EraseMark | uci.EraseMark1));
416 erase_mark = le16_to_cpu ((h1.EraseMark | h1.EraseMark1));
452 return le16_to_cpu((uci.FoldMark | uci.FoldMark1));
525 logical_block = le16_to_cpu ((h
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/ufs/
H A Dswab.h101 return le16_to_cpu(n);
119 return *n = cpu_to_le16(le16_to_cpu(*n)+d);
128 return *n = cpu_to_le16(le16_to_cpu(*n)-d);
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/mtd/chips/
H A Dcfi_probe.c157 cfi->cfiq->P_ID = le16_to_cpu(cfi->cfiq->P_ID);
159 cfi->cfiq->P_ADR = le16_to_cpu(cfi->cfiq->P_ADR);
160 cfi->cfiq->A_ID = le16_to_cpu(cfi->cfiq->A_ID);
161 cfi->cfiq->A_ADR = le16_to_cpu(cfi->cfiq->A_ADR);
162 cfi->cfiq->InterfaceDesc = le16_to_cpu(cfi->cfiq->InterfaceDesc);
163 cfi->cfiq->MaxBufWriteSize = le16_to_cpu(cfi->cfiq->MaxBufWriteSize);
/asus-wl-520gu-7.0.1.45/src/router/dosfstools/dosfsck/
H A Ddosfsck.h17 /* 2.1 kernels use le16_to_cpu() type functions for CF_LE_W & Co., but don't
19 #ifndef le16_to_cpu
20 #define le16_to_cpu __le16_to_cpu macro
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/sparc64/lib/
H A DPeeCeeI.c158 *ps++ = le16_to_cpu(inw(addr));
165 w = (le16_to_cpu(inw(addr)) << 16);
166 w |= (le16_to_cpu(inw(addr)) << 0);
172 *ps = le16_to_cpu(inw(addr));

Completed in 267 milliseconds

1234567