Lines Matching defs:GETPROP
91 #define GETPROP prom_getprop
205 GETPROP(prom_chosennode(), CHOSEN_EEPROM, (caddr_t)&ieeprom) != -1)
212 if (GETPROP(root, "stick-frequency", (caddr_t)&stick_freq) != -1)
276 if (GETPROP(curnode, OBP_DEVICETYPE,
289 if (GETPROP(curnode, OBP_NAME, (caddr_t)tmp_name) != -1)
291 if (GETPROP(curnode, OBP_DEVICETYPE, tmp_name) != -1 &&
327 if (GETPROP(curnode, OBP_ADDRESS,
364 if (GETPROP(node, "portid", (caddr_t)&portid) != -1)
366 if (GETPROP(node, "upa-portid", (caddr_t)&portid) != -1)
368 if (GETPROP(node, "device_type", (caddr_t)&dev_type) == -1)
383 if (GETPROP(node, "portid", (caddr_t)&portid) != -1) {
459 if (GETPROP(node, "cpuid", (caddr_t)&cpuid) == -1) {
486 if ((GETPROP(cmpnode, "device_type", namebuf) > 0) &&
492 (void) GETPROP(node, (cmpnode ? "compatible" : "name"), namebuf);
510 (void) GETPROP(node, "implementation#",
512 (void) GETPROP(node, "mask#", (caddr_t)&cpunode->version);
518 if (GETPROP(node, "clock-frequency", (caddr_t)&clk_freq) == -1) {
523 if (GETPROP(root, "clock-frequency", (caddr_t)&clk_freq) == -1)
537 (void) GETPROP(node, "#itlb-entries", (caddr_t)&tlbsize);
541 (void) GETPROP(node, "#dtlb-entries", (caddr_t)&tlbsize);
552 (void) GETPROP(node, "l3-cache-size", (caddr_t)&size);
554 (void) GETPROP(node, "l2-cache-size", (caddr_t)&size);
559 (void) GETPROP(node, "l3-cache-line-size", (caddr_t)&size);
561 (void) GETPROP(node, "l2-cache-line-size",
567 (void) GETPROP(node, "l2-cache-associativity", (caddr_t)&size);
574 (void) GETPROP(node, "ecache-size", (caddr_t)&size);
579 (void) GETPROP(node, "ecache-line-size", (caddr_t)&size);
584 (void) GETPROP(node, "ecache-associativity", (caddr_t)&size);
1061 if (GETPROP(node, "upa-portid", (caddr_t)&portid) == -1)
1093 if (GETPROP(node, "portid", (caddr_t)&portid) == -1)
1094 if (GETPROP(node, "upa-portid", (caddr_t)&portid) == -1)
1129 if ((GETPROP(node, "model", buf) != -1) &&
1148 if (GETPROP(node, OBP_ADDRESS, (caddr_t)&eaddr) == -1)
1188 if (GETPROP(node, "model", buf) != -1) {
1205 if (GETPROP(node, OBP_ADDRESS, (caddr_t)&eaddr) == -1)
1235 if (GETPROP(node, OBP_ADDRESS, (caddr_t)&vaddr) == -1) {
1273 if (GETPROP(node, OBP_ADDRESS, (caddr_t)addr) == -1)
1284 if (GETPROP(node, OBP_NAME, (caddr_t)tod_name) == -1)