Lines Matching refs:cpunode
897 phandle cpunode; in srmmu_paging_init() local
913 cpunode = prom_getchild(prom_root_node); in srmmu_paging_init()
915 while (cpunode != 0) { in srmmu_paging_init()
916 prom_getstring(cpunode, "device_type", node_str, sizeof(node_str)); in srmmu_paging_init()
918 num_contexts = prom_getintdefault(cpunode, "mmu-nctx", 0x8); in srmmu_paging_init()
921 cpunode = prom_getsibling(cpunode); in srmmu_paging_init()
1598 phandle cpunode; in get_srmmu_type() local
1602 cpunode = prom_getchild(prom_root_node); in get_srmmu_type()
1603 while ((cpunode = prom_getsibling(cpunode)) != 0) { in get_srmmu_type()
1604 prom_getstring(cpunode, "device_type", node_str, sizeof(node_str)); in get_srmmu_type()
1606 if (!prom_getintdefault(cpunode, "psr-implementation", 1) && in get_srmmu_type()
1607 prom_getintdefault(cpunode, "psr-version", 1) == 5) { in get_srmmu_type()