Lines Matching refs:elf_data
586 const u8 *elf_data = fw->data; in pru_rproc_load_elf_segments() local
588 ehdr = (struct elf32_hdr *)elf_data; in pru_rproc_load_elf_segments()
589 phdr = (struct elf32_phdr *)(elf_data + ehdr->e_phoff); in pru_rproc_load_elf_segments()
630 ret = pru_rproc_memcpy(ptr, elf_data + phdr->p_offset, in pru_rproc_load_elf_segments()
638 memcpy(ptr, elf_data + phdr->p_offset, filesz); in pru_rproc_load_elf_segments()
652 const u8 *elf_data = fw->data; in pru_rproc_find_interrupt_map() local
653 struct elf32_hdr *ehdr = (struct elf32_hdr *)elf_data; in pru_rproc_find_interrupt_map()
659 shdr = (struct elf32_shdr *)(elf_data + ehdr->e_shoff); in pru_rproc_find_interrupt_map()
663 name_table = elf_data + name_table_shdr->sh_offset; in pru_rproc_find_interrupt_map()
707 const u8 *elf_data = fw->data; in pru_rproc_parse_fw() local
730 pru->pru_interrupt_map = (struct pru_irq_rsc *)(elf_data + sh_offset); in pru_rproc_parse_fw()