Lines Matching refs:cpunode
873 phandle cpunode; in srmmu_paging_init() local
887 cpunode = prom_getchild(prom_root_node); in srmmu_paging_init()
889 while (cpunode != 0) { in srmmu_paging_init()
890 prom_getstring(cpunode, "device_type", node_str, sizeof(node_str)); in srmmu_paging_init()
892 num_contexts = prom_getintdefault(cpunode, "mmu-nctx", 0x8); in srmmu_paging_init()
895 cpunode = prom_getsibling(cpunode); in srmmu_paging_init()
1581 phandle cpunode; in get_srmmu_type() local
1585 cpunode = prom_getchild(prom_root_node); in get_srmmu_type()
1586 while ((cpunode = prom_getsibling(cpunode)) != 0) { in get_srmmu_type()
1587 prom_getstring(cpunode, "device_type", node_str, sizeof(node_str)); in get_srmmu_type()
1589 if (!prom_getintdefault(cpunode, "psr-implementation", 1) && in get_srmmu_type()
1590 prom_getintdefault(cpunode, "psr-version", 1) == 5) { in get_srmmu_type()