Lines Matching refs:p

112 void init_loongson_params(struct loongson_params *lp, void *p,  in init_loongson_params()  argument
115 init_cpu_info(p, cpu_freq); in init_loongson_params()
116 lp->cpu_offset = cpu_to_le64((uintptr_t)p - (uintptr_t)lp); in init_loongson_params()
117 p += ROUND_UP(sizeof(struct efi_cpuinfo_loongson), 64); in init_loongson_params()
119 init_memory_map(p, ram_size); in init_loongson_params()
120 lp->memory_offset = cpu_to_le64((uintptr_t)p - (uintptr_t)lp); in init_loongson_params()
121 p += ROUND_UP(sizeof(struct efi_memory_map_loongson), 64); in init_loongson_params()
123 init_system_loongson(p); in init_loongson_params()
124 lp->system_offset = cpu_to_le64((uintptr_t)p - (uintptr_t)lp); in init_loongson_params()
125 p += ROUND_UP(sizeof(struct system_loongson), 64); in init_loongson_params()
127 init_irq_source(p); in init_loongson_params()
128 lp->irq_offset = cpu_to_le64((uintptr_t)p - (uintptr_t)lp); in init_loongson_params()
129 p += ROUND_UP(sizeof(struct irq_source_routing_table), 64); in init_loongson_params()
131 init_interface_info(p); in init_loongson_params()
132 lp->interface_offset = cpu_to_le64((uintptr_t)p - (uintptr_t)lp); in init_loongson_params()
133 p += ROUND_UP(sizeof(struct interface_info), 64); in init_loongson_params()
135 board_devices_info(p); in init_loongson_params()
136 lp->boarddev_table_offset = cpu_to_le64((uintptr_t)p - (uintptr_t)lp); in init_loongson_params()
137 p += ROUND_UP(sizeof(struct board_devices), 64); in init_loongson_params()
139 init_special_info(p); in init_loongson_params()
140 lp->special_offset = cpu_to_le64((uintptr_t)p - (uintptr_t)lp); in init_loongson_params()
141 p += ROUND_UP(sizeof(struct loongson_special_attribute), 64); in init_loongson_params()