Lines Matching defs:arg
237 static int atyfb_ioctl(struct fb_info *info, u_int cmd, u_long arg);
239 static int atyfb_compat_ioctl(struct fb_info *info, u_int cmd, u_long arg)
241 return atyfb_ioctl(info, cmd, (u_long)compat_ptr(arg));
1814 static int atyfb_ioctl(struct fb_info *info, u_int cmd, u_long arg)
1830 if (copy_to_user((struct fbtype __user *) arg, &fbtyp,
1840 if (get_user(crtc, (__u32 __user *) arg))
1866 if (copy_to_user((struct atyclk __user *) arg, &clk,
1876 if (copy_from_user(&clk, (struct atyclk __user *) arg,
1898 if (get_user(par->features, (u32 __user *) arg))
1902 if (put_user(par->features, (u32 __user *) arg))