Searched refs:cpu_to_le32 (Results 26 - 50 of 101) sorted by relevance

12345

/u-boot/tools/
H A Dmxsboot.c558 cb->signature = cpu_to_le32(0x00112233);
559 cb->primary_boot_tag = cpu_to_le32(0x1);
560 cb->secondary_boot_tag = cpu_to_le32(0x1);
561 cb->num_copies = cpu_to_le32(1);
562 cb->drv_info[0].chip_num = cpu_to_le32(0x0);
563 cb->drv_info[0].drive_type = cpu_to_le32(0x0);
564 cb->drv_info[0].tag = cpu_to_le32(0x1);
565 cb->drv_info[0].first_sector_number = cpu_to_le32(sd_sector + 4);
566 cb->drv_info[0].sector_count = cpu_to_le32((size - 4) / 512);
H A Dmkexynosspl.c160 checksum = cpu_to_le32(checksum);
170 spl_size = cpu_to_le32(count + sizeof(struct var_size_header));
H A Dzynqmpimage.c86 return cpu_to_le32(checksum);
99 ptr->encryption = cpu_to_le32(ENCRYPTION_NONE);
449 cpu_to_le32((uint32_t)sizeof(struct zynqmp_header));
450 zynqhdr->image_size = cpu_to_le32(params->file_size -
455 zynqhdr->image_load = cpu_to_le32((uint32_t)params->ep);
H A Drkcommon.c302 hdr->magic = cpu_to_le32(RK_MAGIC);
303 hdr->disable_rc4 = cpu_to_le32(!rkcommon_need_rc4_spl(params));
335 hdr->magic = cpu_to_le32(RK_MAGIC_V2);
336 hdr->size_and_nimage = cpu_to_le32((2 << 16) + 384);
337 hdr->boot_flag = cpu_to_le32(HASH_SHA256);
344 hdr->images[i].size_and_off = cpu_to_le32((image_sector_count
347 hdr->images[i].counter = cpu_to_le32(i + 1);
H A Dkwbimage.c973 main_hdr->destaddr = cpu_to_le32(0xFFFFFFFF);
981 main_hdr->execaddr = cpu_to_le32(srcaddr + params->ep);
991 main_hdr->srcaddr = cpu_to_le32(params->addr - startaddr);
992 main_hdr->execaddr = cpu_to_le32(params->ep - startaddr);
1071 cpu_to_le32(payloadsz);
1072 main_hdr->srcaddr = cpu_to_le32(*dataoff);
1075 main_hdr->destaddr = cpu_to_le32(params->addr);
1076 main_hdr->execaddr = cpu_to_le32(params->ep);
1095 main_hdr->srcaddr = cpu_to_le32(le32_to_cpu(main_hdr->srcaddr) / params->bl_len);
1100 main_hdr->srcaddr = cpu_to_le32(
[all...]
H A Drenesas_spkgimage.c260 .payload_length = cpu_to_le32(payload_len << 8),
261 .load_address = cpu_to_le32(params->addr),
262 .execution_offset = cpu_to_le32(params->ep - params->addr),
H A Datmelimage.c152 return ints[5] != cpu_to_le32(size);
224 ints[pos] = cpu_to_le32(size);
/u-boot/include/
H A Dcompiler.h99 # define cpu_to_le32(x) (x) macro
112 # define cpu_to_le32(x) uswap_32(x) macro
H A Dzfs_common.h47 : cpu_to_le32(x))
/u-boot/drivers/net/fsl-mc/dpio/
H A Ddpio.c40 cmd_params->dpio_id = cpu_to_le32(dpio_id);
152 cmd_params->dpio_id = cpu_to_le32(object_id);
/u-boot/drivers/net/fsl-mc/
H A Ddpbp.c39 cmd_params->dpbp_id = cpu_to_le32(dpbp_id);
136 cmd_params->object_id = cpu_to_le32(obj_id);
H A Ddpsparser.c132 cmd_params->dpsparser_id = cpu_to_le32(obj_id);
H A Ddpni.c40 cmd_params->dpni_id = cpu_to_le32(dpni_id);
111 cmd_params->options = cpu_to_le32(cfg->options);
162 cmd_params->dpni_id = cpu_to_le32(object_id);
453 cmd_params->rate = cpu_to_le32(cfg->rate);
601 cmd_params->dest_id = cpu_to_le32(queue->destination.id);
/u-boot/drivers/net/
H A Dcalxedaxgmac.c233 p->buf_size = cpu_to_le32(MAX_DESC_BUF_SZ |
236 p->buf_size = cpu_to_le32(buf_sz);
256 end->buf_size |= cpu_to_le32(RXDESC1_END_RING);
262 p[ring_size - 1].flags = cpu_to_le32(TXDESC_END_RING);
273 p->flags = cpu_to_le32(DESC_OWN);
281 p->flags = cpu_to_le32(tmpflags);
292 p->buf1_addr = cpu_to_le32(paddr);
294 p->buf2_addr = cpu_to_le32(paddr + MAX_DESC_BUF_SZ);
H A Deepro100.c228 writel(cpu_to_le32(command), addr + priv->iobase);
355 cpu_to_le32(phys_to_bus(priv->devno,
359 rx_ring[i].count = cpu_to_le32(PKTSIZE_ALIGN << 16);
583 cfg_cmd->link = cpu_to_le32(phys_to_bus(priv->devno,
604 ias_cmd->link = cpu_to_le32(phys_to_bus(priv->devno,
642 desc->count = cpu_to_le32(priv->tx_threshold);
643 desc->link = cpu_to_le32(phys_to_bus(priv->devno,
645 desc->tx_desc_addr = cpu_to_le32(phys_to_bus(priv->devno,
647 desc->tx_buf_addr0 = cpu_to_le32(phys_to_bus(priv->devno,
649 desc->tx_buf_size0 = cpu_to_le32(lengt
[all...]
H A Drtl8169.c40 * Modified to use le32_to_cpu and cpu_to_le32 properly
555 cpu_to_le32((OWNbit | EORbit) + RX_BUF_SIZE);
558 cpu_to_le32(OWNbit + RX_BUF_SIZE);
559 tpc->RxDescArray[cur_rx].buf_addr = cpu_to_le32(
627 tpc->TxDescArray[entry].buf_addr = cpu_to_le32(
631 cpu_to_le32((OWNbit | FSbit | LSbit) |
635 cpu_to_le32((OWNbit | EORbit | FSbit | LSbit) |
791 cpu_to_le32((OWNbit | EORbit) + RX_BUF_SIZE);
794 cpu_to_le32(OWNbit + RX_BUF_SIZE);
797 tpc->RxDescArray[i].buf_addr = cpu_to_le32(dm_pci_mem_to_phy
[all...]
/u-boot/include/asm-generic/
H A Dunaligned.h42 __put_unaligned_t(__le32, cpu_to_le32(val), p);
/u-boot/fs/ubifs/
H A Dio.c333 ch->magic = cpu_to_le32(UBIFS_NODE_MAGIC);
338 ch->len = cpu_to_le32(UBIFS_PAD_NODE_SZ);
340 pad_node->pad_len = cpu_to_le32(pad);
342 ch->crc = cpu_to_le32(crc);
392 ch->magic = cpu_to_le32(UBIFS_NODE_MAGIC);
393 ch->len = cpu_to_le32(len);
398 ch->crc = cpu_to_le32(crc);
425 ch->magic = cpu_to_le32(UBIFS_NODE_MAGIC);
426 ch->len = cpu_to_le32(len);
434 ch->crc = cpu_to_le32(cr
[all...]
H A Dlog.c234 ref->lnum = cpu_to_le32(bud->lnum);
235 ref->offs = cpu_to_le32(bud->start);
236 ref->jhead = cpu_to_le32(jhead);
392 ref->lnum = cpu_to_le32(lnum);
393 ref->offs = cpu_to_le32(offs);
394 ref->jhead = cpu_to_le32(i);
H A Dmaster.c272 c->mst_node->flags &= cpu_to_le32(~UBIFS_MST_RCVRY);
305 if (c->mst_node->flags & cpu_to_le32(UBIFS_MST_NO_ORPHS))
331 c->mst_node->leb_cnt = cpu_to_le32(c->leb_cnt);
332 c->mst_node->empty_lebs = cpu_to_le32(c->lst.empty_lebs);
/u-boot/lib/
H A Duuid.c287 tmp32 = cpu_to_le32(hextoul(uuid_str, NULL));
315 tmp32 = cpu_to_le32(hextoul(uuid_str, NULL));
/u-boot/drivers/usb/host/
H A Dxhci-ring.c141 next->link.control &= cpu_to_le32(~TRB_CHAIN);
142 next->link.control |= cpu_to_le32(chain);
144 next->link.control ^= cpu_to_le32(TRB_CYCLE);
211 trb->field[i] = cpu_to_le32(trb_fields[i]);
265 next->link.control &= cpu_to_le32(~TRB_CHAIN);
267 next->link.control ^= cpu_to_le32(TRB_CYCLE);
393 start_trb->field[3] |= cpu_to_le32(start_cycle);
395 start_trb->field[3] &= cpu_to_le32(~TRB_CYCLE);
/u-boot/drivers/ata/
H A Dfsl_sata.c142 cmd_hdr->cmd_slot[i].cda = cpu_to_le32(cda);
340 prde->dba = cpu_to_le32((u32)buffer & ~0x3);
346 prde->ext_c_ddc = cpu_to_le32(ext_c_ddc);
353 prde->ext_c_ddc = cpu_to_le32(ext_c_ddc);
364 cmd_hdr->cda = cpu_to_le32((u32)cmd_desc & ~0x3);
368 cmd_hdr->prde_fis_len = cpu_to_le32(val32);
370 cmd_hdr->ttl = cpu_to_le32(ttl);
382 cmd_hdr->attribute = cpu_to_le32(val32);
/u-boot/disk/
H A Dpart_efi.c190 gpt_h->header_crc32 = cpu_to_le32(calc_crc32);
383 gpt_h->partition_entry_array_crc32 = cpu_to_le32(calc_crc32);
387 gpt_h->header_crc32 = cpu_to_le32(calc_crc32);
585 gpt_h->revision = cpu_to_le32(GPT_HEADER_REVISION_V1);
586 gpt_h->header_size = cpu_to_le32(sizeof(gpt_header));
594 gpt_h->num_partition_entries = cpu_to_le32(GPT_ENTRY_NUMBERS);
595 gpt_h->sizeof_partition_entry = cpu_to_le32(sizeof(gpt_entry));
721 gpt_h->header_crc32 = cpu_to_le32(calc_crc32);
/u-boot/fs/ext4/
H A Dext4_write.c36 sb->free_inodes = cpu_to_le32(le32_to_cpu(sb->free_inodes) + 1);
41 sb->free_blocks = cpu_to_le32(le32_to_cpu(sb->free_blocks) + 1);
726 fs->sb->feature_incompat = cpu_to_le32(new_feature_incompat);
952 file_inode->size = cpu_to_le32(sizebytes);
971 file_inode->mtime = cpu_to_le32(timestamp);
972 file_inode->atime = cpu_to_le32(timestamp);
973 file_inode->ctime = cpu_to_le32(timestamp);
979 file_inode->blockcnt = cpu_to_le32((blks_reqd_for_file * fs->blksz) >>

Completed in 134 milliseconds

12345