| /rk3399_rockchip-uboot/arch/powerpc/cpu/mpc83xx/ |
| H A D | pci.c | 199 tmp[0] = cpu_to_be32(pci_hose[0].first_busno); in ft_pci_setup() 200 tmp[1] = cpu_to_be32(pci_hose[0].last_busno); in ft_pci_setup() 204 tmp[0] = cpu_to_be32(gd->pci_clk); in ft_pci_setup() 214 tmp[0] = cpu_to_be32(pci_hose[1].first_busno); in ft_pci_setup() 215 tmp[1] = cpu_to_be32(pci_hose[1].last_busno); in ft_pci_setup() 219 tmp[0] = cpu_to_be32(gd->pci_clk); in ft_pci_setup()
|
| /rk3399_rockchip-uboot/tools/ |
| H A D | omapimage.c | 48 offset = cpu_to_be32(toc->section_offset); in omapimage_verify_header() 49 size = cpu_to_be32(toc->section_size); in omapimage_verify_header() 97 offset = cpu_to_be32(toc->section_offset); in omapimage_print_header() 98 size = cpu_to_be32(toc->section_size); in omapimage_print_header() 155 *data = cpu_to_be32(*data); in omapimage_set_header()
|
| H A D | gpimage-common.c | 29 *gph_size = cpu_to_be32(*gph_size); in to_be32() 30 *gph_load_addr = cpu_to_be32(*gph_load_addr); in to_be32()
|
| /rk3399_rockchip-uboot/drivers/power/ |
| H A D | power_spi.c | 41 tmp = cpu_to_be32(pmic_tx); in pmic_reg() 49 tmp = cpu_to_be32(pmic_tx); in pmic_reg() 56 *val = cpu_to_be32(pmic_rx); in pmic_reg()
|
| /rk3399_rockchip-uboot/drivers/mtd/ubi/ |
| H A D | fastmap.c | 122 new->vol_id = cpu_to_be32(vol_id); in new_fm_vhdr() 1154 fmsb->magic = cpu_to_be32(UBI_FM_SB_MAGIC); in ubi_write_fastmap() 1156 fmsb->used_blocks = cpu_to_be32(new_fm->used_blocks); in ubi_write_fastmap() 1160 fmh->magic = cpu_to_be32(UBI_FM_HDR_MAGIC); in ubi_write_fastmap() 1169 fmpl->magic = cpu_to_be32(UBI_FM_POOL_MAGIC); in ubi_write_fastmap() 1174 fmpl->pebs[i] = cpu_to_be32(ubi->fm_pool.pebs[i]); in ubi_write_fastmap() 1180 fmpl_wl->magic = cpu_to_be32(UBI_FM_POOL_MAGIC); in ubi_write_fastmap() 1185 fmpl_wl->pebs[i] = cpu_to_be32(ubi->fm_wl_pool.pebs[i]); in ubi_write_fastmap() 1192 fec->pnum = cpu_to_be32(wl_e->pnum); in ubi_write_fastmap() 1194 fec->ec = cpu_to_be32(wl_e->ec); in ubi_write_fastmap() [all …]
|
| H A D | eba.c | 698 vid_hdr->vol_id = cpu_to_be32(vol_id); in ubi_eba_write_leb() 699 vid_hdr->lnum = cpu_to_be32(lnum); in ubi_eba_write_leb() 701 vid_hdr->data_pad = cpu_to_be32(vol->data_pad); in ubi_eba_write_leb() 815 vid_hdr->vol_id = cpu_to_be32(vol_id); in ubi_eba_write_leb_st() 816 vid_hdr->lnum = cpu_to_be32(lnum); in ubi_eba_write_leb_st() 818 vid_hdr->data_pad = cpu_to_be32(vol->data_pad); in ubi_eba_write_leb_st() 822 vid_hdr->data_size = cpu_to_be32(data_size); in ubi_eba_write_leb_st() 823 vid_hdr->used_ebs = cpu_to_be32(used_ebs); in ubi_eba_write_leb_st() 824 vid_hdr->data_crc = cpu_to_be32(crc); in ubi_eba_write_leb_st() 936 vid_hdr->vol_id = cpu_to_be32(vol_id); in ubi_eba_atomic_leb_change() [all …]
|
| H A D | vtbl.c | 109 vtbl_rec->crc = cpu_to_be32(crc); in ubi_change_vtbl_record() 150 vtbl_rec->crc = cpu_to_be32(crc); in ubi_vtbl_rename_volumes() 317 vid_hdr->vol_id = cpu_to_be32(UBI_LAYOUT_VOLUME_ID); 320 vid_hdr->data_pad = cpu_to_be32(0); 321 vid_hdr->lnum = cpu_to_be32(copy); 779 empty_vtbl_record.crc = cpu_to_be32(0xf116c36b);
|
| H A D | io.c | 843 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()
|
| /rk3399_rockchip-uboot/fs/ext4/ |
| H A D | ext4_journal.c | 440 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 …]
|
| /rk3399_rockchip-uboot/drivers/mmc/ |
| H A D | sandbox_mmc.c | 53 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()
|
| /rk3399_rockchip-uboot/board/corscience/tricorder/ |
| H A D | tricorder-eeprom.c | 54 eeprom->crc32 = cpu_to_be32(crc); in handle_eeprom_v0() 141 eeprom.magic = cpu_to_be32(TRICORDER_EEPROM_MAGIC); in tricorder_eeprom_write() 161 eeprom.crc32 = cpu_to_be32(crc); in tricorder_eeprom_write()
|
| /rk3399_rockchip-uboot/include/ |
| H A D | compiler.h | 98 # define cpu_to_be32(x) uswap_32(x) macro 111 # define cpu_to_be32(x) (x) macro
|
| H A D | zfs_common.h | 44 #define cpu_to_zfs32(x, a) (((a) == BIG_ENDIAN) ? cpu_to_be32(x) \
|
| /rk3399_rockchip-uboot/drivers/pci/ |
| H A D | tsi108_pci.c | 160 tmp[0] = cpu_to_be32(local_hose.first_busno); in ft_pci_setup() 161 tmp[1] = cpu_to_be32(local_hose.last_busno); in ft_pci_setup()
|
| /rk3399_rockchip-uboot/include/linux/ |
| H A D | libfdt_env.h | 21 #define cpu_to_fdt32(x) cpu_to_be32(x)
|
| /rk3399_rockchip-uboot/arch/arm/mach-keystone/ |
| H A D | keystone.c | 26 *ptr = cpu_to_be32(*ptr); in cpu_to_bus()
|
| /rk3399_rockchip-uboot/drivers/misc/ |
| H A D | qfw.c | 243 dma.length = cpu_to_be32(size); in qemu_fwcfg_read_entry_dma() 245 dma.control = cpu_to_be32(FW_CFG_DMA_READ); in qemu_fwcfg_read_entry_dma() 252 dma.control |= cpu_to_be32(FW_CFG_DMA_SELECT | (entry << 16)); in qemu_fwcfg_read_entry_dma()
|
| /rk3399_rockchip-uboot/include/linux/unaligned/ |
| H A D | access_ok.h | 58 *((__be32 *)p) = cpu_to_be32(val); in put_unaligned_be32()
|
| /rk3399_rockchip-uboot/board/freescale/common/ |
| H A D | sys_eeprom.c | 190 e.crc = cpu_to_be32(crc); in update_crc() 343 e.version = cpu_to_be32(NXID_VERSION); in do_mac() 499 e.version = cpu_to_be32(NXID_VERSION); in mac_read_from_eeprom()
|
| /rk3399_rockchip-uboot/drivers/usb/host/ |
| H A D | ehci.h | 106 #define ehci_writel(a, b) __raw_writel(cpu_to_be32(b), a) 114 #define cpu_to_hc32(x) cpu_to_be32((x))
|
| /rk3399_rockchip-uboot/include/linux/byteorder/ |
| H A D | generic.h | 95 #define cpu_to_be32 __cpu_to_be32 macro
|
| /rk3399_rockchip-uboot/drivers/spi/ |
| H A D | ti_qspi.c | 239 data = cpu_to_be32(*txbuf++); in __ti_qspi_xfer() 241 data = cpu_to_be32(*txbuf++); in __ti_qspi_xfer() 243 data = cpu_to_be32(*txbuf++); in __ti_qspi_xfer() 245 data = cpu_to_be32(*txbuf++); in __ti_qspi_xfer()
|
| H A D | mxc_spi.c | 274 data = cpu_to_be32(data); in spi_xchg_single() 308 data = cpu_to_be32(data) >> ((sizeof(data) - cnt) * 8); in spi_xchg_single() 320 data = cpu_to_be32(tmp); in spi_xchg_single()
|
| /rk3399_rockchip-uboot/arch/x86/cpu/qemu/ |
| H A D | qemu.c | 50 outl(cpu_to_be32((uintptr_t)dma), FW_DMA_PORT_HIGH); in qemu_x86_fwcfg_read_entry_dma()
|
| /rk3399_rockchip-uboot/lib/optee_clientApi/ |
| H A D | tee_mmc_rpmb.c | 81 cid_val[i] = cpu_to_be32(mmc->cid[i]); in rpmb_get_dev_info()
|