Lines Matching refs:propname
188 * proplen is returned as -1 if the propname doesn't exist and
191 * get-prop has one result: proplen, returned as -1 if propname doesn't exist.
195 * fco_getproplen ( propname phandle -- proplen )
207 char propname[OBP_MAXPROPNAME];
229 bzero(propname, OBP_MAXPROPNAME);
230 if (copyinstr(pnp, propname, OBP_MAXPROPNAME - 1, NULL))
231 return (fc_priv_error(cp, "EFAULT copying in propname"));
233 if (ddi_getproplen(DDI_DEV_T_ANY, dip, flags, propname, &proplen))
242 * fco_getprop ( propname buffer phandle -- proplen )
254 char propname[OBP_MAXPROPNAME];
276 bzero(propname, OBP_MAXPROPNAME);
277 if (copyinstr(pnp, propname, OBP_MAXPROPNAME - 1, NULL))
278 return (fc_priv_error(cp, "EFAULT copying in propname"));
281 propname, (caddr_t)&bp, &proplen))
684 * fco_create_property ( propname-cstr buf len phandle -- )
694 char propname[OBP_MAXPROPNAME];
708 bzero(propname, OBP_MAXPROPNAME);
709 if (copyinstr(pnp, propname, OBP_MAXPROPNAME - 1, NULL))
710 return (fc_priv_error(cp, "EFAULT copying in propname"));
722 * check for propname: 'name' ... we don't allow it
726 if (strcmp(propname, "name") == 0) {
744 error = fc_ndi_prop_update(DDI_DEV_T_NONE, dev, propname,