Lines Matching refs:cmd

185 static int opromnext(void __user *argp, unsigned int cmd, struct device_node *dp, struct openpromio…  in opromnext()  argument
200 switch (cmd) { in opromnext()
215 if (cmd != OPROMNEXT) in opromnext()
290 unsigned int cmd, unsigned long arg, in openprom_sunos_ioctl() argument
299 if (cmd == OPROMSETOPT) in openprom_sunos_ioctl()
309 switch (cmd) { in openprom_sunos_ioctl()
328 error = opromnext(argp, cmd, dp, opp, bufsize, data); in openprom_sunos_ioctl()
352 printk(KERN_INFO "openprom_sunos_ioctl: cmd 0x%X, arg 0x%lX\n", cmd, arg); in openprom_sunos_ioctl()
495 static int opiocgetnext(unsigned int cmd, void __user *argp) in opiocgetnext() argument
506 if (cmd != OPIOCGETNEXT) in opiocgetnext()
513 if (cmd == OPIOCGETNEXT) in opiocgetnext()
528 unsigned int cmd, unsigned long arg) in openprom_bsd_ioctl() argument
535 switch (cmd) { in openprom_bsd_ioctl()
558 err = opiocgetnext(cmd, argp); in openprom_bsd_ioctl()
575 unsigned int cmd, unsigned long arg) in openprom_ioctl() argument
579 switch (cmd) { in openprom_ioctl()
584 return openprom_sunos_ioctl(file, cmd, arg, in openprom_ioctl()
591 return openprom_sunos_ioctl(file, cmd, arg, in openprom_ioctl()
600 return openprom_sunos_ioctl(file, cmd, arg, in openprom_ioctl()
612 return openprom_sunos_ioctl(file, cmd, arg, NULL); in openprom_ioctl()
621 return openprom_bsd_ioctl(file,cmd,arg); in openprom_ioctl()
626 return openprom_bsd_ioctl(file,cmd,arg); in openprom_ioctl()
633 static long openprom_compat_ioctl(struct file *file, unsigned int cmd, in openprom_compat_ioctl() argument
642 switch (cmd) { in openprom_compat_ioctl()
658 rval = openprom_ioctl(file, cmd, arg); in openprom_compat_ioctl()