Home
last modified time | relevance | path

Searched refs:cpu_to_be32 (Results 1 – 25 of 57) sorted by relevance

123

/external/u-boot/drivers/mtd/ubi/
Dfastmap.c121 new->vol_id = cpu_to_be32(vol_id); in new_fm_vhdr()
1153 fmsb->magic = cpu_to_be32(UBI_FM_SB_MAGIC); in ubi_write_fastmap()
1155 fmsb->used_blocks = cpu_to_be32(new_fm->used_blocks); in ubi_write_fastmap()
1159 fmh->magic = cpu_to_be32(UBI_FM_HDR_MAGIC); in ubi_write_fastmap()
1168 fmpl->magic = cpu_to_be32(UBI_FM_POOL_MAGIC); in ubi_write_fastmap()
1173 fmpl->pebs[i] = cpu_to_be32(ubi->fm_pool.pebs[i]); in ubi_write_fastmap()
1179 fmpl_wl->magic = cpu_to_be32(UBI_FM_POOL_MAGIC); in ubi_write_fastmap()
1184 fmpl_wl->pebs[i] = cpu_to_be32(ubi->fm_wl_pool.pebs[i]); in ubi_write_fastmap()
1191 fec->pnum = cpu_to_be32(wl_e->pnum); in ubi_write_fastmap()
1193 fec->ec = cpu_to_be32(wl_e->ec); in ubi_write_fastmap()
[all …]
Deba.c697 vid_hdr->vol_id = cpu_to_be32(vol_id); in ubi_eba_write_leb()
698 vid_hdr->lnum = cpu_to_be32(lnum); in ubi_eba_write_leb()
700 vid_hdr->data_pad = cpu_to_be32(vol->data_pad); in ubi_eba_write_leb()
814 vid_hdr->vol_id = cpu_to_be32(vol_id); in ubi_eba_write_leb_st()
815 vid_hdr->lnum = cpu_to_be32(lnum); in ubi_eba_write_leb_st()
817 vid_hdr->data_pad = cpu_to_be32(vol->data_pad); in ubi_eba_write_leb_st()
821 vid_hdr->data_size = cpu_to_be32(data_size); in ubi_eba_write_leb_st()
822 vid_hdr->used_ebs = cpu_to_be32(used_ebs); in ubi_eba_write_leb_st()
823 vid_hdr->data_crc = cpu_to_be32(crc); in ubi_eba_write_leb_st()
935 vid_hdr->vol_id = cpu_to_be32(vol_id); in ubi_eba_atomic_leb_change()
[all …]
Dvtbl.c108 vtbl_rec->crc = cpu_to_be32(crc); in ubi_change_vtbl_record()
149 vtbl_rec->crc = cpu_to_be32(crc); in ubi_vtbl_rename_volumes()
316 vid_hdr->vol_id = cpu_to_be32(UBI_LAYOUT_VOLUME_ID);
319 vid_hdr->data_pad = cpu_to_be32(0);
320 vid_hdr->lnum = cpu_to_be32(copy);
778 empty_vtbl_record.crc = cpu_to_be32(0xf116c36b);
Dio.c843 ec_hdr->magic = cpu_to_be32(UBI_EC_HDR_MAGIC); in ubi_io_write_ec_hdr()
845 ec_hdr->vid_hdr_offset = cpu_to_be32(ubi->vid_hdr_offset); in ubi_io_write_ec_hdr()
846 ec_hdr->data_offset = cpu_to_be32(ubi->leb_start); in ubi_io_write_ec_hdr()
847 ec_hdr->image_seq = cpu_to_be32(ubi->image_seq); in ubi_io_write_ec_hdr()
849 ec_hdr->hdr_crc = cpu_to_be32(crc); in ubi_io_write_ec_hdr()
1096 vid_hdr->magic = cpu_to_be32(UBI_VID_HDR_MAGIC); in ubi_io_write_vid_hdr()
1099 vid_hdr->hdr_crc = cpu_to_be32(crc); in ubi_io_write_vid_hdr()
/external/u-boot/arch/powerpc/cpu/mpc83xx/
Dpci.c198 tmp[0] = cpu_to_be32(pci_hose[0].first_busno); in ft_pci_setup()
199 tmp[1] = cpu_to_be32(pci_hose[0].last_busno); in ft_pci_setup()
203 tmp[0] = cpu_to_be32(gd->pci_clk); in ft_pci_setup()
213 tmp[0] = cpu_to_be32(pci_hose[1].first_busno); in ft_pci_setup()
214 tmp[1] = cpu_to_be32(pci_hose[1].last_busno); in ft_pci_setup()
218 tmp[0] = cpu_to_be32(gd->pci_clk); in ft_pci_setup()
/external/u-boot/drivers/net/pfe_eth/
Dpfe_cmd.c99 val = cpu_to_be32(val); in pfe_command_pe()
141 val = cpu_to_be32(val); in pfe_command_pe()
326 cpu_to_be32(activity_counter), in pfe_pe_status()
327 cpu_to_be32(rx), cpu_to_be32(tx)); in pfe_pe_status()
332 statebuf, cpu_to_be32(activity_counter), in pfe_pe_status()
333 cpu_to_be32(rx), cpu_to_be32(tx), in pfe_pe_status()
334 cpu_to_be32(drop)); in pfe_pe_status()
441 pe_dmem_write(pfe_pe_id, cpu_to_be32(1), PEMBOX_ADDR_CLASS, 4); in pfe_command_stop()
/external/u-boot/fs/ext4/
Dext4_journal.c440 cpu_to_be32(JBD2_FEATURE_COMPAT_CHECKSUM))) in ext4fs_check_journal_state()
442 cpu_to_be32(JBD2_FEATURE_COMPAT_CHECKSUM); in ext4fs_check_journal_state()
494 cpu_to_be32(be32_to_cpu( in ext4fs_check_journal_state()
525 jsb->s_start = cpu_to_be32(1); in ext4fs_check_journal_state()
526 jsb->s_sequence = cpu_to_be32(be32_to_cpu(jsb->s_sequence) + 1); in ext4fs_check_journal_state()
574 jdb.h_blocktype = cpu_to_be32(EXT3_JOURNAL_DESCRIPTOR_BLOCK); in update_descriptor_block()
575 jdb.h_magic = cpu_to_be32(EXT3_JOURNAL_MAGIC_NUMBER); in update_descriptor_block()
590 tag.block = cpu_to_be32(journal_ptr[i]->blknr); in update_descriptor_block()
591 tag.flags = cpu_to_be32(EXT3_JOURNAL_FLAG_SAME_UUID); in update_descriptor_block()
596 tag.block = cpu_to_be32(journal_ptr[--i]->blknr); in update_descriptor_block()
[all …]
/external/u-boot/tools/
Domapimage.c49 offset = cpu_to_be32(toc->section_offset); in omapimage_verify_header()
50 size = cpu_to_be32(toc->section_size); in omapimage_verify_header()
98 offset = cpu_to_be32(toc->section_offset); in omapimage_print_header()
99 size = cpu_to_be32(toc->section_size); in omapimage_print_header()
158 *data = cpu_to_be32(*data); in omapimage_set_header()
Dgpimage-common.c28 *gph_size = cpu_to_be32(*gph_size); in to_be32()
29 *gph_load_addr = cpu_to_be32(*gph_load_addr); in to_be32()
/external/u-boot/drivers/power/
Dpower_spi.c40 tmp = cpu_to_be32(pmic_tx); in pmic_reg()
48 tmp = cpu_to_be32(pmic_tx); in pmic_reg()
55 *val = cpu_to_be32(pmic_rx); in pmic_reg()
/external/u-boot/include/linux/byteorder/
Dgeneric.h94 #define cpu_to_be32 __cpu_to_be32 macro
183 *var = cpu_to_be32(be32_to_cpu(*var) + val); in be32_add_cpu()
196 dst[i] = cpu_to_be32(src[i]); in cpu_to_be32_array()
/external/linux-kselftest/tools/testing/selftests/powerpc/vphn/
Dtest-vphn.c8 #define cpu_to_be32(x) bswap_32(x) macro
13 #define cpu_to_be32(x) (x) macro
/external/u-boot/board/corscience/tricorder/
Dtricorder-eeprom.c53 eeprom->crc32 = cpu_to_be32(crc); in handle_eeprom_v0()
140 eeprom.magic = cpu_to_be32(TRICORDER_EEPROM_MAGIC); in tricorder_eeprom_write()
160 eeprom.crc32 = cpu_to_be32(crc); in tricorder_eeprom_write()
/external/u-boot/drivers/mmc/
Dsandbox_mmc.c51 resp[7] = cpu_to_be32(SD_HIGHSPEED_BUSY); in sandbox_mmc_send_cmd()
77 scr[0] = cpu_to_be32(2 << 24 | 1 << 15); /* SD version 3 */ in sandbox_mmc_send_cmd()
/external/u-boot/include/
Dcompiler.h101 # define cpu_to_be32(x) uswap_32(x) macro
114 # define cpu_to_be32(x) (x) macro
/external/u-boot/drivers/misc/
Dqfw.c250 dma.length = cpu_to_be32(size); in qemu_fwcfg_read_entry_dma()
252 dma.control = cpu_to_be32(FW_CFG_DMA_READ); in qemu_fwcfg_read_entry_dma()
259 dma.control |= cpu_to_be32(FW_CFG_DMA_SELECT | (entry << 16)); in qemu_fwcfg_read_entry_dma()
/external/u-boot/board/freescale/common/
Dsys_eeprom.c189 e.crc = cpu_to_be32(crc); in update_crc()
342 e.version = cpu_to_be32(NXID_VERSION); in do_mac()
498 e.version = cpu_to_be32(NXID_VERSION); in mac_read_from_eeprom()
/external/blktrace/
Dblktrace.h82 #define cpu_to_be32(x) __bswap_32(x) macro
89 #define cpu_to_be32(x) (x) macro
/external/u-boot/lib/
Duuid.c159 tmp32 = cpu_to_be32(simple_strtoul(uuid_str, NULL, 16)); in uuid_str_to_bin()
243 *(ptr + i) = cpu_to_be32(rand()); in gen_rand_uuid()
/external/u-boot/include/linux/
Dlibfdt_env.h21 #define cpu_to_fdt32(x) cpu_to_be32(x)
/external/u-boot/drivers/spi/
Dti_qspi.c238 data = cpu_to_be32(*txbuf++); in __ti_qspi_xfer()
240 data = cpu_to_be32(*txbuf++); in __ti_qspi_xfer()
242 data = cpu_to_be32(*txbuf++); in __ti_qspi_xfer()
244 data = cpu_to_be32(*txbuf++); in __ti_qspi_xfer()
/external/fsverity-utils/
Dutil.h83 # define cpu_to_be32(v) ((__force __be32)__builtin_bswap32(v)) macro
96 # define cpu_to_be32(v) ((__force __be32)(u32)(v)) macro
/external/u-boot/drivers/usb/host/
Dehci.h104 #define ehci_writel(a, b) __raw_writel(cpu_to_be32(b), a)
112 #define cpu_to_hc32(x) cpu_to_be32((x))
/external/u-boot/arch/arm/mach-keystone/
Dkeystone.c25 *ptr = cpu_to_be32(*ptr); in cpu_to_bus()
/external/kernel-headers/original/uapi/linux/
Dromfs_fs.h19 #define __mk4(a,b,c,d) cpu_to_be32(__mkl(__mkw(a,b),__mkw(c,d)))

123