Lines Matching defs:arg
559 hpet_ioctl_common(struct hpet_dev *devp, unsigned int cmd, unsigned long arg,
632 if ((arg > hpet_max_freq) &&
638 if (!arg) {
643 devp->hd_ireqfreq = hpet_time_div(hpetp, arg);
650 hpet_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
656 err = hpet_ioctl_common(file->private_data, cmd, arg, &info);
660 (copy_to_user((void __user *)arg, &info, sizeof(info))))
675 hpet_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
681 err = hpet_ioctl_common(file->private_data, cmd, arg, &info);
685 struct compat_hpet_info __user *u = compat_ptr(arg);