Lines Matching refs:le32_to_cpu
80 checksum += le32_to_cpu(*ptr32); in zynqmp_csum()
405 bif_output.imgheader->nr_parts = cpu_to_le32(le32_to_cpu( in bif_add_part()
604 shdr = (void *)(elf + le32_to_cpu(ehdr->e_shoff)); in elf2flat32()
607 for (i = 0; i < le32_to_cpu(ehdr->e_shnum); i++, shdr++) { in elf2flat32()
613 if (le32_to_cpu(shdr->sh_addr) < min_addr) in elf2flat32()
614 min_addr = le32_to_cpu(shdr->sh_addr); in elf2flat32()
615 if ((le32_to_cpu(shdr->sh_addr) + le32_to_cpu(shdr->sh_size)) > in elf2flat32()
617 max_addr = le32_to_cpu(shdr->sh_addr) + in elf2flat32()
618 le32_to_cpu(shdr->sh_size); in elf2flat32()
627 shdr = (void *)(elf + le32_to_cpu(ehdr->e_shoff)); in elf2flat32()
628 for (i = 0; i < le32_to_cpu(ehdr->e_shnum); i++, shdr++) { in elf2flat32()
629 char *dst = flat + le32_to_cpu(shdr->sh_addr) - min_addr; in elf2flat32()
630 char *src = elf + le32_to_cpu(shdr->sh_offset); in elf2flat32()
637 memcpy(dst, src, le32_to_cpu(shdr->sh_size)); in elf2flat32()
663 bf->entry = le32_to_cpu(ehdr32->e_entry); in bif_add_elf()