Lines Matching refs:oprom_array
82 if (copy_from_user(&(*opp_p)->oprom_array, in copyin()
83 &info->oprom_array, bufsize)) { in copyin()
105 if (get_user(c, &info->oprom_array[bufsize])) { in getstrings()
111 (*opp_p)->oprom_array[bufsize++] = c; in getstrings()
136 !(pval = of_get_property(dp, op->oprom_array, &len)) || in opromgetprop()
140 memcpy(op->oprom_array, pval, len); in opromgetprop()
141 op->oprom_array[len] = '\0'; in opromgetprop()
154 if (op->oprom_array[0] == '\0') { in opromnxtprop()
160 prop = of_find_property(dp, op->oprom_array, NULL); in opromnxtprop()
170 memcpy(op->oprom_array, prop->name, len); in opromnxtprop()
171 op->oprom_array[len] = '\0'; in opromnxtprop()
179 char *buf = op->oprom_array + strlen(op->oprom_array) + 1; in opromsetopt()
180 int len = op->oprom_array + bufsize - buf; in opromsetopt()
182 return of_set_property(options_node, op->oprom_array, buf, len); in opromsetopt()
194 ph = *((int *) op->oprom_array); in opromnext()
226 *((int *) op->oprom_array) = ph; in opromnext()
242 ((int *) op->oprom_array)[0], in oprompci2node()
243 ((int *) op->oprom_array)[1]); in oprompci2node()
247 *((int *)op->oprom_array) = dp->phandle; in oprompci2node()
262 dp = of_find_node_by_path(op->oprom_array); in oprompath2node()
266 *((int *)op->oprom_array) = ph; in oprompath2node()
280 strcpy(op->oprom_array, buf); in opromgetbootargs()