Home
last modified time | relevance | path

Searched refs:elf_data (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/drivers/remoteproc/
Dremoteproc_elf_loader.c166 const u8 *elf_data = fw->data; local
170 ehdr = elf_data;
172 phdr = elf_data + elf_hdr_get_e_phoff(class, ehdr);
223 memcpy_toio((void __iomem *)ptr, elf_data + offset, filesz);
225 memcpy(ptr, elf_data + offset, filesz);
254 const u8 *elf_data = (void *)fw->data; local
257 const void *ehdr = elf_data;
264 shdr = elf_data + elf_hdr_get_e_shoff(class, ehdr);
268 name_table = elf_data + elf_shdr_get_sh_offset(class, name_table_shdr);
278 table = (struct resource_table *)(elf_data + offset);
[all …]
Dpru_rproc.c586 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
[all …]
Dmtk_scp.c239 const u8 *elf_data = fw->data; in scp_elf_load_segments() local
241 ehdr = (struct elf32_hdr *)elf_data; in scp_elf_load_segments()
242 phdr = (struct elf32_phdr *)(elf_data + ehdr->e_phoff); in scp_elf_load_segments()
283 scp_memcpy_aligned(ptr, elf_data + phdr->p_offset, filesz); in scp_elf_load_segments()
296 const u8 *elf_data = fw->data; in scp_elf_read_ipi_buf_addr() local
299 ehdr = (struct elf32_hdr *)elf_data; in scp_elf_read_ipi_buf_addr()
300 shdr = (struct elf32_shdr *)(elf_data + ehdr->e_shoff); in scp_elf_read_ipi_buf_addr()
302 strtab = (const char *)(elf_data + shdr_strtab->sh_offset); in scp_elf_read_ipi_buf_addr()