Lines Matching refs:prop
156 void *prop;
167 prop = getprop(pnp, name);
168 bcopy(prop, value, len);
258 * getting next of NULL or a null string returns the first prop name
278 struct prom_prop *prop;
290 for (prop = pnp->pn_propp; prop; prop = prop->pp_next)
291 if (prom_strcmp(prop->pp_name, name) == 0) {
298 kmem_free(prop->pp_val, prop->pp_len);
300 prop->pp_val = NULL;
302 prop->pp_val = kmem_zalloc(len, KM_SLEEP);
303 bcopy(value, prop->pp_val, len);
306 prop->pp_len = len;
421 struct prom_prop *prop;
442 /* move to the end of the prop list */
443 for (prop = pnp->pn_propp; prop->pp_next != NULL; prop = prop->pp_next)
446 /* append the new prop */
447 prop->pp_next = newprop;