ofw_subr.c | 186 int propsize = OF_getprop(node, prop, propval, sizeof(propval)); local in function:OF_DEVICE_CALL_REGISTER 188 if (propsize >= 4 && memcmp(propval, "true", 4) == 0) { 192 if (propsize >= 5 && memcmp(propval, "false", 5) == 0) { 205 int propsize, rv, error = 0; local in function:of_device_get_property 209 propsize = OF_getproplen(node, args->prop); 210 if (propsize < 0) { 214 if (propsize == 0) { 234 if (propsize == sizeof(uint32_t)) { 244 } else if (propsize == sizeof(uint64_t)) { 264 if (args->buflen < propsize) { [all...] |