Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/imagination/
H A Dpvr_fw_mips.c38 struct elf32_phdr *program_header = (struct elf32_phdr *)(fw + header->e_phoff); in process_elf_command_stream() local
43 for (entry = 0; entry < header->e_phnum; entry++, program_header++) { in process_elf_command_stream()
47 if (program_header->p_type != PT_LOAD) in process_elf_command_stream()
50 err = pvr_fw_find_mmu_segment(pvr_dev, program_header->p_vaddr, in process_elf_command_stream()
51 program_header->p_memsz, fw_code_ptr, fw_data_ptr, in process_elf_command_stream()
56 program_header->p_vaddr, program_header->p_memsz); in process_elf_command_stream()
62 memcpy(write_addr, fw + program_header->p_offset, in process_elf_command_stream()
63 program_header->p_filesz); in process_elf_command_stream()
65 memset((u8 *)write_addr + program_header->p_filesz, 0, in process_elf_command_stream()
66 program_header->p_memsz - program_header->p_filesz); in process_elf_command_stream()