Searched refs:elf_hdr (Results 1 – 1 of 1) sorted by relevance
817 Elf32_Ehdr *elf_hdr; in rt5677_parse_and_load_dsp() local825 elf_hdr = (Elf32_Ehdr *)buf; in rt5677_parse_and_load_dsp()829 if (strncmp(elf_hdr->e_ident, ELFMAG, sizeof(ELFMAG) - 1)) in rt5677_parse_and_load_dsp()831 if (elf_hdr->e_ehsize != sizeof(Elf32_Ehdr)) in rt5677_parse_and_load_dsp()833 if (elf_hdr->e_machine != EM_XTENSA) in rt5677_parse_and_load_dsp()836 if (len < elf_hdr->e_phoff) in rt5677_parse_and_load_dsp()838 pr_hdr = (Elf32_Phdr *)(buf + elf_hdr->e_phoff); in rt5677_parse_and_load_dsp()839 for (i = 0; i < elf_hdr->e_phnum; i++) { in rt5677_parse_and_load_dsp()