| /u-boot/arch/powerpc/cpu/mpc83xx/ |
| A D | pci.c | 44 tmp[0] = cpu_to_be32(pci_hose[0].first_busno); in ft_pci_setup() 45 tmp[1] = cpu_to_be32(pci_hose[0].last_busno); in ft_pci_setup() 49 tmp[0] = cpu_to_be32(gd->pci_clk); in ft_pci_setup() 59 tmp[0] = cpu_to_be32(pci_hose[1].first_busno); in ft_pci_setup() 60 tmp[1] = cpu_to_be32(pci_hose[1].last_busno); in ft_pci_setup() 64 tmp[0] = cpu_to_be32(gd->pci_clk); in ft_pci_setup()
|
| /u-boot/drivers/misc/ |
| A D | qfw_sandbox.c | 30 *((u32 *)address) = cpu_to_be32(QEMU_FW_CFG_SIGNATURE); in qfw_sandbox_read_entry_io() 73 *((u32 *)address) = cpu_to_be32(2); in qfw_sandbox_read_entry_dma() 85 file->size = cpu_to_be32(8); in qfw_sandbox_read_entry_dma() 91 file->size = cpu_to_be32(8); in qfw_sandbox_read_entry_dma()
|
| A D | qfw_pio.c | 49 outl(cpu_to_be32((uintptr_t)dma), FW_DMA_PORT_HIGH); in qfw_pio_read_entry_dma()
|
| A D | qfw.c | 267 .length = cpu_to_be32(size), in qfw_read_entry_dma() 269 .control = cpu_to_be32(FW_CFG_DMA_READ), in qfw_read_entry_dma() 277 dma.control |= cpu_to_be32(FW_CFG_DMA_SELECT | (entry << 16)); in qfw_read_entry_dma()
|
| /u-boot/tools/ |
| A D | omapimage.c | 49 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()
|
| A D | gpimage-common.c | 28 *gph_size = cpu_to_be32(*gph_size); in to_be32() 29 *gph_load_addr = cpu_to_be32(*gph_load_addr); in to_be32()
|
| /u-boot/drivers/power/ |
| A D | power_spi.c | 40 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()
|
| /u-boot/drivers/net/pfe_eth/ |
| A D | pfe_cmd.c | 103 val = cpu_to_be32(val); in pfe_command_pe() 145 val = cpu_to_be32(val); in pfe_command_pe() 330 cpu_to_be32(activity_counter), in pfe_pe_status() 331 cpu_to_be32(rx), cpu_to_be32(tx)); in pfe_pe_status() 336 statebuf, cpu_to_be32(activity_counter), in pfe_pe_status() 337 cpu_to_be32(rx), cpu_to_be32(tx), in pfe_pe_status() 338 cpu_to_be32(drop)); in pfe_pe_status() 445 pe_dmem_write(pfe_pe_id, cpu_to_be32(1), PEMBOX_ADDR_CLASS, 4); in pfe_command_stop()
|
| /u-boot/drivers/mtd/ubi/ |
| A D | fastmap.c | 126 new->vol_id = cpu_to_be32(vol_id); in new_fm_vhdr() 1196 fec->pnum = cpu_to_be32(wl_e->pnum); in ubi_write_fastmap() 1198 fec->ec = cpu_to_be32(wl_e->ec); in ubi_write_fastmap() 1209 fec->pnum = cpu_to_be32(wl_e->pnum); in ubi_write_fastmap() 1211 fec->ec = cpu_to_be32(wl_e->ec); in ubi_write_fastmap() 1221 fec->pnum = cpu_to_be32(wl_e->pnum); in ubi_write_fastmap() 1223 fec->ec = cpu_to_be32(wl_e->ec); in ubi_write_fastmap() 1234 fec->pnum = cpu_to_be32(wl_e->pnum); in ubi_write_fastmap() 1236 fec->ec = cpu_to_be32(wl_e->ec); in ubi_write_fastmap() 1254 fec->ec = cpu_to_be32(wl_e->ec); in ubi_write_fastmap() [all …]
|
| A D | eba.c | 700 vid_hdr->vol_id = cpu_to_be32(vol_id); in ubi_eba_write_leb() 701 vid_hdr->lnum = cpu_to_be32(lnum); in ubi_eba_write_leb() 817 vid_hdr->vol_id = cpu_to_be32(vol_id); in ubi_eba_write_leb_st() 818 vid_hdr->lnum = cpu_to_be32(lnum); in ubi_eba_write_leb_st() 825 vid_hdr->used_ebs = cpu_to_be32(used_ebs); in ubi_eba_write_leb_st() 826 vid_hdr->data_crc = cpu_to_be32(crc); in ubi_eba_write_leb_st() 938 vid_hdr->vol_id = cpu_to_be32(vol_id); in ubi_eba_atomic_leb_change() 939 vid_hdr->lnum = cpu_to_be32(lnum); in ubi_eba_atomic_leb_change() 945 vid_hdr->data_size = cpu_to_be32(len); in ubi_eba_atomic_leb_change() 947 vid_hdr->data_crc = cpu_to_be32(crc); in ubi_eba_atomic_leb_change() [all …]
|
| A D | vtbl.c | 112 vtbl_rec->crc = cpu_to_be32(crc); in ubi_change_vtbl_record() 153 vtbl_rec->crc = cpu_to_be32(crc); in ubi_vtbl_rename_volumes() 320 vid_hdr->vol_id = cpu_to_be32(UBI_LAYOUT_VOLUME_ID); 323 vid_hdr->data_pad = cpu_to_be32(0); 324 vid_hdr->lnum = cpu_to_be32(copy); 785 empty_vtbl_record.crc = cpu_to_be32(0xf116c36b);
|
| A D | io.c | 833 ec_hdr->magic = cpu_to_be32(UBI_EC_HDR_MAGIC); in ubi_io_write_ec_hdr() 835 ec_hdr->vid_hdr_offset = cpu_to_be32(ubi->vid_hdr_offset); in ubi_io_write_ec_hdr() 836 ec_hdr->data_offset = cpu_to_be32(ubi->leb_start); in ubi_io_write_ec_hdr() 837 ec_hdr->image_seq = cpu_to_be32(ubi->image_seq); in ubi_io_write_ec_hdr() 839 ec_hdr->hdr_crc = cpu_to_be32(crc); in ubi_io_write_ec_hdr() 1086 vid_hdr->magic = cpu_to_be32(UBI_VID_HDR_MAGIC); in ubi_io_write_vid_hdr() 1089 vid_hdr->hdr_crc = cpu_to_be32(crc); in ubi_io_write_vid_hdr()
|
| /u-boot/fs/ext4/ |
| A D | ext4_journal.c | 441 cpu_to_be32(JBD2_FEATURE_COMPAT_CHECKSUM))) in ext4fs_check_journal_state() 443 cpu_to_be32(JBD2_FEATURE_COMPAT_CHECKSUM); in ext4fs_check_journal_state() 495 cpu_to_be32(be32_to_cpu( in ext4fs_check_journal_state() 526 jsb->s_start = cpu_to_be32(1); in ext4fs_check_journal_state() 576 jdb.h_magic = cpu_to_be32(EXT3_JOURNAL_MAGIC_NUMBER); in update_descriptor_block() 591 tag.block = cpu_to_be32(journal_ptr[i]->blknr); in update_descriptor_block() 592 tag.flags = cpu_to_be32(EXT3_JOURNAL_FLAG_SAME_UUID); in update_descriptor_block() 597 tag.block = cpu_to_be32(journal_ptr[--i]->blknr); in update_descriptor_block() 598 tag.flags = cpu_to_be32(EXT3_JOURNAL_FLAG_LAST_TAG); in update_descriptor_block() 627 jdb.h_blocktype = cpu_to_be32(EXT3_JOURNAL_COMMIT_BLOCK); in update_commit_block() [all …]
|
| /u-boot/include/linux/byteorder/ |
| A D | generic.h | 94 #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()
|
| /u-boot/drivers/scsi/ |
| A D | scsi_emul.c | 51 resp->last_block_addr = cpu_to_be32(blocks); in sb_scsi_emul_command() 52 resp->block_len = cpu_to_be32(info->block_size); in sb_scsi_emul_command()
|
| /u-boot/include/linux/ |
| A D | libfdt_env.h | 23 #define cpu_to_fdt32(x) cpu_to_be32(x)
|
| /u-boot/include/ |
| A D | compiler.h | 105 # define cpu_to_be32(x) uswap_32(x) macro 118 # define cpu_to_be32(x) (x) macro
|
| A D | zfs_common.h | 46 #define cpu_to_zfs32(x, a) (((a) == BIG_ENDIAN) ? cpu_to_be32(x) \
|
| /u-boot/arch/arm/mach-keystone/ |
| A D | keystone.c | 27 *ptr = cpu_to_be32(*ptr); in cpu_to_bus()
|
| /u-boot/drivers/remoteproc/ |
| A D | stm32_copro.c | 69 fdt32_t in_addr = cpu_to_be32(da), end_addr; in stm32_copro_device_to_virt() 78 end_addr = cpu_to_be32(da + size - 1); in stm32_copro_device_to_virt()
|
| /u-boot/test/dm/ |
| A D | reboot-mode.c | 52 u32 test_magic_val = cpu_to_be32(0x21969147); in dm_test_reboot_mode_rtc()
|
| /u-boot/include/linux/unaligned/ |
| A D | access_ok.h | 58 *((__be32 *)p) = cpu_to_be32(val); in put_unaligned_be32()
|
| /u-boot/drivers/spi/ |
| A D | ti_qspi.c | 203 data = cpu_to_be32(*txbuf++); in ti_qspi_xfer() 205 data = cpu_to_be32(*txbuf++); in ti_qspi_xfer() 207 data = cpu_to_be32(*txbuf++); in ti_qspi_xfer() 209 data = cpu_to_be32(*txbuf++); in ti_qspi_xfer()
|
| /u-boot/drivers/mmc/ |
| A D | sandbox_mmc.c | 76 resp[7] = cpu_to_be32(SD_HIGHSPEED_BUSY); in sandbox_mmc_send_cmd() 121 scr[0] = cpu_to_be32(2 << 24 | 1 << 15); /* SD version 3 */ in sandbox_mmc_send_cmd()
|
| /u-boot/drivers/usb/host/ |
| A D | ehci.h | 109 #define ehci_writel(a, b) __raw_writel(cpu_to_be32(b), a) 117 #define cpu_to_hc32(x) cpu_to_be32((x))
|