Lines Matching refs:openpromio
44 #include <asm/openpromio.h>
65 * Copy an openpromio structure into kernel space from user space.
67 * accesses are within bounds. A pointer to the allocated openpromio
71 static int copyin(struct openpromio __user *info, struct openpromio **opp_p)
101 static int getstrings(struct openpromio __user *info, struct openpromio **opp_p)
132 * Copy an openpromio structure in kernel space back to user space.
134 static int copyout(void __user *info, struct openpromio *opp, int len)
141 static int opromgetprop(void __user *argp, struct device_node *dp, struct openpromio *op, int bufsize)
158 static int opromnxtprop(void __user *argp, struct device_node *dp, struct openpromio *op, int bufsize)
188 static int opromsetopt(struct device_node *dp, struct openpromio *op, int bufsize)
196 static int opromnext(void __user *argp, unsigned int cmd, struct device_node *dp, struct openpromio *op, int bufsize, DATA *data)
243 static int oprompci2node(void __user *argp, struct device_node *dp, struct openpromio *op, int bufsize, DATA *data)
268 static int oprompath2node(void __user *argp, struct device_node *dp, struct openpromio *op, int bufsize, DATA *data)
282 static int opromgetbootargs(void __user *argp, struct openpromio *op, int bufsize)
304 struct openpromio *opp;