Home
last modified time | relevance | path

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

/Linux-v6.6/arch/x86/entry/vdso/
Dvdso2c.h43 static void BITSFUNC(go)(void *raw_addr, size_t raw_len, in BITSFUNC()
50 ELF(Ehdr) *hdr = (ELF(Ehdr) *)raw_addr; in BITSFUNC()
58 ELF(Phdr) *pt = (ELF(Phdr) *)(raw_addr + GET_LE(&hdr->e_phoff)); in BITSFUNC()
79 dyn = raw_addr + GET_LE(&pt[i].p_offset); in BITSFUNC()
80 dyn_end = raw_addr + GET_LE(&pt[i].p_offset) + in BITSFUNC()
103 secstrings_hdr = raw_addr + GET_LE(&hdr->e_shoff) + in BITSFUNC()
105 secstrings = raw_addr + GET_LE(&secstrings_hdr->sh_offset); in BITSFUNC()
107 ELF(Shdr) *sh = raw_addr + GET_LE(&hdr->e_shoff) + in BITSFUNC()
122 strtab_hdr = raw_addr + GET_LE(&hdr->e_shoff) + in BITSFUNC()
129 ELF(Sym) *sym = raw_addr + GET_LE(&symtab_hdr->sh_offset) + in BITSFUNC()
[all …]
Dvdso2c.c169 static void go(void *raw_addr, size_t raw_len, in go() argument
173 Elf64_Ehdr *hdr = (Elf64_Ehdr *)raw_addr; in go()
176 go64(raw_addr, raw_len, stripped_addr, stripped_len, in go()
179 go32(raw_addr, raw_len, stripped_addr, stripped_len, in go()
209 void *raw_addr, *stripped_addr; in main() local
239 map_input(argv[1], &raw_addr, &raw_len, PROT_READ); in main()
247 go(raw_addr, raw_len, stripped_addr, stripped_len, outfile, name); in main()
249 munmap(raw_addr, raw_len); in main()
/Linux-v6.6/arch/sparc/vdso/
Dvdso2c.h11 static void BITSFUNC(go)(void *raw_addr, size_t raw_len, in BITSFUNC()
21 ELF(Ehdr) *hdr = (ELF(Ehdr) *)raw_addr; in BITSFUNC()
25 ELF(Phdr) *pt = (ELF(Phdr) *)(raw_addr + GET_BE(&hdr->e_phoff)); in BITSFUNC()
43 dyn = raw_addr + GET_BE(&pt[i].p_offset); in BITSFUNC()
44 dyn_end = raw_addr + GET_BE(&pt[i].p_offset) + in BITSFUNC()
66 ELF(Shdr) *sh = raw_addr + GET_BE(&hdr->e_shoff) + in BITSFUNC()
75 strtab_hdr = raw_addr + GET_BE(&hdr->e_shoff) + in BITSFUNC()
84 ELF(Sym) *sym = raw_addr + GET_BE(&symtab_hdr->sh_offset) + in BITSFUNC()
86 const char *name = raw_addr + GET_BE(&strtab_hdr->sh_offset) + in BITSFUNC()
Dvdso2c.c142 static void go(void *raw_addr, size_t raw_len, in go() argument
146 Elf64_Ehdr *hdr = (Elf64_Ehdr *)raw_addr; in go()
149 go64(raw_addr, raw_len, stripped_addr, stripped_len, in go()
152 go32(raw_addr, raw_len, stripped_addr, stripped_len, in go()
183 void *raw_addr, *stripped_addr; in main() local
213 map_input(argv[1], &raw_addr, &raw_len, PROT_READ); in main()
221 go(raw_addr, raw_len, stripped_addr, stripped_len, outfile, name); in main()
223 munmap(raw_addr, raw_len); in main()
/Linux-v6.6/drivers/gpu/drm/msm/hdmi/
Dhdmi_i2c.c118 uint32_t raw_addr = p->addr << 1; in msm_hdmi_i2c_xfer() local
121 raw_addr |= 1; in msm_hdmi_i2c_xfer()
123 ddc_data = HDMI_DDC_DATA_DATA(raw_addr) | in msm_hdmi_i2c_xfer()
/Linux-v6.6/drivers/accel/habanalabs/gaudi2/
Dgaudi2.c2118 static u64 gaudi2_mmu_scramble_addr(struct hl_device *hdev, u64 raw_addr);
10788 static u64 gaudi2_mmu_scramble_addr(struct hl_device *hdev, u64 raw_addr) in gaudi2_mmu_scramble_addr() argument
10795 if (hl_mem_area_inside_range(raw_addr, sizeof(raw_addr), DRAM_PHYS_BASE, in gaudi2_mmu_scramble_addr()
10799 div_va = div_u64_rem(raw_addr & GAUDI2_HBM_MMU_SCRM_ADDRESS_MASK, divisor, &mod_va); in gaudi2_mmu_scramble_addr()
10800 return (raw_addr & ~GAUDI2_HBM_MMU_SCRM_ADDRESS_MASK) | in gaudi2_mmu_scramble_addr()
10805 return raw_addr; in gaudi2_mmu_scramble_addr()