Searched refs:cpu_to_le32 (Results 1 - 25 of 44) sorted by relevance

12

/external/kernel-headers/original/uapi/linux/
H A Dncp.h74 #define RIM_NAME (cpu_to_le32(1))
75 #define RIM_SPACE_ALLOCATED (cpu_to_le32(2))
76 #define RIM_ATTRIBUTES (cpu_to_le32(4))
77 #define RIM_DATA_SIZE (cpu_to_le32(8))
78 #define RIM_TOTAL_SIZE (cpu_to_le32(0x10))
79 #define RIM_EXT_ATTR_INFO (cpu_to_le32(0x20))
80 #define RIM_ARCHIVE (cpu_to_le32(0x40))
81 #define RIM_MODIFY (cpu_to_le32(0x80))
82 #define RIM_CREATION (cpu_to_le32(0x100))
83 #define RIM_OWNING_NAMESPACE (cpu_to_le32(
[all...]
H A Dnilfs2_ondisk.h535 cp->cp_flags = cpu_to_le32(le32_to_cpu(cp->cp_flags) | \
541 cp->cp_flags = cpu_to_le32(le32_to_cpu(cp->cp_flags) & \
597 su->su_flags = cpu_to_le32(le32_to_cpu(su->su_flags) | \
604 cpu_to_le32(le32_to_cpu(su->su_flags) & \
622 su->su_nblocks = cpu_to_le32(0);
623 su->su_flags = cpu_to_le32(0);
H A Dmsdos_fs.h22 #define CT_LE_L(v) cpu_to_le32(v)
/external/fio/
H A Dcconv.c284 top->td_ddir = cpu_to_le32(o->td_ddir);
285 top->rw_seq = cpu_to_le32(o->rw_seq);
286 top->kb_base = cpu_to_le32(o->kb_base);
287 top->unit_base = cpu_to_le32(o->kb_base);
288 top->ddir_seq_nr = cpu_to_le32(o->ddir_seq_nr);
289 top->iodepth = cpu_to_le32(o->iodepth);
290 top->iodepth_low = cpu_to_le32(o->iodepth_low);
291 top->iodepth_batch = cpu_to_le32(o->iodepth_batch);
292 top->iodepth_batch_complete = cpu_to_le32(o->iodepth_batch_complete);
293 top->size_percent = cpu_to_le32(
[all...]
H A Dserver.c583 spdu.jobs = cpu_to_le32(thread_number);
584 spdu.stat_outputs = cpu_to_le32(stat_number);
622 spdu.jobs = cpu_to_le32(thread_number);
623 spdu.stat_outputs = cpu_to_le32(stat_number);
662 spdu.jobs = cpu_to_le32(thread_number);
663 spdu.stat_outputs = cpu_to_le32(stat_number);
717 je->nr_running = cpu_to_le32(je->nr_running);
718 je->nr_ramp = cpu_to_le32(je->nr_ramp);
719 je->nr_pending = cpu_to_le32(je->nr_pending);
720 je->nr_setting_up = cpu_to_le32(j
[all...]
H A Dserver.h225 cmd->pdu_len = cpu_to_le32(pdu_len);
/external/selinux/libsepol/src/
H A Dwrite.c62 buf[0] = cpu_to_le32(MAPSIZE);
63 buf[1] = cpu_to_le32(e->highbit);
68 buf[2] = cpu_to_le32(count);
75 bit = cpu_to_le32(n->startbit);
123 buf32[items++] = cpu_to_le32(val);
125 buf32[items++] = cpu_to_le32(val);
127 buf32[items++] = cpu_to_le32(val);
163 buf32[items++] = cpu_to_le32(val);
188 cpu_to_le32(node->datum.data);
194 buf32[items++] = cpu_to_le32(cu
[all...]
H A Dprivate.h27 #define cpu_to_le32(x) (x) macro
34 #define cpu_to_le32(x) bswap_32(x) macro
H A Dmodule.c903 buf[0] = cpu_to_le32(SEPOL_MODULE_PACKAGE_MAGIC);
904 buf[1] = cpu_to_le32(p->version);
905 buf[2] = cpu_to_le32(nsec);
911 buf[0] = cpu_to_le32(offsets[0]);
916 buf[i] = cpu_to_le32(offsets[i]);
923 buf[i] = cpu_to_le32(offsets[i]);
929 buf[i] = cpu_to_le32(offsets[i]);
935 buf[i] = cpu_to_le32(offsets[i]);
948 buf[0] = cpu_to_le32(SEPOL_PACKAGE_SECTION_FC);
955 buf[0] = cpu_to_le32(SEPOL_PACKAGE_SECTION_SEUSE
[all...]
/external/f2fs-tools/mkfs/
H A Df2fs_format.c35 #define set_sb_le32(member, val) (sb.member = cpu_to_le32(val))
63 #define set_cp_le32(member, val) (cp->member = cpu_to_le32(val))
519 cpu_to_le32(crc);
562 sum->nat_j.entries[0].ne.block_addr = cpu_to_le32(
660 cpu_to_le32(crc);
739 raw_node->footer.next_blkaddr = cpu_to_le32(
745 raw_node->i.i_links = cpu_to_le32(2);
746 raw_node->i.i_uid = cpu_to_le32(getuid());
747 raw_node->i.i_gid = cpu_to_le32(getgid());
753 raw_node->i.i_atime = cpu_to_le32(tim
[all...]
/external/syslinux/gpxe/src/drivers/net/
H A Depic100.c17 #define virt_to_le32desc(addr) cpu_to_le32(virt_to_bus(addr))
276 rx_ring[i].status = cpu_to_le32(RRING_OWN); /* Owned by Epic chip */
277 rx_ring[i].buflength = cpu_to_le32(PKT_BUF_SZ);
291 tx_ring[i].buflength = 0x0000 | cpu_to_le32(TD_STDFLAGS << 16);
345 tx_ring[entry].buflength |= cpu_to_le32(len);
346 tx_ring[entry].status = cpu_to_le32(len << 16) |
347 cpu_to_le32(TRING_OWN); /* Pass ownership to the chip. */
385 if ((rx_ring[entry].status & cpu_to_le32(RRING_OWN)) == RRING_OWN)
H A Ddmfe.c57 #define virt_to_le32desc(addr) cpu_to_le32(virt_to_bus(addr))
358 rxd[entry].rdes0 = cpu_to_le32(0x80000000);
378 rxd[entry].rdes0 = cpu_to_le32(0x80000000);
422 txd[db->cur_tx].tdes1 = cpu_to_le32(0xe1000000 | size);
423 txd[db->cur_tx].tdes0 = cpu_to_le32(0x80000000); /* give ownership to device */
528 txd[i].tdes0 = cpu_to_le32(0);
529 txd[i].tdes1 = cpu_to_le32(0x81000000); /* IC, chain */
530 txd[i].tdes2 = cpu_to_le32(virt_to_bus(&txb[i]));
531 txd[i].tdes3 = cpu_to_le32(virt_to_bus(&txd[i + 1]));
541 rxd[i].rdes0 = cpu_to_le32(
[all...]
H A Dsis190.c175 desc->size |= cpu_to_le32(RingEnd);
183 desc->size = cpu_to_le32((RX_BUF_SIZE & RX_BUF_MASK) | eor);
185 desc->status = cpu_to_le32(OWNbit | INTbit);
190 desc->addr = cpu_to_le32(mapping);
197 desc->addr = cpu_to_le32(0xdeadbeef);
198 desc->size &= cpu_to_le32(RingEnd);
568 tp->tx_dma = cpu_to_le32(virt_to_bus(tp->TxDescRing));
577 tp->rx_dma = cpu_to_le32(virt_to_bus(tp->RxDescRing));
661 desc->PSize = cpu_to_le32(len);
662 desc->addr = cpu_to_le32(virt_to_bu
[all...]
H A Dns83820.c61 #define virt_to_le32desc(addr) cpu_to_le32(virt_to_bus(addr))
506 rx_ring[i].cmdsts = cpu_to_le32(REAL_RX_BUF_SIZE);
507 rx_ring[i].extsts = cpu_to_le32(0);
567 tx_ring[i].cmdsts = cpu_to_le32(0);
568 tx_ring[i].extsts = cpu_to_le32(0);
656 rx_ring[i].cmdsts = cpu_to_le32(REAL_RX_BUF_SIZE);
688 rx_ring[entry].cmdsts = cpu_to_le32(CMDSTS_OWN);
736 tx_ring[cur_tx].extsts = cpu_to_le32(extsts);
738 cmdsts = cpu_to_le32(0);
739 cmdsts |= cpu_to_le32(CMDSTS_OW
[all...]
H A Dr8169.h86 #define RTL_EEPROM_SIG cpu_to_le32(0x8129)
87 #define RTL_EEPROM_SIG_MASK cpu_to_le32(0xffff)
H A Dsundance.c59 #define virt_to_le32desc(addr) cpu_to_le32(virt_to_bus(addr))
340 rx_ring[i].length = cpu_to_le32(PKT_BUF_SZ | LastFrag);
357 tx_ring[1].length = cpu_to_le32(LastFrag | PKT_BUF_SZ);
478 rx_ring[entry].length = cpu_to_le32(PKT_BUF_SZ | LastFrag);
513 tx_ring[0].length = cpu_to_le32(s | LastFrag);
514 tx_ring[0].status = cpu_to_le32(0x00000001);
/external/syslinux/gpxe/src/include/
H A Dbig_bswap.h9 #define cpu_to_le32(x) __bswap_32(x) macro
H A Dlittle_bswap.h11 #define cpu_to_le32(x) (x) macro
/external/syslinux/gpxe/src/drivers/bitbash/
H A Dspi_bit.c174 tmp_command = cpu_to_le32 ( command );
181 tmp_address = cpu_to_le32 ( address );
/external/syslinux/com32/include/
H A Dbyteswap.h76 #define cpu_to_le32(x) (x) macro
85 #define cpu_to_le32(x) bswap_32(x) macro
152 up->x = cpu_to_le32(v);
/external/syslinux/gpxe/src/drivers/net/rtl818x/
H A Drtl818x.c107 entry->rx_buf = cpu_to_le32(virt_to_bus(iob->data));
108 entry->flags = cpu_to_le32(RTL818X_RX_DESC_FLAG_OWN | MAX_RX_SIZE);
111 entry->flags |= cpu_to_le32(RTL818X_RX_DESC_FLAG_EOR);
208 entry->tx_buf = cpu_to_le32(virt_to_bus(iob->data));
209 entry->frame_len = cpu_to_le32(len);
212 entry->flags = cpu_to_le32(tx_flags);
349 entry->rx_buf = cpu_to_le32(virt_to_bus(iob->data));
350 entry->flags = cpu_to_le32(RTL818X_RX_DESC_FLAG_OWN |
353 entry->flags |= cpu_to_le32(RTL818X_RX_DESC_FLAG_EOR);
388 priv->tx_ring[i].next_tx_desc = cpu_to_le32(pri
[all...]
/external/syslinux/gpxe/src/drivers/net/phantom/
H A Dphantom.c623 cpu_to_le32 ( NX_CAP0_LEGACY_CONTEXT | NX_CAP0_LEGACY_MN );
625 cpu_to_le32 ( NX_HOST_INT_CRB_MODE_SHARED );
627 cpu_to_le32 ( NX_HOST_RDS_CRB_MODE_UNIQUE );
628 buf->hostrq.rx_ctx.rds_ring_offset = cpu_to_le32 ( 0 );
630 cpu_to_le32 ( sizeof ( buf->hostrq.rds ) );
636 buf->hostrq.rds.ring_size = cpu_to_le32 ( PHN_NUM_RDS );
637 buf->hostrq.rds.ring_kind = cpu_to_le32 ( NX_RDS_RING_TYPE_NORMAL );
640 buf->hostrq.sds.ring_size = cpu_to_le32 ( PHN_NUM_SDS );
745 cpu_to_le32 ( NX_CAP0_LEGACY_CONTEXT | NX_CAP0_LEGACY_MN );
747 cpu_to_le32 ( NX_HOST_INT_CRB_MODE_SHARE
[all...]
/external/f2fs-tools/fsck/
H A Dfsck.c394 cpu_to_le32(i_links + 1);
537 node_blk->i.i_links = cpu_to_le32(child_cnt);
985 ckp->ckpt_flags = cpu_to_le32(CP_UMOUNT_FLAG);
987 cpu_to_le32(8 + le32_to_cpu(raw_sb->cp_payload));
988 ckp->cp_pack_start_sum = cpu_to_le32(1 +
991 ckp->free_segment_count = cpu_to_le32(fsck->chk.free_segs);
992 ckp->valid_block_count = cpu_to_le32(fsck->chk.valid_blk_cnt);
993 ckp->valid_node_count = cpu_to_le32(fsck->chk.valid_node_cnt);
994 ckp->valid_inode_count = cpu_to_le32(fsck->chk.valid_inode_cnt);
998 cpu_to_le32(cr
[all...]
/external/syslinux/gpxe/src/net/80211/
H A Dwpa_tkip.c362 V[0] = cpu_to_le32 ( V[0] );
363 V[1] = cpu_to_le32 ( V[1] );
409 head.tsc_hi = cpu_to_le32 ( ctx->enc.tsc_hi );
427 icv = cpu_to_le32 ( ~icv );
/external/syslinux/gpxe/src/core/
H A Dgdbstub.c94 * ( uint32_t * ) dst = cpu_to_le32 ( i );
112 uint32_t i = cpu_to_le32 ( * ( uint32_t * ) src );

Completed in 2198 milliseconds

12