Lines Matching refs:GETPROP
91 #define GETPROP prom_getprop macro
205 GETPROP(prom_chosennode(), CHOSEN_EEPROM, (caddr_t)&ieeprom) != -1) in map_wellknown_devices()
212 if (GETPROP(root, "stick-frequency", (caddr_t)&stick_freq) != -1) in map_wellknown_devices()
276 if (GETPROP(curnode, OBP_DEVICETYPE, in map_wellknown()
289 if (GETPROP(curnode, OBP_NAME, (caddr_t)tmp_name) != -1) in map_wellknown()
291 if (GETPROP(curnode, OBP_DEVICETYPE, tmp_name) != -1 && in map_wellknown()
327 if (GETPROP(curnode, OBP_ADDRESS, in fill_address()
364 if (GETPROP(node, "portid", (caddr_t)&portid) != -1) in get_portid()
366 if (GETPROP(node, "upa-portid", (caddr_t)&portid) != -1) in get_portid()
368 if (GETPROP(node, "device_type", (caddr_t)&dev_type) == -1) in get_portid()
383 if (GETPROP(node, "portid", (caddr_t)&portid) != -1) { in get_portid()
459 if (GETPROP(node, "cpuid", (caddr_t)&cpuid) == -1) { in fill_cpu()
486 if ((GETPROP(cmpnode, "device_type", namebuf) > 0) && in fill_cpu()
492 (void) GETPROP(node, (cmpnode ? "compatible" : "name"), namebuf); in fill_cpu()
510 (void) GETPROP(node, "implementation#", in fill_cpu()
512 (void) GETPROP(node, "mask#", (caddr_t)&cpunode->version); in fill_cpu()
518 if (GETPROP(node, "clock-frequency", (caddr_t)&clk_freq) == -1) { in fill_cpu()
523 if (GETPROP(root, "clock-frequency", (caddr_t)&clk_freq) == -1) in fill_cpu()
537 (void) GETPROP(node, "#itlb-entries", (caddr_t)&tlbsize); in fill_cpu()
541 (void) GETPROP(node, "#dtlb-entries", (caddr_t)&tlbsize); in fill_cpu()
552 (void) GETPROP(node, "l3-cache-size", (caddr_t)&size); in fill_cpu()
554 (void) GETPROP(node, "l2-cache-size", (caddr_t)&size); in fill_cpu()
559 (void) GETPROP(node, "l3-cache-line-size", (caddr_t)&size); in fill_cpu()
561 (void) GETPROP(node, "l2-cache-line-size", in fill_cpu()
567 (void) GETPROP(node, "l2-cache-associativity", (caddr_t)&size); in fill_cpu()
574 (void) GETPROP(node, "ecache-size", (caddr_t)&size); in fill_cpu()
579 (void) GETPROP(node, "ecache-line-size", (caddr_t)&size); in fill_cpu()
584 (void) GETPROP(node, "ecache-associativity", (caddr_t)&size); in fill_cpu()
1063 if (GETPROP(node, "upa-portid", (caddr_t)&portid) == -1) in have_sbus()
1095 if (GETPROP(node, "portid", (caddr_t)&portid) == -1) in have_pci()
1096 if (GETPROP(node, "upa-portid", (caddr_t)&portid) == -1) in have_pci()
1131 if ((GETPROP(node, "model", buf) != -1) && in have_eeprom()
1150 if (GETPROP(node, OBP_ADDRESS, (caddr_t)&eaddr) == -1) in have_eeprom()
1190 if (GETPROP(node, "model", buf) != -1) { in have_rtc()
1207 if (GETPROP(node, OBP_ADDRESS, (caddr_t)&eaddr) == -1) in have_rtc()
1237 if (GETPROP(node, OBP_ADDRESS, (caddr_t)&vaddr) == -1) { in have_pmc()
1275 if (GETPROP(node, OBP_ADDRESS, (caddr_t)addr) == -1) in have_auxio()
1286 if (GETPROP(node, OBP_NAME, (caddr_t)tod_name) == -1) in have_tod()