Lines Matching defs:arg
247 static int atyfb_ioctl(struct fb_info *info, u_int cmd, u_long arg);
249 static int atyfb_compat_ioctl(struct fb_info *info, u_int cmd, u_long arg)
251 return atyfb_ioctl(info, cmd, (u_long)compat_ptr(arg));
1824 static int atyfb_ioctl(struct fb_info *info, u_int cmd, u_long arg)
1840 if (copy_to_user((struct fbtype __user *) arg, &fbtyp,
1850 if (get_user(crtc, (__u32 __user *) arg))
1876 if (copy_to_user((struct atyclk __user *) arg, &clk,
1886 if (copy_from_user(&clk, (struct atyclk __user *) arg,
1908 if (get_user(par->features, (u32 __user *) arg))
1912 if (put_user(par->features, (u32 __user *) arg))