/linux-6.12.1/arch/arm/kernel/ ! |
D | irq.c | 133 if (IS_ENABLED(CONFIG_OF) && !machine_desc->init_irq) in init_IRQ() 136 machine_desc->init_irq(); in init_IRQ() 139 (machine_desc->l2c_aux_mask || machine_desc->l2c_aux_val)) { in init_IRQ() 141 outer_cache.write_sec = machine_desc->l2c_write_sec; in init_IRQ() 142 ret = l2x0_of_init(machine_desc->l2c_aux_val, in init_IRQ() 143 machine_desc->l2c_aux_mask); in init_IRQ() 154 nr_irqs = machine_desc->nr_irqs ? machine_desc->nr_irqs : NR_IRQS; in arch_probe_nr_irqs()
|
D | devtree.c | 174 static const struct machine_desc *mdesc = __arch_info_begin; in arch_get_next_mach() 175 const struct machine_desc *m = mdesc; in arch_get_next_mach() 192 const struct machine_desc * __init setup_machine_fdt(void *dt_virt) in setup_machine_fdt() 194 const struct machine_desc *mdesc, *mdesc_best = NULL; in setup_machine_fdt()
|
D | atags.h | 5 const struct machine_desc *setup_machine_tags(void *__atags_vaddr, 8 static inline const struct machine_desc * __init __noreturn
|
D | time.c | 90 if (machine_desc->init_time) { in time_init() 91 machine_desc->init_time(); in time_init()
|
D | setup.c | 153 const struct machine_desc *machine_desc __initdata; 748 const struct machine_desc *p; in dump_machine_table() 855 static void __init request_standard_resources(const struct machine_desc *mdesc) in request_standard_resources() 950 if (machine_desc->init_machine) in customize_machine() 951 machine_desc->init_machine(); in customize_machine() 962 if (machine_desc->init_late) in init_machine_late() 963 machine_desc->init_late(); in init_machine_late() 1104 const struct machine_desc *mdesc = NULL; in setup_arch() 1128 machine_desc = mdesc; in setup_arch()
|
D | asm-offsets.c | 118 DEFINE(SIZEOF_MACHINE_DESC, sizeof(struct machine_desc)); in main() 119 DEFINE(MACHINFO_TYPE, offsetof(struct machine_desc, nr)); in main() 120 DEFINE(MACHINFO_NAME, offsetof(struct machine_desc, name)); in main()
|
D | atags_parse.c | 176 const struct machine_desc * __init 180 const struct machine_desc *mdesc = NULL, *p; in setup_machine_tags()
|
/linux-6.12.1/arch/arc/include/asm/ ! |
D | mach_desc.h | 30 struct machine_desc { struct 43 extern const struct machine_desc *machine_desc; argument 48 extern const struct machine_desc __arch_info_begin[], __arch_info_end[]; 55 static const struct machine_desc __mach_desc_##_type \ 62 extern const struct machine_desc *setup_machine_fdt(void *dt);
|
/linux-6.12.1/Documentation/translations/zh_CN/devicetree/ ! |
D | usage-model.rst | 97 machine_desc表搜索并选择与设备树数据最匹配的machine_desc。它通过查看根 98 设备树节点中的'compatible'属性,并将其与struct machine_desc中的 122 同样在ARM上,对于每个machine_desc,内核会查看是否有任何dt_compat列表条 123 目出现在兼容属性中。如果有,那么该machine_desc就是驱动该机器的候选者。在搜索 124 了整个machine_descs表之后,setup_machine_fdt()根据每个machine_desc 125 在兼容属性中匹配的条目,返回 “最兼容” 的machine_desc。如果没有找到匹配 126 的machine_desc,那么它将返回NULL。 129 系列的SoC,一个machine_desc可以支持大量的电路板。然而,不可避免地会有一些例 134 相反,兼容列表允许通用machine_desc通过在dt_compat列表中指定“不太兼容”的值 137 早期启动时使用特殊的变通代码,那么可以添加一个新的machine_desc,实现变通, [all …]
|
/linux-6.12.1/arch/arm/include/asm/mach/ ! |
D | arch.h | 24 struct machine_desc { struct 65 extern const struct machine_desc *machine_desc; argument 70 extern const struct machine_desc __arch_info_begin[], __arch_info_end[]; 79 static const struct machine_desc __mach_desc_##_type \ 89 static const struct machine_desc __mach_desc_##_name \
|
/linux-6.12.1/arch/arm/include/asm/ ! |
D | setup.h | 32 struct machine_desc; 34 void paging_init(const struct machine_desc *desc); 35 void early_mm_init(const struct machine_desc *); 37 void setup_dma_zone(const struct machine_desc *desc);
|
D | memblock.h | 5 struct machine_desc; 7 void arm_memblock_init(const struct machine_desc *);
|
D | prom.h | 12 extern const struct machine_desc *setup_machine_fdt(void *dt_virt); 17 static inline const struct machine_desc *setup_machine_fdt(void *dt_virt) in setup_machine_fdt()
|
/linux-6.12.1/arch/arc/kernel/ ! |
D | devtree.c | 42 static const struct machine_desc *mdesc = __arch_info_begin; in arch_get_next_mach() 43 const struct machine_desc *m = mdesc; in arch_get_next_mach() 60 const struct machine_desc * __init setup_machine_fdt(void *dt) in setup_machine_fdt() 62 const struct machine_desc *mdesc; in setup_machine_fdt()
|
D | setup.c | 43 const struct machine_desc *machine_desc; variable 479 machine_desc = setup_machine_fdt((void *)uboot_arg); in handle_uboot_args() 482 use_embedded_dtb = !machine_desc; in handle_uboot_args() 491 machine_desc = setup_machine_fdt(__dtb_start); in handle_uboot_args() 492 if (!machine_desc) in handle_uboot_args() 518 if (machine_desc->init_early) in setup_arch() 519 machine_desc->init_early(); in setup_arch() 548 if (machine_desc->init_machine) in customize_machine() 549 machine_desc->init_machine(); in customize_machine() 557 if (machine_desc->init_late) in init_late_machine() [all …]
|
D | irq.c | 34 if (machine_desc->init_per_cpu) in init_IRQ() 35 machine_desc->init_per_cpu(smp_processor_id()); in init_IRQ()
|
D | smp.c | 177 if (machine_desc->init_per_cpu) in start_kernel_secondary() 178 machine_desc->init_per_cpu(cpu); in start_kernel_secondary()
|
/linux-6.12.1/Documentation/devicetree/ ! |
D | usage-model.rst | 114 arch/arm/kernel/devtree.c which searches through the machine_desc 115 table and selects the machine_desc which best matches the device tree 118 dt_compat list in struct machine_desc (which is defined in 150 Again on ARM, for each machine_desc, the kernel looks to see if 152 If one does, then that machine_desc is a candidate for driving the 154 setup_machine_fdt() returns the 'most compatible' machine_desc based 155 on which entry in the compatible property each machine_desc matches 156 against. If no matching machine_desc is found, then it returns NULL. 159 of cases, a single machine_desc can support a large number of boards 168 Instead, the compatible list allows a generic machine_desc to provide [all …]
|
/linux-6.12.1/scripts/ ! |
D | const_structs.checkpatch | 44 machine_desc
|
/linux-6.12.1/arch/arm/mm/ ! |
D | init.c | 98 void __init setup_dma_zone(const struct machine_desc *mdesc) in setup_dma_zone() 184 void __init arm_memblock_init(const struct machine_desc *mdesc) in arm_memblock_init()
|
D | nommu.c | 157 void __init paging_init(const struct machine_desc *mdesc) in paging_init()
|
D | mmu.c | 1377 static void __init devicemaps_init(const struct machine_desc *mdesc) in devicemaps_init() 1640 static void __init early_paging_init(const struct machine_desc *mdesc) in early_paging_init() 1714 static void __init early_paging_init(const struct machine_desc *mdesc) in early_paging_init() 1766 void __init paging_init(const struct machine_desc *mdesc) in paging_init() 1804 void __init early_mm_init(const struct machine_desc *mdesc) in early_mm_init()
|