Lines Matching refs:cmd
822 static int mtdchar_ioctl(struct file *file, u_int cmd, u_long arg) in mtdchar_ioctl() argument
837 switch (cmd) { in mtdchar_ioctl()
877 switch (cmd) { in mtdchar_ioctl()
928 if (cmd == MEMERASE64) { in mtdchar_ioctl()
1127 if (cmd == OTPGETREGIONCOUNT) { in mtdchar_ioctl()
1148 if (cmd == OTPLOCK) in mtdchar_ioctl()
1231 static long mtdchar_unlocked_ioctl(struct file *file, u_int cmd, u_long arg) in mtdchar_unlocked_ioctl() argument
1239 ret = mtdchar_ioctl(file, cmd, arg); in mtdchar_unlocked_ioctl()
1256 static long mtdchar_compat_ioctl(struct file *file, unsigned int cmd, in mtdchar_compat_ioctl() argument
1267 switch (cmd) { in mtdchar_compat_ioctl()
1325 ret = mtdchar_ioctl(file, cmd, (unsigned long)argp); in mtdchar_compat_ioctl()