Lines Matching refs:openpromio
31 #include <asm/openpromio.h>
54 * Copy an openpromio structure into kernel space from user space.
56 * accesses are within bounds. A pointer to the allocated openpromio
60 static int copyin(struct openpromio __user *info, struct openpromio **opp_p)
90 static int getstrings(struct openpromio __user *info, struct openpromio **opp_p)
121 * Copy an openpromio structure in kernel space back to user space.
123 static int copyout(void __user *info, struct openpromio *opp, int len)
130 static int opromgetprop(void __user *argp, struct device_node *dp, struct openpromio *op, int bufsize)
147 static int opromnxtprop(void __user *argp, struct device_node *dp, struct openpromio *op, int bufsize)
177 static int opromsetopt(struct device_node *dp, struct openpromio *op, int bufsize)
185 static int opromnext(void __user *argp, unsigned int cmd, struct device_node *dp, struct openpromio *op, int bufsize, DATA *data)
232 static int oprompci2node(void __user *argp, struct device_node *dp, struct openpromio *op, int bufsize, DATA *data)
258 static int oprompath2node(void __user *argp, struct device_node *dp, struct openpromio *op, int bufsize, DATA *data)
272 static int opromgetbootargs(void __user *argp, struct openpromio *op, int bufsize)
294 struct openpromio *opp = NULL;