bin/csh/csh.c
1078
static struct command *savet = NULL;
bin/csh/csh.c
1083
struct command *t;
bin/csh/csh.c
1225
dosource(Char **v, struct command *t)
bin/csh/csh.h
334
struct command *T_dcar; /* Left part of list/pipe */
bin/csh/csh.h
338
struct command *T_dcdr; /* Right part of list/pipe */
bin/csh/csh.h
345
struct command *t_dspr; /* Pointer to ()'d subtree */
bin/csh/csh.h
357
void (*bfunct)(Char **, struct command *);
bin/csh/dir.c
192
dodirs(Char **v, struct command *t)
bin/csh/dir.c
336
dochngd(Char **v, struct command *t)
bin/csh/dir.c
480
dopushd(Char **v, struct command *t)
bin/csh/dir.c
559
dopopd(Char **v, struct command *t)
bin/csh/dol.c
104
Dfix(struct command *t)
bin/csh/exec.c
111
doexec(Char **v, struct command *t)
bin/csh/exec.c
360
execash(Char **t, struct command *kp)
bin/csh/exec.c
439
dohash(Char **v, struct command *t)
bin/csh/exec.c
479
dounhash(Char **v, struct command *t)
bin/csh/exec.c
486
hashstat(Char **v, struct command *t)
bin/csh/exec.c
607
dowhich(Char **v, struct command *c)
bin/csh/exp.c
437
struct command faket;
bin/csh/exp.c
563
struct command *t;
bin/csh/extern.h
100
void execash(Char **, struct command *);
bin/csh/extern.h
101
void hashstat(Char **, struct command *);
bin/csh/extern.h
121
void doalias(Char **, struct command *);
bin/csh/extern.h
122
void dobreak(Char **, struct command *);
bin/csh/extern.h
123
void docontin(Char **, struct command *);
bin/csh/extern.h
124
void doecho(Char **, struct command *);
bin/csh/extern.h
125
void doelse(Char **, struct command *);
bin/csh/extern.h
126
void doend(Char **, struct command *);
bin/csh/extern.h
127
void doeval(Char **, struct command *);
bin/csh/extern.h
128
void doexit(Char **, struct command *);
bin/csh/extern.h
129
void doforeach(Char **, struct command *);
bin/csh/extern.h
130
void doglob(Char **, struct command *);
bin/csh/extern.h
131
void dogoto(Char **, struct command *);
bin/csh/extern.h
132
void doif(Char **, struct command *);
bin/csh/extern.h
133
void dolimit(Char **, struct command *);
bin/csh/extern.h
134
__dead void dologin(Char **, struct command *);
bin/csh/extern.h
135
__dead void dologout(Char **, struct command *);
bin/csh/extern.h
136
void donohup(Char **, struct command *);
bin/csh/extern.h
137
void doonintr(Char **, struct command *);
bin/csh/extern.h
138
void doprintf(Char **, struct command *);
bin/csh/extern.h
139
void dorepeat(Char **, struct command *);
bin/csh/extern.h
140
void dosetenv(Char **, struct command *);
bin/csh/extern.h
141
void dosuspend(Char **, struct command *);
bin/csh/extern.h
142
void doswbrk(Char **, struct command *);
bin/csh/extern.h
143
void doswitch(Char **, struct command *);
bin/csh/extern.h
144
void doumask(Char **, struct command *);
bin/csh/extern.h
145
void dounlimit(Char **, struct command *);
bin/csh/extern.h
146
void dounsetenv(Char **, struct command *);
bin/csh/extern.h
147
void dowhile(Char **, struct command *);
bin/csh/extern.h
148
void dozip(Char **, struct command *);
bin/csh/extern.h
149
void func(struct command *, struct biltins *);
bin/csh/extern.h
150
struct biltins *isbfunc(struct command *);
bin/csh/extern.h
154
void unalias(Char **, struct command *);
bin/csh/extern.h
176
void dohist(Char **, struct command *);
bin/csh/extern.h
240
void freesyn(struct command *);
bin/csh/extern.h
241
struct command *syntax(struct wordent *, struct wordent *, int);
bin/csh/extern.h
247
void dobg(Char **, struct command *);
bin/csh/extern.h
248
void dobg1(Char **, struct command *);
bin/csh/extern.h
249
void dofg(Char **, struct command *);
bin/csh/extern.h
250
void dofg1(Char **, struct command *);
bin/csh/extern.h
251
void dojobs(Char **, struct command *);
bin/csh/extern.h
252
void dokill(Char **, struct command *);
bin/csh/extern.h
253
void donotify(Char **, struct command *);
bin/csh/extern.h
254
void dostop(Char **, struct command *);
bin/csh/extern.h
255
void dowait(Char **, struct command *);
bin/csh/extern.h
256
void palloc(int, struct command *);
bin/csh/extern.h
261
int pfork(struct command *, int);
bin/csh/extern.h
273
void execute(struct command *, int, int *, int *);
bin/csh/extern.h
280
void doset(Char **, struct command *);
bin/csh/extern.h
281
void dolet(Char **, struct command *);
bin/csh/extern.h
288
void unset(Char **, struct command *);
bin/csh/extern.h
292
void shift(Char **, struct command *);
bin/csh/extern.h
301
void donice(Char **, struct command *);
bin/csh/extern.h
302
void dotime(Char **, struct command *);
bin/csh/extern.h
43
void dosource(Char **, struct command *);
bin/csh/extern.h
69
void dodirs(Char **, struct command *);
bin/csh/extern.h
73
void dochngd(Char **, struct command *);
bin/csh/extern.h
75
void dopushd(Char **, struct command *);
bin/csh/extern.h
76
void dopopd(Char **, struct command *);
bin/csh/extern.h
83
void Dfix(struct command *);
bin/csh/extern.h
96
__dead void doexec(Char **, struct command *);
bin/csh/extern.h
97
void dohash(Char **, struct command *);
bin/csh/extern.h
98
void dounhash(Char **, struct command *);
bin/csh/extern.h
99
void dowhich(Char **, struct command *);
bin/csh/file.c
480
tsearch(Char *word, COMMAND command, size_t max_word_length)
bin/csh/file.c
519
if (command == LIST) {
bin/csh/file.c
553
if (command == RECOGNIZE) {
bin/csh/file.c
654
COMMAND command;
bin/csh/file.c
662
command = (last_Char == ESC) ? RECOGNIZE : LIST;
bin/csh/file.c
663
if (command == LIST)
bin/csh/file.c
677
numitems = tsearch(word_start, command, space_left);
bin/csh/file.c
679
if (command == RECOGNIZE) {
bin/csh/file.c
696
if (command == LIST) /* Always retype after a LIST */
bin/csh/file.c
701
if (command == RECOGNIZE)
bin/csh/func.c
1072
doumask(Char **v, struct command *t)
bin/csh/func.c
1141
dolimit(Char **v, struct command *t)
bin/csh/func.c
116
func(struct command *t, struct biltins *bp)
bin/csh/func.c
1272
dounlimit(Char **v, struct command *t)
bin/csh/func.c
132
doonintr(Char **v, struct command *t)
bin/csh/func.c
1328
dosuspend(Char **v, struct command *t)
bin/csh/func.c
1372
doeval(Char **v, struct command *t)
bin/csh/func.c
1444
doprintf(Char **v, struct command *t)
bin/csh/func.c
166
donohup(Char **v, struct command *t)
bin/csh/func.c
177
dozip(Char **v, struct command *t)
bin/csh/func.c
190
doalias(Char **v, struct command *t)
bin/csh/func.c
217
unalias(Char **v, struct command *t)
bin/csh/func.c
224
dologout(Char **v, struct command *t)
bin/csh/func.c
232
dologin(Char **v, struct command *t)
bin/csh/func.c
255
doif(Char **v, struct command *kp)
bin/csh/func.c
293
reexecute(struct command *kp)
bin/csh/func.c
307
doelse(Char **v, struct command *t)
bin/csh/func.c
314
dogoto(Char **v, struct command *t)
bin/csh/func.c
346
doswitch(Char **v, struct command *t)
bin/csh/func.c
364
dobreak(Char **v, struct command *t)
bin/csh/func.c
374
doexit(Char **v, struct command *t)
bin/csh/func.c
394
doforeach(Char **v, struct command *t)
bin/csh/func.c
435
dowhile(Char **v, struct command *t)
bin/csh/func.c
496
doend(Char **v, struct command *t)
bin/csh/func.c
506
docontin(Char **v, struct command *t)
bin/csh/func.c
535
dorepeat(Char **v, struct command *kp)
bin/csh/func.c
560
doswbrk(Char **v, struct command *t)
bin/csh/func.c
61
static void reexecute(struct command *);
bin/csh/func.c
73
isbfunc(struct command *t)
bin/csh/func.c
858
doecho(Char **v, struct command *t)
bin/csh/func.c
865
doglob(Char **v, struct command *t)
bin/csh/func.c
921
dosetenv(Char **v, struct command *t)
bin/csh/func.c
963
dounsetenv(Char **v, struct command *t)
bin/csh/glob.c
629
struct command faket;
bin/csh/glob.c
665
struct command *t;
bin/csh/hist.c
139
dohist(Char **v, struct command *t)
bin/csh/parse.c
214
struct command *
bin/csh/parse.c
230
static struct command *
bin/csh/parse.c
234
struct command *t, *t1;
bin/csh/parse.c
291
static struct command *
bin/csh/parse.c
295
struct command *t;
bin/csh/parse.c
327
static struct command *
bin/csh/parse.c
331
struct command *t;
bin/csh/parse.c
364
static struct command *
bin/csh/parse.c
368
struct command *t;
bin/csh/parse.c
400
static struct command *
bin/csh/parse.c
404
struct command *t;
bin/csh/parse.c
446
static struct command *
bin/csh/parse.c
450
struct command *t;
bin/csh/parse.c
54
static struct command *syn0(struct wordent *, struct wordent *, int);
bin/csh/parse.c
55
static struct command *syn1(struct wordent *, struct wordent *, int);
bin/csh/parse.c
56
static struct command *syn1a(struct wordent *, struct wordent *, int);
bin/csh/parse.c
57
static struct command *syn1b(struct wordent *, struct wordent *, int);
bin/csh/parse.c
58
static struct command *syn2(struct wordent *, struct wordent *, int);
bin/csh/parse.c
59
static struct command *syn3(struct wordent *, struct wordent *, int);
bin/csh/parse.c
614
freesyn(struct command *t)
bin/csh/proc.c
1222
donotify(Char **v, struct command *t)
bin/csh/proc.c
1243
pfork(struct command *t /* command we are forking for */, int wanttty)
bin/csh/proc.c
355
dowait(Char **v, struct command *t)
bin/csh/proc.c
444
static Char command[PMAXLEN + 4];
bin/csh/proc.c
453
palloc(int pid, struct command *t)
bin/csh/proc.c
463
cmdp = command;
bin/csh/proc.c
472
pp->p_command = Strsave(command);
bin/csh/proc.c
518
padd(struct command *t)
bin/csh/proc.c
73
static void padd(struct command *);
bin/csh/proc.c
836
dojobs(Char **v, struct command *t)
bin/csh/proc.c
873
dofg(Char **v, struct command *t)
bin/csh/proc.c
891
dofg1(Char **v, struct command *t)
bin/csh/proc.c
906
dobg(Char **v, struct command *t)
bin/csh/proc.c
923
dobg1(Char **v, struct command *t)
bin/csh/proc.c
936
dostop(Char **v, struct command *t)
bin/csh/proc.c
946
dokill(Char **v, struct command *t)
bin/csh/sem.c
482
splicepipe(struct command *t, Char *cp /* word after < or > */)
bin/csh/sem.c
524
doio(struct command *t, int *pipein, int *pipeout)
bin/csh/sem.c
57
static Char *splicepipe(struct command *t, Char *);
bin/csh/sem.c
58
static void doio(struct command *t, int *, int *);
bin/csh/sem.c
62
execute(struct command *t, int wtty, int *pipein, int *pipeout)
bin/csh/set.c
160
doset(Char **v, struct command *t)
bin/csh/set.c
262
dolet(Char **v, struct command *t)
bin/csh/set.c
539
unset(Char **v, struct command *t)
bin/csh/set.c
671
shift(Char **v, struct command *t)
bin/csh/time.c
73
dotime(Char **v, struct command *t)
bin/csh/time.c
90
donice(Char **v, struct command *t)
bin/ksh/history.c
257
ret = command(editor ? editor : "${FCEDIT:-/bin/ed} $_");
bin/ksh/history.c
332
ret = command(cmd);
bin/ksh/jobs.c
103
char command[48]; /* process command string */
bin/ksh/jobs.c
1514
shf_fprintf(shf, "%-20s %s%s%s", buf, p->command,
bin/ksh/jobs.c
1526
space, p->command, p->next ? "|" : null);
bin/ksh/jobs.c
1528
shf_fprintf(shf, " %s%s", p->command,
bin/ksh/jobs.c
1596
if (strstr(p->command, cp+1) != (char *) 0) {
bin/ksh/jobs.c
1612
if (strncmp(cp, j->proc_list->command, len) == 0) {
bin/ksh/jobs.c
498
snptreef(p->command, sizeof(p->command), "%T", t);
bin/ksh/jobs.c
849
shprintf("%s%s", p->command, p->next ? "| " : null);
bin/ksh/proto.h
169
int command ARGS((const char *));
bin/ksh/trap.c
262
command(trapstr);
bin/ps/extern.h
49
void command(struct pinfo *, VARENT *, enum mode);
bin/ps/keyword.c
113
VAR4("comm", "COMMAND", COMM|ARGV0|LJUST, command),
bin/ps/keyword.c
114
VAR4("command", "COMMAND", COMM|LJUST, command),
bin/sh/parser.c
113
STATIC union node *command(void);
bin/sh/parser.c
307
n1 = command();
bin/sh/parser.c
318
lp->n = command();
bin/sh/parser.c
692
n->narg.next = command();
crypto/dist/ipsec-tools/src/setkey/parse.y
153
| commands command
crypto/dist/ipsec-tools/src/setkey/parse.y
160
command
dist/pf/sbin/pfctl/pfctl_table.c
118
const char *command, char *file, const char *anchor, int opts)
dist/pf/sbin/pfctl/pfctl_table.c
120
if (tname == NULL || command == NULL)
dist/pf/sbin/pfctl/pfctl_table.c
122
return pfctl_table(argc, argv, tname, command, file, anchor, opts);
dist/pf/sbin/pfctl/pfctl_table.c
126
pfctl_table(int argc, char *argv[], char *tname, const char *command,
dist/pf/sbin/pfctl/pfctl_table.c
136
if (command == NULL)
dist/pf/sbin/pfctl/pfctl_table.c
155
if (!strcmp(command, "-F")) {
dist/pf/sbin/pfctl/pfctl_table.c
160
} else if (!strcmp(command, "-s")) {
dist/pf/sbin/pfctl/pfctl_table.c
187
} else if (!strcmp(command, "kill")) {
dist/pf/sbin/pfctl/pfctl_table.c
192
} else if (!strcmp(command, "flush")) {
dist/pf/sbin/pfctl/pfctl_table.c
197
} else if (!strcmp(command, "add")) {
dist/pf/sbin/pfctl/pfctl_table.c
212
} else if (!strcmp(command, "delete")) {
dist/pf/sbin/pfctl/pfctl_table.c
226
} else if (!strcmp(command, "replace")) {
dist/pf/sbin/pfctl/pfctl_table.c
257
} else if (!strcmp(command, "expire")) {
dist/pf/sbin/pfctl/pfctl_table.c
293
} else if (!strcmp(command, "show")) {
dist/pf/sbin/pfctl/pfctl_table.c
315
} else if (!strcmp(command, "test")) {
dist/pf/sbin/pfctl/pfctl_table.c
344
} else if (!strcmp(command, "zero")) {
dist/pf/sbin/pfctl/pfctl_table.c
351
warnx("pfctl_table: unknown command '%s'", command);
games/atc/extern.h
105
const char *command(const PLANE *);
games/atc/graphics.c
352
(void)waddstr(planes, command(pp));
games/atc/graphics.c
360
(void)waddstr(planes, command(pp));
games/hunt/hunt/otto.c
110
STATIC char command[BUFSIZ];
games/hunt/hunt/otto.c
220
(void) write(huntsocket, command, comlen);
games/hunt/hunt/otto.c
223
(void) fwrite(command, 1, comlen, debug);
games/hunt/hunt/otto.c
431
command[comlen++] = toupper((unsigned char)cmd);
games/hunt/hunt/otto.c
441
command[comlen++] = cmd;
games/hunt/hunt/otto.c
459
command[comlen++] = 'o';
games/hunt/hunt/otto.c
460
command[comlen++] = 'o';
games/hunt/hunt/otto.c
462
command[comlen++] = ' ';
games/hunt/hunt/otto.c
473
command[comlen++] = 'f';
games/hunt/hunt/otto.c
474
command[comlen++] = 'f';
games/hunt/hunt/otto.c
476
command[comlen++] = ' ';
games/hunt/hunt/otto.c
490
command[comlen++] = 'h';
games/hunt/hunt/otto.c
492
command[comlen++] = 'l';
games/hunt/hunt/otto.c
495
command[comlen++] = 'j';
games/hunt/hunt/otto.c
498
command[comlen++] = 'k';
games/hunt/hunt/otto.c
500
command[comlen++] = 'k';
games/hunt/hunt/otto.c
502
command[comlen++] = 'j';
games/hunt/hunt/otto.c
508
command[comlen++] = 'k';
games/hunt/hunt/otto.c
510
command[comlen++] = 'j';
games/hunt/hunt/otto.c
513
command[comlen++] = 'l';
games/hunt/hunt/otto.c
516
command[comlen++] = 'h';
games/hunt/hunt/otto.c
518
command[comlen++] = 'h';
games/hunt/hunt/otto.c
520
command[comlen++] = 'l';
games/hunt/huntd/terminal.c
124
sendcom(PLAYER *pp, int command, ...)
games/hunt/huntd/terminal.c
129
va_start(ap, command);
games/hunt/huntd/terminal.c
130
(void) putc(command, pp->p_output);
games/hunt/huntd/terminal.c
131
switch (command & 0377) {
games/sail/dr_2.c
163
closeon(struct ship *from, struct ship *to, char *command, size_t commandmax,
games/sail/dr_2.c
169
temp[0] = command[0] = '\0';
games/sail/dr_2.c
171
try(from, to, command, commandmax, temp, sizeof(temp),
games/sail/dr_2.c
250
char *command, size_t commandmax,
games/sail/dr_2.c
265
strlcpy(command, temp, commandmax);
games/sail/dr_2.c
267
try(f, t, command, commandmax, temp, tempmax,
games/sail/dr_2.c
279
strlcpy(command, temp, commandmax);
games/sail/dr_2.c
281
try(f, t, command, commandmax, temp, tempmax,
games/sail/dr_2.c
294
strlcpy(command, temp, commandmax);
games/sail/dr_2.c
296
try(f, t, command, commandmax, temp, tempmax,
games/sail/dr_2.c
55
char *command, size_t commandmax, char *temp, size_t tempmax,
lib/libc/stdlib/system.c
54
system(const char *command)
lib/libc/stdlib/system.c
60
const char *argp[] = {"sh", "-c", "--", command, NULL};
lib/libc/stdlib/system.c
68
if (command == NULL) {
lib/libdm/libdm_ioctl.c
193
libdm_task_create(const char *command)
lib/libdm/libdm_ioctl.c
211
command)) == false) {
lib/libdm/libdm_ioctl.c
217
len = strlen(command);
lib/libdm/libdm_ioctl.c
225
if ((strncmp(command, cmd_ver[i].cmd, slen)) == 0) {
lib/libdm/libdm_ioctl.c
305
char *command;
lib/libdm/libdm_ioctl.c
308
DM_IOCTL_COMMAND, (const char **)&command))
lib/libdm/libdm_ioctl.c
311
return command;
lib/libedit/readline.c
815
_history_expand_command(const char *command, size_t offs, size_t cmdlen,
lib/libedit/readline.c
831
if (strchr(":^*$", command[offs + 1])) {
lib/libedit/readline.c
841
idx = (command[offs + 1] == ':')? 1:0;
lib/libedit/readline.c
844
if (command[offs + 1] == '#') {
lib/libedit/readline.c
849
(void)strlcpy(aptr, command, offs + 1);
lib/libedit/readline.c
854
qchar = (offs > 0 && command[offs - 1] == '"')
lib/libedit/readline.c
856
ptr = get_history_event(command + offs, &idx, qchar);
lib/libedit/readline.c
858
has_mods = command[offs + (size_t)idx] == ':';
lib/libedit/readline.c
873
cmd = command + offs + idx + 1;
lib/libedit/readline.c
913
command + offs + idx);
lib/libedit/readline.c
924
if (*cmd == '\0' || ((size_t)(cmd - (command + offs)) >= cmdlen)) {
lib/librmt/rmtlib.c
381
if (command(i, buffer) == -1 || status(i) == -1)
lib/librmt/rmtlib.c
396
if (command(fildes, "C\n") != -1) {
lib/librmt/rmtlib.c
422
if (command(fildes, buffer) == -1 || (rv = status(fildes)) == -1)
lib/librmt/rmtlib.c
452
if (command(fildes, buffer) == -1)
lib/librmt/rmtlib.c
479
if (command(fildes, buffer) == -1)
lib/librmt/rmtlib.c
509
if (command(fildes, buffer) == -1)
lib/librmt/rmtlib.c
531
if (command(fildes, "S") == -1 || (rv = status(fildes)) == -1)
lib/librmt/rmtlib.c
70
static int command(int, const char *);
lib/libwrap/shell_cmd.c
46
shell_cmd(char *command)
lib/libwrap/shell_cmd.c
61
do_child(command);
lib/libwrap/shell_cmd.c
72
do_child(char *command)
lib/libwrap/shell_cmd.c
92
(void) execl("/bin/sh", "sh", "-c", command, (char *) 0);
libexec/ftpd/cmds.c
319
opts(const char *command)
libexec/ftpd/cmds.c
324
if ((ep = strchr(command, ' ')) != NULL)
libexec/ftpd/cmds.c
326
c = lookup(cmdtab, command);
libexec/ftpd/cmds.c
328
reply(502, "Unknown command '%s'.", command);
libexec/ftpd/cmds.c
342
if (strcasecmp(command, "MLST") == 0) {
libexec/ftpd/conf.c
344
REASSIGN(conv->command, convcmd);
libexec/ftpd/conf.c
830
cp->command == NULL)
libexec/ftpd/conf.c
852
cmd = ftpd_strdup(cp->command);
libexec/ftpd/conf.c
88
REASSIGN(conv->command, NULL);
libexec/ftpd/extern.h
239
char *command; /* Command to do the conversion */
libexec/ftpd/ftpd.c
2827
cp->command == NULL)
libexec/ftpd/ftpd.c
2830
cp->suffix, cp->types, cp->disable, cp->command);
libexec/ftpd/ftpd.c
3594
logxfer(const char *command, off_t bytes, const char *file1, const char *file2,
libexec/ftpd/ftpd.c
3618
len = snprintf(buf, sizeof(buf), "%s %s", command, r1);
libexec/ftpd/ftpd.c
3642
if (strcmp(command, "get") == 0)
libexec/ftpd/ftpd.c
3644
else if (strcmp(command, "put") == 0 || strcmp(command, "append") == 0)
libexec/httpd/cgi-bozo.c
379
char *query, *s, *t, *path, *env, *command, *file, *url;
libexec/httpd/cgi-bozo.c
421
command = NULL;
libexec/httpd/cgi-bozo.c
461
command = file + 1;
libexec/httpd/cgi-bozo.c
464
command = file + CGIBIN_PREFIX_LEN + 1;
libexec/httpd/cgi-bozo.c
465
if ((s = strchr(command, '/')) != NULL) {
libexec/httpd/cgi-bozo.c
470
strlen(httpd->cgibin) + 1 + strlen(command) + 1);
libexec/httpd/cgi-bozo.c
473
strcat(path, command);
libexec/httpd/cgi-bozo.c
483
nph = strncmp(command, "nph-", 4) == 0;
libexec/httpd/cgi-bozo.c
502
path, command, strornull(info),
libexec/httpd/lua-bozo.c
311
char *s, *query, *uri, *file, *command, *info, *content;
libexec/httpd/lua-bozo.c
351
command = file + 1;
libexec/httpd/lua-bozo.c
352
if ((s = strchr(command, '/')) != NULL) {
sbin/atactl/atactl.c
1008
le->command[i].device_control,
sbin/atactl/atactl.c
1009
le->command[i].features,
sbin/atactl/atactl.c
1010
le->command[i].sector_count,
sbin/atactl/atactl.c
1011
le->command[i].sector_number,
sbin/atactl/atactl.c
1012
le->command[i].cylinder_low,
sbin/atactl/atactl.c
1013
le->command[i].cylinder_high,
sbin/atactl/atactl.c
1014
le->command[i].device_head,
sbin/atactl/atactl.c
1015
le->command[i].command,
sbin/atactl/atactl.c
1016
le->command[i].timestamp[3],
sbin/atactl/atactl.c
1017
le->command[i].timestamp[2],
sbin/atactl/atactl.c
1018
le->command[i].timestamp[1],
sbin/atactl/atactl.c
1019
le->command[i].timestamp[0]);
sbin/atactl/atactl.c
1179
req.command = WDCC_IDENTIFY;
sbin/atactl/atactl.c
1522
req.command = WDCC_IDLE_IMMED;
sbin/atactl/atactl.c
1524
req.command = WDCC_STANDBY_IMMED;
sbin/atactl/atactl.c
1526
req.command = WDCC_SLEEP;
sbin/atactl/atactl.c
1548
req.command = SET_FEATURES;
sbin/atactl/atactl.c
1608
req.command = cmdname[3] == 's' ? WDCC_STANDBY : WDCC_IDLE;
sbin/atactl/atactl.c
1631
req.command = WDCC_CHECK_PWR;
sbin/atactl/atactl.c
1675
req.command = WDCC_SMART;
sbin/atactl/atactl.c
1686
req.command = WDCC_SMART;
sbin/atactl/atactl.c
1709
req.command = WDCC_SMART;
sbin/atactl/atactl.c
1729
req.command = WDCC_SMART;
sbin/atactl/atactl.c
1742
req.command = WDCC_SMART;
sbin/atactl/atactl.c
1768
req.command = WDCC_SMART;
sbin/atactl/atactl.c
1787
req.command = WDCC_SMART;
sbin/atactl/atactl.c
1809
req.command = WDCC_SMART;
sbin/atactl/atactl.c
1841
req.command = WDCC_SECURITY_FREEZE;
sbin/atactl/atactl.c
1881
req.command = WDCC_SECURITY_SET_PASSWORD;
sbin/atactl/atactl.c
1883
req.command = WDCC_SECURITY_UNLOCK;
sbin/atactl/atactl.c
1885
req.command = WDCC_SECURITY_DISABLE_PASSWORD;
sbin/atactl/atactl.c
1899
prepare.command = WDCC_SECURITY_ERASE_PREPARE;
sbin/atactl/atactl.c
1903
req.command = WDCC_SECURITY_ERASE_UNIT;
sbin/atactl/atactl.c
194
static const struct command device_commands[] = {
sbin/atactl/atactl.c
214
static const struct command bus_commands[] = {
sbin/atactl/atactl.c
498
const struct command *commands = NULL;
sbin/atactl/atactl.c
681
c.cmd16.ata_cmd = req->command;
sbin/atactl/atactl.c
695
c.cmd12.ata_cmd = req->command;
sbin/atactl/atactl.c
70
uint8_t command;
sbin/atactl/atactl.c
72
} command[5];
sbin/bioctl/bioctl.c
99
static struct command commands[] = {
sbin/brconfig/brconfig.c
100
static const struct command command_table[] = {
sbin/brconfig/brconfig.c
165
const struct command *cmd;
sbin/brconfig/brconfig.c
564
cmd_add(const struct command *cmd, int sock, const char *bridge,
sbin/brconfig/brconfig.c
577
cmd_delete(const struct command *cmd, int sock, const char *bridge,
sbin/brconfig/brconfig.c
589
cmd_up(const struct command *cmd, int sock, const char *bridge,
sbin/brconfig/brconfig.c
597
cmd_down(const struct command *cmd, int sock, const char *bridge,
sbin/brconfig/brconfig.c
605
cmd_discover(const struct command *cmd, int sock, const char *bridge,
sbin/brconfig/brconfig.c
614
cmd_learn(const struct command *cmd, int sock, const char *bridge,
sbin/brconfig/brconfig.c
623
cmd_stp(const struct command *cmd, int sock, const char *bridge,
sbin/brconfig/brconfig.c
632
cmd_protect(const struct command *cmd, int sock, const char *bridge,
sbin/brconfig/brconfig.c
641
cmd_flush(const struct command *cmd, int sock, const char *bridge,
sbin/brconfig/brconfig.c
653
cmd_flushall(const struct command *cmd, int sock, const char *bridge,
sbin/brconfig/brconfig.c
665
cmd_static(const struct command *cmd, int sock, const char *bridge,
sbin/brconfig/brconfig.c
686
cmd_deladdr(const struct command *cmd, int sock, const char *bridge,
sbin/brconfig/brconfig.c
705
cmd_addr(const struct command *cmd, int sock, const char *bridge,
sbin/brconfig/brconfig.c
71
void (*cmd_func)(const struct command *, int, const char *,
sbin/brconfig/brconfig.c
713
cmd_maxaddr(const struct command *cmd, int sock, const char *bridge,
sbin/brconfig/brconfig.c
729
cmd_hellotime(const struct command *cmd, int sock, const char *bridge,
sbin/brconfig/brconfig.c
745
cmd_fwddelay(const struct command *cmd, int sock, const char *bridge,
sbin/brconfig/brconfig.c
761
cmd_maxage(const struct command *cmd, int sock, const char *bridge,
sbin/brconfig/brconfig.c
77
static void cmd_add(const struct command *, int, const char *, char **);
sbin/brconfig/brconfig.c
777
cmd_priority(const struct command *cmd, int sock, const char *bridge,
sbin/brconfig/brconfig.c
78
static void cmd_delete(const struct command *, int, const char *, char **);
sbin/brconfig/brconfig.c
79
static void cmd_up(const struct command *, int, const char *, char **);
sbin/brconfig/brconfig.c
793
cmd_ifpriority(const struct command *cmd, int sock, const char *bridge,
sbin/brconfig/brconfig.c
80
static void cmd_down(const struct command *, int, const char *, char **);
sbin/brconfig/brconfig.c
81
static void cmd_discover(const struct command *, int, const char *, char **);
sbin/brconfig/brconfig.c
812
cmd_ifpathcost(const struct command *cmd, int sock, const char *bridge,
sbin/brconfig/brconfig.c
82
static void cmd_learn(const struct command *, int, const char *, char **);
sbin/brconfig/brconfig.c
83
static void cmd_flush(const struct command *, int, const char *, char **);
sbin/brconfig/brconfig.c
831
cmd_timeout(const struct command *cmd, int sock, const char *bridge,
sbin/brconfig/brconfig.c
84
static void cmd_flushall(const struct command *, int, const char *, char **);
sbin/brconfig/brconfig.c
847
cmd_ipf(const struct command *cmd, int sock, const char *bridge,
sbin/brconfig/brconfig.c
85
static void cmd_static(const struct command *, int, const char *, char **);
sbin/brconfig/brconfig.c
86
static void cmd_deladdr(const struct command *, int, const char *, char **);
sbin/brconfig/brconfig.c
87
static void cmd_addr(const struct command *, int, const char *, char **);
sbin/brconfig/brconfig.c
88
static void cmd_maxaddr(const struct command *, int, const char *, char **);
sbin/brconfig/brconfig.c
89
static void cmd_hellotime(const struct command *, int, const char *, char **);
sbin/brconfig/brconfig.c
90
static void cmd_fwddelay(const struct command *, int, const char *, char **);
sbin/brconfig/brconfig.c
91
static void cmd_maxage(const struct command *, int, const char *, char **);
sbin/brconfig/brconfig.c
92
static void cmd_priority(const struct command *, int, const char *, char **);
sbin/brconfig/brconfig.c
93
static void cmd_ifpriority(const struct command *, int, const char *, char **);
sbin/brconfig/brconfig.c
94
static void cmd_ifpathcost(const struct command *, int, const char *, char **);
sbin/brconfig/brconfig.c
95
static void cmd_timeout(const struct command *, int, const char *, char **);
sbin/brconfig/brconfig.c
96
static void cmd_stp(const struct command *, int, const char *, char **);
sbin/brconfig/brconfig.c
97
static void cmd_ipf(const struct command *, int, const char *, char **);
sbin/brconfig/brconfig.c
98
static void cmd_protect(const struct command *, int, const char *, char **);
sbin/canconfig/canconfig.c
125
const struct command *cmd;
sbin/canconfig/canconfig.c
471
cmd_up(const struct command *cmd, int sock, const char *canifname,
sbin/canconfig/canconfig.c
479
cmd_down(const struct command *cmd, int sock, const char *canifname,
sbin/canconfig/canconfig.c
487
cmd_brp(const struct command *cmd, int sock, const char *bridge,
sbin/canconfig/canconfig.c
501
cmd_prop_seg(const struct command *cmd, int sock, const char *bridge,
sbin/canconfig/canconfig.c
515
cmd_phase_seg1(const struct command *cmd, int sock, const char *bridge,
sbin/canconfig/canconfig.c
529
cmd_phase_seg2(const struct command *cmd, int sock, const char *bridge,
sbin/canconfig/canconfig.c
543
cmd_sjw(const struct command *cmd, int sock, const char *bridge,
sbin/canconfig/canconfig.c
556
cmd_3samples(const struct command *cmd, int sock, const char *canifname,
sbin/canconfig/canconfig.c
566
cmd_listenonly(const struct command *cmd, int sock, const char *canifname,
sbin/canconfig/canconfig.c
576
cmd_loopback(const struct command *cmd, int sock, const char *canifname,
sbin/canconfig/canconfig.c
66
void (*cmd_func)(const struct command *, int, const char *,
sbin/canconfig/canconfig.c
72
static void cmd_up(const struct command *, int, const char *, char **);
sbin/canconfig/canconfig.c
73
static void cmd_down(const struct command *, int, const char *, char **);
sbin/canconfig/canconfig.c
74
static void cmd_brp(const struct command *, int, const char *, char **);
sbin/canconfig/canconfig.c
75
static void cmd_prop_seg(const struct command *, int, const char *, char **);
sbin/canconfig/canconfig.c
76
static void cmd_phase_seg1(const struct command *, int, const char *, char **);
sbin/canconfig/canconfig.c
77
static void cmd_phase_seg2(const struct command *, int, const char *, char **);
sbin/canconfig/canconfig.c
78
static void cmd_sjw(const struct command *, int, const char *, char **);
sbin/canconfig/canconfig.c
79
static void cmd_3samples(const struct command *, int, const char *, char **);
sbin/canconfig/canconfig.c
80
static void cmd_listenonly(const struct command *, int, const char *, char **);
sbin/canconfig/canconfig.c
81
static void cmd_loopback(const struct command *, int, const char *, char **);
sbin/canconfig/canconfig.c
83
static const struct command command_table[] = {
sbin/dkctl/dkctl.c
108
static struct command commands[] = {
sbin/dkctl/dkctl.c
195
struct command *command;
sbin/dkctl/dkctl.c
197
command = lookup(argv[0]);
sbin/dkctl/dkctl.c
200
fd = opendisk(dvname, command->open_flags, dvname_store,
sbin/dkctl/dkctl.c
206
(*command->cmd_func)(argc, argv);
sbin/dkctl/dkctl.c
212
static struct command *
sbin/dkctl/dkctl.c
82
static struct command *lookup(const char *);
sbin/dmctl/dmctl.c
88
static struct command commands[] = {
sbin/ifconfig/lagg.c
465
add_lacp->command = LAGGIOC_LACPSETFLAGS;
sbin/ifconfig/lagg.c
466
del_lacp->command = LAGGIOC_LACPCLRFLAGS;
sbin/ifconfig/lagg.c
505
del_lacp->command);
sbin/ifconfig/lagg.c
516
add_lacp->command);
sbin/ifconfig/lagg.c
546
lrq_lacp->command = LAGGIOC_LACPCLRMAXPORTS;
sbin/ifconfig/lagg.c
548
lrq_lacp->command = LAGGIOC_LACPSETMAXPORTS;
sbin/ifconfig/lagg.c
575
add_fail->command = LAGGIOC_FAILSETFLAGS;
sbin/ifconfig/lagg.c
576
del_fail->command = LAGGIOC_FAILCLRFLAGS;
sbin/ifconfig/lagg.c
591
del_fail->command);
sbin/ifconfig/lagg.c
602
add_fail->command);
sbin/init/init.c
1050
construct_argv(char *command)
sbin/init/init.c
1053
char **argv = malloc(((strlen(command) + 1) / 2 + 1) * sizeof (char *));
sbin/init/init.c
1059
if ((argv[argc++] = strtok(command, separators)) == 0) {
sbin/raidctl/raidctl.c
432
do_ioctl(int fd, unsigned long command, void *arg, const char *ioctl_name)
sbin/raidctl/raidctl.c
434
if (prog_ioctl(fd, command, arg) == -1)
sbin/restore/dirs.c
156
if (command != 'r' && command != 'R') {
sbin/restore/dirs.c
171
if (command != 'r' && command != 'R') {
sbin/restore/dirs.c
604
if (command == 'r' || command == 'R')
sbin/restore/dirs.c
663
if (command == 'i' || command == 'x') {
sbin/restore/interactive.c
782
if (command == 'i' && runshell)
sbin/restore/main.c
141
if (command != '\0')
sbin/restore/main.c
144
ch, command);
sbin/restore/main.c
145
command = ch;
sbin/restore/main.c
181
if (command == '\0')
sbin/restore/main.c
184
if (Nflag || command == 't')
sbin/restore/main.c
203
switch (command) {
sbin/restore/main.c
70
char command = '\0';
sbin/restore/restore.c
599
if (command == 'R') {
sbin/restore/restore.c
85
if (ino == UFS_WINO && command == 'i' && !vflag)
sbin/restore/restore.h
64
extern char command; /* operation being performed */
sbin/restore/symtab.c
576
switch (command) {
sbin/restore/symtab.c
602
panic("initsymtable called from command %c\n", command);
sbin/restore/tape.c
339
if (vflag || command == 't')
sbin/restore/tape.c
408
if (command == 'R' || command == 'r' || curfile.action != SKIP) {
sbin/scsictl/scsictl.c
128
static struct command bus_commands[] = {
sbin/scsictl/scsictl.c
138
struct command *commands;
sbin/scsictl/scsictl.c
99
static struct command device_commands[] = {
sbin/swapctl/swapctl.c
110
if (command) \
sbin/swapctl/swapctl.c
112
command = (cmd); \
sbin/swapctl/swapctl.c
277
if (command == 0)
sbin/swapctl/swapctl.c
285
if (command & REQUIRE_PATH)
sbin/swapctl/swapctl.c
290
if (command & REQUIRE_NOPATH)
sbin/swapctl/swapctl.c
299
if ((command == CMD_c) && pflag == 0)
sbin/swapctl/swapctl.c
308
if (command != CMD_A && command != CMD_U)
sbin/swapctl/swapctl.c
317
switch (command) {
sbin/swapctl/swapctl.c
92
static int command;
sbin/wdogctl/wdogctl.c
101
if (command != CMD_NONE)
sbin/wdogctl/wdogctl.c
103
command = CMD_EXT_TICKLE;
sbin/wdogctl/wdogctl.c
107
if (command != CMD_NONE)
sbin/wdogctl/wdogctl.c
109
command = CMD_KERN_TICKLE;
sbin/wdogctl/wdogctl.c
113
if (command != CMD_NONE)
sbin/wdogctl/wdogctl.c
115
command = CMD_DOTICKLE;
sbin/wdogctl/wdogctl.c
128
if (command != CMD_NONE)
sbin/wdogctl/wdogctl.c
130
command =
sbin/wdogctl/wdogctl.c
142
if (command < CMD_EXT_TICKLE) {
sbin/wdogctl/wdogctl.c
150
switch (command) {
sbin/wdogctl/wdogctl.c
168
enable_user(argv[0], period, command == CMD_USER_TICKLE);
sbin/wdogctl/wdogctl.c
83
enum cmd command = CMD_NONE;
sbin/wdogctl/wdogctl.c
95
if (command != CMD_NONE)
sbin/wdogctl/wdogctl.c
97
command = CMD_DISABLE;
sbin/wsconsctl/keyboard.c
102
np->command = KS_voidSymbol;
sbin/wsconsctl/keyboard.c
97
if (op->command == np->command &&
sbin/wsconsctl/map_parse.y
106
mp->command = KS_voidSymbol;
sbin/wsconsctl/map_parse.y
148
cur_mp->command = $1;
sbin/wsconsctl/map_parse.y
151
cur_mp->command = KS_Cmd;
sbin/wsconsctl/map_parse.y
155
cur_mp->command = KS_Cmd;
sbin/wsconsctl/map_parse.y
76
if (mp->command == ksym ||
sbin/wsconsctl/util.c
455
if (mp->command == KS_voidSymbol &&
sbin/wsconsctl/util.c
533
if (mp->command == KS_voidSymbol &&
sbin/wsconsctl/util.c
541
if (mp->command != KS_voidSymbol)
sbin/wsconsctl/util.c
542
(void)printf(" %s", ksym2name(mp->command));
sys/arch/acorn32/include/scrio.h
65
unsigned char command[CMD_BUF_LEN]; /* command */
sys/arch/arm/imx/if_enet.c
1020
error = ifmedia_ioctl(ifp, ifr, &sc->sc_mii.mii_media, command);
sys/arch/arm/imx/if_enet.c
1023
error = ether_ioctl(ifp, command, data);
sys/arch/arm/imx/if_enet.c
1029
switch (command) {
sys/arch/arm/imx/if_enet.c
976
enet_ioctl(struct ifnet *ifp, u_long command, void *data)
sys/arch/arm/imx/if_enet.c
990
switch (command) {
sys/arch/arm/sunxi/sunxi_nand.c
395
sunxi_nand_command(device_t dev, uint8_t command)
sys/arch/arm/sunxi/sunxi_nand.c
405
NAND_WRITE(sc, NDFC_CMD, NDFC_CMD_SEND_FIRST_CMD | command);
sys/arch/arm/sunxi/sunxi_nand.c
556
nand->command = sunxi_nand_command;
sys/arch/arm/ti/omap2_nand.c
149
omap2_nand_command(device_t self, uint8_t command)
sys/arch/arm/ti/omap2_nand.c
153
bus_space_write_1(sc->sc_iot, sc->sc_ioh, sc->sc_cmd_reg, command);
sys/arch/arm/ti/omap2_nand.c
265
sc->sc_nand_if.command = &omap2_nand_command;
sys/arch/arm/ti/omap2_nand.c
88
static void omap2_nand_command(device_t self, uint8_t command);
sys/arch/arm/xscale/ixp425_npe.c
1001
npe_issue_cmd(struct ixpnpe_softc *sc, uint32_t command)
sys/arch/arm/xscale/ixp425_npe.c
1003
npe_reg_write(sc, IX_NPEDL_REG_OFFSET_EXCTL, command);
sys/arch/arm/xscale/ixp425_npe.c
197
static void npe_issue_cmd(struct ixpnpe_softc *, uint32_t command);
sys/arch/dreamcast/dev/g2/aica.c
453
aica_command(struct aica_softc *sc, uint32_t command)
sys/arch/dreamcast/dev/g2/aica.c
457
AICA_ARM_CMD_COMMAND, command);
sys/arch/dreamcast/dev/g2/aica.c
464
aica_sendparam(struct aica_softc *sc, uint32_t command,
sys/arch/dreamcast/dev/g2/aica.c
473
aica_command(sc, command);
sys/arch/dreamcast/dev/g2/aicavar.h
36
uint32_t command;
sys/arch/dreamcast/dev/g2/aicavar.h
58
#define AICA_ARM_CMD_COMMAND AICA_ARM_CMDADDR(command)
sys/arch/dreamcast/dev/maple/maple.c
118
int command, int datalen, const void *dataaddr);
sys/arch/dreamcast/dev/maple/maple.c
436
int command, int datalen, const void *dataaddr)
sys/arch/dreamcast/dev/maple/maple.c
459
*p++ = (command & 0xff) | (to << 8) | (from << 16) | (datalen << 24);
sys/arch/dreamcast/dev/maple/maple.c
475
maple_write_command(struct maple_softc *sc, struct maple_unit *u, int command,
sys/arch/dreamcast/dev/maple/maple.c
486
u->u_command = command;
sys/arch/dreamcast/dev/maple/maple.c
490
maple_queue_command(sc, u, command, datalen, dataaddr);
sys/arch/dreamcast/dev/maple/maple.c
840
int command, int datalen, const void *dataaddr, int flags)
sys/arch/dreamcast/dev/maple/maple.c
846
KASSERT(command);
sys/arch/dreamcast/dev/maple/maple.c
859
fn->f_command = command;
sys/arch/dreamcast/dev/microcode/aica_arm.c
201
cmd = aicacmd->command;
sys/arch/dreamcast/dev/microcode/aica_arm.c
202
aicacmd->command = AICA_COMMAND_NOP;
sys/arch/evbppc/nintendo/dev/exi.c
146
uint16_t command = 0x0000; /* ID command */
sys/arch/evbppc/nintendo/dev/exi.c
157
exi_send_imm(chan, dev, &command, sizeof(command));
sys/arch/evbppc/nintendo/dev/gecko.c
111
usbgecko_command(uint16_t command)
sys/arch/evbppc/nintendo/dev/gecko.c
114
uint32_t command32 = (uint32_t)command << 16;
sys/arch/evbppc/stand/wii/gecko.c
85
gecko_command(uint16_t command)
sys/arch/evbppc/stand/wii/gecko.c
90
out32(EXI_DATA(gecko_chan), (uint32_t)command << 16);
sys/arch/hpc/stand/hpcboot/menu/menu.h
105
virtual void command(int, int);
sys/arch/hpc/stand/hpcboot/menu/menu.h
57
virtual void command(int id, int msg);
sys/arch/hpc/stand/hpcboot/menu/menu.h
80
virtual void command(int id, int msg);
sys/arch/hpc/stand/hpcboot/menu/tabwindow.cpp
148
command(LOWORD(wparam), HIWORD(wparam));
sys/arch/hpc/stand/hpcboot/menu/tabwindow.h
99
virtual void command(int id, int msg) { /* NO-OP */ }
sys/arch/hpcarm/dev/uda1341.c
246
uint8_t command;
sys/arch/hpcarm/dev/uda1341.c
248
command = (L3_ADDRESS_COM << 2) | L3_ADDRESS_STATUS;
sys/arch/hpcarm/dev/uda1341.c
250
L3_write(sc, command, (uint8_t *) &DIRECT_REG, 1);
sys/arch/hpcarm/dev/uda1341.c
258
L3_write(sc, command, (uint8_t *) &DIRECT_REG, 1);
sys/arch/hpcarm/dev/uda1341.c
264
uint8_t command;
sys/arch/hpcarm/dev/uda1341.c
267
command = (L3_ADDRESS_COM << 2) | L3_ADDRESS_STATUS;
sys/arch/hpcarm/dev/uda1341.c
269
L3_write(sc, command, (uint8_t *) &DIRECT_REG, 1);
sys/arch/hpcarm/dev/uda1341.c
273
L3_write(sc, command, (uint8_t *) &DIRECT_REG, 1);
sys/arch/hpcarm/dev/uda1341.c
276
command = (L3_ADDRESS_COM << 2) | L3_ADDRESS_DATA0;
sys/arch/hpcarm/dev/uda1341.c
278
L3_write(sc, command, (uint8_t *) &DIRECT_REG, 1);
sys/arch/hpcarm/dev/uda1341.c
282
L3_write(sc, command, (uint8_t *) &DIRECT_REG, 1);
sys/arch/hpcarm/dev/uda1341.c
286
L3_write(sc, command, (uint8_t *) &DIRECT_REG, 1);
sys/arch/hpcarm/dev/uda1341.c
291
L3_write(sc, command, (uint8_t *) &EXTEND_REG, 2);
sys/arch/hpcarm/dev/uda1341.c
296
L3_write(sc, command, (uint8_t *) &EXTEND_REG, 2);
sys/arch/hpcarm/dev/uda1341.c
301
L3_write(sc, command, (uint8_t *) &EXTEND_REG, 2);
sys/arch/hpcarm/dev/uda1341.c
306
L3_write(sc, command, (uint8_t *) &EXTEND_REG, 2);
sys/arch/hpcarm/dev/uda1341.c
311
L3_write(sc, command, (uint8_t *) &EXTEND_REG, 2);
sys/arch/hpcarm/dev/uda1341.c
316
L3_write(sc, command, (uint8_t *) &EXTEND_REG, 2);
sys/arch/hppa/dev/mongoose.c
128
uint8_t command;
sys/arch/hppa/dev/mongoose.c
73
uint8_t command;
sys/arch/hppa/dev/pdc.c
699
pdcproc_iodc_read(hppa_hpa_t hpa, int command, int *actcnt,
sys/arch/hppa/dev/pdc.c
706
&pdcret1, hpa, command, &pdcret2, sizeof(pdcret2));
sys/arch/i386/stand/lib/bootmenu.c
114
ic = bootcfg_info.command[choice];
sys/arch/i386/stand/lib/bootmenu.c
148
bootcfg_info.desc[0] != bootcfg_info.command[0] &&
sys/arch/i386/stand/lib/bootmenu.c
202
if (!strcmp(bootcfg_info.command[choice], "prompt") &&
sys/arch/m68k/fpsp/fpsp.h
204
CMDWORD equ LV-35 ;command word in cmd1b
sys/arch/mac68k/dev/adb.c
288
adb_op_sync(Ptr buffer, Ptr compRout, Ptr data, short command)
sys/arch/mac68k/dev/adb.c
294
command); /* send command */
sys/arch/mac68k/dev/adb_direct.c
1082
send_adb_II(u_char *in, u_char *buffer, void *compRout, void *data, int command)
sys/arch/mac68k/dev/adb_direct.c
1103
if ((command & 0x0c) == 0x08) /* copy addl data ONLY if
sys/arch/mac68k/dev/adb_direct.c
1110
adbOutQueue.outBuf[1] = (u_char)command; /* load command */
sys/arch/mac68k/dev/adb_direct.c
1466
command)
sys/arch/mac68k/dev/adb_direct.c
1494
if ((command & 0x0c) == 0x08) /* copy addl data ONLY if
sys/arch/mac68k/dev/adb_direct.c
1503
adbOutputBuffer[2] = (u_char)command; /* load command */
sys/arch/mac68k/dev/adb_direct.c
1864
adb_op(Ptr buffer, Ptr compRout, Ptr data, short command)
sys/arch/mac68k/dev/adb_direct.c
1871
(void *)compRout, (void *)data, (int)command);
sys/arch/mac68k/dev/adb_direct.c
1880
result = send_adb_iop((int)command, (u_char *)buffer,
sys/arch/mac68k/dev/adb_direct.c
1891
(void *)compRout, (void *)data, (int)command);
sys/arch/mac68k/dev/adb_direct.c
1907
(void *)data, (int)command);
sys/arch/mac68k/dev/adb_direct.c
1917
(void *)compRout, (void *)data, (int)command);
sys/arch/mac68k/dev/adb_direct.c
2128
int command;
sys/arch/mac68k/dev/adb_direct.c
2190
command = ADBTALK(i, 3);
sys/arch/mac68k/dev/adb_direct.c
2192
(Ptr)0, (short)command);
sys/arch/mac68k/dev/adb_direct.c
2233
command = ADBTALK(device, 3);
sys/arch/mac68k/dev/adb_direct.c
2235
(Ptr)0, (short)command);
sys/arch/mac68k/dev/adb_direct.c
2238
command = ADBLISTEN(device, 3);
sys/arch/mac68k/dev/adb_direct.c
2243
(Ptr)0, (short)command);
sys/arch/mac68k/dev/adb_direct.c
2247
command = ADBTALK(saveptr, 3);
sys/arch/mac68k/dev/adb_direct.c
2250
(Ptr)0, (short)command);
sys/arch/mac68k/dev/adb_direct.c
2259
command = ADBLISTEN(saveptr, 3);
sys/arch/mac68k/dev/adb_direct.c
2264
(Ptr)0, (short)command);
sys/arch/mac68k/dev/adb_direct.c
2274
command = ADBTALK(device, 3);
sys/arch/mac68k/dev/adb_direct.c
2277
(Ptr)0, (short)command);
sys/arch/mac68k/dev/adb_direct.c
2328
command = ADBLISTEN(saveptr, 3);
sys/arch/mac68k/dev/adb_direct.c
2333
(Ptr)0, (short)command);
sys/arch/mac68k/dev/adb_direct.c
630
command)
sys/arch/mac68k/dev/adb_direct.c
666
if ((command & 0x0c) == 0x08) /* copy addl data ONLY if
sys/arch/mac68k/dev/adb_direct.c
675
adbOutputBuffer[2] = (u_char)command; /* load command */
sys/arch/mac68k/dev/pbbat.c
259
pmdata.command = PM_BATT_LIMITS;
sys/arch/mac68k/dev/pbbat.c
292
pmdata.command = PM_BATT_VOLTS;
sys/arch/mac68k/dev/pm_direct.c
1033
pm_adb_op(u_char *buffer, void *compRout, void *data, int command)
sys/arch/mac68k/dev/pm_direct.c
1052
pmdata.command = 0x20;
sys/arch/mac68k/dev/pm_direct.c
1056
if ((command & 0xc) == 0x8) { /* if the command is LISTEN, add number of ADB data to number of PM data */
sys/arch/mac68k/dev/pm_direct.c
1063
pmdata.data[0] = (u_char)(command & 0xff);
sys/arch/mac68k/dev/pm_direct.c
1065
if ((command & 0xc) == 0x8) { /* if the command is LISTEN, copy ADB data to PM buffer */
sys/arch/mac68k/dev/pm_direct.c
1075
if ((command & 0xc) != 0xc) { /* if the command is not TALK */
sys/arch/mac68k/dev/pm_direct.c
1078
packet.data[1] = command;
sys/arch/mac68k/dev/pm_direct.c
1084
packet.cmd = command;
sys/arch/mac68k/dev/pm_direct.c
1099
adbWaitingCmd = command;
sys/arch/mac68k/dev/pm_direct.c
1134
pmdata.command = 0x20;
sys/arch/mac68k/dev/pm_direct.c
1143
pmdata.command = 0x20;
sys/arch/mac68k/dev/pm_direct.c
1147
pmdata.data[0] = (u_char)(command & 0xf0) | 0xc;
sys/arch/mac68k/dev/pm_direct.c
1220
tmp_pmdata.command = 0x20;
sys/arch/mac68k/dev/pm_direct.c
1237
pmdata.command = 0xef;
sys/arch/mac68k/dev/pm_direct.c
1261
pmdata.command = 0x41;
sys/arch/mac68k/dev/pm_direct.c
1271
pmdata.command = 0x40;
sys/arch/mac68k/dev/pm_direct.c
450
switch (pmdata->command) {
sys/arch/mac68k/dev/pm_direct.c
494
pm_cmd = (u_char)(pmdata->command & 0xff);
sys/arch/mac68k/dev/pm_direct.c
541
pmdata->command = pm_data;
sys/arch/mac68k/dev/pm_direct.c
589
pmdata.command = 0x78;
sys/arch/mac68k/dev/pm_direct.c
641
pmdata.command = 0x49;
sys/arch/mac68k/dev/pm_direct.c
768
switch (pmdata->command) {
sys/arch/mac68k/dev/pm_direct.c
771
pm_cmd = (u_char)(pmdata->command & 0xff);
sys/arch/mac68k/dev/pm_direct.c
801
pmdata->command = 0;
sys/arch/mac68k/dev/pm_direct.c
825
pm_data = pmdata->command;
sys/arch/mac68k/dev/pm_direct.c
833
pmdata->command = pm_data;
sys/arch/mac68k/dev/pm_direct.c
839
pmdata->command = pm_data;
sys/arch/mac68k/dev/pm_direct.c
892
pmdata.command = 0x78;
sys/arch/mac68k/dev/pm_direct.h
48
short command; /* command of the Power Manager */
sys/arch/macppc/dev/adb_direct.c
1053
command = ADBTALK(i, 3);
sys/arch/macppc/dev/adb_direct.c
1055
(Ptr)0, (short)command);
sys/arch/macppc/dev/adb_direct.c
1112
command = ADBTALK(device, 3);
sys/arch/macppc/dev/adb_direct.c
1114
(Ptr)0, (short)command);
sys/arch/macppc/dev/adb_direct.c
1117
command = ADBLISTEN(device, 3);
sys/arch/macppc/dev/adb_direct.c
1122
(Ptr)0, (short)command);
sys/arch/macppc/dev/adb_direct.c
1126
command = ADBTALK(saveptr, 3);
sys/arch/macppc/dev/adb_direct.c
1128
(Ptr)0, (short)command);
sys/arch/macppc/dev/adb_direct.c
1140
command = ADBTALK(device, 3);
sys/arch/macppc/dev/adb_direct.c
1142
(Ptr)0, (short)command);
sys/arch/macppc/dev/adb_direct.c
1202
command = ADBLISTEN(saveptr, 3);
sys/arch/macppc/dev/adb_direct.c
1207
(Ptr)0, (short)command);
sys/arch/macppc/dev/adb_direct.c
1321
adb_op_sync(Ptr buffer, adbComp *compRout, Ptr data, short command)
sys/arch/macppc/dev/adb_direct.c
1328
&flag, command); /* send command */
sys/arch/macppc/dev/adb_direct.c
563
volatile void *data, int command)
sys/arch/macppc/dev/adb_direct.c
599
if ((command & 0x0c) == 0x08) /* copy addl data ONLY if
sys/arch/macppc/dev/adb_direct.c
608
adbOutputBuffer[2] = (u_char)command; /* load command */
sys/arch/macppc/dev/adb_direct.c
889
adb_op(Ptr buffer, adbComp *compRout, volatile void *data, short command)
sys/arch/macppc/dev/adb_direct.c
896
data, (int)command);
sys/arch/macppc/dev/adb_direct.c
906
compRout, data, (int)command);
sys/arch/macppc/dev/adb_direct.c
988
int command;
sys/arch/macppc/dev/cuda.c
1003
cuda_send(sc, sc->sc_polling, send_len + 3, command);
sys/arch/macppc/dev/cuda.c
1024
command[2] |= 1;
sys/arch/macppc/dev/cuda.c
1025
command[3] = 0;
sys/arch/macppc/dev/cuda.c
1033
cuda_send(sc, sc->sc_polling, 3, command);
sys/arch/macppc/dev/cuda.c
939
cuda_adb_send(void *cookie, int poll, int command, int len, uint8_t *data)
sys/arch/macppc/dev/cuda.c
947
packet[1] = command;
sys/arch/macppc/dev/cuda.c
983
uint8_t command[16] = {CUDA_PSEUDO, CMD_IIC};
sys/arch/macppc/dev/cuda.c
986
command[2] = addr;
sys/arch/macppc/dev/cuda.c
990
memcpy(&command[3], send, uimin((int)send_len, 12));
sys/arch/macppc/dev/pm_direct.c
1073
p.command = PMU_READ_NVRAM;
sys/arch/macppc/dev/pm_direct.c
1088
p.command = PMU_WRITE_NVRAM;
sys/arch/macppc/dev/pm_direct.c
326
pmdata.command = PMU_SET_IMASK;
sys/arch/macppc/dev/pm_direct.c
491
switch (pmdata->command) {
sys/arch/macppc/dev/pm_direct.c
494
pm_cmd = (u_char)(pmdata->command & 0xff);
sys/arch/macppc/dev/pm_direct.c
508
pmdata->command = 0;
sys/arch/macppc/dev/pm_direct.c
528
pm_data = pmdata->command;
sys/arch/macppc/dev/pm_direct.c
535
pmdata->command = pm_data;
sys/arch/macppc/dev/pm_direct.c
579
pmdata.command = PMU_INT_ACK;
sys/arch/macppc/dev/pm_direct.c
605
pmdata.command = PMU_SET_BRIGHTNESS;
sys/arch/macppc/dev/pm_direct.c
647
pm_adb_op(u_char *buffer, adbComp *compRout, volatile int *data, int command)
sys/arch/macppc/dev/pm_direct.c
666
pmdata.command = PMU_ADB_CMD;
sys/arch/macppc/dev/pm_direct.c
671
if ((command & 0xc) == 0x8) {
sys/arch/macppc/dev/pm_direct.c
678
pmdata.data[0] = (u_char)(command & 0xff);
sys/arch/macppc/dev/pm_direct.c
680
if ((command & 0xc) == 0x8) { /* if the command is LISTEN, copy ADB data to PM buffer */
sys/arch/macppc/dev/pm_direct.c
690
if ((command & 0xc) != 0xc) { /* if the command is not TALK */
sys/arch/macppc/dev/pm_direct.c
693
packet.data[1] = command;
sys/arch/macppc/dev/pm_direct.c
699
packet.cmd = command;
sys/arch/macppc/dev/pm_direct.c
716
adbWaitingCmd = command;
sys/arch/macppc/dev/pm_direct.c
740
printf("pm_adb_op: timeout. command = 0x%x\n",command);
sys/arch/macppc/dev/pm_direct.c
746
printf("pm_adb_op: missed interrupt. cmd=0x%x\n",command);
sys/arch/macppc/dev/pm_direct.c
753
pmdata.command = PMU_ADB_CMD;
sys/arch/macppc/dev/pm_direct.c
828
p.command = PMU_RESET_CPU;
sys/arch/macppc/dev/pm_direct.c
840
p.command = PMU_POWER_OFF;
sys/arch/macppc/dev/pm_direct.c
853
p.command = PMU_READ_RTC;
sys/arch/macppc/dev/pm_direct.c
867
p.command = PMU_SET_RTC;
sys/arch/macppc/dev/pm_direct.c
879
p.command = PMU_READ_BRIGHTNESS;
sys/arch/macppc/dev/pm_direct.c
899
p.command = PMU_SET_BRIGHTNESS;
sys/arch/macppc/dev/pm_direct.c
923
p.command = PMU_EJECT_PCMCIA;
sys/arch/macppc/dev/pm_direct.c
939
p.command = PMU_SMART_BATTERY_STATE;
sys/arch/macppc/dev/pm_direct.c
991
p.command = PMU_BATTERY_STATE;
sys/arch/macppc/dev/pm_direct.h
40
short command; /* command of the Power Manager */
sys/arch/macppc/dev/pmu.c
843
pmu_adb_send(void *cookie, int poll, int command, int len, uint8_t *data)
sys/arch/macppc/dev/pmu.c
850
packet[0] = command;
sys/arch/macppc/dev/pmu.c
879
uint8_t command[64] = {1, /* bus number */
sys/arch/macppc/dev/pmu.c
892
command[3] = rw;
sys/arch/macppc/dev/pmu.c
896
command[1] = PMU_I2C_MODE_COMBINED;
sys/arch/macppc/dev/pmu.c
897
command[4] = *send;
sys/arch/macppc/dev/pmu.c
898
command[5] = rw | 1;
sys/arch/macppc/dev/pmu.c
899
command[6] = recv_len;
sys/arch/macppc/dev/pmu.c
901
len = pmu_send(sc, PMU_I2C_CMD, 7, command, 16, resp);
sys/arch/macppc/dev/pmu.c
903
command[0] = 0;
sys/arch/macppc/dev/pmu.c
907
len = pmu_send(sc, PMU_I2C_CMD, 1, command, 16, resp);
sys/arch/macppc/dev/pmu.c
917
command[6] = send_len;
sys/arch/macppc/dev/pmu.c
918
memcpy(&command[7], send, send_len);
sys/arch/macppc/dev/pmu.c
926
len = pmu_send(sc, PMU_I2C_CMD, send_len + 7, command, 16, resp);
sys/arch/macppc/dev/pmu.c
929
command[3] = rw;
sys/arch/macppc/dev/pmu.c
930
command[6] = recv_len;
sys/arch/macppc/dev/pmu.c
932
len = pmu_send(sc, PMU_I2C_CMD, 7, command, 16, resp);
sys/arch/macppc/dev/pmu.c
934
command[0] = 0;
sys/arch/macppc/dev/pmu.c
938
len = pmu_send(sc, PMU_I2C_CMD, 1, command, 16, resp);
sys/arch/macppc/dev/pmu.c
960
uint8_t *dptr = &command[7];
sys/arch/macppc/dev/pmu.c
962
command[6] = clen;
sys/arch/macppc/dev/pmu.c
972
len = pmu_send(sc, PMU_I2C_CMD, len, command, 16, resp);
sys/arch/macppc/stand/installboot/installboot.h
82
const char *command; /* name of command string */
sys/arch/mips/rmi/rmixl_nand.c
207
sc->sc_nand_if.command = rmixl_nand_command;
sys/arch/mips/rmi/rmixl_nand.c
252
rmixl_nand_command(device_t self, uint8_t command)
sys/arch/mips/rmi/rmixl_nand.c
257
sc->sc_cmd_reg, command);
sys/arch/playstation2/dev/if_smap.c
246
smap_ioctl(struct ifnet *ifp, u_long command, void *data)
sys/arch/playstation2/dev/if_smap.c
253
error = ether_ioctl(ifp, command, data);
sys/arch/playstation2/playstation2/sifbios.h
135
u_int32_t command;
sys/arch/playstation2/playstation2/sifbios.h
147
u_int32_t command;
sys/arch/powerpc/booke/dev/pq3nandfcm.c
127
pq3nandfcm_command(device_t self, uint8_t command)
sys/arch/powerpc/booke/dev/pq3nandfcm.c
132
lbc_write_4(sc->sc_obio, FCR, __SHIFTIN(command, FCR_CMD0));
sys/arch/sgimips/hpc/haud.c
365
u_int32_t *command;
sys/arch/sgimips/hpc/haud.c
421
const u_int32_t *src = input->data.command + src_start;
sys/arch/sgimips/hpc/haud.c
498
u_int32_t *dst = output->data.command + dst_start;
sys/arch/sgimips/hpc/haud.c
541
.data.command = request,
sys/arch/sgimips/hpc/haud.c
556
.data.command = response,
sys/arch/sgimips/mace/if_mec.c
433
uint64_t address, command;
sys/arch/sgimips/mace/if_mec.c
560
command = bus_space_read_8(sc->sc_st, sc->sc_sh, MEC_MAC_CONTROL);
sys/arch/sgimips/mace/if_mec.c
563
(u_int)((command & MEC_MAC_REVISION) >> MEC_MAC_REVISION_SHIFT));
sys/arch/shark/include/scrio.h
65
unsigned char command[CMD_BUF_LEN]; /* command */
sys/arch/shark/shark/scr.c
1683
sc->dataMax = sc->pIoctlT0->command[CMD_BUF_DATA_LEN_OFF];
sys/arch/shark/shark/scr.c
1684
sc->dataByte = sc->pIoctlT0->command[sc->commandCount];
sys/arch/shark/shark/scr.c
1703
sc->dataByte = sc->pIoctlT0->command[sc->commandCount];
sys/arch/shark/shark/scr.c
1728
if ( (sc->dataByte == sc->pIoctlT0->command[CMD_BUF_INS_OFF]) ||
sys/arch/shark/shark/scr.c
1729
(sc->dataByte == (sc->pIoctlT0->command[CMD_BUF_INS_OFF] ^ 0x01)) )
sys/arch/shark/shark/scr.c
1739
else if ((sc->dataByte == (sc->pIoctlT0->command[CMD_BUF_INS_OFF] ^ 0xFF)) ||
sys/arch/shark/shark/scr.c
1740
(sc->dataByte == (sc->pIoctlT0->command[CMD_BUF_INS_OFF] ^ 0xFE)) )
sys/arch/shark/shark/scr.c
1986
sc->dataMax = sc->pIoctlT0->command[CMD_BUF_DATA_LEN_OFF];
sys/arch/shark/shark/scr.c
1991
sc->dataByte = sc->pIoctlT0->command[sc->commandCount];
sys/arch/shark/shark/scr.c
2008
sc->dataByte = sc->pIoctlT0->command[sc->commandCount];
sys/arch/shark/shark/scr.c
2034
if ( (sc->dataByte == sc->pIoctlT0->command[CMD_BUF_INS_OFF]) ||
sys/arch/shark/shark/scr.c
2035
(sc->dataByte == (sc->pIoctlT0->command[CMD_BUF_INS_OFF] ^ 0x01)) )
sys/arch/shark/shark/scr.c
2045
else if ((sc->dataByte == (sc->pIoctlT0->command[CMD_BUF_INS_OFF] ^ 0xFF)) ||
sys/arch/shark/shark/scr.c
2046
(sc->dataByte == (sc->pIoctlT0->command[CMD_BUF_INS_OFF] ^ 0xFE)) )
sys/arch/shark/shark/sequoia.c
675
void ledSetDebug(int command)
sys/arch/shark/shark/sequoia.c
684
switch (command)
sys/arch/shark/shark/sequoia.c
723
panic("ledSetDebug: invalid command %d",command);
sys/arch/shark/shark/sequoia.h
5115
void ledSetDebug(int command);
sys/arch/vax/boot/boot/ra.c
180
command(M_OP_SETCTLRC, 0);
sys/arch/vax/boot/boot/ra.c
182
command(M_OP_ONLINE, 0);
sys/arch/vax/boot/boot/ra.c
190
command(M_OP_POS, 0);
sys/arch/vax/boot/boot/ra.c
270
command(M_OP_POS, 12); /* 12 == step block backward */
sys/arch/vax/boot/boot/ra.c
273
command(M_OP_POS, 4); /* 4 == step block forward */
sys/arch/vax/boot/boot/ra.c
287
command(M_OP_READ, 0);
sys/arch/vax/boot/boot/ra.c
301
command(M_OP_WRITE, 0);
sys/arch/vax/boot/boot/ra.c
304
command(M_OP_READ, 0);
sys/arch/vax/boot/boot/ra.c
50
static void command(int, int);
sys/arch/vax/boot/boot/tmscp.c
117
command(M_OP_SETCTLRC, 0);
sys/arch/vax/boot/boot/tmscp.c
119
command(M_OP_ONLINE, 0);
sys/arch/vax/boot/boot/tmscp.c
123
command(M_OP_POS, 0);
sys/arch/vax/boot/boot/tmscp.c
169
command(M_OP_POS, 12); /* 12 == step block backward */
sys/arch/vax/boot/boot/tmscp.c
172
command(M_OP_POS, 4); /* 4 == step block forward */
sys/arch/vax/boot/boot/tmscp.c
186
command(M_OP_READ, 0);
sys/arch/vax/boot/boot/tmscp.c
43
static command(int,int);
sys/arch/vax/include/qdreg.h
234
u_short command; /* ADDER chip command register */
sys/arch/vax/vsa/gpx.c
682
ss->ss_adder->command = ID_LOAD | reg;
sys/arch/vax/vsa/gpx.c
699
ss->ss_adder->command = CANCEL;
sys/arch/x68k/dev/mfp.c
197
mfp_send_usart(int command)
sys/arch/x68k/dev/mfp.c
200
mfp_set_udr(command);
sys/arch/x68k/stand/libdos/dos.h
228
unsigned short command;
sys/arch/zaurus/stand/zboot/bootmenu.c
124
if (!strcmp(bootcfg_info.command[choice], "prompt")) {
sys/arch/zaurus/stand/zboot/bootmenu.c
128
ic = bootcfg_info.command[choice];
sys/compat/linux/common/linux_hdio.c
91
req.command = WDCC_IDENTIFY;
sys/compat/netbsd32/netbsd32_ioctl.c
303
p->command = s32p->command;
sys/compat/netbsd32/netbsd32_ioctl.c
864
s32p->command = p->command;
sys/compat/netbsd32/netbsd32_ioctl.h
108
u_char command;
sys/ddb/db_command.c
1000
const struct db_command *command;
sys/ddb/db_command.c
1012
command = db_read_command();
sys/ddb/db_command.c
1013
if (command == NULL)
sys/ddb/db_command.c
1017
db_printf("Command: %s\n", command->name);
sys/ddb/db_command.c
1018
if (command->cmd_descr != NULL)
sys/ddb/db_command.c
1019
db_printf(" Description: %s\n", command->cmd_descr);
sys/ddb/db_command.c
1020
if (command->cmd_arg != NULL)
sys/ddb/db_command.c
1021
db_printf(" Arguments: %s\n", command->cmd_arg);
sys/ddb/db_command.c
1022
if (command->cmd_arg_help != NULL)
sys/ddb/db_command.c
1024
command->cmd_arg_help);
sys/ddb/db_command.c
1025
if ((command->cmd_arg == NULL) && (command->cmd_descr == NULL))
sys/ddb/db_command.c
821
const struct db_command *command;
sys/ddb/db_command.c
828
found = db_cmd_search(db_tok_string, list, &command);
sys/ddb/db_command.c
829
if (command == NULL) {
sys/ddb/db_command.c
835
if (command->flag == CS_SHOW)
sys/ddb/db_command.c
837
else if (command->flag == CS_MACH)
sys/ddb/db_command.c
839
else if (command->flag == CS_COMPAT)
sys/ddb/db_command.c
853
return command;
sys/ddb/db_command.c
865
const struct db_command *command;
sys/ddb/db_command.c
870
command = NULL;
sys/ddb/db_command.c
880
command = *last_cmdp;
sys/ddb/db_command.c
882
if (!command)
sys/ddb/db_command.c
908
command = db_read_command();
sys/ddb/db_command.c
909
if (command == NULL)
sys/ddb/db_command.c
912
if ((command->flag & CS_OWN) == 0) {
sys/ddb/db_command.c
952
if ((command->flag & CS_MORE) == 0) {
sys/ddb/db_command.c
958
if (command != NULL && command->flag & CS_NOREPEAT) {
sys/ddb/db_command.c
962
*last_cmdp = command;
sys/ddb/db_command.c
967
if (command != NULL) {
sys/ddb/db_command.c
971
if (command->fcn != NULL)
sys/ddb/db_command.c
972
(*command->fcn)(addr, have_addr, count, modif);
sys/ddb/db_command.c
974
if (command->flag & CS_SET_DOT) {
sys/dev/acpi/acpi_pcc.c
264
uint32_t command, int flags, ACPI_INTEGER val)
sys/dev/acpi/acpi_pcc.c
275
shmem->Command = command & 0xff;
sys/dev/acpi/acpi_pcc.c
331
pcc_message(ACPI_GENERIC_ADDRESS *reg, uint32_t command, int flags,
sys/dev/acpi/acpi_pcc.c
368
rv = pcc_send_command(ss, reg, command, flags, *val);
sys/dev/acpi/qcomsmem.c
32
uint32_t command;
sys/dev/adb/adb_bus.c
247
nadb_send_sync(void *cookie, int command, int len, uint8_t *data)
sys/dev/adb/adb_bus.c
253
sc->sc_ops->send(sc->sc_ops->cookie, 0, command, len, data);
sys/dev/ata/wd.c
1568
&& atareq->command == WDCC_IDENTIFY) {
sys/dev/ata/wd.c
2132
switch (wi->wi_atareq.command) {
sys/dev/ata/wd.c
2237
xfer->c_ata_c.r_command = wi->wi_atareq.command;
sys/dev/ata/wd.c
2262
wi->wi_atareq.command = xfer->c_ata_c.r_status;
sys/dev/cardbus/cardbus.c
158
pcireg_t command;
sys/dev/cardbus/cardbus.c
233
command = cardbus_conf_read(cc, cf, tag,
sys/dev/cardbus/cardbus.c
237
command | PCI_COMMAND_MEM_ENABLE);
sys/dev/cardbus/cardbus.c
261
command = cardbus_conf_read(cc, cf, tag,
sys/dev/cardbus/cardbus.c
265
command | PCI_COMMAND_MEM_ENABLE);
sys/dev/cardbus/cardbus.c
290
command = cardbus_conf_read(cc, cf, tag,
sys/dev/cardbus/cardbus.c
293
command & ~PCI_COMMAND_MEM_ENABLE);
sys/dev/cardbus/cardbus.c
828
pcireg_t command;
sys/dev/cardbus/cardbus.c
842
command = cardbus_conf_read(cc, cf, tag, PCI_COMMAND_STATUS_REG);
sys/dev/cardbus/cardbus.c
843
command |= (PCI_COMMAND_MEM_ENABLE | PCI_COMMAND_IO_ENABLE |
sys/dev/cardbus/cardbus.c
846
cardbus_conf_write(cc, cf, tag, PCI_COMMAND_STATUS_REG, command);
sys/dev/cardbus/if_fxp_cardbus.c
182
pcireg_t command;
sys/dev/cardbus/if_fxp_cardbus.c
186
command = Cardbus_conf_read(csc->ct, tag, PCI_COMMAND_STATUS_REG);
sys/dev/cardbus/if_fxp_cardbus.c
190
command |= PCI_COMMAND_MEM_ENABLE | PCI_COMMAND_MASTER_ENABLE;
sys/dev/cardbus/if_fxp_cardbus.c
194
command |= PCI_COMMAND_IO_ENABLE | PCI_COMMAND_MASTER_ENABLE;
sys/dev/cardbus/if_fxp_cardbus.c
198
Cardbus_conf_write(csc->ct, tag, PCI_COMMAND_STATUS_REG, command);
sys/dev/cardbus/if_re_cardbus.c
243
pcireg_t reg, command;
sys/dev/cardbus/if_re_cardbus.c
251
command = Cardbus_conf_read(ct, csc->sc_tag,
sys/dev/cardbus/if_re_cardbus.c
253
if (command & PCI_PMCSR_STATE_MASK) {
sys/dev/cardbus/if_re_cardbus.c
267
command & PCI_PMCSR_STATE_MASK);
sys/dev/cardbus/if_re_cardbus.c
268
command &= ~PCI_PMCSR_STATE_MASK;
sys/dev/cardbus/if_re_cardbus.c
270
pmreg + PCI_PMCSR, command);
sys/dev/cardbus/if_rtk_cardbus.c
274
pcireg_t reg, command;
sys/dev/cardbus/if_rtk_cardbus.c
282
command = Cardbus_conf_read(ct, csc->sc_tag,
sys/dev/cardbus/if_rtk_cardbus.c
284
if (command & PCI_PMCSR_STATE_MASK) {
sys/dev/cardbus/if_rtk_cardbus.c
298
command & PCI_PMCSR_STATE_MASK);
sys/dev/cardbus/if_rtk_cardbus.c
299
command &= ~PCI_PMCSR_STATE_MASK;
sys/dev/cardbus/if_rtk_cardbus.c
301
pmreg + PCI_PMCSR, command);
sys/dev/cardbus/rbus_ppb.c
491
int bus, device, function, command;
sys/dev/cardbus/rbus_ppb.c
505
command = pci_conf_read(pc, tag, PCI_COMMAND_STATUS_REG);
sys/dev/cardbus/rbus_ppb.c
506
command |= PCI_COMMAND_IO_ENABLE|PCI_COMMAND_MEM_ENABLE;
sys/dev/cardbus/rbus_ppb.c
507
pci_conf_write(pc, tag, PCI_COMMAND_STATUS_REG, command);
sys/dev/dm/device-mapper.c
449
prop_string_t command;
sys/dev/dm/device-mapper.c
451
if ((command = prop_dictionary_get(dm_dict, DM_IOCTL_COMMAND)) == NULL)
sys/dev/dm/device-mapper.c
455
if (prop_string_equals_string(command, cmd_fn[i].cmd))
sys/dev/flash/flash.c
379
flashioctl(dev_t dev, u_long command, void * const data, int flags, lwp_t *l)
sys/dev/flash/flash.c
397
switch (command) {
sys/dev/hyperv/if_hvn.c
810
hvn_ioctl(struct ifnet *ifp, u_long command, void * data)
sys/dev/hyperv/if_hvn.c
817
switch (command) {
sys/dev/hyperv/if_hvn.c
892
if (command == SIOCGIFMEDIA || command == SIOCSIFMEDIA)
sys/dev/hyperv/if_hvn.c
893
error = ifmedia_ioctl(ifp, ifr, &sc->sc_media, command);
sys/dev/hyperv/if_hvn.c
895
error = ether_ioctl(ifp, command, data);
sys/dev/i2c/am2315.c
120
uint8_t command[] = { dir, cmd, clen };
sys/dev/i2c/am2315.c
126
return iic_exec(tag, reg, addr, command,
sys/dev/i2c/am2315.c
127
__arraycount(command), buf, blen, 0);
sys/dev/ic/aac.c
1175
aac_sync_command(struct aac_softc *sc, u_int32_t command, u_int32_t arg0,
sys/dev/ic/aac.c
1185
AAC_SET_MAILBOX(sc, command, arg0, arg1, arg2, arg3);
sys/dev/ic/aac.c
1221
aac_sync_fib(struct aac_softc *sc, u_int32_t command, u_int32_t xferstate,
sys/dev/ic/aac.c
1240
fib->Header.Command = htole16(command);
sys/dev/ic/aac.c
1267
device_xname(sc->sc_dv), command, status);
sys/dev/ic/aacreg.h
1434
AAC_AifCommand command; /* Tell host what type of
sys/dev/ic/aacvar.h
221
#define AAC_SET_MAILBOX(sc, command, arg0, arg1, arg2, arg3) \
sys/dev/ic/aacvar.h
223
((sc)->sc_if.aif_set_mailbox((sc), (command), (arg0), \
sys/dev/ic/an.c
900
an_ioctl(struct ifnet *ifp, u_long command, void *data)
sys/dev/ic/an.c
910
switch (command) {
sys/dev/ic/an.c
912
if ((error = ifioctl_common(ifp, command, data)) != 0)
sys/dev/ic/an.c
930
error = ether_ioctl(ifp, command, data);
sys/dev/ic/an.c
943
error = ieee80211_ioctl(&sc->sc_ic, command, data);
sys/dev/ic/bt8xx.h
53
short command; /* see below for valid METEORCAPFRM commands */
sys/dev/ic/cac.c
312
cac_cmd(struct cac_softc *sc, int command, void *data, int datasize,
sys/dev/ic/cac.c
360
ccb->ccb_req.command = command;
sys/dev/ic/cacreg.h
234
u_int8_t command; /* command */
sys/dev/ic/icp.c
856
if (ucmd->command.cmd_opcode == ICP_IOCTL) {
sys/dev/ic/icp.c
857
cnt = ucmd->command.cmd_packet.ic.ic_bufsize;
sys/dev/ic/icp.c
864
cnt = ucmd->command.cmd_packet.cc.cc_blockcnt *
sys/dev/ic/icp.c
873
cnt = ucmd->command.cmd_packet.rc.rc_sdlen +
sys/dev/ic/icp.c
874
ucmd->command.cmd_packet.rc.rc_sense_len;
sys/dev/ic/icp.c
887
ic->ic_cmd.cmd_opcode = htole16(ucmd->command.cmd_opcode);
sys/dev/ic/icp.c
890
if (ucmd->command.cmd_opcode == ICP_IOCTL) {
sys/dev/ic/icp.c
894
uicmd = &ucmd->command.cmd_packet.ic;
sys/dev/ic/icp.c
906
ucc = &ucmd->command.cmd_packet.cc;
sys/dev/ic/icp.c
922
urc = &ucmd->command.cmd_packet.rc;
sys/dev/ic/icp_ioctl.h
66
} __packed command;
sys/dev/ic/lan9118.c
482
lan9118_ioctl(struct ifnet *ifp, u_long command, void *data)
sys/dev/ic/lan9118.c
489
switch (command) {
sys/dev/ic/lan9118.c
492
if ((error = ifioctl_common(ifp, command, data)) != 0)
sys/dev/ic/lan9118.c
512
error = ether_ioctl(ifp, command, data);
sys/dev/ic/mlx.c
1500
int command, channel;
sys/dev/ic/mlx.c
1503
command = mc->mc_mbox[0];
sys/dev/ic/mlx.c
1508
command == MLX_CMD_STOPCHANNEL ? "pause" : "resume",
sys/dev/ic/mlx.c
1510
else if (command == MLX_CMD_STOPCHANNEL)
sys/dev/ic/mlx.c
1529
mlx_enquire(struct mlx_softc *mlx, int command, size_t bufsize,
sys/dev/ic/mlx.c
1556
mlx_make_type2(mc, command, 0, 0, 0, 0, 0, 0, mc->mc_xfer_phys, 0);
sys/dev/ic/mlx.c
2084
if ((mc->mc_mbox[0] == mlx_msgs[i].command ||
sys/dev/ic/mlx.c
2085
mlx_msgs[i].command == 0) &&
sys/dev/ic/mlx.c
213
u_char command;
sys/dev/ic/mvsata.c
3410
uint32_t command;
sys/dev/ic/mvsata.c
3421
command = MVSATA_EDMA_READ_4(mvport, EDMA_CMD);
sys/dev/ic/mvsata.c
3422
if (!(command & EDMA_CMD_EENEDMA))
sys/dev/ic/rtl8169.c
2198
re_ioctl(struct ifnet *ifp, u_long command, void *data)
sys/dev/ic/rtl8169.c
2204
switch (command) {
sys/dev/ic/rtl8169.c
2217
else if ((error = ifioctl_common(ifp, command, data)) ==
sys/dev/ic/rtl8169.c
2223
error = ether_ioctl(ifp, command, data);
sys/dev/ic/rtl8169.c
2231
if (command == SIOCSIFCAP)
sys/dev/ic/rtl8169.c
2233
else if (command == SIOCADDMULTI || command == SIOCADDMULTI) {
sys/dev/ic/rtl81x9.c
1440
rtk_ioctl(struct ifnet *ifp, u_long command, void *data)
sys/dev/ic/rtl81x9.c
1446
error = ether_ioctl(ifp, command, data);
sys/dev/ic/spic.c
95
#define SPIC_COMMAND(quiet, command) do { \
sys/dev/ic/spic.c
97
while (--n && (command)) \
sys/dev/ic/tpm.c
138
static const uint8_t command[10] = {
sys/dev/ic/tpm.c
159
error = (*sc->sc_intf->write)(sc, &command, sizeof(command));
sys/dev/ic/tpm.c
236
static const uint8_t command[12] = {
sys/dev/ic/tpm.c
258
error = (*sc->sc_intf->write)(sc, &command, sizeof(command));
sys/dev/ic/tpm.c
496
} __packed command;
sys/dev/ic/tpm.c
509
memset(&command, 0, sizeof(command));
sys/dev/ic/tpm.c
510
command.hdr.tag = htobe16(TPM_TAG_RQU_COMMAND);
sys/dev/ic/tpm.c
511
command.hdr.length = htobe32(sizeof(command));
sys/dev/ic/tpm.c
512
command.hdr.code = htobe32(TPM_ORD_GetRandom);
sys/dev/ic/tpm.c
513
command.bytesRequested = htobe32(sizeof(response.bytes));
sys/dev/ic/tpm.c
522
if ((rv = (*sc->sc_intf->write)(sc, &command, sizeof(command))) != 0) {
sys/dev/ic/tpm.c
636
} __packed command;
sys/dev/ic/tpm.c
649
memset(&command, 0, sizeof(command));
sys/dev/ic/tpm.c
650
command.hdr.tag = htobe16(TPM2_ST_NO_SESSIONS);
sys/dev/ic/tpm.c
651
command.hdr.length = htobe32(sizeof(command));
sys/dev/ic/tpm.c
652
command.hdr.code = htobe32(TPM2_CC_GetRandom);
sys/dev/ic/tpm.c
653
command.bytesRequested = htobe16(sizeof(response.bytes));
sys/dev/ic/tpm.c
662
if ((rv = (*sc->sc_intf->write)(sc, &command, sizeof(command))) != 0) {
sys/dev/ic/wdc.c
1805
wdccommand(struct ata_channel *chp, u_int8_t drive, u_int8_t command,
sys/dev/ic/wdc.c
1815
command, cylin, head, sector, count, features), DEBUG_FUNCS);
sys/dev/ic/wdc.c
1833
bus_space_write_1(wdr->cmd_iot, wdr->cmd_iohs[wd_command], 0, command);
sys/dev/ic/wdc.c
1842
wdccommandext(struct ata_channel *chp, u_int8_t drive, u_int8_t command,
sys/dev/ic/wdc.c
1851
chp->ch_channel, drive, command, blkno, count, features, device),
sys/dev/ic/wdc.c
1901
bus_space_write_1(wdr->cmd_iot, wdr->cmd_iohs[wd_command], 0, command);
sys/dev/ic/wdc.c
1910
wdccommandshort(struct ata_channel *chp, int drive, int command)
sys/dev/ic/wdc.c
1917
command), DEBUG_FUNCS);
sys/dev/ic/wdc.c
1926
bus_space_write_1(wdr->cmd_iot, wdr->cmd_iohs[wd_command], 0, command);
sys/dev/isa/aria.c
798
aria_sendcmd(struct aria_softc *sc, u_short command,
sys/dev/isa/aria.c
808
ARIASEND(command, 1);
sys/dev/isa/aria.c
824
sc->sc_sendcmd_err, command, fail));
sys/dev/iscsi/iscsi_ioctl.c
996
pdu->pdu_hdr.pduh_p.command.CmdSN = htonl(ccb->ccb_CmdSN);
sys/dev/iscsi/iscsi_pdu.h
418
scsi_command_pdu_t command;
sys/dev/iscsi/iscsi_send.c
1474
memcpy(hpdu->pduh_p.command.SCSI_CDB, ccb->ccb_cmd, ccb->ccb_cmdlen);
sys/dev/iscsi/iscsi_send.c
1478
hpdu->pduh_p.command.ExpectedDataTransferLength = htonl(totlen);
sys/dev/iscsi/iscsi_send.c
1509
hpdu->pduh_p.command.CmdSN = htonl(ccb->ccb_CmdSN);
sys/dev/iscsi/iscsi_send.c
303
pdu->pdu_hdr.pduh_p.command.CmdSN = htonl(ccb->ccb_CmdSN);
sys/dev/iscsi/iscsi_send.c
353
pdu->pdu_hdr.pduh_p.command.ExpStatSN = htonl(conn->c_StatSN_buf.ExpSN);
sys/dev/iscsi/iscsi_send.c
359
ntohl(pdu->pdu_hdr.pduh_p.command.CmdSN),
sys/dev/iscsi/iscsi_send.c
360
ntohl(pdu->pdu_hdr.pduh_p.command.ExpStatSN)));
sys/dev/iscsi/iscsi_send.c
495
ntohl(pdu->pdu_hdr.pduh_p.command.CmdSN),
sys/dev/iscsi/iscsi_send.c
570
ntohl(pdu->pdu_hdr.pduh_p.command.CmdSN),
sys/dev/marvell/gtpci.c
447
uint32_t p2pc, command;
sys/dev/marvell/gtpci.c
486
command = GTPCI_READ(sc, GTPCI_C);
sys/dev/marvell/gtpci.c
487
if (command & GTPCI_C_MRDMUL)
sys/dev/marvell/gtpci.c
489
if (command & GTPCI_C_MRDLINE)
sys/dev/marvell/if_mvxpe.c
2147
t->command = 0;
sys/dev/marvell/if_mvxpe.c
2152
t->command |= MVXPE_TX_CMD_W_PACKET_OFFSET(0);
sys/dev/marvell/if_mvxpe.c
2153
t->command |= MVXPE_TX_CMD_PADDING;
sys/dev/marvell/if_mvxpe.c
2154
t->command |= MVXPE_TX_CMD_F;
sys/dev/marvell/if_mvxpe.c
2165
t->command |= MVXPE_TX_CMD_L;
sys/dev/marvell/if_mvxpe.c
2227
t->command |= MVXPE_TX_CMD_L3_IP4;
sys/dev/marvell/if_mvxpe.c
2231
t->command |= MVXPE_TX_CMD_L3_IP6;
sys/dev/marvell/if_mvxpe.c
2234
t->command |= MVXPE_TX_CMD_L4_CHECKSUM_NONE;
sys/dev/marvell/if_mvxpe.c
2241
t->command |= MVXPE_TX_CMD_IP4_CHECKSUM;
sys/dev/marvell/if_mvxpe.c
2247
t->command |= MVXPE_TX_CMD_L4_CHECKSUM_NONE;
sys/dev/marvell/if_mvxpe.c
2250
t->command |= MVXPE_TX_CMD_L4_CHECKSUM_NOFRAG;
sys/dev/marvell/if_mvxpe.c
2251
t->command |= MVXPE_TX_CMD_L4_TCP;
sys/dev/marvell/if_mvxpe.c
2254
t->command |= MVXPE_TX_CMD_L4_CHECKSUM_NOFRAG;
sys/dev/marvell/if_mvxpe.c
2255
t->command |= MVXPE_TX_CMD_L4_UDP;
sys/dev/marvell/if_mvxpe.c
2258
t->command |= MVXPE_TX_CMD_L4_CHECKSUM_NOFRAG;
sys/dev/marvell/if_mvxpe.c
2259
t->command |= MVXPE_TX_CMD_L4_TCP;
sys/dev/marvell/if_mvxpe.c
2262
t->command |= MVXPE_TX_CMD_L4_CHECKSUM_NOFRAG;
sys/dev/marvell/if_mvxpe.c
2263
t->command |= MVXPE_TX_CMD_L4_UDP;
sys/dev/marvell/if_mvxpe.c
2267
t->command |= MVXPE_TX_CMD_IP_HEADER_LEN(iphl >> 2);
sys/dev/marvell/if_mvxpe.c
2268
t->command |= MVXPE_TX_CMD_L3_OFFSET(ipoff);
sys/dev/marvell/if_mvxpe.c
2341
KASSERT((t->command & MVXPE_TX_CMD_F) != 0);
sys/dev/marvell/if_mvxpe.c
3287
DESC_PRINT(desc->command);
sys/dev/marvell/if_mvxpereg.h
795
uint32_t command; /* off 0x00: commands */
sys/dev/nand/nand.c
298
interface->command = NULL;
sys/dev/nand/nand.h
169
void (*command) (device_t, uint8_t);
sys/dev/nand/nand.h
244
nand_command(device_t self, uint8_t command)
sys/dev/nand/nand.h
248
KASSERT(sc->nand_if->command != NULL);
sys/dev/nand/nand.h
251
sc->nand_if->command(sc->controller_dev, command);
sys/dev/nand/nandemulator.c
185
sc->sc_nand_if.command = &nandemulator_command;
sys/dev/nand/nandemulator.c
367
nandemulator_command(device_t self, uint8_t command)
sys/dev/nand/nandemulator.c
372
sc->sc_command = command;
sys/dev/nand/nandemulator.c
375
DPRINTF(("nandemulator command: 0x%hhx\n", command));
sys/dev/nand/nandemulator.c
377
switch (command) {
sys/dev/nand/nandemulator.c
434
"invalid nand command (0x%hhx)\n", command);
sys/dev/pci/aac_pci.c
535
u_int16_t command;
sys/dev/pci/aac_pci.c
557
command = pci_conf_read(pc, pa->pa_tag, PCI_COMMAND_STATUS_REG);
sys/dev/pci/aac_pci.c
558
command |= PCI_COMMAND_MASTER_ENABLE;
sys/dev/pci/aac_pci.c
559
pci_conf_write(pc, pa->pa_tag, PCI_COMMAND_STATUS_REG, command);
sys/dev/pci/aac_pci.c
560
command = pci_conf_read(pc, pa->pa_tag, PCI_COMMAND_STATUS_REG);
sys/dev/pci/aac_pci.c
563
if ((command & PCI_COMMAND_MASTER_ENABLE) == 0) {
sys/dev/pci/aac_pci.c
568
if ((command & PCI_COMMAND_MEM_ENABLE) == 0) {
sys/dev/pci/aac_pci.c
753
aac_sa_set_mailbox(struct aac_softc *sc, u_int32_t command,
sys/dev/pci/aac_pci.c
758
AAC_SETREG4(sc, AAC_SA_MAILBOX, command);
sys/dev/pci/aac_pci.c
766
aac_rx_set_mailbox(struct aac_softc *sc, u_int32_t command,
sys/dev/pci/aac_pci.c
771
AAC_SETREG4(sc, AAC_RX_MAILBOX, command);
sys/dev/pci/aac_pci.c
779
aac_rkt_set_mailbox(struct aac_softc *sc, u_int32_t command,
sys/dev/pci/aac_pci.c
784
AAC_SETREG4(sc, AAC_RKT_MAILBOX, command);
sys/dev/pci/adv_pci.c
116
u_int32_t command;
sys/dev/pci/adv_pci.c
157
command = pci_conf_read(pa->pa_pc, pa->pa_tag, PCI_COMMAND_STATUS_REG);
sys/dev/pci/adv_pci.c
158
if ((command & (PCI_COMMAND_IO_ENABLE | PCI_COMMAND_MEM_ENABLE |
sys/dev/pci/adv_pci.c
163
command | (PCI_COMMAND_IO_ENABLE | PCI_COMMAND_MEM_ENABLE |
sys/dev/pci/adw_pci.c
103
u_int32_t command;
sys/dev/pci/adw_pci.c
140
command = pci_conf_read(pa->pa_pc, pa->pa_tag, PCI_COMMAND_STATUS_REG);
sys/dev/pci/adw_pci.c
141
command |= PCI_COMMAND_IO_ENABLE | PCI_COMMAND_MEM_ENABLE |
sys/dev/pci/adw_pci.c
143
pci_conf_write(pa->pa_pc, pa->pa_tag, PCI_COMMAND_STATUS_REG, command);
sys/dev/pci/adw_pci.c
145
if ( (command & PCI_COMMAND_PARITY_ENABLE) == 0) {
sys/dev/pci/agp.c
497
pcireg_t command;
sys/dev/pci/agp.c
534
command = AGP_MODE_SET_RQ(0, rq);
sys/dev/pci/agp.c
535
command = AGP_MODE_SET_SBA(command, sba);
sys/dev/pci/agp.c
536
command = AGP_MODE_SET_FW(command, fw);
sys/dev/pci/agp.c
537
command = AGP_MODE_SET_RATE(command, rate);
sys/dev/pci/agp.c
538
command = AGP_MODE_SET_AGP(command, 1);
sys/dev/pci/agp.c
540
sc->as_capoff + PCI_AGP_COMMAND, command);
sys/dev/pci/agp.c
542
command);
sys/dev/pci/agp.c
552
pcireg_t command;
sys/dev/pci/agp.c
600
command = AGP_MODE_SET_RQ(0, rq);
sys/dev/pci/agp.c
601
command = AGP_MODE_SET_ARQSZ(command, arqsz);
sys/dev/pci/agp.c
602
command = AGP_MODE_SET_CAL(command, cal);
sys/dev/pci/agp.c
603
command = AGP_MODE_SET_SBA(command, sba);
sys/dev/pci/agp.c
604
command = AGP_MODE_SET_FW(command, fw);
sys/dev/pci/agp.c
605
command = AGP_MODE_SET_RATE(command, rate);
sys/dev/pci/agp.c
606
command = AGP_MODE_SET_AGP(command, 1);
sys/dev/pci/agp.c
608
sc->as_capoff + PCI_AGP_COMMAND, command);
sys/dev/pci/agp.c
610
command);
sys/dev/pci/ahc_pci.c
1626
u_int command;
sys/dev/pci/ahc_pci.c
1637
command = pci_conf_read(ahc->bd->pc, ahc->bd->tag,
sys/dev/pci/ahc_pci.c
1639
command |= PCI_COMMAND_INVALIDATE_ENABLE;
sys/dev/pci/ahc_pci.c
1641
PCI_COMMAND_STATUS_REG, command);
sys/dev/pci/ahc_pci.c
761
pcireg_t command;
sys/dev/pci/ahc_pci.c
789
command = pci_conf_read(pa->pa_pc, pa->pa_tag, PCI_COMMAND_STATUS_REG);
sys/dev/pci/ahc_pci.c
891
command |= PCI_COMMAND_MASTER_ENABLE;
sys/dev/pci/ahc_pci.c
892
pci_conf_write(pa->pa_pc, pa->pa_tag, PCI_COMMAND_STATUS_REG, command);
sys/dev/pci/ahc_pci.c
901
command &= ~PCI_COMMAND_PARITY_ENABLE;
sys/dev/pci/ahc_pci.c
902
pci_conf_write(pa->pa_pc, pa->pa_tag, PCI_COMMAND_STATUS_REG, command);
sys/dev/pci/ahd_pci.c
317
pcireg_t command;
sys/dev/pci/ahd_pci.c
333
command = pci_conf_read(pa->pa_pc, pa->pa_tag, PCI_COMMAND_STATUS_REG);
sys/dev/pci/ahd_pci.c
434
command &= ~PCI_COMMAND_IO_ENABLE;
sys/dev/pci/ahd_pci.c
436
PCI_COMMAND_STATUS_REG, command);
sys/dev/pci/ahd_pci.c
444
if (command & PCI_COMMAND_IO_ENABLE) {
sys/dev/pci/ahd_pci.c
459
command &= ~PCI_COMMAND_MEM_ENABLE;
sys/dev/pci/ahd_pci.c
461
PCI_COMMAND_STATUS_REG, command);
sys/dev/pci/bktr/bktr_os.c
1458
pcireg_t command;
sys/dev/pci/bktr/bktr_os.c
1475
command = pci_conf_read(pa->pa_pc, pa->pa_tag, PCI_COMMAND_STATUS_REG);
sys/dev/pci/bktr/bktr_os.c
1476
command |= PCI_COMMAND_MASTER_ENABLE;
sys/dev/pci/bktr/bktr_os.c
1477
pci_conf_write(pa->pa_pc, pa->pa_tag, PCI_COMMAND_STATUS_REG, command);
sys/dev/pci/cxgb/cxgb_main.c
1297
cxgb_ioctl(struct ifnet *ifp, unsigned long command, void *data)
sys/dev/pci/cxgb/cxgb_main.c
1307
printf("cxgb_ioctl(%d): command=%08lx\n", __LINE__, command);
sys/dev/pci/cxgb/cxgb_main.c
1308
switch (command) {
sys/dev/pci/cxgb/cxgb_main.c
1322
error = ether_ioctl(ifp, command, data);
sys/dev/pci/cxgb/cxgb_main.c
1356
error = ifmedia_ioctl(ifp, ifr, &p->media, command);
sys/dev/pci/cxgb/cxgb_main.c
1361
(unsigned int)(command&0xe0000000)>>28, (unsigned int)(command&0x1fff0000)>>16,
sys/dev/pci/cxgb/cxgb_main.c
1362
(unsigned int)(command&0xff00)>>8, (unsigned int)command&0xff);
sys/dev/pci/cxgb/cxgb_main.c
1363
if ((error = ether_ioctl(ifp, command, data)) != ENETRESET)
sys/dev/pci/cz.c
688
u_int command, channel;
sys/dev/pci/cz.c
693
while ((command = (CZ_PLX_READ(cz, PLX_LOCAL_PCI_DOORBELL) & 0xff))) {
sys/dev/pci/cz.c
700
CZ_PLX_WRITE(cz, PLX_LOCAL_PCI_DOORBELL, command);
sys/dev/pci/cz.c
717
switch (command) {
sys/dev/pci/cz.c
816
device_xname(cz->cz_dev), sc->sc_channel, command);
sys/dev/pci/if_aq.c
1715
pcireg_t command, memtype, bar;
sys/dev/pci/if_aq.c
1727
command = pci_conf_read(pa->pa_pc, pa->pa_tag, PCI_COMMAND_STATUS_REG);
sys/dev/pci/if_aq.c
1728
command |= PCI_COMMAND_MASTER_ENABLE;
sys/dev/pci/if_aq.c
1729
pci_conf_write(pa->pa_pc, pa->pa_tag, PCI_COMMAND_STATUS_REG, command);
sys/dev/pci/if_bce.c
246
uint32_t command;
sys/dev/pci/if_bce.c
280
command = pci_conf_read(pc, pa->pa_tag, PCI_COMMAND_STATUS_REG);
sys/dev/pci/if_bce.c
281
command |= PCI_COMMAND_MEM_ENABLE | PCI_COMMAND_MASTER_ENABLE;
sys/dev/pci/if_bce.c
282
pci_conf_write(pc, pa->pa_tag, PCI_COMMAND_STATUS_REG, command);
sys/dev/pci/if_bce.c
283
command = pci_conf_read(pc, pa->pa_tag, PCI_COMMAND_STATUS_REG);
sys/dev/pci/if_bce.c
285
if (!(command & PCI_COMMAND_MEM_ENABLE)) {
sys/dev/pci/if_bge.c
3233
uint32_t command;
sys/dev/pci/if_bge.c
3265
command = pci_conf_read(pc, sc->sc_pcitag, PCI_COMMAND_STATUS_REG);
sys/dev/pci/if_bge.c
3266
command |= PCI_COMMAND_MEM_ENABLE | PCI_COMMAND_MASTER_ENABLE;
sys/dev/pci/if_bge.c
3267
pci_conf_write(pc, sc->sc_pcitag, PCI_COMMAND_STATUS_REG, command);
sys/dev/pci/if_bge.c
3268
command = pci_conf_read(pc, sc->sc_pcitag, PCI_COMMAND_STATUS_REG);
sys/dev/pci/if_bge.c
3270
if (!(command & PCI_COMMAND_MEM_ENABLE)) {
sys/dev/pci/if_bge.c
4198
uint32_t cachesize, command;
sys/dev/pci/if_bge.c
4245
command = pci_conf_read(sc->sc_pc, sc->sc_pcitag, BGE_PCI_CMD);
sys/dev/pci/if_bge.c
4370
pci_conf_write(sc->sc_pc, sc->sc_pcitag, BGE_PCI_CMD, command);
sys/dev/pci/if_bge.c
5959
bge_ioctl(struct ifnet *ifp, u_long command, void *data)
sys/dev/pci/if_bge.c
5965
switch (command) {
sys/dev/pci/if_bge.c
5975
switch (command) {
sys/dev/pci/if_bge.c
6001
command);
sys/dev/pci/if_bge.c
6005
command);
sys/dev/pci/if_bge.c
6009
if ((error = ether_ioctl(ifp, command, data)) != ENETRESET)
sys/dev/pci/if_bge.c
6014
if (command == SIOCADDMULTI || command == SIOCDELMULTI) {
sys/dev/pci/if_bnx.c
5375
bnx_ioctl(struct ifnet *ifp, u_long command, void *data)
sys/dev/pci/if_bnx.c
5384
switch (command) {
sys/dev/pci/if_bnx.c
5386
if ((error = ifioctl_common(ifp, command, data)) != 0)
sys/dev/pci/if_bnx.c
5417
error = ifmedia_ioctl(ifp, ifr, &mii->mii_media, command);
sys/dev/pci/if_bnx.c
5421
error = ether_ioctl(ifp, command, data);
sys/dev/pci/if_bnx.c
581
uint32_t command;
sys/dev/pci/if_bnx.c
610
command = pci_conf_read(pc, pa->pa_tag, PCI_COMMAND_STATUS_REG);
sys/dev/pci/if_bnx.c
611
command |= PCI_COMMAND_MEM_ENABLE | PCI_COMMAND_MASTER_ENABLE;
sys/dev/pci/if_bnx.c
612
pci_conf_write(pc, pa->pa_tag, PCI_COMMAND_STATUS_REG, command);
sys/dev/pci/if_bnx.c
613
command = pci_conf_read(pc, pa->pa_tag, PCI_COMMAND_STATUS_REG);
sys/dev/pci/if_bnx.c
615
if (!(command & PCI_COMMAND_MEM_ENABLE)) {
sys/dev/pci/if_ena.c
2389
ena_ioctl(struct ifnet *ifp, u_long command, void *data)
sys/dev/pci/if_ena.c
2402
switch (command) {
sys/dev/pci/if_ena.c
2440
rc = ether_ioctl(ifp, command, data);
sys/dev/pci/if_msk.c
1464
pcireg_t command, memtype;
sys/dev/pci/if_msk.c
1479
command = pci_conf_read(pc, pa->pa_tag, SK_PCI_CAPID) & 0x000000FF;
sys/dev/pci/if_msk.c
1481
if (command == 0x01) {
sys/dev/pci/if_msk.c
1482
command = pci_conf_read(pc, pa->pa_tag, SK_PCI_PWRMGMTCTRL);
sys/dev/pci/if_msk.c
1483
if (command & SK_PSTATE_MASK) {
sys/dev/pci/if_msk.c
1494
command & SK_PSTATE_MASK);
sys/dev/pci/if_msk.c
1495
command &= 0xFFFFFFFC;
sys/dev/pci/if_msk.c
1497
SK_PCI_PWRMGMTCTRL, command);
sys/dev/pci/if_msk.c
1521
command = pci_conf_read(pa->pa_pc, pa->pa_tag, PCI_COMMAND_STATUS_REG);
sys/dev/pci/if_msk.c
1522
command |= PCI_COMMAND_MASTER_ENABLE;
sys/dev/pci/if_msk.c
1523
pci_conf_write(pa->pa_pc, pa->pa_tag, PCI_COMMAND_STATUS_REG, command);
sys/dev/pci/if_re_pci.c
193
pcireg_t command, memtype;
sys/dev/pci/if_re_pci.c
204
command = pci_conf_read(pa->pa_pc, pa->pa_tag, PCI_COMMAND_STATUS_REG);
sys/dev/pci/if_re_pci.c
205
command |= PCI_COMMAND_MASTER_ENABLE;
sys/dev/pci/if_re_pci.c
206
pci_conf_write(pa->pa_pc, pa->pa_tag, PCI_COMMAND_STATUS_REG, command);
sys/dev/pci/if_re_pci.c
248
command = pci_conf_read(pa->pa_pc, pa->pa_tag, PCI_COMMAND_STATUS_REG);
sys/dev/pci/if_re_pci.c
249
command |= PCI_COMMAND_IO_ENABLE;
sys/dev/pci/if_re_pci.c
250
pci_conf_write(pa->pa_pc, pa->pa_tag, PCI_COMMAND_STATUS_REG, command);
sys/dev/pci/if_re_pci.c
258
command = pci_conf_read(pa->pa_pc, pa->pa_tag, PCI_COMMAND_STATUS_REG);
sys/dev/pci/if_re_pci.c
259
command |= PCI_COMMAND_MEM_ENABLE;
sys/dev/pci/if_re_pci.c
260
pci_conf_write(pa->pa_pc, pa->pa_tag, PCI_COMMAND_STATUS_REG, command);
sys/dev/pci/if_rge.c
206
pcireg_t command;
sys/dev/pci/if_rge.c
379
command = pci_conf_read(pa->pa_pc, pa->pa_tag, PCI_COMMAND_STATUS_REG);
sys/dev/pci/if_rge.c
380
command |= PCI_COMMAND_MASTER_ENABLE;
sys/dev/pci/if_rge.c
381
pci_conf_write(pa->pa_pc, pa->pa_tag, PCI_COMMAND_STATUS_REG, command);
sys/dev/pci/if_sk.c
1032
sk_ioctl(struct ifnet *ifp, u_long command, void *data)
sys/dev/pci/if_sk.c
1041
switch (command) {
sys/dev/pci/if_sk.c
1045
if ((error = ifioctl_common(ifp, command, data)) != 0)
sys/dev/pci/if_sk.c
1068
if ((error = ether_ioctl(ifp, command, data)) != ENETRESET)
sys/dev/pci/if_sk.c
1073
if (command != SIOCADDMULTI && command != SIOCDELMULTI)
sys/dev/pci/if_sk.c
1496
uint32_t command;
sys/dev/pci/if_sk.c
1509
command = pci_conf_read(pc, pa->pa_tag, SK_PCI_CAPID) & 0x000000FF;
sys/dev/pci/if_sk.c
1511
if (command == 0x01) {
sys/dev/pci/if_sk.c
1512
command = pci_conf_read(pc, pa->pa_tag, SK_PCI_PWRMGMTCTRL);
sys/dev/pci/if_sk.c
1513
if (command & SK_PSTATE_MASK) {
sys/dev/pci/if_sk.c
1524
command & SK_PSTATE_MASK);
sys/dev/pci/if_sk.c
1525
command &= 0xFFFFFFFC;
sys/dev/pci/if_sk.c
1527
SK_PCI_PWRMGMTCTRL, command);
sys/dev/pci/if_sk.c
1540
command = pci_conf_read(pc, pa->pa_tag, SK_PCI_OURREG2);
sys/dev/pci/if_sk.c
1541
if (command & SK_REG2_REV_DESC)
sys/dev/pci/if_sk.c
1543
command & ~SK_REG2_REV_DESC);
sys/dev/pci/if_sk.c
1548
command = pci_conf_read(pc, pa->pa_tag, PCI_COMMAND_STATUS_REG);
sys/dev/pci/if_sk.c
1549
command |= PCI_COMMAND_IO_ENABLE |
sys/dev/pci/if_sk.c
1552
pci_conf_write(pc, pa->pa_tag, PCI_COMMAND_STATUS_REG, command);
sys/dev/pci/if_sk.c
1553
command = pci_conf_read(pc, pa->pa_tag, PCI_COMMAND_STATUS_REG);
sys/dev/pci/if_sk.c
1556
if (!(command & PCI_COMMAND_IO_ENABLE)) {
sys/dev/pci/if_sk.c
1570
if (!(command & PCI_COMMAND_MEM_ENABLE)) {
sys/dev/pci/if_ti.c
1614
uint32_t command;
sys/dev/pci/if_ti.c
1660
command = pci_conf_read(pc, pa->pa_tag, PCI_COMMAND_STATUS_REG);
sys/dev/pci/if_ti.c
1661
command |= PCI_COMMAND_MASTER_ENABLE;
sys/dev/pci/if_ti.c
1662
pci_conf_write(pc, pa->pa_tag, PCI_COMMAND_STATUS_REG, command);
sys/dev/pci/if_ti.c
2712
ti_ioctl(struct ifnet *ifp, u_long command, void *data)
sys/dev/pci/if_ti.c
2721
switch (command) {
sys/dev/pci/if_ti.c
2723
error = ti_ether_ioctl(ifp, command, data);
sys/dev/pci/if_ti.c
2728
else if ((error = ifioctl_common(ifp, command, data))
sys/dev/pci/if_ti.c
2735
if ((error = ifioctl_common(ifp, command, data)) != 0)
sys/dev/pci/if_ti.c
2767
if ((error = ether_ioctl(ifp, command, data)) != ENETRESET)
sys/dev/pci/if_ti.c
2772
if (command == SIOCSIFCAP)
sys/dev/pci/if_ti.c
2774
else if (command != SIOCADDMULTI && command != SIOCDELMULTI)
sys/dev/pci/if_txp.c
1303
txp_ioctl(struct ifnet *ifp, u_long command, void *data)
sys/dev/pci/if_txp.c
1312
if ((error = ether_ioctl(ifp, &sc->sc_arpcom, command, data)) > 0) {
sys/dev/pci/if_txp.c
1318
switch (command) {
sys/dev/pci/if_txp.c
1333
if ((error = ifioctl_common(ifp, command, data)) != 0)
sys/dev/pci/if_txp.c
1344
if ((error = ether_ioctl(ifp, command, data)) != ENETRESET)
sys/dev/pci/if_txp.c
1349
if (command != SIOCADDMULTI && command != SIOCDELMULTI)
sys/dev/pci/if_txp.c
1360
error = ether_ioctl(ifp, command, data);
sys/dev/pci/if_txp.c
190
uint32_t command;
sys/dev/pci/if_txp.c
224
command = pci_conf_read(pa->pa_pc, pa->pa_tag, PCI_COMMAND_STATUS_REG);
sys/dev/pci/if_txp.c
226
if (!(command & PCI_COMMAND_MASTER_ENABLE)) {
sys/dev/pci/if_txp.c
231
if (!(command & PCI_COMMAND_MEM_ENABLE)) {
sys/dev/pci/if_vge.c
1995
vge_ioctl(struct ifnet *ifp, u_long command, void *data)
sys/dev/pci/if_vge.c
2005
if ((error = ether_ioctl(ifp, command, data)) == ENETRESET) {
sys/dev/pci/if_vge.c
2007
if (command != SIOCADDMULTI && command != SIOCDELMULTI)
sys/dev/pci/if_vioif.c
156
uint8_t command;
sys/dev/pci/if_vioif.c
2369
ctrlq->ctrlq_cmd->command = cmd;
sys/dev/pci/if_vr.c
1289
vr_ioctl(struct ifnet *ifp, u_long command, void *data)
sys/dev/pci/if_vr.c
1296
switch (command) {
sys/dev/pci/if_vr.c
1298
if ((error = ifioctl_common(ifp, command, data)) != 0)
sys/dev/pci/if_vr.c
1318
if ((error = ether_ioctl(ifp, command, data)) != ENETRESET)
sys/dev/pci/if_vr.c
1321
if (command == SIOCADDMULTI || command == SIOCDELMULTI)
sys/dev/pci/if_wi_pci.c
306
uint32_t command;
sys/dev/pci/if_wi_pci.c
310
command = bus_space_read_4(plxt, plxh, WI_LOCAL_INTCSR);
sys/dev/pci/if_wi_pci.c
311
command |= WI_LOCAL_INTEN;
sys/dev/pci/if_wi_pci.c
312
bus_space_write_4(plxt, plxh, WI_LOCAL_INTCSR, command);
sys/dev/pci/iha_pci.c
112
pcireg_t command;
sys/dev/pci/iha_pci.c
120
command = pci_conf_read(pa->pa_pc,pa->pa_tag,PCI_COMMAND_STATUS_REG);
sys/dev/pci/iha_pci.c
121
command |= PCI_COMMAND_MASTER_ENABLE | PCI_COMMAND_PARITY_ENABLE;
sys/dev/pci/iha_pci.c
123
pci_conf_write(pa->pa_pc, pa->pa_tag, PCI_COMMAND_STATUS_REG, command);
sys/dev/pci/ixgbe/ixgbe.c
6524
ixgbe_ioctl(struct ifnet *ifp, u_long command, void *data)
sys/dev/pci/ixgbe/ixgbe.c
6538
switch (command) {
sys/dev/pci/ixgbe/ixgbe.c
6591
IOCTL_DEBUGOUT1("ioctl: UNKNOWN (0x%X)", (int)command);
sys/dev/pci/ixgbe/ixgbe.c
6595
switch (command) {
sys/dev/pci/ixgbe/ixgbe.c
6631
if ((error = ether_ioctl(ifp, command, data)) != ENETRESET)
sys/dev/pci/ixgbe/ixgbe.c
6635
else if (command == SIOCSIFCAP || command == SIOCSIFMTU) {
sys/dev/pci/ixgbe/ixgbe.c
6641
} else if (command == SIOCADDMULTI || command == SIOCDELMULTI) {
sys/dev/pci/ixgbe/ixgbe_phy.c
588
u32 i, data, command;
sys/dev/pci/ixgbe/ixgbe_phy.c
591
command = ((reg_addr << IXGBE_MSCA_NP_ADDR_SHIFT) |
sys/dev/pci/ixgbe/ixgbe_phy.c
596
IXGBE_WRITE_REG(hw, IXGBE_MSCA, command);
sys/dev/pci/ixgbe/ixgbe_phy.c
606
command = IXGBE_READ_REG(hw, IXGBE_MSCA);
sys/dev/pci/ixgbe/ixgbe_phy.c
607
if ((command & IXGBE_MSCA_MDI_COMMAND) == 0)
sys/dev/pci/ixgbe/ixgbe_phy.c
612
if ((command & IXGBE_MSCA_MDI_COMMAND) != 0) {
sys/dev/pci/ixgbe/ixgbe_phy.c
622
command = ((reg_addr << IXGBE_MSCA_NP_ADDR_SHIFT) |
sys/dev/pci/ixgbe/ixgbe_phy.c
627
IXGBE_WRITE_REG(hw, IXGBE_MSCA, command);
sys/dev/pci/ixgbe/ixgbe_phy.c
637
command = IXGBE_READ_REG(hw, IXGBE_MSCA);
sys/dev/pci/ixgbe/ixgbe_phy.c
638
if ((command & IXGBE_MSCA_MDI_COMMAND) == 0)
sys/dev/pci/ixgbe/ixgbe_phy.c
642
if ((command & IXGBE_MSCA_MDI_COMMAND) != 0) {
sys/dev/pci/ixgbe/ixgbe_phy.c
696
u32 i, command;
sys/dev/pci/ixgbe/ixgbe_phy.c
702
command = ((reg_addr << IXGBE_MSCA_NP_ADDR_SHIFT) |
sys/dev/pci/ixgbe/ixgbe_phy.c
707
IXGBE_WRITE_REG(hw, IXGBE_MSCA, command);
sys/dev/pci/ixgbe/ixgbe_phy.c
717
command = IXGBE_READ_REG(hw, IXGBE_MSCA);
sys/dev/pci/ixgbe/ixgbe_phy.c
718
if ((command & IXGBE_MSCA_MDI_COMMAND) == 0)
sys/dev/pci/ixgbe/ixgbe_phy.c
722
if ((command & IXGBE_MSCA_MDI_COMMAND) != 0) {
sys/dev/pci/ixgbe/ixgbe_phy.c
731
command = ((reg_addr << IXGBE_MSCA_NP_ADDR_SHIFT) |
sys/dev/pci/ixgbe/ixgbe_phy.c
736
IXGBE_WRITE_REG(hw, IXGBE_MSCA, command);
sys/dev/pci/ixgbe/ixgbe_phy.c
746
command = IXGBE_READ_REG(hw, IXGBE_MSCA);
sys/dev/pci/ixgbe/ixgbe_phy.c
747
if ((command & IXGBE_MSCA_MDI_COMMAND) == 0)
sys/dev/pci/ixgbe/ixgbe_phy.c
751
if ((command & IXGBE_MSCA_MDI_COMMAND) != 0) {
sys/dev/pci/ixgbe/ixgbe_x550.c
1278
u32 i, command = 0;
sys/dev/pci/ixgbe/ixgbe_x550.c
1285
command = IXGBE_READ_REG(hw, IXGBE_SB_IOSF_INDIRECT_CTRL);
sys/dev/pci/ixgbe/ixgbe_x550.c
1286
if ((command & IXGBE_SB_IOSF_CTRL_BUSY) == 0)
sys/dev/pci/ixgbe/ixgbe_x550.c
1291
*ctrl = command;
sys/dev/pci/ixgbe/ixgbe_x550.c
1312
u32 command, error __unused;
sys/dev/pci/ixgbe/ixgbe_x550.c
1323
command = ((reg_addr << IXGBE_SB_IOSF_CTRL_ADDR_SHIFT) |
sys/dev/pci/ixgbe/ixgbe_x550.c
1327
IXGBE_WRITE_REG(hw, IXGBE_SB_IOSF_INDIRECT_CTRL, command);
sys/dev/pci/ixgbe/ixgbe_x550.c
1332
ret = ixgbe_iosf_wait(hw, &command);
sys/dev/pci/ixgbe/ixgbe_x550.c
1334
if ((command & IXGBE_SB_IOSF_CTRL_RESP_STAT_MASK) != 0) {
sys/dev/pci/ixgbe/ixgbe_x550.c
1335
error = (command & IXGBE_SB_IOSF_CTRL_CMPL_ERR_MASK) >>
sys/dev/pci/ixgbe/ixgbe_x550.c
1358
u32 command, error __unused;
sys/dev/pci/ixgbe/ixgbe_x550.c
1369
command = ((reg_addr << IXGBE_SB_IOSF_CTRL_ADDR_SHIFT) |
sys/dev/pci/ixgbe/ixgbe_x550.c
1373
IXGBE_WRITE_REG(hw, IXGBE_SB_IOSF_INDIRECT_CTRL, command);
sys/dev/pci/ixgbe/ixgbe_x550.c
1375
ret = ixgbe_iosf_wait(hw, &command);
sys/dev/pci/ixgbe/ixgbe_x550.c
1377
if ((command & IXGBE_SB_IOSF_CTRL_RESP_STAT_MASK) != 0) {
sys/dev/pci/ixgbe/ixgbe_x550.c
1378
error = (command & IXGBE_SB_IOSF_CTRL_CMPL_ERR_MASK) >>
sys/dev/pci/ixgbe/ixgbe_x550.c
359
u32 i, data, command;
sys/dev/pci/ixgbe/ixgbe_x550.c
363
command = (reg_addr << IXGBE_MSCA_DEV_TYPE_SHIFT) |
sys/dev/pci/ixgbe/ixgbe_x550.c
368
IXGBE_WRITE_REG(hw, IXGBE_MSCA, command);
sys/dev/pci/ixgbe/ixgbe_x550.c
377
command = IXGBE_READ_REG(hw, IXGBE_MSCA);
sys/dev/pci/ixgbe/ixgbe_x550.c
378
if (!(command & IXGBE_MSCA_MDI_COMMAND))
sys/dev/pci/ixgbe/ixgbe_x550.c
382
if (command & IXGBE_MSCA_MDI_COMMAND) {
sys/dev/pci/ixgbe/ixgbe_x550.c
406
u32 i, command;
sys/dev/pci/ixgbe/ixgbe_x550.c
413
command = (reg_addr << IXGBE_MSCA_DEV_TYPE_SHIFT) |
sys/dev/pci/ixgbe/ixgbe_x550.c
418
IXGBE_WRITE_REG(hw, IXGBE_MSCA, command);
sys/dev/pci/ixgbe/ixgbe_x550.c
427
command = IXGBE_READ_REG(hw, IXGBE_MSCA);
sys/dev/pci/ixgbe/ixgbe_x550.c
428
if (!(command & IXGBE_MSCA_MDI_COMMAND))
sys/dev/pci/ixgbe/ixgbe_x550.c
432
if (command & IXGBE_MSCA_MDI_COMMAND) {
sys/dev/pci/ixgbe/ixv.c
3153
ixv_ioctl(struct ifnet *ifp, u_long command, void *data)
sys/dev/pci/ixgbe/ixv.c
3163
switch (command) {
sys/dev/pci/ixgbe/ixv.c
3239
IOCTL_DEBUGOUT1("ioctl: UNKNOWN (0x%X)", (int)command);
sys/dev/pci/ixgbe/ixv.c
3243
switch (command) {
sys/dev/pci/ixgbe/ixv.c
3257
if ((error = ether_ioctl(ifp, command, data)) != ENETRESET)
sys/dev/pci/ixgbe/ixv.c
3261
else if (command == SIOCSIFCAP || command == SIOCSIFMTU) {
sys/dev/pci/ixgbe/ixv.c
3265
} else if (command == SIOCADDMULTI || command == SIOCDELMULTI) {
sys/dev/pci/ld_twa.c
168
tr->tr_command->command.cmd_pkt_9k.command.opcode =
sys/dev/pci/ld_twa.c
170
tr->tr_command->command.cmd_pkt_9k.unit =
sys/dev/pci/ld_twa.c
172
tr->tr_command->command.cmd_pkt_9k.request_id =
sys/dev/pci/ld_twa.c
174
tr->tr_command->command.cmd_pkt_9k.status = 0;
sys/dev/pci/ld_twa.c
175
tr->tr_command->command.cmd_pkt_9k.sgl_entries = 1;
sys/dev/pci/ld_twa.c
176
tr->tr_command->command.cmd_pkt_9k.sgl_offset = 16;
sys/dev/pci/ld_twa.c
209
status = tr->tr_command->command.cmd_pkt_9k.status;
sys/dev/pci/ld_twa.c
259
generic_cmd = &(tr->tr_command->command.cmd_pkt_7k.generic);
sys/dev/pci/ld_twa.c
313
tr->tr_command->command.cmd_pkt_9k.cdb[0] = WRITE_16;
sys/dev/pci/ld_twa.c
315
tr->tr_command->command.cmd_pkt_9k.cdb[0] = READ_16;
sys/dev/pci/ld_twa.c
317
tr->tr_command->command.cmd_pkt_9k.cdb[1] =
sys/dev/pci/ld_twa.c
321
&tr->tr_command->command.cmd_pkt_9k.cdb[2]);
sys/dev/pci/ld_twa.c
323
&tr->tr_command->command.cmd_pkt_9k.cdb[10]);
sys/dev/pci/ld_twa.c
325
tr->tr_command->command.cmd_pkt_9k.cdb[14] = 0;
sys/dev/pci/ld_twa.c
326
tr->tr_command->command.cmd_pkt_9k.cdb[15] = 0;
sys/dev/pci/pccbb.c
1183
pccbb_ctrl(cardbus_chipset_tag_t ct, int command)
sys/dev/pci/pccbb.c
1187
switch (command) {
sys/dev/pci/pccbb.c
1217
return pccbb_cardenable(sc, command);
sys/dev/pci/pccbb.c
1224
pccbb_power_ct(cardbus_chipset_tag_t ct, int command)
sys/dev/pci/pccbb.c
1228
return pccbb_power(sc, command);
sys/dev/pci/pccbb.c
1237
pccbb_power(struct pccbb_softc *sc, int command)
sys/dev/pci/pccbb.c
1246
(command & CARDBUS_VCCMASK) == CARDBUS_VCC_UC ? "CARDBUS_VCC_UC" :
sys/dev/pci/pccbb.c
1247
(command & CARDBUS_VCCMASK) == CARDBUS_VCC_5V ? "CARDBUS_VCC_5V" :
sys/dev/pci/pccbb.c
1248
(command & CARDBUS_VCCMASK) == CARDBUS_VCC_3V ? "CARDBUS_VCC_3V" :
sys/dev/pci/pccbb.c
1249
(command & CARDBUS_VCCMASK) == CARDBUS_VCC_XV ? "CARDBUS_VCC_XV" :
sys/dev/pci/pccbb.c
1250
(command & CARDBUS_VCCMASK) == CARDBUS_VCC_YV ? "CARDBUS_VCC_YV" :
sys/dev/pci/pccbb.c
1251
(command & CARDBUS_VCCMASK) == CARDBUS_VCC_0V ? "CARDBUS_VCC_0V" :
sys/dev/pci/pccbb.c
1253
(command & CARDBUS_VPPMASK) == CARDBUS_VPP_UC ? "CARDBUS_VPP_UC" :
sys/dev/pci/pccbb.c
1254
(command & CARDBUS_VPPMASK) == CARDBUS_VPP_12V ? "CARDBUS_VPP_12V" :
sys/dev/pci/pccbb.c
1255
(command & CARDBUS_VPPMASK) == CARDBUS_VPP_VCC ? "CARDBUS_VPP_VCC" :
sys/dev/pci/pccbb.c
1256
(command & CARDBUS_VPPMASK) == CARDBUS_VPP_0V ? "CARDBUS_VPP_0V" :
sys/dev/pci/pccbb.c
1257
"UNKNOWN", command));
sys/dev/pci/pccbb.c
1262
switch (command & CARDBUS_VCCMASK) {
sys/dev/pci/pccbb.c
1294
switch (command & CARDBUS_VPPMASK) {
sys/dev/pci/pccbb.c
1386
if ((command & CARDBUS_VCCMASK) == CARDBUS_VCC_0V)
sys/dev/pci/pccbb.c
1506
uint32_t command =
sys/dev/pci/pccbb.c
1512
command |= PCI_COMMAND_IO_ENABLE;
sys/dev/pci/pccbb.c
1515
command &= ~PCI_COMMAND_IO_ENABLE;
sys/dev/pci/pccbb.c
1518
command |= PCI_COMMAND_MEM_ENABLE;
sys/dev/pci/pccbb.c
1521
command &= ~PCI_COMMAND_MEM_ENABLE;
sys/dev/pci/pccbb.c
1524
command |= PCI_COMMAND_MASTER_ENABLE;
sys/dev/pci/pccbb.c
1527
command &= ~PCI_COMMAND_MASTER_ENABLE;
sys/dev/pci/pccbb.c
1533
pci_conf_write(sc->sc_pc, sc->sc_tag, PCI_COMMAND_STATUS_REG, command);
sys/dev/pci/pccbb.c
1534
DPRINTF((" command reg 0x%x\n", command));
sys/dev/pci/radeonfb_bios.c
372
uint8_t command = value & TABLE_ENTRY_COMMAND_MASK;
sys/dev/pci/radeonfb_bios.c
423
DPRINTF(("SCOMMAND %x\n", command));
sys/dev/pci/radeonfb_bios.c
424
switch (command) {
sys/dev/pci/trm.c
413
pcireg_t command;
sys/dev/pci/trm.c
425
command = pci_conf_read(pa->pa_pc, pa->pa_tag, PCI_COMMAND_STATUS_REG);
sys/dev/pci/trm.c
426
if ((command & (PCI_COMMAND_IO_ENABLE | PCI_COMMAND_MASTER_ENABLE)) !=
sys/dev/pci/trm.c
428
command |= PCI_COMMAND_IO_ENABLE | PCI_COMMAND_MASTER_ENABLE;
sys/dev/pci/trm.c
430
PCI_COMMAND_STATUS_REG, command);
sys/dev/pci/trm.c
435
if (command & PCI_COMMAND_MEM_ENABLE) {
sys/dev/pci/twa.c
1201
tr->tr_command->command.cmd_pkt_9k.status = EIO;
sys/dev/pci/twa.c
1293
if ((error = tr->tr_command->command.cmd_pkt_9k.status))
sys/dev/pci/twa.c
1744
cmd9k = &(cmdpkt->command.cmd_pkt_9k);
sys/dev/pci/twa.c
1749
cmd7k = &(cmdpkt->command.cmd_pkt_7k);
sys/dev/pci/twa.c
1750
if ((sgl_offset = cmdpkt->command.cmd_pkt_7k.generic.sgl_offset))
sys/dev/pci/twa.c
2019
cmdpkt->command.cmd_pkt_7k.generic.request_id =
sys/dev/pci/twa.c
2343
cmd = &(tr->tr_command->command.cmd_pkt_7k);
sys/dev/pci/twa.c
2424
cmd = &(tr->tr_command->command.cmd_pkt_7k);
sys/dev/pci/twa.c
2525
init_connect = &(tr->tr_command->command.cmd_pkt_7k.init_connect);
sys/dev/pci/twa.c
2741
&(tr->tr_command->command.cmd_pkt_9k);
sys/dev/pci/twa.c
2897
if (tr->tr_command->command.cmd_pkt_9k.status)
sys/dev/pci/twa.c
2901
memset(&(tr->tr_command->command), 0, 28);
sys/dev/pci/twa.c
513
cmd_status = tr->tr_command->command.cmd_pkt_9k.status;
sys/dev/pci/twa.c
516
tr->tr_command->command.cmd_pkt_7k.generic.status;
sys/dev/pci/twa.c
707
tr_9k_cmd = &tr->tr_command->command.cmd_pkt_9k;
sys/dev/pci/twa.c
709
tr_9k_cmd->command.opcode = TWA_OP_EXECUTE_SCSI_COMMAND;
sys/dev/pci/twa.c
764
tr_9k_cmd = &tr->tr_command->command.cmd_pkt_9k;
sys/dev/pci/twa.c
766
tr_9k_cmd->command.opcode = TWA_OP_EXECUTE_SCSI_COMMAND;
sys/dev/pci/twa.c
805
tr_9k_cmd = &tr->tr_command->command.cmd_pkt_9k;
sys/dev/pci/twa.c
807
tr_9k_cmd->command.opcode = TWA_OP_EXECUTE_SCSI_COMMAND;
sys/dev/pci/twareg.h
372
uint8_t command;
sys/dev/pci/twareg.h
435
} command;
sys/dev/pci/twareg.h
454
} command;
sys/dev/pckbport/alps.c
364
cmd[0] = alps_v7_nibble_command_data_arr[nibble].command;
sys/dev/pckbport/alpsreg.h
39
uint8_t command;
sys/dev/pckbport/synaptics.c
245
synaptics_special_write(struct pms_softc *psc, u_char command, u_char arg)
sys/dev/pckbport/synaptics.c
253
cmd[1] = command;
sys/dev/pcmcia/btbc.c
552
uint32_t offset, command;
sys/dev/pcmcia/btbc.c
601
command = BLUECARD_COMMAND_TXBUF2;
sys/dev/pcmcia/btbc.c
610
command = BLUECARD_COMMAND_TXBUF1;
sys/dev/pcmcia/btbc.c
638
BLUECARD_COMMAND, command);
sys/dev/qbus/qd.c
1019
adder->command = CANCEL;
sys/dev/qbus/qd.c
1740
adder->command = CANCEL; /* cancel adder activity */
sys/dev/qbus/qd.c
2083
adder->command = CANCEL; /* cancel adder activity */
sys/dev/qbus/qd.c
2133
adder->command = CANCEL; /* cancel adder activity */
sys/dev/qbus/qd.c
3379
adder->command = CANCEL;
sys/dev/qbus/qd.c
3814
adder->command = ID_LOAD | adrs;
sys/dev/qbus/qd.c
950
adder->command = CANCEL;
sys/dev/qbus/qdreg.h
232
u_short command; /* ADDER chip command register */
sys/dev/sbus/dbri.c
606
return (&sc->sc_dma->command[0]);
sys/dev/sbus/dbri.c
623
} else if ((cmd - &sc->sc_dma->command[0]) >= DBRI_NUM_COMMANDS - 1) {
sys/dev/sbus/dbri.c
692
int command = DBRI_INTR_GETCMD(i);
sys/dev/sbus/dbri.c
697
if (channel == DBRI_INTR_CMD && command == DBRI_COMMAND_WAIT)
sys/dev/sbus/dbrivar.h
113
volatile uint32_t command[DBRI_NUM_COMMANDS];
sys/dev/sdmmc/sdhc.c
1715
uint16_t command;
sys/dev/sdmmc/sdhc.c
1769
command = (cmd->c_opcode & SDHC_COMMAND_INDEX_MASK) << SDHC_COMMAND_INDEX_SHIFT;
sys/dev/sdmmc/sdhc.c
1772
command |= SDHC_CRC_CHECK_ENABLE;
sys/dev/sdmmc/sdhc.c
1774
command |= SDHC_INDEX_CHECK_ENABLE;
sys/dev/sdmmc/sdhc.c
1776
command |= SDHC_DATA_PRESENT_SELECT;
sys/dev/sdmmc/sdhc.c
1779
command |= SDHC_NO_RESPONSE;
sys/dev/sdmmc/sdhc.c
1781
command |= SDHC_RESP_LEN_136;
sys/dev/sdmmc/sdhc.c
1783
command |= SDHC_RESP_LEN_48_CHK_BUSY;
sys/dev/sdmmc/sdhc.c
1785
command |= SDHC_RESP_LEN_48;
sys/dev/sdmmc/sdhc.c
1799
HDEVNAME(hp), blksize, blkcount, mode, command));
sys/dev/sdmmc/sdhc.c
1887
command |= SDHC_COMMAND_TYPE_ABORT;
sys/dev/sdmmc/sdhc.c
1888
HWRITE4(hp, SDHC_TRANSFER_MODE, command << 16);
sys/dev/sdmmc/sdhc.c
1890
HWRITE4(hp, SDHC_TRANSFER_MODE, mode | (command << 16));
sys/dev/sdmmc/sdhc.c
1897
HWRITE2(hp, SDHC_COMMAND, command);
sys/dev/usb/if_atu.c
2138
atu_ioctl(struct ifnet *ifp, u_long command, void *data)
sys/dev/usb/if_atu.c
2145
switch (command) {
sys/dev/usb/if_atu.c
2148
device_xname(sc->atu_dev), command));
sys/dev/usb/if_atu.c
2149
err = ieee80211_ioctl(ic, command, data);
sys/dev/usb/if_atu.c
2157
device_xname(sc->atu_dev), command));
sys/dev/usb/if_atu.c
342
atu_send_command(struct atu_softc *sc, uint8_t *command, int size)
sys/dev/usb/if_atu.c
345
0x0000, size, command);
sys/dev/usb/if_umb.c
2304
umb_send_connect(struct umb_softc *sc, int command)
sys/dev/usb/if_umb.c
2312
c->command = htole32(command);
sys/dev/usb/if_urtwn.c
4086
uint32_t content, command;
sys/dev/usb/if_urtwn.c
4101
command = R92C_CAMCMD_POLLING
sys/dev/usb/if_urtwn.c
4106
urtwn_write_4(sc, R92C_CAMCMD, command);
sys/dev/usb/if_urtwn.c
4119
command = R92C_CAMCMD_POLLING
sys/dev/usb/if_urtwn.c
4125
urtwn_write_4(sc, R92C_CAMCMD, command);
sys/dev/usb/mbim.h
484
uint32_t command;
sys/dev/vme/xd.c
1005
xdioctl(dev_t dev, u_long command, void *addr, int flag, struct lwp *l)
sys/dev/vme/xd.c
1021
error = disk_ioctl(&xd->sc_dk, dev, command, addr, flag, l);
sys/dev/vme/xd.c
1027
switch (command) {
sys/dev/vme/xd.c
1039
if (command == ODIOCSDINFO) {
sys/dev/vme/xd.c
1070
if (command == ODIOCWDINFO) {
sys/dev/vme/xy.c
924
xyioctl(dev_t dev, u_long command, void *addr, int flag, struct lwp *l)
sys/dev/vme/xy.c
939
error = disk_ioctl(&xy->sc_dk, dev, command, addr, flag, l);
sys/dev/vme/xy.c
945
switch (command) {
sys/dev/vme/xy.c
957
if (command == ODIOCSDINFO) {
sys/dev/vme/xy.c
988
if (command == ODIOCWDINFO) {
sys/dev/wscons/wskbd.c
1745
if (sc != NULL && kp->command != KS_voidSymbol)
sys/dev/wscons/wskbd.c
1746
iscommand = internal_command(sc, &type, kp->command,
sys/dev/wscons/wskbdutil.c
425
mapentry->command = KS_voidSymbol;
sys/dev/wscons/wskbdutil.c
450
mapentry->command = *kp++;
sys/dev/wscons/wskbdutil.c
480
(*map)[i].command = KS_voidSymbol;
sys/dev/wscons/wskbdutil.c
538
(*map)[kc].command = *kp;
sys/dev/wscons/wsksymvar.h
43
keysym_t command;
sys/kern/vnode_if.c
915
u_long command,
sys/kern/vnode_if.c
926
a.a_command = command;
sys/kern/vnode_if.c
953
u_int command,
sys/kern/vnode_if.c
964
a.a_command = command;
sys/lib/libsa/bootcfg.c
101
perform_bootcfg(const char *conf, bootcfg_command command, const off_t maxsz)
sys/lib/libsa/bootcfg.c
208
bootcfg_info.command[cmenu] = v2;
sys/lib/libsa/bootcfg.c
253
command(key, value);
sys/lib/libsa/bootcfg.h
46
char *command[BOOTCFG_MAXMENU]; /* Menu commands per entry*/
sys/net/lagg/if_lagg.h
119
uint32_t command;
sys/net/lagg/if_lagg.h
99
uint32_t command;
sys/net/lagg/if_lagg_lacp.c
946
switch (rplacp->command) {
sys/net/lagg/if_lagg_lacp.c
949
set = (rplacp->command == LAGGIOC_LACPSETFLAGS) ?
sys/net/lagg/if_lagg_lacp.c
973
maxports = (rplacp->command == LAGGIOC_LACPSETMAXPORTS) ?
sys/net/lagg/if_laggproto.c
570
switch (rpfail->command) {
sys/net/lagg/if_laggproto.c
573
set = (rpfail->command == LAGGIOC_FAILSETFLAGS) ?
sys/rump/librump/rumpvfs/rumpvnode_if.c
269
u_long command,
sys/rump/librump/rumpvfs/rumpvnode_if.c
277
error = VOP_IOCTL(vp, command, data, fflag, cred);
sys/rump/librump/rumpvfs/rumpvnode_if.c
285
u_int command,
sys/rump/librump/rumpvfs/rumpvnode_if.c
293
error = VOP_FCNTL(vp, command, data, fflag, cred);
sys/stand/efiboot/bootmenu.c
113
ic = bootcfg_info.command[choice];
sys/stand/efiboot/bootmenu.c
190
if (!strcmp(bootcfg_info.command[choice], "prompt")) {
sys/sys/ataio.h
11
u_char command; /* command code */
tests/include/t_bitstring.c
211
char command[1024];
tests/include/t_bitstring.c
221
snprintf(command, sizeof(command), "diff -u %s/d_bitstring_%d.out out",
tests/include/t_bitstring.c
223
if (system(command) != EXIT_SUCCESS)
tests/lib/libc/db/h_db.c
103
enum S command = COMMAND, state;
tests/lib/libc/db/h_db.c
200
command = COMPARE;
tests/lib/libc/db/h_db.c
214
command = GET;
tests/lib/libc/db/h_db.c
219
command = PUT;
tests/lib/libc/db/h_db.c
228
command = REMOVE;
tests/lib/libc/db/h_db.c
240
command = SEQ;
tests/lib/libc/db/h_db.c
255
ldata: switch (command) {
tests/lib/libc/db/h_db.c
289
lkey: switch (command) {
tests/lib/libc/stdio/t_popen.c
101
if ((my_pipe = popen(command, "r")) == NULL)
tests/lib/libc/stdio/t_popen.c
75
char *buffer, command[MAXPATHLEN];
tests/lib/libc/stdio/t_popen.c
87
(void)snprintf(command, sizeof(command), "%s >%s",
tests/lib/libc/stdio/t_popen.c
90
if ((my_pipe = popen(command, "w")) == NULL)
tests/lib/libc/stdio/t_popen.c
99
(void)snprintf(command, sizeof(command), "%s %s", _PATH_CAT, DATAFILE);
tests/lib/libcurses/director/testlang_parse.y
107
static cmd_line_t command;
tests/lib/libcurses/director/testlang_parse.y
1083
do_input = check_function_table(command.function, input_functions,
tests/lib/libcurses/director/testlang_parse.y
1209
enum_names[command.returns[i].data_type]);
tests/lib/libcurses/director/testlang_parse.y
1214
if (command.returns[i].data_type != data_var) {
tests/lib/libcurses/director/testlang_parse.y
1217
vars[command.returns[i].data_index].len =
tests/lib/libcurses/director/testlang_parse.y
1221
vars[command.returns[i].data_index].cchar =
tests/lib/libcurses/director/testlang_parse.y
1224
vars[command.returns[i].data_index].value =
tests/lib/libcurses/director/testlang_parse.y
1228
vars[command.returns[i].data_index].type =
tests/lib/libcurses/director/testlang_parse.y
1249
fprintf(stderr, "calling function >%s<\n", command.function);
tests/lib/libcurses/director/testlang_parse.y
1252
write_cmd_pipe(command.function);
tests/lib/libcurses/director/testlang_parse.y
1253
for (i = 0; i < command.nargs; i++) {
tests/lib/libcurses/director/testlang_parse.y
1254
if (command.args[i].arg_type == data_var)
tests/lib/libcurses/director/testlang_parse.y
1255
write_cmd_pipe_args(command.args[i].arg_type,
tests/lib/libcurses/director/testlang_parse.y
1256
&vars[command.args[i].var_index]);
tests/lib/libcurses/director/testlang_parse.y
1258
write_cmd_pipe_args(command.args[i].arg_type,
tests/lib/libcurses/director/testlang_parse.y
1259
&command.args[i]);
tests/lib/libcurses/director/testlang_parse.y
1271
if (command.returns[0].data_index == -1)
tests/lib/libcurses/director/testlang_parse.y
1275
if (command.returns[1].data_type == data_var) {
tests/lib/libcurses/director/testlang_parse.y
1276
vptr = &vars[command.returns[1].data_index];
tests/lib/libcurses/director/testlang_parse.y
1277
command.returns[1].data_type = vptr->type;
tests/lib/libcurses/director/testlang_parse.y
1278
command.returns[1].data_len = vptr->len;
tests/lib/libcurses/director/testlang_parse.y
1280
command.returns[1].data_value = vptr->value;
tests/lib/libcurses/director/testlang_parse.y
1282
command.returns[1].data_value = &vptr->cchar;
tests/lib/libcurses/director/testlang_parse.y
1287
vars[command.returns[0].data_index].name,
tests/lib/libcurses/director/testlang_parse.y
1288
enum_names[command.returns[1].data_type]);
tests/lib/libcurses/director/testlang_parse.y
1294
if (((command.returns[1].data_type == data_byte) &&
tests/lib/libcurses/director/testlang_parse.y
1295
(vars[command.returns[0].data_index].type != data_byte)))
tests/lib/libcurses/director/testlang_parse.y
1297
enum_names[vars[command.returns[0].data_index].type],
tests/lib/libcurses/director/testlang_parse.y
1298
vars[command.returns[0].data_index].type,
tests/lib/libcurses/director/testlang_parse.y
1299
enum_names[command.returns[1].data_type],
tests/lib/libcurses/director/testlang_parse.y
1300
command.returns[1].data_type);
tests/lib/libcurses/director/testlang_parse.y
1302
switch (command.returns[1].data_type) {
tests/lib/libcurses/director/testlang_parse.y
1305
validate_type(vars[command.returns[0].data_index].type,
tests/lib/libcurses/director/testlang_parse.y
1306
&command.returns[1], 0);
tests/lib/libcurses/director/testlang_parse.y
1311
command.returns[0].data_index, 0);
tests/lib/libcurses/director/testlang_parse.y
1316
command.returns[0].data_index, 1);
tests/lib/libcurses/director/testlang_parse.y
1323
(const char *)command.returns[1].data_value,
tests/lib/libcurses/director/testlang_parse.y
1325
vars[command.returns[0].data_index].value);
tests/lib/libcurses/director/testlang_parse.y
1328
command.returns[1].data_value,
tests/lib/libcurses/director/testlang_parse.y
1329
command.returns[0].data_index, 0);
tests/lib/libcurses/director/testlang_parse.y
1333
vptr = &vars[command.returns[0].data_index];
tests/lib/libcurses/director/testlang_parse.y
1337
validate_byte(&retvar, &command.returns[1], 0);
tests/lib/libcurses/director/testlang_parse.y
1341
validate_cchar(&vars[command.returns[0].data_index].cchar,
tests/lib/libcurses/director/testlang_parse.y
1342
(cchar_t *) command.returns[1].data_value, 0);
tests/lib/libcurses/director/testlang_parse.y
1346
validate_wchar((wchar_t *) vars[command.returns[0].data_index].value,
tests/lib/libcurses/director/testlang_parse.y
1347
(wchar_t *) command.returns[1].data_value, 0);
tests/lib/libcurses/director/testlang_parse.y
1422
free(command.function);
tests/lib/libcurses/director/testlang_parse.y
1423
for (i = 0; i < command.nrets; i++) {
tests/lib/libcurses/director/testlang_parse.y
1424
if (command.returns[i].data_type == data_number)
tests/lib/libcurses/director/testlang_parse.y
1425
free(command.returns[i].data_value);
tests/lib/libcurses/director/testlang_parse.y
1427
free(command.returns);
tests/lib/libcurses/director/testlang_parse.y
1429
for (i = 0; i < command.nargs; i++) {
tests/lib/libcurses/director/testlang_parse.y
1430
if (command.args[i].arg_type != data_var)
tests/lib/libcurses/director/testlang_parse.y
1431
free(command.args[i].arg_string);
tests/lib/libcurses/director/testlang_parse.y
1433
free(command.args);
tests/lib/libcurses/director/testlang_parse.y
1447
command.function = NULL;
tests/lib/libcurses/director/testlang_parse.y
1448
command.nargs = 0;
tests/lib/libcurses/director/testlang_parse.y
1449
command.args = NULL;
tests/lib/libcurses/director/testlang_parse.y
1450
command.nrets = 0;
tests/lib/libcurses/director/testlang_parse.y
1451
command.returns = NULL;
tests/lib/libcurses/director/testlang_parse.y
1481
if ((command.returns[i].data_type != data_byte) &&
tests/lib/libcurses/director/testlang_parse.y
1482
(command.returns[i].data_type != data_err) &&
tests/lib/libcurses/director/testlang_parse.y
1483
(command.returns[i].data_type != data_ok)) {
tests/lib/libcurses/director/testlang_parse.y
1490
enum_names[command.returns[i].data_type],
tests/lib/libcurses/director/testlang_parse.y
1496
switch (command.returns[i].data_type) {
tests/lib/libcurses/director/testlang_parse.y
1515
validate_return(command.returns[i].data_value,
tests/lib/libcurses/director/testlang_parse.y
1524
validate_byte(&command.returns[i], byte_response, 0);
tests/lib/libcurses/director/testlang_parse.y
1543
varp = &vars[command.returns[i].data_index];
tests/lib/libcurses/director/testlang_parse.y
1546
if (command.returns[i].data_type != data_byte)
tests/lib/libcurses/director/testlang_parse.y
1841
retval = &command.returns[ret];
tests/lib/libcurses/director/testlang_parse.y
1842
varptr = &vars[command.returns[ret].data_index];
tests/lib/libcurses/director/testlang_parse.y
374
if (command.function != NULL)
tests/lib/libcurses/director/testlang_parse.y
375
free(command.function);
tests/lib/libcurses/director/testlang_parse.y
377
command.function = malloc(strlen($1) + 1);
tests/lib/libcurses/director/testlang_parse.y
378
if (command.function == NULL)
tests/lib/libcurses/director/testlang_parse.y
380
strcpy(command.function, $1);
tests/lib/libcurses/director/testlang_parse.y
770
command.function, str, enum_names[arg_type], arg_type);
tests/lib/libcurses/director/testlang_parse.y
797
temp = realloc(command.args, sizeof(*temp) * (command.nargs + 1));
tests/lib/libcurses/director/testlang_parse.y
800
command.args = temp;
tests/lib/libcurses/director/testlang_parse.y
801
memcpy(&command.args[command.nargs], &cur, sizeof(args_t));
tests/lib/libcurses/director/testlang_parse.y
802
command.nargs++;
tests/lib/libcurses/director/testlang_parse.y
844
temp = realloc(command.returns, sizeof(*temp) * (command.nrets + 1));
tests/lib/libcurses/director/testlang_parse.y
847
command.returns = temp;
tests/lib/libcurses/director/testlang_parse.y
848
memcpy(&command.returns[command.nrets], &cur, sizeof(ct_data_t));
tests/lib/libcurses/director/testlang_parse.y
849
command.nrets++;
tests/libexec/ld.elf_so/t_ifunc.c
157
char *command;
tests/libexec/ld.elf_so/t_ifunc.c
158
easprintf(&command, "%s/h_ifunc %lld",
tests/libexec/ld.elf_so/t_ifunc.c
160
if (system(command) != EXIT_SUCCESS)
tests/libexec/ld.elf_so/t_ifunc.c
162
free(command);
tests/libexec/ld.elf_so/t_ifunc.c
94
char *command;
tests/libexec/ld.elf_so/t_ifunc.c
95
easprintf(&command, "%s/h_ifunc %lld",
tests/libexec/ld.elf_so/t_ifunc.c
97
if (system(command) != EXIT_SUCCESS)
tests/libexec/ld.elf_so/t_ifunc.c
99
free(command);
usr.bin/apply/apply.c
206
shell_system(const char *command)
usr.bin/apply/apply.c
223
if (!command) {
usr.bin/apply/apply.c
237
(void)execl(shell, name, "-c", command, (char *)NULL);
usr.bin/bthset/bthset.c
157
command = getenv("BTHSET_COMMAND");
usr.bin/bthset/bthset.c
165
command = optarg;
usr.bin/bthset/bthset.c
350
if (ringing && command != NULL) {
usr.bin/bthset/bthset.c
352
printf("%% %s\n", command);
usr.bin/bthset/bthset.c
354
system(command);
usr.bin/bthset/bthset.c
98
static char *command; /* answer command */
usr.bin/cdplay/cdplay.c
1346
*cmd = c->command;
usr.bin/cdplay/cdplay.c
1351
if (*cmd != -1 && *cmd != (int)c->command) {
usr.bin/cdplay/cdplay.c
1355
*cmd = c->command;
usr.bin/cdplay/cdplay.c
95
enum cmd command;
usr.bin/ftp/cmds.c
1150
r = command("CWD %s", argv[1]);
usr.bin/ftp/cmds.c
1155
r = command("XCWD %s", argv[1]);
usr.bin/ftp/cmds.c
1210
if (command("DELE %s", argv[1]) == COMPLETE)
usr.bin/ftp/cmds.c
1240
if (command("DELE %s", cp) == COMPLETE)
usr.bin/ftp/cmds.c
1271
if (command("RNFR %s", argv[1]) == CONTINUE &&
usr.bin/ftp/cmds.c
1272
command("RNTO %s", argv[2]) == COMPLETE)
usr.bin/ftp/cmds.c
1497
n = command("USER %s", argv[1]);
usr.bin/ftp/cmds.c
1506
n = command("PASS %s", password);
usr.bin/ftp/cmds.c
1518
n = command("ACCT %s", password);
usr.bin/ftp/cmds.c
1527
(void)command("ACCT %s", password);
usr.bin/ftp/cmds.c
1593
r = command("MKD %s", argv[1]);
usr.bin/ftp/cmds.c
1598
r = command("XMKD %s", argv[1]);
usr.bin/ftp/cmds.c
1618
r = command("RMD %s", argv[1]);
usr.bin/ftp/cmds.c
1623
r = command("XRMD %s", argv[1]);
usr.bin/ftp/cmds.c
1679
if (command("%s", buf) == PRELIM) {
usr.bin/ftp/cmds.c
1698
(void)command("SITE CHMOD %s %s", argv[1], argv[2]);
usr.bin/ftp/cmds.c
1703
command(cmd); \
usr.bin/ftp/cmds.c
1705
command(cmd " %s", argv[1])
usr.bin/ftp/cmds.c
1806
(void)command("QUIT");
usr.bin/ftp/cmds.c
1828
(void)command("ACCT %s", ap);
usr.bin/ftp/cmds.c
2371
r = command("CDUP");
usr.bin/ftp/cmds.c
2376
r = command("XCUP");
usr.bin/ftp/cmds.c
2435
(void)command("SYST");
usr.bin/ftp/cmds.c
260
comret = command("TYPE %s %s", p->t_mode, p->t_arg);
usr.bin/ftp/cmds.c
262
comret = command("TYPE %s", p->t_mode);
usr.bin/ftp/cmds.c
2766
(void)command("FEAT");
usr.bin/ftp/cmds.c
2807
command("OPTS %s", argv[1]);
usr.bin/ftp/cmds.c
2809
command("OPTS %s %s", argv[1], argv[2]);
usr.bin/ftp/cmds.c
293
comret = command("TYPE %s %s", p->t_mode, bytename);
usr.bin/ftp/cmds.c
295
comret = command("TYPE %s", p->t_mode);
usr.bin/ftp/extern.h
110
int command(const char *, ...)
usr.bin/ftp/ftp.c
1052
command("REST " LLF, (LLT) restart_point) != CONTINUE)
usr.bin/ftp/ftp.c
1055
if (command("%s %s", cmd, remote) != PRELIM)
usr.bin/ftp/ftp.c
1058
if (command("%s", cmd) != PRELIM)
usr.bin/ftp/ftp.c
1312
result = command("EPSV");
usr.bin/ftp/ftp.c
1337
result = command("PASV");
usr.bin/ftp/ftp.c
1349
result = command("EPSV");
usr.bin/ftp/ftp.c
1374
result = command("LPSV");
usr.bin/ftp/ftp.c
1646
result = command("EPRT |%u|%s|%s|", af, hname,
usr.bin/ftp/ftp.c
1672
result = command("PORT %d,%d,%d,%d,%d,%d",
usr.bin/ftp/ftp.c
1685
result = command(
usr.bin/ftp/ftp.c
1943
if (command("PASV") != COMPLETE) {
usr.bin/ftp/ftp.c
1957
if (command("PORT %s", pasv) != COMPLETE) {
usr.bin/ftp/ftp.c
1965
(command("REST " LLF, (LLT) restart_point) != CONTINUE))
usr.bin/ftp/ftp.c
1966
|| (command("%s %s", cmd, remote) != PRELIM)) {
usr.bin/ftp/ftp.c
1975
(command("REST " LLF, (LLT) restart_point) != CONTINUE))
usr.bin/ftp/ftp.c
1976
|| (command("%s %s", cmd2, local) != PRELIM))
usr.bin/ftp/ftp.c
1999
if (command("%s %s", cmd2, local) != PRELIM) {
usr.bin/ftp/ftp.c
2014
if (command("%s %s", cmd2, local) != PRELIM) {
usr.bin/ftp/ftp.c
805
if (command("REST " LLF, (LLT)restart_point) != CONTINUE)
usr.bin/ftp/ftp.c
810
if (command("%s %s", cmd, remote) != PRELIM)
usr.bin/ftp/ftp.c
813
if (command("%s", cmd) != PRELIM)
usr.bin/ftp/util.c
203
if (command("SYST") == COMPLETE) {
usr.bin/ftp/util.c
252
if (command("FEAT") == COMPLETE) {
usr.bin/ftp/util.c
436
n = command("USER %s", fuser);
usr.bin/ftp/util.c
445
n = command("PASS %s", pass);
usr.bin/ftp/util.c
461
n = command("ACCT %s", facct);
usr.bin/ftp/util.c
465
(!aflag && facct != NULL && command("ACCT %s", facct) != COMPLETE)) {
usr.bin/ftp/util.c
666
r = command("SIZE %s", file);
usr.bin/ftp/util.c
710
r = command("MDTM %s", file);
usr.bin/ftp/util.c
848
if (command("PWD") != COMPLETE)
usr.bin/mail/complete.c
1233
.command = { .el = NULL, .hist = NULL, },
usr.bin/mail/complete.c
1257
elm.command = init_el_mode(mode, mail_complete, keys, hist_size);
usr.bin/mail/complete.h
44
el_mode_t command;
usr.bin/mail/lex.c
941
line = my_gets(&elm.command, prompt, NULL);
usr.bin/rdist/gram.y
85
| file command
usr.bin/rdist/gram.y
88
command: NAME EQUAL namelist = {
usr.bin/script/script.c
110
const char *command;
usr.bin/script/script.c
118
command = NULL;
usr.bin/script/script.c
125
command = optarg;
usr.bin/script/script.c
204
doshell(command);
usr.bin/script/script.c
309
doshell(const char *command)
usr.bin/script/script.c
316
if (command == NULL) {
usr.bin/script/script.c
323
int ret = system(command);
usr.bin/script/script.c
325
warn("system `%s'", command);
usr.bin/sdpquery/sdpquery.c
143
for (cmd = commands ; cmd->command != NULL; cmd++) {
usr.bin/sdpquery/sdpquery.c
144
if (strcasecmp(*argv, cmd->command) == 0)
usr.bin/sdpquery/sdpquery.c
155
struct command *cmd;
usr.bin/sdpquery/sdpquery.c
174
for (cmd = commands ; cmd->command != NULL ; cmd++)
usr.bin/sdpquery/sdpquery.c
175
fprintf(stderr, "\t%-13s%s\n", cmd->command, cmd->usage);
usr.bin/sdpquery/sdpquery.c
63
const char *command;
usr.bin/sdpquery/sdpquery.c
76
struct command *cmd;
usr.bin/systat/cmds.c
53
struct command *c;
usr.bin/systat/cmdtab.c
102
struct command ip6_commands[] = {
usr.bin/systat/cmdtab.c
111
struct command netstat_commands[] = {
usr.bin/systat/cmdtab.c
124
struct command ps_commands[] = {
usr.bin/systat/cmdtab.c
129
struct command tcp_commands[] = {
usr.bin/systat/cmdtab.c
137
struct command vmstat_commands[] = {
usr.bin/systat/cmdtab.c
149
struct command syscall_commands[] = {
usr.bin/systat/cmdtab.c
48
struct command global_commands[] = {
usr.bin/systat/cmdtab.c
59
struct command df_commands[] = {
usr.bin/systat/cmdtab.c
65
struct command icmp_commands[] = {
usr.bin/systat/cmdtab.c
73
struct command ifstat_commands[] = {
usr.bin/systat/cmdtab.c
80
struct command iostat_commands[] = {
usr.bin/systat/cmdtab.c
93
struct command ip_commands[] = {
usr.bin/systat/extern.h
43
extern struct command global_commands[];
usr.bin/systat/extern.h
90
void command(char *);
usr.bin/systat/keyboard.c
110
command(help);
usr.bin/systat/keyboard.c
115
command(quit);
usr.bin/systat/keyboard.c
162
command(line + 1);
usr.bin/systat/main.c
450
command(pigs);
usr.bin/systat/systat.h
44
struct command *c_commands; /* commands for mode */
usr.bin/telnet/externs.h
225
void command(int, const char *, int);
usr.bin/telnet/main.c
321
command(1, 0, 0);
usr.bin/telnet/telnet.c
1836
command(0, "z\n", 2);
usr.bin/telnet/telnet.c
1880
command(0, "close\n", 6);
usr.bin/telnet/telnet.c
1885
command(0, "z\n", 2);
usr.bin/telnet/telnet.c
1889
command(0, (char *)tbp, tcc);
usr.bin/telnet/telnet.c
1915
command(0, (char *)tbp, tcc);
usr.bin/tftp/main.c
121
static __dead void command(void);
usr.bin/tftp/main.c
222
command();
usr.bin/tip/cmds.c
288
transmit(FILE *fd, const char *eofchars, char *command)
usr.bin/tip/cmds.c
302
if (command != NULL) {
usr.bin/tip/cmds.c
303
for (pc = command; *pc; pc++)
usr.bin/usbhidaction/usbhidaction.c
205
struct command *cmds =
usr.bin/usbhidaction/usbhidaction.c
236
static struct command *
usr.bin/usbhidaction/usbhidaction.c
244
struct command *cmd, *cmds;
usr.bin/usbhidaction/usbhidaction.c
416
docmd(struct command *cmd, int value, const char *hid, int argc, char **argv)
usr.bin/usbhidaction/usbhidaction.c
461
freecommand(struct command *cmd)
usr.bin/usbhidaction/usbhidaction.c
469
freecommands(struct command *cmd)
usr.bin/usbhidaction/usbhidaction.c
471
struct command *next;
usr.bin/usbhidaction/usbhidaction.c
60
struct command *next;
usr.bin/usbhidaction/usbhidaction.c
69
static struct command *commands;
usr.bin/usbhidaction/usbhidaction.c
74
static struct command *parse_conf(const char *, report_desc_t, int, int);
usr.bin/usbhidaction/usbhidaction.c
75
static void docmd(struct command *, int, const char *, int, char **);
usr.bin/usbhidaction/usbhidaction.c
76
static void freecommands(struct command *);
usr.bin/usbhidaction/usbhidaction.c
95
struct command *cmd;
usr.bin/xinstall/xinstall.c
1021
run(const char *command, const char *flags, const char *to_name, int errunlink)
usr.bin/xinstall/xinstall.c
1032
if (needshell(command, 1)) {
usr.bin/xinstall/xinstall.c
1033
rv = asprintf(&cmd, "%s %s%s%s", command, flags ? flags : "",
usr.bin/xinstall/xinstall.c
1036
warn("Cannot execute %s", command);
usr.bin/xinstall/xinstall.c
1039
command = _PATH_BSHELL;
usr.bin/xinstall/xinstall.c
1044
args[0] = __UNCONST(command);
usr.bin/xinstall/xinstall.c
1051
if (*command == '/')
usr.bin/xinstall/xinstall.c
1052
rv = posix_spawn(NULL, command, NULL, NULL, args, NULL);
usr.bin/xinstall/xinstall.c
1054
rv = posix_spawnp(NULL, command, NULL, NULL, args, NULL);
usr.bin/xinstall/xinstall.c
1056
warnc(rv, "Cannot execute %s", command);
usr.bin/xinstall/xinstall.c
1070
if (*command == '/')
usr.bin/xinstall/xinstall.c
1071
execv(command, args);
usr.bin/xinstall/xinstall.c
1073
execvp(command, args);
usr.bin/xinstall/xinstall.c
1078
command,
usr.bin/xinstall/xinstall.c
1124
afterinstall(const char *command, const char *to_name, int errunlink)
usr.bin/xinstall/xinstall.c
1126
run(command, NULL, to_name, errunlink);
usr.sbin/apm/apm.c
102
struct apm_command command;
usr.sbin/apm/apm.c
109
command.action = SUSPEND;
usr.sbin/apm/apm.c
112
command.action = STANDBY;
usr.sbin/apm/apm.c
122
exit(send_command(fd, &command, &reply));
usr.sbin/apm/apm.c
150
struct apm_command command;
usr.sbin/apm/apm.c
265
command.action = action;
usr.sbin/apm/apm.c
271
if ((rval = send_command(fd, &command, &reply)) == 0) {
usr.sbin/autofs/popen.c
101
command = argv[0];
usr.sbin/autofs/popen.c
112
command = concat(command, ' ', arg);
usr.sbin/autofs/popen.c
116
cur->command = checked_strdup(command);
usr.sbin/autofs/popen.c
137
log_debugx("executing \"%s\" as pid %d", command, pid);
usr.sbin/autofs/popen.c
182
cur->command, pid, WTERMSIG(status));
usr.sbin/autofs/popen.c
188
cur->command, pid, WEXITSTATUS(status));
usr.sbin/autofs/popen.c
192
log_debugx("\"%s\", pid %d, terminated gracefully", cur->command, pid);
usr.sbin/autofs/popen.c
194
free(cur->command);
usr.sbin/autofs/popen.c
68
char *command;
usr.sbin/autofs/popen.c
86
char *arg, *argv[ARGV_LEN], *command;
usr.sbin/bta2dpd/bta2dpd/avdtp.c
44
avdtpSendCommand(int fd, uint8_t command, uint8_t type, uint8_t *data,
usr.sbin/bta2dpd/bta2dpd/avdtp.c
61
if (command != 0)
usr.sbin/bta2dpd/bta2dpd/avdtp.c
62
header[1] = command & 0x3f;
usr.sbin/bta2dpd/bta2dpd/avdtp_signal.h
118
int avdtpSendCommand(int fd, uint8_t command, uint8_t type,
usr.sbin/flashctl/flashctl.c
120
} else if (strcmp("identify", command) == 0) {
usr.sbin/flashctl/flashctl.c
153
} else if (strcmp("badblocks", command) == 0) {
usr.sbin/flashctl/flashctl.c
190
} else if (strcmp("markbad", command) == 0) {
usr.sbin/flashctl/flashctl.c
57
char *device, *command;
usr.sbin/flashctl/flashctl.c
69
command = argv[2];
usr.sbin/flashctl/flashctl.c
78
if (strcmp("erase", command) == 0) {
usr.sbin/installboot/arch/amiga.c
131
(void)strncpy(dline, params->command, CMDLN_LEN-1);
usr.sbin/installboot/installboot.c
86
{ "command", IB_COMMAND, OPT_STRING, OFFSET(command) },
usr.sbin/installboot/installboot.h
99
const char *command; /* name of command string */
usr.sbin/ldpd/conffile.c
184
char *command, *nline = line;
usr.sbin/ldpd/conffile.c
188
command = NextCommand(nline);
usr.sbin/ldpd/conffile.c
190
if (strncasecmp(main_commands[i].com, command,
usr.sbin/makemandb/makemandb.c
298
char *line, *command;
usr.sbin/makemandb/makemandb.c
347
easprintf(&command, "man -p -C %s", arg);
usr.sbin/makemandb/makemandb.c
350
command = estrdup("man -p");
usr.sbin/makemandb/makemandb.c
355
if ((file = popen(command, "r")) == NULL) {
usr.sbin/makemandb/makemandb.c
356
free(command);
usr.sbin/makemandb/makemandb.c
359
free(command);
usr.sbin/pcictl/pcictl.c
83
static const struct command commands[] = {
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
1205
add_printer_alias(char *printer, char *alias_for, char *command)
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
1213
if (strstr(command, "$FILE"))
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
1214
alias[num_aliases].a_command = strdup(command);
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
1216
l = strlen(command) + 8;
usr.sbin/rpc.pcnfsd/pcnfsd_print.c
1218
strlcpy(alias[num_aliases].a_command, command, l);
usr.sbin/sysinst/disks.c
308
req.command = WDCC_IDENTIFY;
usr.sbin/tcpdchk/scaffold.c
112
void shell_cmd(char *command)
usr.sbin/tcpdchk/scaffold.c
115
printf("command: %s", command);
usr.sbin/wgconfig/wgconfig.c
774
const char *command;
usr.sbin/wgconfig/wgconfig.c
791
const char *command;
usr.sbin/wgconfig/wgconfig.c
810
command = argv[2];
usr.sbin/wgconfig/wgconfig.c
817
const struct command *cmd = &commands[i];
usr.sbin/wgconfig/wgconfig.c
818
if (strncmp(command, cmd->command, strlen(cmd->command)) == 0 &&