Lines Matching refs:cmd
2352 u_int cmd, u_long arg) in pmu_ioctl() argument
2357 switch (cmd) { in pmu_ioctl()
2417 u_int cmd, u_long arg) in pmu_unlocked_ioctl() argument
2422 ret = pmu_ioctl(filp, cmd, arg); in pmu_unlocked_ioctl()
2436 static long compat_pmu_ioctl (struct file *filp, u_int cmd, u_long arg) in compat_pmu_ioctl() argument
2438 switch (cmd) { in compat_pmu_ioctl()
2442 cmd = PMU_IOC_GET_BACKLIGHT; in compat_pmu_ioctl()
2445 cmd = PMU_IOC_SET_BACKLIGHT; in compat_pmu_ioctl()
2448 cmd = PMU_IOC_GET_MODEL; in compat_pmu_ioctl()
2451 cmd = PMU_IOC_HAS_ADB; in compat_pmu_ioctl()
2454 cmd = PMU_IOC_CAN_SLEEP; in compat_pmu_ioctl()
2457 cmd = PMU_IOC_GRAB_BACKLIGHT; in compat_pmu_ioctl()
2462 return pmu_unlocked_ioctl(filp, cmd, (unsigned long)compat_ptr(arg)); in compat_pmu_ioctl()