Lines Matching refs:p

78                                  void *p, void *start)  in init_efi_boot_memmap()  argument
81 struct efi_boot_memmap *boot_memmap = p; in init_efi_boot_memmap()
86 systab->tables[0].table = (struct efi_configuration_table *)(p - start); in init_efi_boot_memmap()
93 efi_memory_desc_t *map = p + sizeof(struct efi_boot_memmap); in init_efi_boot_memmap()
100 p += sizeof(efi_memory_desc_t); in init_efi_boot_memmap()
105 void *p, void *start) in init_efi_initrd_table() argument
108 struct efi_initrd *initrd_table = p; in init_efi_initrd_table()
112 systab->tables[1].table = (struct efi_configuration_table *)(p - start); in init_efi_initrd_table()
129 static void init_systab(struct loongarch_boot_info *info, void *p, void *start) in init_systab() argument
132 struct efi_system_table *systab = p; in init_systab()
134 info->a2 = p - start; in init_systab()
144 p += ROUND_UP(sizeof(struct efi_system_table), 64 * KiB); in init_systab()
146 systab->tables = p; in init_systab()
147 bp_tables_start = p; in init_systab()
149 init_efi_boot_memmap(systab, p, start); in init_systab()
150 p += ROUND_UP(sizeof(struct efi_boot_memmap) + in init_systab()
152 init_efi_initrd_table(systab, p, start); in init_systab()
153 p += ROUND_UP(sizeof(struct efi_initrd), 64 * KiB); in init_systab()
159 static void init_cmdline(struct loongarch_boot_info *info, void *p, void *start) in init_cmdline() argument
161 hwaddr cmdline_addr = p - start; in init_cmdline()
166 g_strlcpy(p, info->kernel_cmdline, COMMAND_LINE_SIZE); in init_cmdline()
268 static void init_boot_rom(struct loongarch_boot_info *info, void *p) in init_boot_rom() argument
270 void *start = p; in init_boot_rom()
272 init_cmdline(info, p, start); in init_boot_rom()
273 p += COMMAND_LINE_SIZE; in init_boot_rom()
275 init_systab(info, p, start); in init_boot_rom()
280 void *p, *bp; in loongarch_direct_kernel_boot() local
295 p = g_malloc0(1 * MiB); in loongarch_direct_kernel_boot()
296 bp = p; in loongarch_direct_kernel_boot()
297 init_boot_rom(info, p); in loongarch_direct_kernel_boot()