Lines Matching defs:location
64 char location[32];
309 memset(fan->location, 0, sizeof(fan->location));
310 OF_getprop(node, "location", fan->location,
311 sizeof(fan->location));
340 DPRINTF("fan: location %s reg %x zone %d rpm_ctl %d "
342 fan->location, fan->reg, fan->zone, fan->rpm_ctl,
420 "%s", fan->location);
431 if (OF_getprop(child, "location", loc, 32) == 0) goto next;
711 DPRINTF("%s: fan %s rpm %d\n", __func__, fan->location, rpm);
855 if ((strstr(f->location, "CPU") != NULL) ||
856 (strstr(f->location, "System") != NULL)) {
860 z->fans[z->nfans].name = f->location;
870 if ((strstr(f->location, "DRIVE") != NULL) ||
871 (strstr(f->location, "Drive") != NULL)) {
875 z->fans[z->nfans].name = f->location;
885 if ((strstr(f->location, "BACKSIDE") != NULL) ||
886 (strstr(f->location, "SLOTS") != NULL)) {
890 z->fans[z->nfans].name = f->location;