Searched refs:le16_to_cpu (Results 26 - 50 of 160) sorted by relevance

1234567

/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/ext2/
H A Dballoc.c324 cpu_to_le16(le16_to_cpu(gdp->bg_free_blocks_count)+1);
401 if (le16_to_cpu(gdp->bg_free_blocks_count) > 0) {
475 if (le16_to_cpu(gdp->bg_free_blocks_count) > 0)
571 cpu_to_le16(le16_to_cpu(gdp->bg_free_blocks_count) -
600 gdp->bg_free_blocks_count = cpu_to_le16(le16_to_cpu(gdp->bg_free_blocks_count) - 1);
635 desc_count += le16_to_cpu(gdp->bg_free_blocks_count);
643 i, le16_to_cpu(gdp->bg_free_blocks_count), x);
735 desc_count += le16_to_cpu(gdp->bg_free_blocks_count);
770 if (le16_to_cpu(gdp->bg_free_blocks_count) != x)
774 le16_to_cpu(gd
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/udf/
H A Dsuper.c534 ident = le16_to_cpu(((tag *)bh->b_data)->tagIdent);
569 ident = le16_to_cpu(((tag *)bh->b_data)->tagIdent);
588 ident = le16_to_cpu(((tag *)bh->b_data)->tagIdent);
610 ident = le16_to_cpu(((tag *)bh->b_data)->tagIdent);
783 UDF_SB_SERIALNUM(sb) = le16_to_cpu(fset->descTag.tagSerialNum);
800 UDF_SB_PARTMAPS(sb)[i].s_partition_num, le16_to_cpu(p->partitionNumber));
801 if (UDF_SB_PARTMAPS(sb)[i].s_partition_num == le16_to_cpu(p->partitionNumber))
876 udf_debug("Partition (%d) not found in partition map\n", le16_to_cpu(p->partitionNumber));
881 le16_to_cpu(p->partitionNumber), i, UDF_SB_PARTTYPE(sb,i),
906 UDF_SB_PARTVSN(sb,i) = le16_to_cpu(gpm
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/reiserfs/
H A Dobjectid.c173 int cur_size = le16_to_cpu(disk_sb->s_oid_cursize) ;
175 int old_max = le16_to_cpu(disk_sb->s_oid_maxsize) ;
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/scsi/
H A Dqlogicisp.c1041 if (le16_to_cpu(sts->completion_status) == CS_RESET_OCCURRED
1042 || le16_to_cpu(sts->completion_status) == CS_ABORTED
1043 || (le16_to_cpu(sts->status_flags) & STF_BUS_RESET))
1046 if (le16_to_cpu(sts->state_flags) & SF_GOT_SENSE)
1102 le16_to_cpu(sts->completion_status)));
1104 switch(le16_to_cpu(sts->completion_status)) {
1109 if (!(le16_to_cpu(sts->state_flags) & SF_GOT_BUS))
1111 else if (!(le16_to_cpu(sts->state_flags) & SF_GOT_TARGET))
1113 else if (!(le16_to_cpu(sts->state_flags) & SF_SENT_CDB))
1115 else if (!(le16_to_cpu(st
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/parisc/lib/
H A Dchecksum.c75 result += le16_to_cpu(*buff);
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/mips/au1000/common/
H A Dusbdev.c617 if ((le16_to_cpu(setup->wValue) & 0xff) == 1)
623 if ((le16_to_cpu(setup->wValue) & 0xff) == 0) {
626 le16_to_cpu(setup->wIndex) & 0xff);
651 if ((le16_to_cpu(setup->wValue) & 0xff) == 1)
657 if ((le16_to_cpu(setup->wValue) & 0xff) == 0) {
660 le16_to_cpu(setup->wIndex) & 0xff);
675 int new_addr = le16_to_cpu(setup->wValue);
701 int strnum, desc_len = le16_to_cpu(setup->wLength);
703 switch (le16_to_cpu(setup->wValue) >> 8) {
716 if ((le16_to_cpu(setu
[all...]
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/linux/byteorder/
H A Dgeneric.h92 #define le16_to_cpu __le16_to_cpu macro
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/linux/byteorder/
H A Dgeneric.h92 #define le16_to_cpu __le16_to_cpu macro
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/partitions/
H A Dosf.c74 for (i = 0 ; i < le16_to_cpu(label->d_npartitions); i++, partition++) {
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/ext3/
H A Dsuper.c124 switch (le16_to_cpu(sb->u.ext3_sb.s_es->s_errors)) {
410 es->s_state = le16_to_cpu(sbi->s_mount_state);
683 else if ((__s16) le16_to_cpu(es->s_max_mnt_count) >= 0 &&
684 le16_to_cpu(es->s_mnt_count) >=
685 (unsigned short) (__s16) le16_to_cpu(es->s_max_mnt_count))
695 if (!(__s16) le16_to_cpu(es->s_max_mnt_count))
698 es->s_mnt_count=cpu_to_le16(le16_to_cpu(es->s_mnt_count) + 1);
947 sb->s_magic = le16_to_cpu(es->s_magic);
1018 if (es->s_magic != le16_to_cpu(EXT3_SUPER_MAGIC)) {
1029 sbi->s_inode_size = le16_to_cpu(e
[all...]
H A Dballoc.c375 cpu_to_le16(le16_to_cpu(gdp->bg_free_blocks_count)+1);
588 if (le16_to_cpu(gdp->bg_free_blocks_count) > 0) {
631 if (le16_to_cpu(gdp->bg_free_blocks_count) > 0) {
754 cpu_to_le16(le16_to_cpu(gdp->bg_free_blocks_count) -
788 cpu_to_le16(le16_to_cpu(gdp->bg_free_blocks_count) - 1);
843 desc_count += le16_to_cpu(gdp->bg_free_blocks_count);
851 i, le16_to_cpu(gdp->bg_free_blocks_count), x);
944 desc_count += le16_to_cpu(gdp->bg_free_blocks_count);
982 if (le16_to_cpu(gdp->bg_free_blocks_count) != x)
986 le16_to_cpu(gd
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/qnx4/
H A Dinode.c201 qnx4_nxtnt_t nxtnt = le16_to_cpu(qnx4_inode->i_num_xtnts);
433 inode->i_mode = le16_to_cpu(raw_inode->di_mode);
434 inode->i_uid = (uid_t)le16_to_cpu(raw_inode->di_uid);
435 inode->i_gid = (gid_t)le16_to_cpu(raw_inode->di_gid);
436 inode->i_nlink = le16_to_cpu(raw_inode->di_nlink);
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/scsi/aacraid/
H A Dcommsup.c325 entry->size = cpu_to_le32(le16_to_cpu(fib->header.Size));
337 entry->size = cpu_to_le32(le16_to_cpu(fib->header.Size));
466 if (le16_to_cpu(fib->header.Size) > le16_to_cpu(fib->header.SenderSize)) {
654 if (size > le16_to_cpu(fib->header.SenderSize))
670 if (size > le16_to_cpu(fib->header.SenderSize))
858 if (aifcmd->command == le16_to_cpu(AifCmdDriverNotify)) {
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/linux/
H A Dreiserfs_fs_sb.h111 #define sb_blocksize(sbp) (le16_to_cpu((sbp)->s_blocksize))
113 #define sb_oid_maxsize(sbp) (le16_to_cpu((sbp)->s_oid_maxsize))
115 #define sb_oid_cursize(sbp) (le16_to_cpu((sbp)->s_oid_cursize))
117 #define sb_state(sbp) (le16_to_cpu((sbp)->s_state))
123 #define sb_tree_height(sbp) (le16_to_cpu((sbp)->s_tree_height))
125 #define sb_bmap_nr(sbp) (le16_to_cpu((sbp)->s_bmap_nr))
127 #define sb_version(sbp) (le16_to_cpu((sbp)->s_version))
H A Dreiserfs_fs.h386 #define ih_free_space(ih) le16_to_cpu((ih)->u.ih_free_space_reserved)
387 #define ih_version(ih) le16_to_cpu((ih)->ih_version)
388 #define ih_entry_count(ih) le16_to_cpu((ih)->u.ih_entry_count)
389 #define ih_location(ih) le16_to_cpu((ih)->ih_item_location)
390 #define ih_item_len(ih) le16_to_cpu((ih)->ih_item_len)
625 #define blkh_level(p_blkh) (le16_to_cpu((p_blkh)->blk_level))
626 #define blkh_nr_item(p_blkh) (le16_to_cpu((p_blkh)->blk_nr_item))
627 #define blkh_free_space(p_blkh) (le16_to_cpu((p_blkh)->blk_free_space))
628 #define blkh_reserved(p_blkh) (le16_to_cpu((p_blkh)->blk_reserved))
708 #define sd_v1_mode(sdp) (le16_to_cpu((sd
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/linux/
H A Dreiserfs_fs_sb.h111 #define sb_blocksize(sbp) (le16_to_cpu((sbp)->s_blocksize))
113 #define sb_oid_maxsize(sbp) (le16_to_cpu((sbp)->s_oid_maxsize))
115 #define sb_oid_cursize(sbp) (le16_to_cpu((sbp)->s_oid_cursize))
117 #define sb_state(sbp) (le16_to_cpu((sbp)->s_state))
123 #define sb_tree_height(sbp) (le16_to_cpu((sbp)->s_tree_height))
125 #define sb_bmap_nr(sbp) (le16_to_cpu((sbp)->s_bmap_nr))
127 #define sb_version(sbp) (le16_to_cpu((sbp)->s_version))
H A Dreiserfs_fs.h386 #define ih_free_space(ih) le16_to_cpu((ih)->u.ih_free_space_reserved)
387 #define ih_version(ih) le16_to_cpu((ih)->ih_version)
388 #define ih_entry_count(ih) le16_to_cpu((ih)->u.ih_entry_count)
389 #define ih_location(ih) le16_to_cpu((ih)->ih_item_location)
390 #define ih_item_len(ih) le16_to_cpu((ih)->ih_item_len)
625 #define blkh_level(p_blkh) (le16_to_cpu((p_blkh)->blk_level))
626 #define blkh_nr_item(p_blkh) (le16_to_cpu((p_blkh)->blk_nr_item))
627 #define blkh_free_space(p_blkh) (le16_to_cpu((p_blkh)->blk_free_space))
628 #define blkh_reserved(p_blkh) (le16_to_cpu((p_blkh)->blk_reserved))
708 #define sd_v1_mode(sdp) (le16_to_cpu((sd
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/net/
H A Dpcnet32.c656 lp->init_block.mode = le16_to_cpu(0x0003); /* Disable Rx and Tx. */
657 lp->init_block.tlen_rlen = le16_to_cpu(TX_RING_LEN_BITS | RX_RING_LEN_BITS);
822 lp->init_block.mode = le16_to_cpu((lp->options & PCNET32_PORT_PORTSEL) << 7);
917 lp->rx_ring[i].buf_length = le16_to_cpu(-PKT_BUF_SZ);
918 lp->rx_ring[i].status = le16_to_cpu(0x8000);
928 lp->init_block.tlen_rlen = le16_to_cpu(TX_RING_LEN_BITS | RX_RING_LEN_BITS);
1034 lp->tx_ring[entry].length = le16_to_cpu(-skb->len);
1041 lp->tx_ring[entry].status = le16_to_cpu(status);
1102 int status = (short)le16_to_cpu(lp->tx_ring[entry].status);
1216 while ((short)le16_to_cpu(l
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/usb/serial/
H A Dio_edgeport.c543 le16_to_cpu(edge_serial->boot_descriptor.BuildNumber);
547 le16_to_cpu(BootBuildNumber);
552 le16_to_cpu(edge_serial->boot_descriptor.BuildNumber));
559 le16_to_cpu(edge_serial->boot_descriptor.BuildNumber),
562 le16_to_cpu(BootBuildNumber));
571 response = rom_write (edge_serial->serial, le16_to_cpu(record->ExtAddr), le16_to_cpu(record->Addr), le16_to_cpu(record->Len), &record->Data[0]);
573 err("rom_write failed (%x, %x, %d)", le16_to_cpu(record->ExtAddr), le16_to_cpu(recor
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/usb/host/
H A Dhc_sl811_rh.c288 wValue = le16_to_cpu (cmd->wValue);
289 wIndex = le16_to_cpu (cmd->wIndex);
290 wLength = le16_to_cpu (cmd->wLength);
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-m68k/
H A Draw_io.h24 ({ unsigned short __v = le16_to_cpu(*(volatile unsigned short *) (addr)); __v; })
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm-m68k/
H A Draw_io.h24 ({ unsigned short __v = le16_to_cpu(*(volatile unsigned short *) (addr)); __v; })
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/net/
H A Ddn.h9 #define dn_ntohs(x) le16_to_cpu((unsigned short)(x))
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/net/
H A Ddn.h9 #define dn_ntohs(x) le16_to_cpu((unsigned short)(x))
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/mtd/
H A Dftl.c283 if ((le16_to_cpu(header.NumEraseUnits) > 65536) || header.BlockSize != 9 ||
285 (header.NumTransferUnits >= le16_to_cpu(header.NumEraseUnits))) {
308 part->DataUnits = le16_to_cpu(part->header.NumEraseUnits) -
323 for (i = 0; i < le16_to_cpu(part->header.NumEraseUnits); i++) {
324 offset = ((i + le16_to_cpu(part->header.FirstPhysicalEUN))
335 if (hdr_ok && (le16_to_cpu(header.LogicalEUN) < part->DataUnits) &&
336 (part->EUNInfo[le16_to_cpu(header.LogicalEUN)].Offset == 0xffffffff)) {
337 part->EUNInfo[le16_to_cpu(header.LogicalEUN)].Offset = offset;
338 part->EUNInfo[le16_to_cpu(header.LogicalEUN)].EraseCount =
347 if (hdr_ok && (le16_to_cpu(heade
[all...]

Completed in 302 milliseconds

1234567