Home
last modified time | relevance | path

Searched refs:mdesc (Results 1 – 9 of 9) sorted by relevance

/arch/arc/kernel/
Ddevtree.c41 static const struct machine_desc *mdesc = __arch_info_begin; in arch_get_next_mach() local
42 const struct machine_desc *m = mdesc; in arch_get_next_mach()
47 mdesc++; in arch_get_next_mach()
61 const struct machine_desc *mdesc; in setup_machine_fdt() local
67 mdesc = of_flat_dt_match_machine(NULL, arch_get_next_mach); in setup_machine_fdt()
68 if (!mdesc) in setup_machine_fdt()
74 return mdesc; in setup_machine_fdt()
/arch/arm/kernel/
Ddevtree.c193 static const struct machine_desc *mdesc = __arch_info_begin; in arch_get_next_mach() local
194 const struct machine_desc *m = mdesc; in arch_get_next_mach()
199 mdesc++; in arch_get_next_mach()
213 const struct machine_desc *mdesc, *mdesc_best = NULL; in setup_machine_fdt() local
227 mdesc = of_flat_dt_match_machine(mdesc_best, arch_get_next_mach); in setup_machine_fdt()
229 if (!mdesc) { in setup_machine_fdt()
250 if (mdesc->dt_fixup) in setup_machine_fdt()
251 mdesc->dt_fixup(); in setup_machine_fdt()
256 __machine_arch_type = mdesc->nr; in setup_machine_fdt()
258 return mdesc; in setup_machine_fdt()
Dsetup.c848 static void __init request_standard_resources(const struct machine_desc *mdesc) in request_standard_resources() argument
906 if (mdesc->video_start) { in request_standard_resources()
907 video_ram.start = mdesc->video_start; in request_standard_resources()
908 video_ram.end = mdesc->video_end; in request_standard_resources()
916 if (mdesc->reserve_lp0) in request_standard_resources()
918 if (mdesc->reserve_lp1) in request_standard_resources()
920 if (mdesc->reserve_lp2) in request_standard_resources()
1096 const struct machine_desc *mdesc = NULL; in setup_arch() local
1104 mdesc = setup_machine_fdt(atags_vaddr); in setup_arch()
1105 if (mdesc) in setup_arch()
[all …]
Datags_parse.c180 const struct machine_desc *mdesc = NULL, *p; in setup_machine_tags() local
191 mdesc = p; in setup_machine_tags()
195 if (!mdesc) in setup_machine_tags()
200 else if (mdesc->atag_offset) in setup_machine_tags()
201 tags = (void *)(PAGE_OFFSET + mdesc->atag_offset); in setup_machine_tags()
216 if (mdesc->fixup) in setup_machine_tags()
217 mdesc->fixup(tags, &from); in setup_machine_tags()
229 return mdesc; in setup_machine_tags()
/arch/sparc/kernel/
Dmdesc.c78 struct mdesc_hdr mdesc; member
153 BUG_ON(((unsigned long)&hp->mdesc) & (16UL - 1)); in mdesc_handle_init()
517 status = sun4v_mach_desc(__pa(&hp->mdesc), len, &real_len); in mdesc_update()
614 static struct mdesc_elem *node_block(struct mdesc_hdr *mdesc) in node_block() argument
616 return (struct mdesc_elem *) mdesc->data; in node_block()
619 static void *name_block(struct mdesc_hdr *mdesc) in name_block() argument
621 return ((void *) node_block(mdesc)) + mdesc->node_sz; in name_block()
624 static void *data_block(struct mdesc_hdr *mdesc) in data_block() argument
626 return ((void *) name_block(mdesc)) + mdesc->name_sz; in data_block()
632 struct mdesc_elem *ep = node_block(&hp->mdesc); in mdesc_node_by_name()
[all …]
DMakefile72 obj-$(CONFIG_SPARC64) += mdesc.o
/arch/arm/mm/
Dinit.c97 void __init setup_dma_zone(const struct machine_desc *mdesc) in setup_dma_zone() argument
100 if (mdesc->dma_zone_size) { in setup_dma_zone()
101 arm_dma_zone_size = mdesc->dma_zone_size; in setup_dma_zone()
224 void __init arm_memblock_init(const struct machine_desc *mdesc) in arm_memblock_init() argument
234 if (mdesc->reserve) in arm_memblock_init()
235 mdesc->reserve(); in arm_memblock_init()
Dmmu.c1356 static void __init devicemaps_init(const struct machine_desc *mdesc) in devicemaps_init() argument
1446 if (mdesc->map_io) in devicemaps_init()
1447 mdesc->map_io(); in devicemaps_init()
1616 static void __init early_paging_init(const struct machine_desc *mdesc) in early_paging_init() argument
1623 if (!mdesc->pv_fixup) in early_paging_init()
1626 offset = mdesc->pv_fixup(); in early_paging_init()
1689 static void __init early_paging_init(const struct machine_desc *mdesc) in early_paging_init() argument
1693 if (!mdesc->pv_fixup) in early_paging_init()
1696 offset = mdesc->pv_fixup(); in early_paging_init()
1741 void __init paging_init(const struct machine_desc *mdesc) in paging_init() argument
[all …]
Dnommu.c156 void __init paging_init(const struct machine_desc *mdesc) in paging_init() argument