Lines Matching +full:exit +full:- +full:latency
1 // SPDX-License-Identifier: GPL-2.0
19 {"disable-by-latency", required_argument, NULL, 'D'},
20 {"enable-all", no_argument, NULL, 'E'},
30 unsigned long long latency = 0, state_latency; in cmd_idle_set() local
36 if (ret == -1) in cmd_idle_set()
46 param = -1; in cmd_idle_set()
54 exit(EXIT_FAILURE); in cmd_idle_set()
61 param = -1; in cmd_idle_set()
66 latency = strtoull(optarg, &endptr, 10); in cmd_idle_set()
68 printf(_("Bad latency value: %s\n"), optarg); in cmd_idle_set()
69 exit(EXIT_FAILURE); in cmd_idle_set()
74 param = -1; in cmd_idle_set()
80 case -1: in cmd_idle_set()
87 case -1: in cmd_idle_set()
89 "output-specific argument\n")); in cmd_idle_set()
90 exit(EXIT_FAILURE); in cmd_idle_set()
93 exit(EXIT_FAILURE); in cmd_idle_set()
120 else if (ret == -1) in cmd_idle_set()
123 else if (ret == -2) in cmd_idle_set()
133 else if (ret == -1) in cmd_idle_set()
136 else if (ret == -2) in cmd_idle_set()
149 if (latency > state_latency){ in cmd_idle_set()
157 if (latency <= state_latency){ in cmd_idle_set()
180 exit(EXIT_FAILURE); in cmd_idle_set()