Home
last modified time | relevance | path

Searched refs:machine_desc (Results 1 – 25 of 26) sorted by relevance

12

/arch/arc/include/asm/
Dmach_desc.h36 struct machine_desc { struct
54 extern const struct machine_desc *machine_desc; argument
59 extern const struct machine_desc __arch_info_begin[], __arch_info_end[];
66 static const struct machine_desc __mach_desc_##_type \
74 extern const struct machine_desc *setup_machine_fdt(void *dt);
/arch/metag/include/asm/mach/
Darch.h40 struct machine_desc { struct
56 extern const struct machine_desc *machine_desc; argument
61 extern struct machine_desc __arch_info_begin[], __arch_info_end[];
65 static inline struct machine_desc *default_machine_desc(void) in default_machine_desc()
78 static const struct machine_desc __mach_desc_##_type \
/arch/arm/kernel/
Dirq.c104 if (IS_ENABLED(CONFIG_OF) && !machine_desc->init_irq) in init_IRQ()
107 machine_desc->init_irq(); in init_IRQ()
110 (machine_desc->l2c_aux_mask || machine_desc->l2c_aux_val)) { in init_IRQ()
111 outer_cache.write_sec = machine_desc->l2c_write_sec; in init_IRQ()
112 ret = l2x0_of_init(machine_desc->l2c_aux_val, in init_IRQ()
113 machine_desc->l2c_aux_mask); in init_IRQ()
132 nr_irqs = machine_desc->nr_irqs ? machine_desc->nr_irqs : NR_IRQS; in arch_probe_nr_irqs()
Datags.h10 const struct machine_desc *setup_machine_tags(phys_addr_t __atags_pointer,
13 static inline const struct machine_desc *
Ddevtree.c186 static const struct machine_desc *mdesc = __arch_info_begin; in arch_get_next_mach()
187 const struct machine_desc *m = mdesc; in arch_get_next_mach()
204 const struct machine_desc * __init setup_machine_fdt(unsigned int dt_phys) in setup_machine_fdt()
206 const struct machine_desc *mdesc, *mdesc_best = NULL; in setup_machine_fdt()
Dsetup.c76 extern void paging_init(const struct machine_desc *desc);
77 extern void early_paging_init(const struct machine_desc *,
81 extern void setup_dma_zone(const struct machine_desc *desc);
149 const struct machine_desc *machine_desc __initdata;
659 const struct machine_desc *p; in dump_machine_table()
763 static void __init request_standard_resources(const struct machine_desc *mdesc) in request_standard_resources()
827 if (machine_desc->init_machine) in customize_machine()
828 machine_desc->init_machine(); in customize_machine()
840 if (machine_desc->init_late) in init_machine_late()
841 machine_desc->init_late(); in init_machine_late()
[all …]
Dtime.c117 if (machine_desc->init_time) { in time_init()
118 machine_desc->init_time(); in time_init()
Datags_parse.c182 const struct machine_desc * __init
186 const struct machine_desc *mdesc = NULL, *p; in setup_machine_tags()
Dasm-offsets.c127 DEFINE(SIZEOF_MACHINE_DESC, sizeof(struct machine_desc)); in main()
128 DEFINE(MACHINFO_TYPE, offsetof(struct machine_desc, nr)); in main()
129 DEFINE(MACHINFO_NAME, offsetof(struct machine_desc, name)); in main()
/arch/arm/include/asm/mach/
Darch.h27 struct machine_desc { struct
71 extern const struct machine_desc *machine_desc; argument
76 extern const struct machine_desc __arch_info_begin[], __arch_info_end[];
85 static const struct machine_desc __mach_desc_##_type \
95 static const struct machine_desc __mach_desc_##_name \
/arch/arc/kernel/
Ddevtree.c22 static const struct machine_desc *mdesc = __arch_info_begin; in arch_get_next_mach()
23 const struct machine_desc *m = mdesc; in arch_get_next_mach()
40 const struct machine_desc * __init setup_machine_fdt(void *dt) in setup_machine_fdt()
42 const struct machine_desc *mdesc; in setup_machine_fdt()
Dsetup.c37 const struct machine_desc *machine_desc; variable
330 machine_desc = setup_machine_fdt(uboot_arg); /* uboot_tag == 2 */ in setup_arch()
331 if (!machine_desc) { in setup_arch()
333 machine_desc = setup_machine_fdt(__dtb_start); in setup_arch()
334 if (!machine_desc) in setup_arch()
358 if (machine_desc->init_early) in setup_arch()
359 machine_desc->init_early(); in setup_arch()
390 if (machine_desc->init_machine) in customize_machine()
391 machine_desc->init_machine(); in customize_machine()
399 if (machine_desc->init_late) in init_late_machine()
[all …]
Dirq.c129 if (machine_desc->init_irq) in init_IRQ()
130 machine_desc->init_irq(); in init_IRQ()
137 if (machine_desc->init_smp) in init_IRQ()
138 machine_desc->init_smp(smp_processor_id()); in init_IRQ()
Dtime.c259 if (machine_desc->init_time) in time_init()
260 machine_desc->init_time(); in time_init()
Dsmp.c130 if (machine_desc->init_smp) in start_kernel_secondary()
131 machine_desc->init_smp(cpu); in start_kernel_secondary()
/arch/metag/kernel/
Ddevtree.c39 static const struct machine_desc *mdesc = __arch_info_begin; in arch_get_next_mach()
40 const struct machine_desc *m = mdesc; in arch_get_next_mach()
57 const struct machine_desc * __init setup_machine_fdt(void *dt) in setup_machine_fdt()
59 const struct machine_desc *mdesc; in setup_machine_fdt()
Dsetup.c113 const struct machine_desc *machine_desc __initdata;
191 struct machine_desc *p; in dump_machine_table()
245 machine_desc = setup_machine_fdt(original_cmd_line); in setup_arch()
247 if (!machine_desc) { in setup_arch()
250 machine_desc = setup_machine_fdt(__dtb_start); in setup_arch()
251 if (!machine_desc) in setup_arch()
255 machine_desc = default_machine_desc(); in setup_arch()
265 setup_meta_clocks(machine_desc->clocks); in setup_arch()
408 if (machine_desc->init_early) in setup_arch()
409 machine_desc->init_early(); in setup_arch()
[all …]
Dirq.c252 if (machine_desc->init_irq) in init_IRQ()
253 machine_desc->init_irq(); in init_IRQ()
258 if (machine_desc->nr_irqs) in arch_probe_nr_irqs()
259 nr_irqs = machine_desc->nr_irqs; in arch_probe_nr_irqs()
/arch/arm/include/asm/
Dmemblock.h4 struct machine_desc;
6 void arm_memblock_init(const struct machine_desc *);
Dprom.h16 extern const struct machine_desc *setup_machine_fdt(unsigned int dt_phys);
21 static inline const struct machine_desc *setup_machine_fdt(unsigned int dt_phys) in setup_machine_fdt()
/arch/metag/include/asm/
Dsetup.h6 extern const struct machine_desc *setup_machine_fdt(void *dt);
/arch/arm/mach-realview/
Dcore.h36 struct machine_desc;
/arch/arm/mm/
Dnommu.c310 void __init early_paging_init(const struct machine_desc *mdesc, in early_paging_init()
319 void __init paging_init(const struct machine_desc *mdesc) in paging_init()
Dinit.c173 void __init setup_dma_zone(const struct machine_desc *mdesc) in setup_dma_zone()
278 void __init arm_memblock_init(const struct machine_desc *mdesc) in arm_memblock_init()
Dmmu.c1277 static void __init devicemaps_init(const struct machine_desc *mdesc) in devicemaps_init()
1455 void __init early_paging_init(const struct machine_desc *mdesc, in early_paging_init()
1521 void __init early_paging_init(const struct machine_desc *mdesc, in early_paging_init()
1545 void __init paging_init(const struct machine_desc *mdesc) in paging_init()

12