Symbol: command
bin/ps/extern.h
46
void command(const KINFO *, const struct varent *);
bin/ps/keyword.c
86
{"command", "COMMAND", NULL, COMM|LJUST|USER, command, NULL, 16, 0, 0, NULL,
bin/sh/parser.c
119
static union node *command(void);
bin/sh/parser.c
381
n1 = command();
bin/sh/parser.c
398
lp->n = command();
bin/sh/parser.c
684
n->narg.next = command();
crypto/openssh/audit-bsm.c
377
audit_run_command(const char *command)
crypto/openssh/audit-linux.c
80
audit_run_command(const char *command)
crypto/openssh/audit.c
178
audit_run_command(const char *command)
crypto/openssh/audit.c
181
audit_username(), command);
crypto/openssh/auth-options.c
129
if ((r = sshbuf_get_cstring(data, &command,
crypto/openssh/auth-options.c
138
free(command);
crypto/openssh/auth-options.c
141
opts->force_command = command;
crypto/openssh/auth-options.c
80
char *command, *allowed;
crypto/openssh/auth2-pubkey.c
353
char *tmp, *username = NULL, *command = NULL, **av = NULL;
crypto/openssh/auth2-pubkey.c
440
command = argv_assemble(ac, av);
crypto/openssh/auth2-pubkey.c
442
if ((pid = subprocess("AuthorizedPrincipalsCommand", command,
crypto/openssh/auth2-pubkey.c
456
if (exited_cleanly(pid, "AuthorizedPrincipalsCommand", command, 0) != 0)
crypto/openssh/auth2-pubkey.c
470
free(command);
crypto/openssh/auth2-pubkey.c
627
char uidstr[32], *tmp, *command = NULL, **av = NULL;
crypto/openssh/auth2-pubkey.c
696
command = argv_assemble(ac, av);
crypto/openssh/auth2-pubkey.c
708
free(command);
crypto/openssh/auth2-pubkey.c
709
xasprintf(&command, "%s %s", av[0], av[1]);
crypto/openssh/auth2-pubkey.c
712
if ((pid = subprocess("AuthorizedKeysCommand", command,
crypto/openssh/auth2-pubkey.c
728
if (exited_cleanly(pid, "AuthorizedKeysCommand", command, 0) != 0)
crypto/openssh/auth2-pubkey.c
742
free(command);
crypto/openssh/channels.c
1450
u_int8_t command;
crypto/openssh/channels.c
1488
(r = sshbuf_get(input, &s4_req.command, 1)) != 0 ||
crypto/openssh/channels.c
1535
c->self, c->path, c->host_port, s4_req.command);
crypto/openssh/channels.c
1537
if (s4_req.command != 1) {
crypto/openssh/channels.c
1539
c->self, need == 1 ? "SOCKS4" : "SOCKS4A", s4_req.command);
crypto/openssh/channels.c
1543
s4_rsp.command = 90; /* cd: req granted */
crypto/openssh/channels.c
1566
u_int8_t command;
crypto/openssh/channels.c
1615
s5_req.command != SSH_SOCKS5_CONNECT ||
crypto/openssh/channels.c
1672
c->self, c->path, c->host_port, s5_req.command);
crypto/openssh/channels.c
1675
s5_rsp.command = SSH_SOCKS5_SUCCESS;
crypto/openssh/misc.c
2735
subprocess(const char *tag, const char *command,
crypto/openssh/misc.c
2760
tag, command, pw->pw_name, flags);
crypto/openssh/misc.c
2875
command, strerror(errno));
crypto/openssh/monitor_wrap.c
959
mm_audit_run_command(const char *command)
crypto/openssh/monitor_wrap.c
964
debug3("%s entering command %s", __func__, command);
crypto/openssh/monitor_wrap.c
968
if ((r = sshbuf_put_cstring(m, command)) != 0)
crypto/openssh/mux.c
1924
(r = sshbuf_put_stringb(m, command)) != 0)
crypto/openssh/mux.c
77
extern struct sshbuf *command;
crypto/openssh/session.c
1504
do_child(struct ssh *ssh, Session *s, const char *command)
crypto/openssh/session.c
1532
if (!check_quietlogin(s, command))
crypto/openssh/session.c
1544
if (!check_quietlogin(s, command))
crypto/openssh/session.c
1647
args = xstrdup(command ? command : "sftp-server");
crypto/openssh/session.c
1673
if (!command) {
crypto/openssh/session.c
1701
argv[2] = (char *) command;
crypto/openssh/session.c
2037
char *command = NULL;
crypto/openssh/session.c
2039
if ((r = sshpkt_get_cstring(ssh, &command, NULL)) != 0 ||
crypto/openssh/session.c
2045
success = do_exec(ssh, s, command) == 0;
crypto/openssh/session.c
2046
free(command);
crypto/openssh/session.c
399
do_exec_no_pty(struct ssh *ssh, Session *s, const char *command)
crypto/openssh/session.c
516
do_child(ssh, s, command);
crypto/openssh/session.c
568
do_exec_pty(struct ssh *ssh, Session *s, const char *command)
crypto/openssh/session.c
634
do_login(ssh, s, command);
crypto/openssh/session.c
640
do_child(ssh, s, command);
crypto/openssh/session.c
668
do_exec(struct ssh *ssh, Session *s, const char *command)
crypto/openssh/session.c
675
original_command = command;
crypto/openssh/session.c
676
command = options.adm_forced_command;
crypto/openssh/session.c
679
original_command = command;
crypto/openssh/session.c
680
command = auth_opts->force_command;
crypto/openssh/session.c
686
if (IS_INTERNAL_SFTP(command)) {
crypto/openssh/session.c
692
"forced-command %s '%.900s'", forced, command);
crypto/openssh/session.c
696
} else if (command == NULL) {
crypto/openssh/session.c
719
if (command != NULL)
crypto/openssh/session.c
720
mm_audit_run_command(command);
crypto/openssh/session.c
730
ret = do_exec_pty(ssh, s, command);
crypto/openssh/session.c
732
ret = do_exec_no_pty(ssh, s, command);
crypto/openssh/session.c
748
do_login(struct ssh *ssh, Session *s, const char *command)
crypto/openssh/session.c
767
if (check_quietlogin(s, command))
crypto/openssh/session.c
804
check_quietlogin(Session *s, const char *command)
crypto/openssh/session.c
811
if (command != NULL)
crypto/openssh/ssh.c
1163
if ((command = sshbuf_new()) == NULL)
crypto/openssh/ssh.c
1181
if ((r = sshbuf_putf(command, "%s%s",
crypto/openssh/ssh.c
1365
} else if (sshbuf_len(command) != 0 ||
crypto/openssh/ssh.c
1379
if (sshbuf_len(command) != 0 && options.remote_command != NULL)
crypto/openssh/ssh.c
1383
if (options.fork_after_authentication && sshbuf_len(command) == 0 &&
crypto/openssh/ssh.c
1402
if (sshbuf_len(command) == 0 && options.remote_command == NULL)
crypto/openssh/ssh.c
1453
if ((r = sshbuf_put(command, options.remote_command,
crypto/openssh/ssh.c
168
struct sshbuf *command;
crypto/openssh/ssh.c
2159
NULL, fileno(stdin), command, environ);
crypto/openssh/sshconnect.c
878
char *command = NULL, *tag = NULL, **av = NULL;
crypto/openssh/sshconnect.c
924
command = argv_assemble(ac, av);
crypto/openssh/sshconnect.c
926
if ((pid = subprocess(tag, command, ac, av, &f,
crypto/openssh/sshconnect.c
933
if (exited_cleanly(pid, tag, command, 0) != 0)
crypto/openssh/sshconnect.c
944
free(command);
games/atc/extern.h
88
extern const char *command(const PLANE *);
games/atc/graphics.c
328
waddstr(planes, command(pp));
games/atc/graphics.c
336
waddstr(planes, command(pp));
games/hunt/hunt/otto.c
101
static char command[1024]; /* XXX */
games/hunt/hunt/otto.c
189
memcpy(buf, command, comlen);
games/hunt/hunt/otto.c
388
command[comlen++] = toupper(cmd);
games/hunt/hunt/otto.c
398
command[comlen++] = cmd;
games/hunt/hunt/otto.c
416
command[comlen++] = 'o';
games/hunt/hunt/otto.c
417
command[comlen++] = 'o';
games/hunt/hunt/otto.c
419
command[comlen++] = ' ';
games/hunt/hunt/otto.c
430
command[comlen++] = 'f';
games/hunt/hunt/otto.c
431
command[comlen++] = 'f';
games/hunt/hunt/otto.c
433
command[comlen++] = ' ';
games/hunt/hunt/otto.c
447
command[comlen++] = 'h';
games/hunt/hunt/otto.c
449
command[comlen++] = 'l';
games/hunt/hunt/otto.c
452
command[comlen++] = 'j';
games/hunt/hunt/otto.c
455
command[comlen++] = 'k';
games/hunt/hunt/otto.c
457
command[comlen++] = 'k';
games/hunt/hunt/otto.c
459
command[comlen++] = 'j';
games/hunt/hunt/otto.c
465
command[comlen++] = 'k';
games/hunt/hunt/otto.c
467
command[comlen++] = 'j';
games/hunt/hunt/otto.c
470
command[comlen++] = 'l';
games/hunt/hunt/otto.c
473
command[comlen++] = 'h';
games/hunt/hunt/otto.c
475
command[comlen++] = 'h';
games/hunt/hunt/otto.c
477
command[comlen++] = 'l';
games/hunt/huntd/terminal.c
177
sendcom(PLAYER *pp, int command, ...)
games/hunt/huntd/terminal.c
183
va_start(ap, command);
games/hunt/huntd/terminal.c
184
buf[len++] = command;
games/hunt/huntd/terminal.c
185
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/db/test/dbtest.c
172
command = COMPARE;
lib/libc/db/test/dbtest.c
188
command = GET;
lib/libc/db/test/dbtest.c
194
command = PUT;
lib/libc/db/test/dbtest.c
204
command = REMOVE;
lib/libc/db/test/dbtest.c
218
command = SEQ;
lib/libc/db/test/dbtest.c
235
ldata: switch (command) {
lib/libc/db/test/dbtest.c
271
lkey: switch (command) {
lib/libc/db/test/dbtest.c
80
enum S command, state;
lib/libc/gen/popen.c
102
argv[2] = command;
lib/libc/gen/popen.c
68
popen(const char *command, const char *type)
lib/libc/stdlib/system.c
48
__system(const char *command)
lib/libc/stdlib/system.c
55
if (!command) /* just checking... */
lib/libc/stdlib/system.c
80
execl(_PATH_BSHELL, "sh", "-c", command, NULL);
lib/libcuse/cuse_lib.c
488
enter.cmd = info.command;
lib/libcuse/cuse_lib.c
496
(int)info.command, cuse_cmd_str(info.command), (int)info.fflags,
lib/libcuse/cuse_lib.c
499
switch (info.command) {
lib/libcuse/cuse_lib.c
600
error, cuse_cmd_str(info.command));
lib/libdevattr/devattr.c
263
udevd_get_command_dict(char *command)
lib/libdevattr/devattr.c
272
if ((error = _udev_dict_set_cstr(dict, "command", command)))
lib/libdevattr/devattr.h
163
prop_dictionary_t udevd_get_command_dict(char *command);
sbin/camcontrol/camcontrol.c
4248
pass12->command = cmd;
sbin/devd/devd.cc
213
my_system(const char *command)
sbin/devd/devd.cc
220
if (!command) /* just checking... */
sbin/devd/devd.cc
251
::execl(_PATH_BSHELL, "sh", "-c", command, (char *)NULL);
sbin/fdisk/fdisk.c
1022
parse_config_line(char *line, CMD *command)
sbin/fdisk/fdisk.c
1029
memset(command, 0, sizeof(*command));
sbin/fdisk/fdisk.c
1036
command->cmd = *cp++;
sbin/fdisk/fdisk.c
1045
command->args[command->n_args].argtype = *cp++;
sbin/fdisk/fdisk.c
1050
command->args[command->n_args].arg_val =
sbin/fdisk/fdisk.c
1055
command->n_args++;
sbin/fdisk/fdisk.c
1062
process_geometry(CMD *command)
sbin/fdisk/fdisk.c
1075
if (command->n_args != 3) {
sbin/fdisk/fdisk.c
1085
switch (command->args[i].argtype) {
sbin/fdisk/fdisk.c
1087
dos_cyls = command->args[i].arg_val;
sbin/fdisk/fdisk.c
1090
dos_heads = command->args[i].arg_val;
sbin/fdisk/fdisk.c
1093
dos_sectors = command->args[i].arg_val;
sbin/fdisk/fdisk.c
1099
command->args[i].argtype,
sbin/fdisk/fdisk.c
1100
command->args[i].argtype);
sbin/fdisk/fdisk.c
1153
process_partition(CMD *command)
sbin/fdisk/fdisk.c
1162
if (command->n_args != 4) {
sbin/fdisk/fdisk.c
1168
part = command->args[0].arg_val;
sbin/fdisk/fdisk.c
1177
partp->dp_typ = command->args[1].arg_val;
sbin/fdisk/fdisk.c
1178
partp->dp_start = command->args[2].arg_val;
sbin/fdisk/fdisk.c
1179
partp->dp_size = command->args[3].arg_val;
sbin/fdisk/fdisk.c
1252
process_active(CMD *command)
sbin/fdisk/fdisk.c
1259
if (command->n_args != 1) {
sbin/fdisk/fdisk.c
1265
part = command->args[0].arg_val;
sbin/fdisk/fdisk.c
1289
CMD command;
sbin/fdisk/fdisk.c
1293
parse_config_line(line, &command);
sbin/fdisk/fdisk.c
1294
switch (command.cmd) {
sbin/fdisk/fdisk.c
1300
status = process_geometry(&command);
sbin/fdisk/fdisk.c
1303
status = process_partition(&command);
sbin/fdisk/fdisk.c
1306
status = process_active(&command);
sbin/init/init.c
950
construct_argv(char *command)
sbin/init/init.c
953
char **argv = malloc(((strlen(command) + 1) / 2 + 1)
sbin/init/init.c
956
if ((argv[argc++] = strk(command)) == NULL) {
sbin/natacontrol/natacontrol.c
409
request.u.ata.command = ATA_SETFEATURES;
sbin/restore/dirs.c
145
if (command != 'r' && command != 'R') {
sbin/restore/dirs.c
158
if (command != 'r' && command != 'R') {
sbin/restore/dirs.c
580
if (command == 'r' || command == 'R')
sbin/restore/dirs.c
600
if (command == 'i' || command == 'x') {
sbin/restore/interactive.c
758
if (command == 'i' && runshell)
sbin/restore/main.c
124
if (command != '\0')
sbin/restore/main.c
127
ch, command);
sbin/restore/main.c
128
command = ch;
sbin/restore/main.c
159
if (command == '\0')
sbin/restore/main.c
175
switch (command) {
sbin/restore/main.c
54
char command = '\0';
sbin/restore/restore.c
588
if (command == 'R') {
sbin/restore/restore.c
76
if (ino == UFS_WINO && command == 'i' && !vflag)
sbin/restore/restore.h
62
extern char command; /* opration being performed */
sbin/restore/symtab.c
557
switch (command) {
sbin/restore/symtab.c
583
panic("initsymtable called from command %c\n", command);
sbin/restore/tape.c
223
if (vflag || command == 't')
sbin/restore/tape.c
278
if (command == 'r')
sbin/restore/tape.c
317
if (command == 'R' || command == 'r' || curfile.action != SKIP)
sbin/udevd/test_udevd.c
29
prop_dictionary_t udevd_get_command_dict(char *command);
sbin/udevd/test_udevd.c
701
udevd_get_command_dict(char *command)
sbin/udevd/test_udevd.c
710
if ((error = _udev_dict_set_cstr(dict, "command", command)))
sbin/vinum/commands.c
1541
char command[MAXDRIVENAME * 2];
sbin/vinum/commands.c
1543
sprintf(command, "drive %s device %s", drivename, devicename); /* create a create command */
sbin/vinum/commands.c
1546
ioctl(superdev, VINUM_CREATE, command);
sbin/vinum/commands.c
1547
reply = (struct _ioctl_reply *) &command;
sbin/vinum/v.c
314
enum keyword command; /* command to execute */
sbin/vinum/v.c
329
command = get_keyword(argv[0], &keyword_set);
sbin/vinum/v.c
414
if (funkeys[j].kw == command) { /* found the command */
sys/bus/cam/scsi/scsi_all.h
547
u_int8_t command;
sys/bus/cam/scsi/scsi_all.h
568
u_int8_t command;
sys/bus/pci/pci.c
2285
uint16_t command;
sys/bus/pci/pci.c
2287
command = PCI_READ_CONFIG(dev, child, PCIR_COMMAND, 2);
sys/bus/pci/pci.c
2288
command |= bit;
sys/bus/pci/pci.c
2289
PCI_WRITE_CONFIG(dev, child, PCIR_COMMAND, command, 2);
sys/bus/pci/pci.c
2295
uint16_t command;
sys/bus/pci/pci.c
2297
command = PCI_READ_CONFIG(dev, child, PCIR_COMMAND, 2);
sys/bus/pci/pci.c
2298
command &= ~bit;
sys/bus/pci/pci.c
2299
PCI_WRITE_CONFIG(dev, child, PCIR_COMMAND, command, 2);
sys/bus/pci/pci.c
2319
uint16_t command;
sys/bus/pci/pci.c
2340
command = PCI_READ_CONFIG(dev, child, PCIR_COMMAND, 2);
sys/bus/pci/pci.c
2341
if (command & bit)
sys/bus/pci/pci.c
2350
uint16_t command;
sys/bus/pci/pci.c
2370
command = PCI_READ_CONFIG(dev, child, PCIR_COMMAND, 2);
sys/bus/pci/pci.c
2371
if (command & bit) {
sys/bus/pci/pci_pci.c
151
sc->command = pci_read_config(dev, PCIR_COMMAND, 1);
sys/bus/pci/pci_pci.c
162
if (sc->command & PCIM_CMD_PORTEN) {
sys/bus/pci/pci_pci.c
183
if (sc->command & PCIM_CMD_MEMEN) {
sys/bus/pci/pcib_private.h
51
uint16_t command; /* command register */
sys/bus/u4b/net/usb_ethernet.c
471
uether_ioctl(struct ifnet *ifp, u_long command, caddr_t data, struct ucred* uc)
sys/bus/u4b/net/usb_ethernet.c
478
switch (command) {
sys/bus/u4b/net/usb_ethernet.c
509
error = ifmedia_ioctl(ifp, ifr, &mii->mii_media, command);
sys/bus/u4b/net/usb_ethernet.c
511
error = ether_ioctl(ifp, command, data);
sys/bus/u4b/net/usb_ethernet.c
514
error = ether_ioctl(ifp, command, data);
sys/bus/u4b/usb_device.c
390
ep->endpoint_q[x].command = &usbd_pipe_start;
sys/bus/u4b/usb_transfer.c
3077
(pq->command) (pq);
sys/bus/u4b/usb_transfer.c
993
info->done_q.command = &usbd_callback_wrapper;
sys/bus/u4b/usb_transfer.c
996
info->dma_q.command = &usb_bdma_work_loop;
sys/bus/u4b/usbdi.h
126
void (*command) (struct usb_xfer_queue *pq);
sys/ddb/db_command.c
133
static struct command *db_last_command = NULL;
sys/ddb/db_command.c
163
static void db_cmd_list (struct command *table,
sys/ddb/db_command.c
164
struct command **aux_tablep,
sys/ddb/db_command.c
165
struct command **aux_tablep_end);
sys/ddb/db_command.c
166
static int db_cmd_search (char *name, struct command *table,
sys/ddb/db_command.c
167
struct command **aux_tablep,
sys/ddb/db_command.c
168
struct command **aux_tablep_end,
sys/ddb/db_command.c
169
struct command **cmdp);
sys/ddb/db_command.c
170
static void db_command (struct command **last_cmdp,
sys/ddb/db_command.c
171
struct command *cmd_table,
sys/ddb/db_command.c
172
struct command **aux_cmd_tablep,
sys/ddb/db_command.c
173
struct command **aux_cmd_tablep_end);
sys/ddb/db_command.c
182
db_cmd_search(char *name, struct command *table, struct command **aux_tablep,
sys/ddb/db_command.c
183
struct command **aux_tablep_end, struct command **cmdp)
sys/ddb/db_command.c
185
struct command *cmd;
sys/ddb/db_command.c
186
struct command **aux_cmdp;
sys/ddb/db_command.c
261
db_cmd_list(struct command *table, struct command **aux_tablep,
sys/ddb/db_command.c
262
struct command **aux_tablep_end)
sys/ddb/db_command.c
264
struct command *cmd;
sys/ddb/db_command.c
265
struct command **aux_cmdp;
sys/ddb/db_command.c
284
db_command(struct command **last_cmdp, struct command *cmd_table,
sys/ddb/db_command.c
285
struct command **aux_cmd_tablep, struct command **aux_cmd_tablep_end)
sys/ddb/db_command.c
287
struct command *cmd;
sys/ddb/db_command.c
435
struct command *cmd = db_command_table;
sys/ddb/db_command.c
67
SET_DECLARE(db_cmd_set, struct command);
sys/ddb/db_command.c
68
SET_DECLARE(db_show_cmd_set, struct command);
sys/ddb/db_command.c
78
static struct command db_show_all_cmds[] = {
sys/ddb/db_command.c
86
static struct command db_show_cmds[] = {
sys/ddb/db_command.c
99
static struct command db_command_table[] = {
sys/ddb/ddb.h
159
struct command *more; /* another level of command */
sys/ddb/ddb.h
64
static const struct command __CONCAT(func_name,_cmd) = { \
sys/dev/acpica/acpi_hp/acpi_hp.c
301
static int acpi_hp_exec_wmi_command(device_t wmi_dev, int command,
sys/dev/acpica/acpi_hp/acpi_hp.c
829
acpi_hp_exec_wmi_command(device_t wmi_dev, int command, int is_write, int val)
sys/dev/acpica/acpi_hp/acpi_hp.c
833
command,
sys/dev/agp/agp.c
307
u_int32_t command;
sys/dev/agp/agp.c
357
command = 0;
sys/dev/agp/agp.c
358
command = AGP_MODE_SET_RQ(0, rq);
sys/dev/agp/agp.c
359
command = AGP_MODE_SET_ARQSZ(command, arqsz);
sys/dev/agp/agp.c
360
command = AGP_MODE_SET_CAL(command, cal);
sys/dev/agp/agp.c
361
command = AGP_MODE_SET_SBA(command, sba);
sys/dev/agp/agp.c
362
command = AGP_MODE_SET_FW(command, fw);
sys/dev/agp/agp.c
363
command = AGP_MODE_SET_RATE(command, rate);
sys/dev/agp/agp.c
364
command = AGP_MODE_SET_MODE_3(command, 1);
sys/dev/agp/agp.c
365
command = AGP_MODE_SET_AGP(command, 1);
sys/dev/agp/agp.c
366
pci_write_config(dev, agp_find_caps(dev) + AGP_COMMAND, command, 4);
sys/dev/agp/agp.c
367
pci_write_config(mdev, agp_find_caps(mdev) + AGP_COMMAND, command, 4);
sys/dev/agp/agp.c
376
u_int32_t command;
sys/dev/agp/agp.c
413
command = 0;
sys/dev/agp/agp.c
414
command = AGP_MODE_SET_RQ(0, rq);
sys/dev/agp/agp.c
415
command = AGP_MODE_SET_SBA(command, sba);
sys/dev/agp/agp.c
416
command = AGP_MODE_SET_FW(command, fw);
sys/dev/agp/agp.c
417
command = AGP_MODE_SET_RATE(command, rate);
sys/dev/agp/agp.c
418
command = AGP_MODE_SET_AGP(command, 1);
sys/dev/agp/agp.c
419
pci_write_config(dev, agp_find_caps(dev) + AGP_COMMAND, command, 4);
sys/dev/agp/agp.c
420
pci_write_config(mdev, agp_find_caps(mdev) + AGP_COMMAND, command, 4);
sys/dev/apple/smc/smc_io.c
54
apple_smc_command(device_t dev, uint8_t command)
sys/dev/apple/smc/smc_io.c
60
ASMC_CMDPORT_WRITE(sc, command);
sys/dev/crypto/tpm/tpm.c
500
u_int8_t command[] = {
sys/dev/crypto/tpm/tpm.c
509
sc->sc_write(sc, &command, sizeof(command));
sys/dev/crypto/tpm/tpm.c
510
sc->sc_read(sc, &command, sizeof(command), NULL, TPM_HDRSIZE);
sys/dev/crypto/tpm/tpm20.c
325
tpm20_get_timeout(uint32_t command)
sys/dev/crypto/tpm/tpm20.c
329
switch (command) {
sys/dev/crypto/tpm/tpm20.h
134
int32_t tpm20_get_timeout(uint32_t command);
sys/dev/disk/advansys/adv_pci.c
134
u_int32_t command;
sys/dev/disk/advansys/adv_pci.c
143
command = pci_read_config(dev, PCIR_COMMAND, /*bytes*/1);
sys/dev/disk/advansys/adv_pci.c
150
if ((command & (PCIM_CMD_PORTEN|PCIM_CMD_BUSMASTEREN))
sys/dev/disk/advansys/adv_pci.c
152
command |= PCIM_CMD_PORTEN|PCIM_CMD_BUSMASTEREN;
sys/dev/disk/advansys/adv_pci.c
153
pci_write_config(dev, PCIR_COMMAND, command, /*bytes*/1);
sys/dev/disk/advansys/adw_pci.c
193
u_int32_t command;
sys/dev/disk/advansys/adw_pci.c
200
command = pci_read_config(dev, PCIR_COMMAND, /*bytes*/1);
sys/dev/disk/advansys/adw_pci.c
208
if ((command & PCIM_CMD_MEMEN) != 0) {
sys/dev/disk/advansys/adw_pci.c
215
if (regs == NULL && (command & PCIM_CMD_PORTEN) != 0) {
sys/dev/disk/advansys/adw_pci.c
248
command |= PCIM_CMD_BUSMASTEREN;
sys/dev/disk/advansys/adw_pci.c
249
pci_write_config(dev, PCIR_COMMAND, command, /*bytes*/1);
sys/dev/disk/advansys/adw_pci.c
286
if ((command & PCIM_CMD_PERRESPEN) == 0)
sys/dev/disk/ahci/ahci.c
2150
ccb->ccb_xa.fis->command, ccb->ccb_slot);
sys/dev/disk/ahci/ahci.c
2850
err_slot, ccb->ccb_xa.fis->command);
sys/dev/disk/ahci/ahci.c
3452
fis->command = ATA_C_READ_LOG_EXT;
sys/dev/disk/ahci/ahci.c
4061
xa->fis->command = ATA_C_SET_FEATURES;
sys/dev/disk/ahci/ahci.c
4094
xa->fis->command = ATA_C_READ_LOG_EXT;
sys/dev/disk/ahci/ahci_cam.c
1190
fis->command = ATA_C_FLUSH_CACHE;
sys/dev/disk/ahci/ahci_cam.c
1200
fis->command = ATA_C_DATA_SET_MANAGEMENT;
sys/dev/disk/ahci/ahci_cam.c
1275
fis->command = atp12->command;
sys/dev/disk/ahci/ahci_cam.c
1322
fis->command = atp16->command;
sys/dev/disk/ahci/ahci_cam.c
1397
fis->command = (xa->flags & ATA_F_WRITE) ?
sys/dev/disk/ahci/ahci_cam.c
1409
fis->command = (xa->flags & ATA_F_WRITE) ?
sys/dev/disk/ahci/ahci_cam.c
1422
fis->command = (xa->flags & ATA_F_WRITE) ?
sys/dev/disk/ahci/ahci_cam.c
1528
fis->command = ATA_C_PACKET;
sys/dev/disk/ahci/ahci_cam.c
1765
fis->command,
sys/dev/disk/ahci/ahci_cam.c
309
xa->fis->command = ATA_C_IDENTIFY;
sys/dev/disk/ahci/ahci_cam.c
313
xa->fis->command = ATA_C_ATAPI_IDENTIFY;
sys/dev/disk/ahci/ahci_cam.c
318
xa->fis->command = ATA_C_ATAPI_IDENTIFY;
sys/dev/disk/ahci/ahci_cam.c
541
xa->fis->command = ATA_C_SET_FEATURES;
sys/dev/disk/ahci/ahci_cam.c
564
xa->fis->command = ATA_C_SET_FEATURES;
sys/dev/disk/ahci/ahci_cam.c
591
xa->fis->command = ATA_C_SEC_FREEZE_LOCK;
sys/dev/disk/ahci/ahci_cam.c
695
xa->fis->command = ATA_C_SET_FEATURES;
sys/dev/disk/ahci/ahci_pm.c
1017
xa->fis->command = ATA_C_WRITE_PM;
sys/dev/disk/ahci/ahci_pm.c
980
xa->fis->command = ATA_C_READ_PM;
sys/dev/disk/ahci/atascsi.h
190
u_int8_t command;
sys/dev/disk/amd/amd.c
915
u_int command;
sys/dev/disk/amd/amd.c
947
command = SEL_W_ATN_STOP;
sys/dev/disk/amd/amd.c
951
command = SEL_W_ATN2;
sys/dev/disk/amd/amd.c
956
command = SEL_W_ATN;
sys/dev/disk/amd/amd.c
959
if (command != SEL_W_ATN_STOP)
sys/dev/disk/amd/amd.c
967
amd_write8(amd, SCSICMDREG, command);
sys/dev/disk/buslogic/bt_pci.c
53
int command, type = 0, rid, zero;
sys/dev/disk/buslogic/bt_pci.c
57
command = pci_read_config(dev, PCIR_COMMAND, /*bytes*/1);
sys/dev/disk/buslogic/bt_pci.c
60
if (command & PCIM_CMD_MEMEN) {
sys/dev/disk/buslogic/bt_pci.c
66
if (!regs && (command & PCIM_CMD_PORTEN)) {
sys/dev/disk/dm/device-mapper.c
289
prop_string_t command;
sys/dev/disk/dm/device-mapper.c
294
if ((command = prop_dictionary_get(dm_dict, DM_IOCTL_COMMAND)) == NULL)
sys/dev/disk/dm/device-mapper.c
299
if (prop_string_equals_cstring(command, p->cmd))
sys/dev/disk/nata/ata-all.c
483
request->u.ata.command = ioc_request->u.ata.command;
sys/dev/disk/nata/ata-all.c
504
ioc_request->u.ata.command = request->u.ata.command;
sys/dev/disk/nata/ata-all.c
594
u_int8_t command = 0;
sys/dev/disk/nata/ata-all.c
598
command = ATA_ATA_IDENTIFY;
sys/dev/disk/nata/ata-all.c
600
command = ATA_ATAPI_IDENTIFY;
sys/dev/disk/nata/ata-all.c
601
if (!command)
sys/dev/disk/nata/ata-all.c
610
request->u.ata.command = command;
sys/dev/disk/nata/ata-all.c
751
switch (request->u.ata.command) {
sys/dev/disk/nata/ata-all.c
753
request->u.ata.command = ATA_READ48;
sys/dev/disk/nata/ata-all.c
756
request->u.ata.command = ATA_READ_MUL48;
sys/dev/disk/nata/ata-all.c
761
request->u.ata.command = ATA_READ_MUL48;
sys/dev/disk/nata/ata-all.c
763
request->u.ata.command = ATA_READ48;
sys/dev/disk/nata/ata-all.c
767
request->u.ata.command = ATA_READ_DMA48;
sys/dev/disk/nata/ata-all.c
772
request->u.ata.command = ATA_READ_MUL48;
sys/dev/disk/nata/ata-all.c
774
request->u.ata.command = ATA_READ48;
sys/dev/disk/nata/ata-all.c
778
request->u.ata.command = ATA_READ_DMA_QUEUED48;
sys/dev/disk/nata/ata-all.c
781
request->u.ata.command = ATA_WRITE48;
sys/dev/disk/nata/ata-all.c
784
request->u.ata.command = ATA_WRITE_MUL48;
sys/dev/disk/nata/ata-all.c
789
request->u.ata.command = ATA_WRITE_MUL48;
sys/dev/disk/nata/ata-all.c
791
request->u.ata.command = ATA_WRITE48;
sys/dev/disk/nata/ata-all.c
795
request->u.ata.command = ATA_WRITE_DMA48;
sys/dev/disk/nata/ata-all.c
800
request->u.ata.command = ATA_WRITE_MUL48;
sys/dev/disk/nata/ata-all.c
802
request->u.ata.command = ATA_WRITE48;
sys/dev/disk/nata/ata-all.c
803
request->u.ata.command = ATA_WRITE48;
sys/dev/disk/nata/ata-all.c
807
request->u.ata.command = ATA_WRITE_DMA_QUEUED48;
sys/dev/disk/nata/ata-all.c
810
request->u.ata.command = ATA_FLUSHCACHE48;
sys/dev/disk/nata/ata-all.c
813
request->u.ata.command = ATA_READ_NATIVE_MAX_ADDRESS48;
sys/dev/disk/nata/ata-all.c
816
request->u.ata.command = ATA_SET_MAX_ADDRESS48;
sys/dev/disk/nata/ata-all.h
345
u_int8_t command; /* command reg */
sys/dev/disk/nata/ata-all.h
489
int (*command)(struct ata_request *request);
sys/dev/disk/nata/ata-all.h
572
int ata_controlcmd(device_t dev, u_int8_t command, u_int16_t feature, u_int64_t lba, u_int16_t count);
sys/dev/disk/nata/ata-disk.c
256
request->u.ata.command = ATA_STANDBY_IMMEDIATE;
sys/dev/disk/nata/ata-disk.c
323
request->u.ata.command = ATA_READ_DMA;
sys/dev/disk/nata/ata-disk.c
327
request->u.ata.command = ATA_READ_MUL;
sys/dev/disk/nata/ata-disk.c
329
request->u.ata.command = ATA_READ;
sys/dev/disk/nata/ata-disk.c
334
request->u.ata.command = ATA_WRITE_DMA;
sys/dev/disk/nata/ata-disk.c
338
request->u.ata.command = ATA_WRITE_MUL;
sys/dev/disk/nata/ata-disk.c
340
request->u.ata.command = ATA_WRITE;
sys/dev/disk/nata/ata-disk.c
349
request->u.ata.command = ATA_FLUSHCACHE;
sys/dev/disk/nata/ata-disk.c
415
request.u.ata.command = ATA_WRITE_DMA;
sys/dev/disk/nata/ata-disk.c
418
request.u.ata.command = ATA_WRITE_MUL;
sys/dev/disk/nata/ata-disk.c
420
request.u.ata.command = ATA_WRITE;
sys/dev/disk/nata/ata-lowlevel.c
101
if (request->u.ata.command == ATA_DEVICE_RESET) {
sys/dev/disk/nata/ata-lowlevel.c
137
if (ch->hw.command(request)) {
sys/dev/disk/nata/ata-lowlevel.c
164
if (ch->hw.command(request)) {
sys/dev/disk/nata/ata-lowlevel.c
192
if (ch->hw.command(request)) {
sys/dev/disk/nata/ata-lowlevel.c
260
if (request->u.ata.command != ATA_ATAPI_IDENTIFY)
sys/dev/disk/nata/ata-lowlevel.c
60
ch->hw.command = ata_generic_command;
sys/dev/disk/nata/ata-lowlevel.c
714
ATA_IDX_OUTB(ch, ATA_COMMAND, request->u.ata.command);
sys/dev/disk/nata/ata-lowlevel.c
93
if (ch->hw.command(request)) {
sys/dev/disk/nata/ata-queue.c
158
ata_controlcmd(device_t dev, u_int8_t command, u_int16_t feature,
sys/dev/disk/nata/ata-queue.c
167
request->u.ata.command = command;
sys/dev/disk/nata/ata-queue.c
757
switch (request->u.ata.command) {
sys/dev/disk/nata/ata-queue.c
801
ksprintf(buffer, "unknown CMD (0x%02x)", request->u.ata.command);
sys/dev/disk/nata/ata-raid.c
291
request->u.ata.command = ATA_FLUSHCACHE;
sys/dev/disk/nata/ata-raid.c
4059
request->u.ata.command = ATA_READ_DMA;
sys/dev/disk/nata/ata-raid.c
4062
request->u.ata.command = ATA_READ_MUL;
sys/dev/disk/nata/ata-raid.c
4064
request->u.ata.command = ATA_READ;
sys/dev/disk/nata/ata-raid.c
4069
request->u.ata.command = ATA_WRITE_DMA;
sys/dev/disk/nata/ata-raid.c
4072
request->u.ata.command = ATA_WRITE_MUL;
sys/dev/disk/nata/ata-raid.c
4074
request->u.ata.command = ATA_WRITE;
sys/dev/disk/nata/ata-raid.c
4116
request->u.ata.command = ATA_READ_DMA;
sys/dev/disk/nata/ata-raid.c
4120
request->u.ata.command = ATA_READ;
sys/dev/disk/nata/ata-raid.c
4125
request->u.ata.command = ATA_WRITE_DMA;
sys/dev/disk/nata/ata-raid.c
4129
request->u.ata.command = ATA_WRITE;
sys/dev/disk/nata/ata-sata.c
230
fis[2] = request->u.ata.command;
sys/dev/disk/nata/chipsets/ata-ahci.c
178
ch->hw.command = NULL; /* not used here */
sys/dev/disk/nata/chipsets/ata-ahci.c
310
if (request->u.ata.command == ATA_DEVICE_RESET) {
sys/dev/disk/nata/chipsets/ata-marvell.c
329
if (request->u.ata.command != ATA_READ_DMA &&
sys/dev/disk/nata/chipsets/ata-marvell.c
330
request->u.ata.command != ATA_WRITE_DMA &&
sys/dev/disk/nata/chipsets/ata-marvell.c
331
request->u.ata.command != ATA_READ_DMA48 &&
sys/dev/disk/nata/chipsets/ata-marvell.c
332
request->u.ata.command != ATA_WRITE_DMA48) {
sys/dev/disk/nata/chipsets/ata-marvell.c
391
bytep[i++] = request->u.ata.command;
sys/dev/disk/nata/chipsets/ata-marvell.c
400
bytep[i++] = request->u.ata.command;
sys/dev/disk/nata/chipsets/ata-promise.c
1112
bytep[i++] = request->u.ata.command;
sys/dev/disk/nata/chipsets/ata-promise.c
550
ch->hw.command = ata_promise_sx4_command;
sys/dev/disk/nata/chipsets/ata-promise.c
553
ch->hw.command = ata_promise_mio_command;
sys/dev/disk/nata/chipsets/ata-promise.c
679
switch (request->u.ata.command) {
sys/dev/disk/nata/chipsets/ata-promise.c
971
switch (request->u.ata.command) {
sys/dev/disk/nata/chipsets/ata-siliconimage.c
462
ch->hw.command = NULL; /* not used here */
sys/dev/disk/nata/chipsets/ata-siliconimage.c
502
if (request->u.ata.command == ATA_DEVICE_RESET) {
sys/dev/disk/ncr/ncr.c
1188
ncrcmd command [ 15];
sys/dev/disk/ncr/ncr.c
1697
PADDR (command),
sys/dev/disk/ncr/ncr.c
1789
NADDR (header.stamp.command),
sys/dev/disk/ncr/ncr.c
3615
u_short command = pci_read_config(dev, PCIR_COMMAND, 2);
sys/dev/disk/ncr/ncr.c
3624
if (!(command & (1<<4))) {
sys/dev/disk/ncr/ncr.c
3625
command |= (1<<4);
sys/dev/disk/ncr/ncr.c
3628
pci_write_config(dev, PCIR_COMMAND, command, 2);
sys/dev/disk/ncr/ncr.c
482
ticks_t command;
sys/dev/disk/ncr/ncr.c
6868
co = ncr_delta (&PROFILE.start,&PROFILE.command);
sys/dev/disk/sili/atascsi.h
169
u_int8_t command;
sys/dev/disk/sili/sili.c
2091
fis->command = ATA_C_READ_LOG_EXT;
sys/dev/disk/sili/sili_cam.c
1123
fis->command = ATA_C_FLUSH_CACHE;
sys/dev/disk/sili/sili_cam.c
1174
fis->command = atp12->command;
sys/dev/disk/sili/sili_cam.c
1221
fis->command = atp16->command;
sys/dev/disk/sili/sili_cam.c
1298
fis->command = (xa->flags & ATA_F_WRITE) ?
sys/dev/disk/sili/sili_cam.c
1310
fis->command = (xa->flags & ATA_F_WRITE) ?
sys/dev/disk/sili/sili_cam.c
1323
fis->command = (xa->flags & ATA_F_WRITE) ?
sys/dev/disk/sili/sili_cam.c
1424
fis->command = ATA_C_PACKET;
sys/dev/disk/sili/sili_cam.c
298
xa->fis->command = ATA_C_IDENTIFY;
sys/dev/disk/sili/sili_cam.c
302
xa->fis->command = ATA_C_ATAPI_IDENTIFY;
sys/dev/disk/sili/sili_cam.c
307
xa->fis->command = ATA_C_ATAPI_IDENTIFY;
sys/dev/disk/sili/sili_cam.c
535
xa->fis->command = ATA_C_SET_FEATURES;
sys/dev/disk/sili/sili_cam.c
558
xa->fis->command = ATA_C_SET_FEATURES;
sys/dev/disk/sili/sili_cam.c
585
xa->fis->command = ATA_C_SEC_FREEZE_LOCK;
sys/dev/disk/sili/sili_cam.c
654
xa->fis->command = ATA_C_SET_FEATURES;
sys/dev/disk/sili/sili_pm.c
553
xa->fis->command = enable ? ATA_C_SATA_FEATURE_ENA :
sys/dev/disk/sili/sili_pm.c
647
xa->fis->command = ATA_C_READ_PM;
sys/dev/disk/sili/sili_pm.c
684
xa->fis->command = ATA_C_WRITE_PM;
sys/dev/disk/sym/sym_fw1.h
415
PADDR_A (command),
sys/dev/disk/sym/sym_fw1.h
90
u32 command [ 2];
sys/dev/disk/sym/sym_fw2.h
384
PADDR_A (command),
sys/dev/disk/sym/sym_fw2.h
88
u32 command [ 2];
sys/dev/disk/sym/sym_hipd.c
8506
u_short command;
sys/dev/disk/sym/sym_hipd.c
8594
command = pci_read_config(dev, PCIR_COMMAND, 2);
sys/dev/disk/sym/sym_hipd.c
8595
command |= PCIM_CMD_BUSMASTEREN;
sys/dev/disk/sym/sym_hipd.c
8596
command |= PCIM_CMD_PERRESPEN;
sys/dev/disk/sym/sym_hipd.c
8597
command |= /* PCIM_CMD_MWIEN */ 0x0010;
sys/dev/disk/sym/sym_hipd.c
8598
pci_write_config(dev, PCIR_COMMAND, command, 2);
sys/dev/disk/sym/sym_hipd.c
8613
if ((command & PCIM_CMD_MEMEN) != 0) {
sys/dev/disk/sym/sym_hipd.c
8640
if ((command & PCI_COMMAND_IO_ENABLE) != 0) {
sys/dev/disk/sym/sym_hipd.c
8657
(command & PCIM_CMD_MEMEN) != 0) {
sys/dev/disk/trm/trm.c
1199
u_int8_t scsicommand, i,command,identify_message;
sys/dev/disk/trm/trm.c
1266
command = *ptr++;
sys/dev/disk/trm/trm.c
1267
trm_reg_write8(command,TRMREG_SCSI_FIFO);
sys/dev/disk/vpo/immio.c
667
imm_do_scsi(struct vpoio_data *vpo, int host, int target, char *command,
sys/dev/disk/vpo/immio.c
707
if (imm_outstr(vpo, &command[k], 2)) {
sys/dev/disk/vpo/vpoio.c
680
vpoio_do_scsi(struct vpoio_data *vpo, int host, int target, char *command,
sys/dev/disk/vpo/vpoio.c
720
if (vpoio_outstr(vpo, &command[k], 1)) {
sys/dev/disk/vpo/vpoio.h
87
int vpoio_do_scsi(struct vpoio_data *vpo, int host, int target, char *command,
sys/dev/disk/vpo/vpoio.h
96
int imm_do_scsi(struct vpoio_data *vpo, int host, int target, char *command,
sys/dev/drm/amd/display/dc/bios/command_table.c
37
#define EXEC_BIOS_CMD_TABLE(command, params)\
sys/dev/drm/amd/display/dc/bios/command_table.c
39
GetIndexIntoMasterTable(COMMAND, command), \
sys/dev/drm/amd/display/dc/bios/command_table.c
42
#define BIOS_CMD_TABLE_REVISION(command, frev, crev)\
sys/dev/drm/amd/display/dc/bios/command_table.c
44
GetIndexIntoMasterTable(COMMAND, command), &frev, &crev)
sys/dev/drm/amd/display/dc/bios/command_table.c
46
#define BIOS_CMD_TABLE_PARA_REVISION(command)\
sys/dev/drm/amd/display/dc/bios/command_table.c
48
GetIndexIntoMasterTable(COMMAND, command))
sys/dev/drm/amd/display/dc/bios/command_table2.c
51
GET_INDEX_INTO_MASTER_TABLE(command, fname), \
sys/dev/drm/amd/display/dc/bios/command_table2.c
56
GET_INDEX_INTO_MASTER_TABLE(command, fname), &frev, &crev)
sys/dev/drm/amd/display/dc/bios/command_table2.c
60
GET_INDEX_INTO_MASTER_TABLE(command, fname))
sys/dev/drm/amd/display/dc/bios/command_table2.c
790
smu_input.command = GET_SMU_CLOCK_INFO_V3_1_GET_PLLVCO_FREQ;
sys/dev/drm/amd/display/dc/core/dc_link_ddc.c
417
struct i2c_command command = {
sys/dev/drm/amd/display/dc/core/dc_link_ddc.c
426
&command);
sys/dev/drm/amd/display/dc/core/dc_link_ddc.c
583
struct aux_command command = {
sys/dev/drm/amd/display/dc/core/dc_link_ddc.c
595
command.number_of_payloads =
sys/dev/drm/amd/display/dc/core/dc_link_ddc.c
601
&command);
sys/dev/drm/amd/display/dc/core/dc_link_ddc.c
609
struct i2c_command command = {
sys/dev/drm/amd/display/dc/core/dc_link_ddc.c
621
command.number_of_payloads =
sys/dev/drm/amd/display/dc/core/dc_link_ddc.c
627
&command);
sys/dev/drm/amd/display/dc/dce/dce_aux.c
148
#define COMPOSE_AUX_SW_DATA_16_20(command, address) \
sys/dev/drm/amd/display/dc/dce/dce_aux.c
149
((command) | ((0xF0000 & (address)) >> 16))
sys/dev/drm/amd/display/dc/i2caux/dce110/aux_engine_dce110.c
179
#define COMPOSE_AUX_SW_DATA_16_20(command, address) \
sys/dev/drm/amd/display/dc/i2caux/dce110/aux_engine_dce110.c
180
((command) | ((0xF0000 & (address)) >> 16))
sys/dev/drm/amd/include/atomfirmware.h
2097
uint8_t command; /* Indicate action: Set voltage level, enum atom_set_voltage_command */
sys/dev/drm/amd/include/atomfirmware.h
2182
uint8_t command; // enum of atom_get_smu_clock_info_command
sys/dev/drm/amd/include/atomfirmware.h
2283
uint32_t command:8; //command enum of atom_dynamic_memory_setting_command
sys/dev/drm/amd/include/atomfirmware.h
2291
uint32_t command:8; //command enum of atom_dynamic_memory_setting_command
sys/dev/drm/amd/powerplay/hwmgr/ppatomfwctrl.c
501
parameters.command = GET_SMU_CLOCK_INFO_V3_1_GET_CLOCK_FREQ;
sys/dev/drm/amd/powerplay/smumgr/smu8_smumgr.c
361
pIHReg_restore->command =
sys/dev/drm/amd/powerplay/smumgr/smu8_smumgr.h
75
uint32_t command;
sys/dev/drm/radeon/evergreen_cs.c
2112
u32 command, size, info;
sys/dev/drm/radeon/evergreen_cs.c
2118
command = radeon_get_ib_value(p, idx+4);
sys/dev/drm/radeon/evergreen_cs.c
2119
size = command & 0x1fffff;
sys/dev/drm/radeon/evergreen_cs.c
2124
(command & PACKET3_CP_DMA_CMD_DAS)) || /* dst = register */
sys/dev/drm/radeon/evergreen_cs.c
2126
(command & PACKET3_CP_DMA_CMD_SAS))) { /* src = register */
sys/dev/drm/radeon/evergreen_cs.c
2133
if (command & PACKET3_CP_DMA_CMD_SAS) {
sys/dev/drm/radeon/evergreen_cs.c
2141
if (command & PACKET3_CP_DMA_CMD_SAIC) {
sys/dev/drm/radeon/evergreen_cs.c
2171
if (command & PACKET3_CP_DMA_CMD_DAS) {
sys/dev/drm/radeon/evergreen_cs.c
2180
if (command & PACKET3_CP_DMA_CMD_DAIC) {
sys/dev/drm/radeon/evergreen_cs.c
3352
u32 command, info;
sys/dev/drm/radeon/evergreen_cs.c
3435
command = ib[idx + 4];
sys/dev/drm/radeon/evergreen_cs.c
3440
(command & PACKET3_CP_DMA_CMD_DAS)) || /* dst = register */
sys/dev/drm/radeon/evergreen_cs.c
3442
(command & PACKET3_CP_DMA_CMD_SAS))) { /* src = register */
sys/dev/drm/radeon/evergreen_cs.c
3444
if ((command & 0x1fffff) % 4) {
sys/dev/drm/radeon/evergreen_cs.c
3449
if (command & PACKET3_CP_DMA_CMD_SAS) {
sys/dev/drm/radeon/evergreen_cs.c
3453
if (command & PACKET3_CP_DMA_CMD_SAIC) {
sys/dev/drm/radeon/evergreen_cs.c
3460
for (i = 0; i < (command & 0x1fffff); i++) {
sys/dev/drm/radeon/evergreen_cs.c
3470
if (command & PACKET3_CP_DMA_CMD_DAS) {
sys/dev/drm/radeon/evergreen_cs.c
3474
if (command & PACKET3_CP_DMA_CMD_DAIC) {
sys/dev/drm/radeon/evergreen_cs.c
3481
for (i = 0; i < (command & 0x1fffff); i++) {
sys/dev/drm/radeon/r600_cs.c
1779
u32 command, size;
sys/dev/drm/radeon/r600_cs.c
1785
command = radeon_get_ib_value(p, idx+4);
sys/dev/drm/radeon/r600_cs.c
1786
size = command & 0x1fffff;
sys/dev/drm/radeon/r600_cs.c
1787
if (command & PACKET3_CP_DMA_CMD_SAS) {
sys/dev/drm/radeon/r600_cs.c
1792
if (command & PACKET3_CP_DMA_CMD_SAIC) {
sys/dev/drm/radeon/r600_cs.c
1817
if (command & PACKET3_CP_DMA_CMD_DAS) {
sys/dev/drm/radeon/r600_cs.c
1823
if (command & PACKET3_CP_DMA_CMD_DAIC) {
sys/dev/drm/radeon/si.c
4468
u32 command = ib[idx + 4];
sys/dev/drm/radeon/si.c
4471
if (command & PACKET3_CP_DMA_CMD_SAS) {
sys/dev/drm/radeon/si.c
4475
if (command & PACKET3_CP_DMA_CMD_SAIC) {
sys/dev/drm/radeon/si.c
4482
for (i = 0; i < (command & 0x1fffff); i++) {
sys/dev/drm/radeon/si.c
4492
if (command & PACKET3_CP_DMA_CMD_DAS) {
sys/dev/drm/radeon/si.c
4496
if (command & PACKET3_CP_DMA_CMD_DAIC) {
sys/dev/drm/radeon/si.c
4503
for (i = 0; i < (command & 0x1fffff); i++) {
sys/dev/misc/cuse/cuse.c
1163
pccmd->command = CUSE_CMD_SYNC;
sys/dev/misc/cuse/cuse.c
118
int command;
sys/dev/misc/cuse/cuse.c
1549
pccmd->sub.command = n;
sys/dev/misc/cuse/cuse.c
622
while (pccmd->command == CUSE_CMD_NONE) {
sys/dev/misc/cuse/cuse.c
638
pccmd->command = CUSE_CMD_NONE;
sys/dev/misc/cuse/cuse_ioctl.h
61
unsigned long command; /* see CUSE_CMD_XXX */
sys/dev/misc/ipmi/ipmi.c
254
u_char command, u_char seq, u_char *data, int data_len)
sys/dev/misc/ipmi/ipmi.c
269
req->ir_request[6] = command;
sys/dev/misc/ipmi/ipmi.c
530
uint8_t command, size_t requestlen, size_t replylen)
sys/dev/misc/ipmi/ipmi.c
539
req->ir_command = command;
sys/dev/misc/kbd/atkbd.c
1597
write_kbd(KBDC kbdc, int command, int data)
sys/dev/misc/kbd/atkbd.c
1633
if (send_kbd_command_and_data(kbdc, command, data) != KBD_ACK)
sys/dev/misc/kbd/atkbd.c
272
static int write_kbd(KBDC kbdc, int command, int data);
sys/dev/misc/kbd/atkbdc.c
1180
set_controller_command_byte(KBDC p, int mask, int command)
sys/dev/misc/kbd/atkbdc.c
1185
command = (p->command_byte & ~mask) | (command & mask);
sys/dev/misc/kbd/atkbdc.c
1186
if (command & KBD_DISABLE_KBD_PORT) {
sys/dev/misc/kbd/atkbdc.c
1192
if (!write_controller_data(p, command))
sys/dev/misc/kbd/atkbdc.c
1194
p->command_byte = command;
sys/dev/misc/kbd/atkbdc.c
1199
command);
sys/dev/misc/kbd/atkbdc.c
1212
int command, version;
sys/dev/misc/kbd/atkbdc.c
1224
command = enabled ? 0xa4 : 0xa5;
sys/dev/misc/kbd/atkbdc.c
1226
write_controller_data(p, command) == 0 ||
sys/dev/misc/kbd/atkbdc.c
1227
(version = read_controller_data(p)) == command)
sys/dev/misc/kbd/atkbdcreg.h
308
int set_controller_command_byte(KBDC kbdc, int mask, int command);
sys/dev/misc/pcfclock/pcfclock.c
179
pcfclock_write_cmd(cdev_t dev, unsigned char command)
sys/dev/misc/pcfclock/pcfclock.c
192
ppb_wdtr(ppbus, command);
sys/dev/misc/psm/psm.c
5338
mouse_ext_command(KBDC kbdc, int command)
sys/dev/misc/psm/psm.c
5343
c = (command >> 6) & 0x03;
sys/dev/misc/psm/psm.c
5346
c = (command >> 4) & 0x03;
sys/dev/misc/psm/psm.c
5349
c = (command >> 2) & 0x03;
sys/dev/misc/psm/psm.c
5352
c = (command >> 0) & 0x03;
sys/dev/netif/bce/if_bce.c
5037
bce_ioctl(struct ifnet *ifp, u_long command, caddr_t data, struct ucred *cr)
sys/dev/netif/bce/if_bce.c
5046
switch(command) {
sys/dev/netif/bce/if_bce.c
5097
error = ifmedia_ioctl(ifp, ifr, &mii->mii_media, command);
sys/dev/netif/bce/if_bce.c
5121
error = ether_ioctl(ifp, command, data);
sys/dev/netif/bfe/if_bfe.c
1433
bfe_ioctl(struct ifnet *ifp, u_long command, caddr_t data, struct ucred *cr)
sys/dev/netif/bfe/if_bfe.c
1442
switch (command) {
sys/dev/netif/bfe/if_bfe.c
1461
command);
sys/dev/netif/bfe/if_bfe.c
1464
error = ether_ioctl(ifp, command, data);
sys/dev/netif/bge/if_bge.c
2755
uint32_t cachesize, command, reset, mac_mode, mac_mode_mask;
sys/dev/netif/bge/if_bge.c
2795
command = pci_read_config(dev, BGE_PCI_CMD, 4);
sys/dev/netif/bge/if_bge.c
2913
pci_write_config(dev, BGE_PCI_CMD, command, 4);
sys/dev/netif/bge/if_bge.c
4008
bge_ioctl(struct ifnet *ifp, u_long command, caddr_t data, struct ucred *cr)
sys/dev/netif/bge/if_bge.c
4016
switch (command) {
sys/dev/netif/bge/if_bge.c
4063
&sc->bge_ifmedia, command);
sys/dev/netif/bge/if_bge.c
4069
&mii->mii_media, command);
sys/dev/netif/bge/if_bge.c
4090
error = ether_ioctl(ifp, command, data);
sys/dev/netif/bnx/if_bnx.c
2573
uint32_t cachesize, command, reset, mac_mode, mac_mode_mask;
sys/dev/netif/bnx/if_bnx.c
2599
command = pci_read_config(dev, BGE_PCI_CMD, 4);
sys/dev/netif/bnx/if_bnx.c
2702
pci_write_config(dev, BGE_PCI_CMD, command, 4);
sys/dev/netif/bnx/if_bnx.c
3840
bnx_ioctl(struct ifnet *ifp, u_long command, caddr_t data, struct ucred *cr)
sys/dev/netif/bnx/if_bnx.c
3848
switch (command) {
sys/dev/netif/bnx/if_bnx.c
3895
&sc->bnx_ifmedia, command);
sys/dev/netif/bnx/if_bnx.c
3901
&mii->mii_media, command);
sys/dev/netif/bnx/if_bnx.c
3924
error = ether_ioctl(ifp, command, data);
sys/dev/netif/dc/if_dc.c
1839
u_int32_t command;
sys/dev/netif/dc/if_dc.c
1909
command = pci_read_config(dev, DC_PCI_CFLT, 4);
sys/dev/netif/dc/if_dc.c
1910
command &= 0xFFFF00FF;
sys/dev/netif/dc/if_dc.c
1911
command |= 0x00008000;
sys/dev/netif/dc/if_dc.c
1912
pci_write_config(dev, DC_PCI_CFLT, command, 4);
sys/dev/netif/dc/if_dc.c
2021
command = pci_read_config(dev, DC_PCI_CFDD, 4);
sys/dev/netif/dc/if_dc.c
2022
command &= ~(DC_CFDD_SNOOZE_MODE|DC_CFDD_SLEEP_MODE);
sys/dev/netif/dc/if_dc.c
2023
pci_write_config(dev, DC_PCI_CFDD, command, 4);
sys/dev/netif/dc/if_dc.c
3415
dc_ioctl(struct ifnet *ifp, u_long command, caddr_t data, struct ucred *cr)
sys/dev/netif/dc/if_dc.c
3422
switch(command) {
sys/dev/netif/dc/if_dc.c
3448
error = ifmedia_ioctl(ifp, ifr, &mii->mii_media, command);
sys/dev/netif/dc/if_dc.c
3451
error = ether_ioctl(ifp, command, data);
sys/dev/netif/em/if_em.c
1214
em_ioctl(struct ifnet *ifp, u_long command, caddr_t data, struct ucred *cr)
sys/dev/netif/em/if_em.c
1224
switch (command) {
sys/dev/netif/em/if_em.c
1325
error = ifmedia_ioctl(ifp, ifr, &adapter->media, command);
sys/dev/netif/em/if_em.c
1358
error = ether_ioctl(ifp, command, data);
sys/dev/netif/emx/if_emx.c
1160
emx_ioctl(struct ifnet *ifp, u_long command, caddr_t data, struct ucred *cr)
sys/dev/netif/emx/if_emx.c
1170
switch (command) {
sys/dev/netif/emx/if_emx.c
1254
error = ifmedia_ioctl(ifp, ifr, &sc->media, command);
sys/dev/netif/emx/if_emx.c
1289
error = ether_ioctl(ifp, command, data);
sys/dev/netif/fxp/if_fxp.c
2051
fxp_ioctl(struct ifnet *ifp, u_long command, caddr_t data, struct ucred *cr)
sys/dev/netif/fxp/if_fxp.c
2060
switch (command) {
sys/dev/netif/fxp/if_fxp.c
210
static int fxp_ioctl(struct ifnet *ifp, u_long command,
sys/dev/netif/fxp/if_fxp.c
2108
&mii->mii_media, command);
sys/dev/netif/fxp/if_fxp.c
2110
error = ifmedia_ioctl(ifp, ifr, &sc->sc_media, command);
sys/dev/netif/fxp/if_fxp.c
2115
error = ether_ioctl(ifp, command, data);
sys/dev/netif/igb/if_igb.c
850
igb_ioctl(struct ifnet *ifp, u_long command, caddr_t data, struct ucred *cr)
sys/dev/netif/igb/if_igb.c
859
switch (command) {
sys/dev/netif/igb/if_igb.c
915
error = ifmedia_ioctl(ifp, ifr, &sc->media, command);
sys/dev/netif/igb/if_igb.c
950
error = ether_ioctl(ifp, command, data);
sys/dev/netif/ix/if_ix.c
815
ix_ioctl(struct ifnet *ifp, u_long command, caddr_t data, struct ucred *cr)
sys/dev/netif/ix/if_ix.c
823
switch (command) {
sys/dev/netif/ix/if_ix.c
863
error = ifmedia_ioctl(ifp, ifr, &sc->media, command);
sys/dev/netif/ix/if_ix.c
916
error = ether_ioctl(ifp, command, data);
sys/dev/netif/ix/ixgbe_phy.c
586
u32 i, data, command;
sys/dev/netif/ix/ixgbe_phy.c
589
command = ((reg_addr << IXGBE_MSCA_NP_ADDR_SHIFT) |
sys/dev/netif/ix/ixgbe_phy.c
594
IXGBE_WRITE_REG(hw, IXGBE_MSCA, command);
sys/dev/netif/ix/ixgbe_phy.c
604
command = IXGBE_READ_REG(hw, IXGBE_MSCA);
sys/dev/netif/ix/ixgbe_phy.c
605
if ((command & IXGBE_MSCA_MDI_COMMAND) == 0)
sys/dev/netif/ix/ixgbe_phy.c
610
if ((command & IXGBE_MSCA_MDI_COMMAND) != 0) {
sys/dev/netif/ix/ixgbe_phy.c
620
command = ((reg_addr << IXGBE_MSCA_NP_ADDR_SHIFT) |
sys/dev/netif/ix/ixgbe_phy.c
625
IXGBE_WRITE_REG(hw, IXGBE_MSCA, command);
sys/dev/netif/ix/ixgbe_phy.c
635
command = IXGBE_READ_REG(hw, IXGBE_MSCA);
sys/dev/netif/ix/ixgbe_phy.c
636
if ((command & IXGBE_MSCA_MDI_COMMAND) == 0)
sys/dev/netif/ix/ixgbe_phy.c
640
if ((command & IXGBE_MSCA_MDI_COMMAND) != 0) {
sys/dev/netif/ix/ixgbe_phy.c
694
u32 i, command;
sys/dev/netif/ix/ixgbe_phy.c
700
command = ((reg_addr << IXGBE_MSCA_NP_ADDR_SHIFT) |
sys/dev/netif/ix/ixgbe_phy.c
705
IXGBE_WRITE_REG(hw, IXGBE_MSCA, command);
sys/dev/netif/ix/ixgbe_phy.c
715
command = IXGBE_READ_REG(hw, IXGBE_MSCA);
sys/dev/netif/ix/ixgbe_phy.c
716
if ((command & IXGBE_MSCA_MDI_COMMAND) == 0)
sys/dev/netif/ix/ixgbe_phy.c
720
if ((command & IXGBE_MSCA_MDI_COMMAND) != 0) {
sys/dev/netif/ix/ixgbe_phy.c
729
command = ((reg_addr << IXGBE_MSCA_NP_ADDR_SHIFT) |
sys/dev/netif/ix/ixgbe_phy.c
734
IXGBE_WRITE_REG(hw, IXGBE_MSCA, command);
sys/dev/netif/ix/ixgbe_phy.c
744
command = IXGBE_READ_REG(hw, IXGBE_MSCA);
sys/dev/netif/ix/ixgbe_phy.c
745
if ((command & IXGBE_MSCA_MDI_COMMAND) == 0)
sys/dev/netif/ix/ixgbe_phy.c
749
if ((command & IXGBE_MSCA_MDI_COMMAND) != 0) {
sys/dev/netif/ix/ixgbe_x550.c
1104
u32 i, command = 0;
sys/dev/netif/ix/ixgbe_x550.c
1111
command = IXGBE_READ_REG(hw, IXGBE_SB_IOSF_INDIRECT_CTRL);
sys/dev/netif/ix/ixgbe_x550.c
1112
if ((command & IXGBE_SB_IOSF_CTRL_BUSY) == 0)
sys/dev/netif/ix/ixgbe_x550.c
1117
*ctrl = command;
sys/dev/netif/ix/ixgbe_x550.c
1138
u32 command, error;
sys/dev/netif/ix/ixgbe_x550.c
1149
command = ((reg_addr << IXGBE_SB_IOSF_CTRL_ADDR_SHIFT) |
sys/dev/netif/ix/ixgbe_x550.c
1153
IXGBE_WRITE_REG(hw, IXGBE_SB_IOSF_INDIRECT_CTRL, command);
sys/dev/netif/ix/ixgbe_x550.c
1158
ret = ixgbe_iosf_wait(hw, &command);
sys/dev/netif/ix/ixgbe_x550.c
1160
if ((command & IXGBE_SB_IOSF_CTRL_RESP_STAT_MASK) != 0) {
sys/dev/netif/ix/ixgbe_x550.c
1161
error = (command & IXGBE_SB_IOSF_CTRL_CMPL_ERR_MASK) >>
sys/dev/netif/ix/ixgbe_x550.c
1184
u32 command, error;
sys/dev/netif/ix/ixgbe_x550.c
1195
command = ((reg_addr << IXGBE_SB_IOSF_CTRL_ADDR_SHIFT) |
sys/dev/netif/ix/ixgbe_x550.c
1199
IXGBE_WRITE_REG(hw, IXGBE_SB_IOSF_INDIRECT_CTRL, command);
sys/dev/netif/ix/ixgbe_x550.c
1201
ret = ixgbe_iosf_wait(hw, &command);
sys/dev/netif/ix/ixgbe_x550.c
1203
if ((command & IXGBE_SB_IOSF_CTRL_RESP_STAT_MASK) != 0) {
sys/dev/netif/ix/ixgbe_x550.c
1204
error = (command & IXGBE_SB_IOSF_CTRL_CMPL_ERR_MASK) >>
sys/dev/netif/lge/if_lge.c
1358
lge_ioctl(struct ifnet *ifp, u_long command, caddr_t data, struct ucred *cr)
sys/dev/netif/lge/if_lge.c
1365
switch(command) {
sys/dev/netif/lge/if_lge.c
1404
error = ifmedia_ioctl(ifp, ifr, &mii->mii_media, command);
sys/dev/netif/lge/if_lge.c
1407
error = ether_ioctl(ifp, command, data);
sys/dev/netif/msk/if_msk.c
856
msk_ioctl(struct ifnet *ifp, u_long command, caddr_t data, struct ucred *cr)
sys/dev/netif/msk/if_msk.c
867
switch(command) {
sys/dev/netif/msk/if_msk.c
913
error = ifmedia_ioctl(ifp, ifr, &mii->mii_media, command);
sys/dev/netif/msk/if_msk.c
945
error = ether_ioctl(ifp, command, data);
sys/dev/netif/mxge/if_mxge.c
3820
mxge_ioctl(struct ifnet *ifp, u_long command, caddr_t data,
sys/dev/netif/mxge/if_mxge.c
3830
switch (command) {
sys/dev/netif/mxge/if_mxge.c
3887
&sc->media, command);
sys/dev/netif/mxge/if_mxge.c
3891
err = ether_ioctl(ifp, command, data);
sys/dev/netif/my/if_my.c
1581
my_ioctl(struct ifnet * ifp, u_long command, caddr_t data, struct ucred *cr)
sys/dev/netif/my/if_my.c
1588
switch (command) {
sys/dev/netif/my/if_my.c
1603
error = ifmedia_ioctl(ifp, ifr, &sc->ifmedia, command);
sys/dev/netif/my/if_my.c
1606
error = ether_ioctl(ifp, command, data);
sys/dev/netif/my/if_my.c
782
u_int32_t command, iobase;
sys/dev/netif/my/if_my.c
811
command = pci_read_config(dev, PCIR_COMMAND, 4);
sys/dev/netif/my/if_my.c
812
command |= (PCIM_CMD_PORTEN | PCIM_CMD_MEMEN | PCIM_CMD_BUSMASTEREN);
sys/dev/netif/my/if_my.c
813
pci_write_config(dev, PCIR_COMMAND, command & 0x000000ff, 4);
sys/dev/netif/my/if_my.c
814
command = pci_read_config(dev, PCIR_COMMAND, 4);
sys/dev/netif/my/if_my.c
822
if (!(command & PCIM_CMD_PORTEN)) {
sys/dev/netif/my/if_my.c
828
if (!(command & PCIM_CMD_MEMEN)) {
sys/dev/netif/nge/if_nge.c
1985
nge_ioctl(struct ifnet *ifp, u_long command, caddr_t data, struct ucred *cr)
sys/dev/netif/nge/if_nge.c
1992
switch(command) {
sys/dev/netif/nge/if_nge.c
2045
command);
sys/dev/netif/nge/if_nge.c
2049
command);
sys/dev/netif/nge/if_nge.c
2053
error = ether_ioctl(ifp, command, data);
sys/dev/netif/nge/if_nge.c
725
uint32_t command;
sys/dev/netif/nge/if_nge.c
737
command = pci_read_config(dev, NGE_PCI_CAPID, 4) & 0x000000FF;
sys/dev/netif/nge/if_nge.c
738
if (command == 0x01) {
sys/dev/netif/nge/if_nge.c
739
command = pci_read_config(dev, NGE_PCI_PWRMGMTCTRL, 4);
sys/dev/netif/nge/if_nge.c
740
if (command & NGE_PSTATE_MASK) {
sys/dev/netif/nge/if_nge.c
751
pci_powerstate_to_str(command & NGE_PSTATE_MASK));
sys/dev/netif/nge/if_nge.c
752
command &= 0xFFFFFFFC;
sys/dev/netif/nge/if_nge.c
753
pci_write_config(dev, NGE_PCI_PWRMGMTCTRL, command, 4);
sys/dev/netif/nge/if_nge.c
765
command = pci_read_config(dev, PCIR_COMMAND, 4);
sys/dev/netif/nge/if_nge.c
766
command |= (PCIM_CMD_PORTEN|PCIM_CMD_MEMEN|PCIM_CMD_BUSMASTEREN);
sys/dev/netif/nge/if_nge.c
767
pci_write_config(dev, PCIR_COMMAND, command, 4);
sys/dev/netif/nge/if_nge.c
768
command = pci_read_config(dev, PCIR_COMMAND, 4);
sys/dev/netif/nge/if_nge.c
771
if (!(command & PCIM_CMD_PORTEN)) {
sys/dev/netif/nge/if_nge.c
777
if (!(command & PCIM_CMD_MEMEN)) {
sys/dev/netif/oce/oce_if.c
361
oce_ioctl(struct ifnet *ifp, u_long command, caddr_t data, struct ucred *cr)
sys/dev/netif/oce/oce_if.c
368
switch (command) {
sys/dev/netif/oce/oce_if.c
371
rc = ifmedia_ioctl(ifp, ifr, &sc->media, command);
sys/dev/netif/oce/oce_if.c
479
rc = ether_ioctl(ifp, command, data);
sys/dev/netif/oce/oce_if.c
53
static int oce_ioctl(struct ifnet *ifp, u_long command, caddr_t data, struct ucred *cr);
sys/dev/netif/pcn/if_pcn.c
1242
pcn_ioctl(struct ifnet *ifp, u_long command, caddr_t data, struct ucred *cr)
sys/dev/netif/pcn/if_pcn.c
1249
switch(command) {
sys/dev/netif/pcn/if_pcn.c
1289
error = ifmedia_ioctl(ifp, ifr, &mii->mii_media, command);
sys/dev/netif/pcn/if_pcn.c
1292
error = ether_ioctl(ifp, command, data);
sys/dev/netif/pcn/if_pcn.c
484
u_int32_t command;
sys/dev/netif/pcn/if_pcn.c
496
command = pci_read_config(dev, PCN_PCI_CAPID, 4) & 0x000000FF;
sys/dev/netif/pcn/if_pcn.c
497
if (command == 0x01) {
sys/dev/netif/pcn/if_pcn.c
499
command = pci_read_config(dev, PCN_PCI_PWRMGMTCTRL, 4);
sys/dev/netif/pcn/if_pcn.c
500
if (command & PCN_PSTATE_MASK) {
sys/dev/netif/pcn/if_pcn.c
511
pci_powerstate_to_str(command & PCN_PSTATE_MASK));
sys/dev/netif/pcn/if_pcn.c
512
command &= 0xFFFFFFFC;
sys/dev/netif/pcn/if_pcn.c
513
pci_write_config(dev, PCN_PCI_PWRMGMTCTRL, command, 4);
sys/dev/netif/pcn/if_pcn.c
525
command = pci_read_config(dev, PCIR_COMMAND, 4);
sys/dev/netif/pcn/if_pcn.c
526
command |= (PCIM_CMD_PORTEN|PCIM_CMD_MEMEN|PCIM_CMD_BUSMASTEREN);
sys/dev/netif/pcn/if_pcn.c
527
pci_write_config(dev, PCIR_COMMAND, command, 4);
sys/dev/netif/pcn/if_pcn.c
528
command = pci_read_config(dev, PCIR_COMMAND, 4);
sys/dev/netif/pcn/if_pcn.c
531
if (!(command & PCIM_CMD_PORTEN)) {
sys/dev/netif/pcn/if_pcn.c
537
if (!(command & PCIM_CMD_MEMEN)) {
sys/dev/netif/re/if_re.c
1885
re_ioctl(struct ifnet *ifp, u_long command, caddr_t data, struct ucred *cr)
sys/dev/netif/re/if_re.c
1893
switch(command) {
sys/dev/netif/re/if_re.c
1931
error = ifmedia_ioctl(ifp, ifr, &sc->media, command);
sys/dev/netif/re/if_re.c
1957
error = ether_ioctl(ifp, command, data);
sys/dev/netif/re/re.c
4887
u_int32_t command;
sys/dev/netif/re/re.c
4917
command = pci_read_config(dev, PCIR_COMMAND, 4);
sys/dev/netif/re/re.c
4918
command |= (PCIM_CMD_PORTEN|PCIM_CMD_MEMEN|PCIM_CMD_BUSMASTEREN);
sys/dev/netif/re/re.c
4919
pci_write_config(dev, PCIR_COMMAND, command, 4);
sys/dev/netif/re/re.c
4920
command = pci_read_config(dev, PCIR_COMMAND, 4);
sys/dev/netif/re/re.c
8851
static int re_ioctl(ifp, command, data)
sys/dev/netif/re/re.c
8853
u_long command;
sys/dev/netif/re/re.c
8863
switch(command) {
sys/dev/netif/re/re.c
8866
error = ether_ioctl(ifp, command, data);
sys/dev/netif/re/re.c
8928
error = ifmedia_ioctl(ifp, ifr, &sc->media, command);
sys/dev/netif/rl/if_rl.c
1524
rl_ioctl(struct ifnet *ifp, u_long command, caddr_t data, struct ucred *cr)
sys/dev/netif/rl/if_rl.c
1531
switch (command) {
sys/dev/netif/rl/if_rl.c
1549
error = ifmedia_ioctl(ifp, ifr, &mii->mii_media, command);
sys/dev/netif/rl/if_rl.c
1554
error = ether_ioctl(ifp, command, data);
sys/dev/netif/sf/if_sf.c
503
sf_ioctl(struct ifnet *ifp, u_long command, caddr_t data, struct ucred *cr)
sys/dev/netif/sf/if_sf.c
510
switch(command) {
sys/dev/netif/sf/if_sf.c
538
error = ifmedia_ioctl(ifp, ifr, &mii->mii_media, command);
sys/dev/netif/sf/if_sf.c
541
error = ether_ioctl(ifp, command, data);
sys/dev/netif/sf/if_sf.c
639
u_int32_t command;
sys/dev/netif/sf/if_sf.c
650
command = pci_read_config(dev, SF_PCI_CAPID, 4) & 0x000000FF;
sys/dev/netif/sf/if_sf.c
651
if (command == 0x01) {
sys/dev/netif/sf/if_sf.c
653
command = pci_read_config(dev, SF_PCI_PWRMGMTCTRL, 4);
sys/dev/netif/sf/if_sf.c
654
if (command & SF_PSTATE_MASK) {
sys/dev/netif/sf/if_sf.c
665
pci_powerstate_to_str(command & SF_PSTATE_MASK));
sys/dev/netif/sf/if_sf.c
666
command &= 0xFFFFFFFC;
sys/dev/netif/sf/if_sf.c
667
pci_write_config(dev, SF_PCI_PWRMGMTCTRL, command, 4);
sys/dev/netif/sf/if_sf.c
679
command = pci_read_config(dev, PCIR_COMMAND, 4);
sys/dev/netif/sf/if_sf.c
680
command |= (PCIM_CMD_PORTEN|PCIM_CMD_MEMEN|PCIM_CMD_BUSMASTEREN);
sys/dev/netif/sf/if_sf.c
681
pci_write_config(dev, PCIR_COMMAND, command, 4);
sys/dev/netif/sf/if_sf.c
682
command = pci_read_config(dev, PCIR_COMMAND, 4);
sys/dev/netif/sf/if_sf.c
685
if (!(command & PCIM_CMD_PORTEN)) {
sys/dev/netif/sf/if_sf.c
691
if (!(command & PCIM_CMD_MEMEN)) {
sys/dev/netif/sis/if_sis.c
1966
sis_ioctl(struct ifnet *ifp, u_long command, caddr_t data, struct ucred *cr)
sys/dev/netif/sis/if_sis.c
1973
switch(command) {
sys/dev/netif/sis/if_sis.c
1994
error = ifmedia_ioctl(ifp, ifr, &mii->mii_media, command);
sys/dev/netif/sis/if_sis.c
1997
error = ether_ioctl(ifp, command, data);
sys/dev/netif/sis/if_sis.c
924
uint32_t command;
sys/dev/netif/sis/if_sis.c
945
command = pci_read_config(dev, SIS_PCI_CAPID, 4) & 0x000000FF;
sys/dev/netif/sis/if_sis.c
946
if (command == 0x01) {
sys/dev/netif/sis/if_sis.c
948
command = pci_read_config(dev, SIS_PCI_PWRMGMTCTRL, 4);
sys/dev/netif/sis/if_sis.c
949
if (command & SIS_PSTATE_MASK) {
sys/dev/netif/sis/if_sis.c
960
pci_powerstate_to_str(command & SIS_PSTATE_MASK));
sys/dev/netif/sis/if_sis.c
961
command &= 0xFFFFFFFC;
sys/dev/netif/sis/if_sis.c
962
pci_write_config(dev, SIS_PCI_PWRMGMTCTRL, command, 4);
sys/dev/netif/sis/if_sis.c
974
command = pci_read_config(dev, PCIR_COMMAND, 4);
sys/dev/netif/sis/if_sis.c
975
command |= (PCIM_CMD_PORTEN|PCIM_CMD_MEMEN|PCIM_CMD_BUSMASTEREN);
sys/dev/netif/sis/if_sis.c
976
pci_write_config(dev, PCIR_COMMAND, command, 4);
sys/dev/netif/sis/if_sis.c
977
command = pci_read_config(dev, PCIR_COMMAND, 4);
sys/dev/netif/sis/if_sis.c
980
if (!(command & PCIM_CMD_PORTEN)) {
sys/dev/netif/sis/if_sis.c
986
if (!(command & PCIM_CMD_MEMEN)) {
sys/dev/netif/sk/if_sk.c
1003
error = ifmedia_ioctl(ifp, ifr, &mii->mii_media, command);
sys/dev/netif/sk/if_sk.c
1006
error = ether_ioctl(ifp, command, data);
sys/dev/netif/sk/if_sk.c
961
sk_ioctl(struct ifnet *ifp, u_long command, caddr_t data, struct ucred *cr)
sys/dev/netif/sk/if_sk.c
970
switch(command) {
sys/dev/netif/ste/if_ste.c
1296
ste_ioctl(struct ifnet *ifp, u_long command, caddr_t data, struct ucred *cr)
sys/dev/netif/ste/if_ste.c
1306
switch(command) {
sys/dev/netif/ste/if_ste.c
1339
error = ifmedia_ioctl(ifp, ifr, &mii->mii_media, command);
sys/dev/netif/ste/if_ste.c
1342
error = ether_ioctl(ifp, command, data);
sys/dev/netif/ti/if_ti.c
2166
ti_ioctl(struct ifnet *ifp, u_long command, caddr_t data, struct ucred *cr)
sys/dev/netif/ti/if_ti.c
2173
switch(command) {
sys/dev/netif/ti/if_ti.c
2219
error = ifmedia_ioctl(ifp, ifr, &sc->ifmedia, command);
sys/dev/netif/ti/if_ti.c
2234
error = ether_ioctl(ifp, command, data);
sys/dev/netif/tl/if_tl.c
1115
command = pci_read_config(dev, TL_PCI_LATENCY_TIMER, 4);
sys/dev/netif/tl/if_tl.c
1116
command |= 0x0000FF00;
sys/dev/netif/tl/if_tl.c
1117
pci_write_config(dev, TL_PCI_LATENCY_TIMER, command, 4);
sys/dev/netif/tl/if_tl.c
2039
tl_ioctl(struct ifnet *ifp, u_long command, caddr_t data, struct ucred *cr)
sys/dev/netif/tl/if_tl.c
2045
switch(command) {
sys/dev/netif/tl/if_tl.c
2076
error = ifmedia_ioctl(ifp, ifr, &sc->ifmedia, command);
sys/dev/netif/tl/if_tl.c
2081
&mii->mii_media, command);
sys/dev/netif/tl/if_tl.c
2085
error = ether_ioctl(ifp, command, data);
sys/dev/netif/tx/if_tx.c
352
epic_ifioctl(struct ifnet *ifp, u_long command, caddr_t data, struct ucred *cr)
sys/dev/netif/tx/if_tx.c
359
switch (command) {
sys/dev/netif/tx/if_tx.c
411
error = ifmedia_ioctl(ifp, ifr, &mii->mii_media, command);
sys/dev/netif/tx/if_tx.c
415
error = ether_ioctl(ifp, command, data);
sys/dev/netif/txp/if_txp.c
1003
txp_ioctl(struct ifnet *ifp, u_long command, caddr_t data, struct ucred *cr)
sys/dev/netif/txp/if_txp.c
1009
switch(command) {
sys/dev/netif/txp/if_txp.c
1029
error = ifmedia_ioctl(ifp, ifr, &sc->sc_ifmedia, command);
sys/dev/netif/txp/if_txp.c
1032
error = ether_ioctl(ifp, command, data);
sys/dev/netif/vge/if_vge.c
1997
vge_ioctl(struct ifnet *ifp, u_long command, caddr_t data, struct ucred *cr)
sys/dev/netif/vge/if_vge.c
2004
switch (command) {
sys/dev/netif/vge/if_vge.c
2040
error = ifmedia_ioctl(ifp, ifr, &mii->mii_media, command);
sys/dev/netif/vge/if_vge.c
2058
error = ether_ioctl(ifp, command, data);
sys/dev/netif/vr/if_vr.c
1524
vr_ioctl(struct ifnet *ifp, u_long command, caddr_t data, struct ucred *cr)
sys/dev/netif/vr/if_vr.c
1531
switch(command) {
sys/dev/netif/vr/if_vr.c
1549
error = ifmedia_ioctl(ifp, ifr, &mii->mii_media, command);
sys/dev/netif/vr/if_vr.c
1552
error = ether_ioctl(ifp, command, data);
sys/dev/netif/wb/if_wb.c
1522
wb_ioctl(struct ifnet *ifp, u_long command, caddr_t data, struct ucred *cr)
sys/dev/netif/wb/if_wb.c
1531
switch(command) {
sys/dev/netif/wb/if_wb.c
1547
error = ifmedia_ioctl(ifp, ifr, &mii->mii_media, command);
sys/dev/netif/wb/if_wb.c
1550
error = ether_ioctl(ifp, command, data);
sys/dev/netif/wi/if_wi_pci.c
159
u_int32_t command;
sys/dev/netif/wi/if_wi_pci.c
181
command = bus_space_read_4(sc->wi_localtag, sc->wi_localhandle,
sys/dev/netif/wi/if_wi_pci.c
183
command |= WI_LOCAL_INTEN;
sys/dev/netif/wi/if_wi_pci.c
185
WI_LOCAL_INTCSR, command);
sys/dev/netif/xe/if_xe.c
158
static int xe_ioctl (struct ifnet *ifp, u_long command, caddr_t data, struct ucred *);
sys/dev/netif/xe/if_xe.c
523
xe_ioctl (struct ifnet *ifp, u_long command, caddr_t data, struct ucred *cr) {
sys/dev/netif/xe/if_xe.c
532
switch (command) {
sys/dev/netif/xe/if_xe.c
569
error = ifmedia_ioctl(ifp, (struct ifreq *)data, &scp->ifmedia, command);
sys/dev/netif/xe/if_xe.c
574
error = ether_ioctl(ifp, command, data);
sys/dev/netif/xl/if_xl.c
3032
xl_ioctl(struct ifnet *ifp, u_long command, caddr_t data, struct ucred *cr)
sys/dev/netif/xl/if_xl.c
3042
switch(command) {
sys/dev/netif/xl/if_xl.c
3084
&sc->ifmedia, command);
sys/dev/netif/xl/if_xl.c
3087
&mii->mii_media, command);
sys/dev/netif/xl/if_xl.c
3098
error = ether_ioctl(ifp, command, data);
sys/dev/raid/aac/aac.c
111
static void aac_sa_set_mailbox(struct aac_softc *sc, u_int32_t command,
sys/dev/raid/aac/aac.c
133
static void aac_rx_set_mailbox(struct aac_softc *sc, u_int32_t command,
sys/dev/raid/aac/aac.c
160
static void aac_rkt_set_mailbox(struct aac_softc *sc, u_int32_t command,
sys/dev/raid/aac/aac.c
2011
aac_sync_command(struct aac_softc *sc, u_int32_t command,
sys/dev/raid/aac/aac.c
2023
AAC_SET_MAILBOX(sc, command, arg0, arg1, arg2, arg3);
sys/dev/raid/aac/aac.c
2054
aac_sync_fib(struct aac_softc *sc, u_int32_t command, u_int32_t xferstate,
sys/dev/raid/aac/aac.c
2072
fib->Header.Command = command;
sys/dev/raid/aac/aac.c
2476
aac_sa_set_mailbox(struct aac_softc *sc, u_int32_t command,
sys/dev/raid/aac/aac.c
2481
AAC_MEM1_SETREG4(sc, AAC_SA_MAILBOX, command);
sys/dev/raid/aac/aac.c
2489
aac_rx_set_mailbox(struct aac_softc *sc, u_int32_t command,
sys/dev/raid/aac/aac.c
2494
AAC_MEM1_SETREG4(sc, AAC_RX_MAILBOX, command);
sys/dev/raid/aac/aac.c
2502
aac_rkt_set_mailbox(struct aac_softc *sc, u_int32_t command, u_int32_t arg0,
sys/dev/raid/aac/aac.c
2507
AAC_MEM1_SETREG4(sc, AAC_RKT_MAILBOX, command);
sys/dev/raid/aac/aac.c
3238
switch (aif->command) {
sys/dev/raid/aac/aac.c
95
static int aac_sync_command(struct aac_softc *sc, u_int32_t command,
sys/dev/raid/aac/aac_debug.c
265
switch(aif->command) {
sys/dev/raid/aac/aac_debug.c
532
device_printf(sc->aac_dev, "AIF %d (%d)\n", aif->command,
sys/dev/raid/aac/aac_disk.c
259
u_int32_t command;
sys/dev/raid/aac/aac_disk.c
291
command = ContainerCommand;
sys/dev/raid/aac/aac_disk.c
303
command = ContainerCommand64;
sys/dev/raid/aac/aac_disk.c
324
if (aac_sync_fib(sc, command, 0, fib, size)) {
sys/dev/raid/aac/aacreg.h
1011
AAC_AifCommand command; /* Tell host what type of
sys/dev/raid/aac/aacvar.h
242
void (*aif_set_mailbox)(struct aac_softc *sc, u_int32_t command,
sys/dev/raid/aac/aacvar.h
260
#define AAC_SET_MAILBOX(sc, command, arg0, arg1, arg2, arg3) \
sys/dev/raid/aac/aacvar.h
261
((sc)->aac_if->aif_set_mailbox((sc), (command), (arg0), (arg1), (arg2), \
sys/dev/raid/aac/aacvar.h
470
extern int aac_sync_fib(struct aac_softc *sc, u_int32_t command,
sys/dev/raid/amr/amr_pci.c
187
u_int32_t command;
sys/dev/raid/amr/amr_pci.c
207
command = pci_read_config(dev, PCIR_COMMAND, 1);
sys/dev/raid/amr/amr_pci.c
212
if ((command & PCIM_CMD_MEMEN) == 0) {
sys/dev/raid/amr/amr_pci.c
221
if ((command & PCIM_CMD_PORTEN) == 0) {
sys/dev/raid/amr/amr_pci.c
234
if (!(command & PCIM_CMD_BUSMASTEREN)) {
sys/dev/raid/amr/amr_pci.c
236
command |= PCIM_CMD_BUSMASTEREN;
sys/dev/raid/amr/amr_pci.c
237
pci_write_config(dev, PCIR_COMMAND, command, 2);
sys/dev/raid/ciss/ciss.c
3567
cnc->command = CISS_COMMAND_NOTIFY_ON_EVENT;
sys/dev/raid/ciss/ciss.c
3714
cnc->command = CISS_COMMAND_ABORT_NOTIFY;
sys/dev/raid/ciss/cissreg.h
253
u_int8_t command;
sys/dev/raid/ciss/cissreg.h
351
u_int8_t command;
sys/dev/raid/dpt/dpt.h
411
u_int8_t command; /*
sys/dev/raid/dpt/dpt.h
859
u_int32_t command;
sys/dev/raid/dpt/dpt_pci.c
113
command |= PCIM_CMD_BUSMASTEREN;
sys/dev/raid/dpt/dpt_pci.c
114
pci_write_config(dev, PCIR_COMMAND, command, /*bytes*/1);
sys/dev/raid/dpt/dpt_pci.c
80
u_int32_t command;
sys/dev/raid/dpt/dpt_pci.c
82
command = pci_read_config(dev, PCIR_COMMAND, /*bytes*/1);
sys/dev/raid/dpt/dpt_pci.c
85
if ((command & PCIM_CMD_MEMEN) != 0) {
sys/dev/raid/dpt/dpt_pci.c
91
if (io == NULL && (command & PCIM_CMD_PORTEN) != 0) {
sys/dev/raid/dpt/dpt_scsi.c
1097
u_int32_t cmd_busaddr, u_int command, u_int retries,
sys/dev/raid/dpt/dpt_scsi.c
1139
if (command == EATA_CMD_IMMEDIATE) {
sys/dev/raid/dpt/dpt_scsi.c
1146
dpt_outb(dpt, HA_WCOMMAND, command);
sys/dev/raid/dpt/dpt_scsi.c
148
u_int command, u_int retries,
sys/dev/raid/hptiop/hptiop.h
295
u_int16_t command; /* IOP_BLOCK_COMMAND_{READ,WRITE} */
sys/dev/raid/hptmv/entry.c
1923
pNoUdmaParams->command = MV_ATA_COMMAND_READ_VERIFY_SECTORS_EXT;
sys/dev/raid/hptmv/entry.c
1938
pNoUdmaParams->command = MV_ATA_COMMAND_READ_VERIFY_SECTORS;
sys/dev/raid/hptmv/mvSata.h
218
MV_U8 command;
sys/dev/raid/hptmv/mvStorageDev.h
189
MV_U8 command);
sys/dev/raid/ida/ida.c
317
ida_command(struct ida_softc *ida, int command, void *data, int datasize,
sys/dev/raid/ida/ida.c
346
hwqcb->req.command = command;
sys/dev/raid/ida/ida.c
412
hwqcb->req.command = (bp->b_cmd == BUF_CMD_READ) ? CMD_READ : CMD_WRITE;
sys/dev/raid/ida/ida_pci.c
230
u_int command;
sys/dev/raid/ida/ida_pci.c
233
command = pci_read_config(dev, PCIR_COMMAND, 1);
sys/dev/raid/ida/ida_pci.c
238
if ((command & PCIM_CMD_MEMEN) == 0) {
sys/dev/raid/ida/idavar.h
195
extern int ida_command(struct ida_softc *ida, int command, void *data,
sys/dev/raid/ida/idavar.h
58
u_int8_t command; /* command */
sys/dev/raid/ips/ips.c
106
ips_command_t *command = cmdptr;
sys/dev/raid/ips/ips.c
110
command->command_phys_addr = segments[0].ds_addr;
sys/dev/raid/ips/ips.c
119
ips_command_t *command;
sys/dev/raid/ips/ips.c
124
command = &sc->commandarray[i];
sys/dev/raid/ips/ips.c
125
if (command->command_phys_addr == 0)
sys/dev/raid/ips/ips.c
128
command->command_dmamap);
sys/dev/raid/ips/ips.c
130
command->command_buffer,
sys/dev/raid/ips/ips.c
131
command->command_dmamap);
sys/dev/raid/ips/ips.c
132
if (command->data_dmamap != NULL)
sys/dev/raid/ips/ips.c
133
bus_dmamap_destroy(command->data_dmatag,
sys/dev/raid/ips/ips.c
134
command->data_dmamap);
sys/dev/raid/ips/ips.c
155
ips_command_t *command;
sys/dev/raid/ips/ips.c
161
command = &sc->commandarray[i];
sys/dev/raid/ips/ips.c
162
command->id = i;
sys/dev/raid/ips/ips.c
163
command->sc = sc;
sys/dev/raid/ips/ips.c
165
&command->command_buffer, BUS_DMA_NOWAIT,
sys/dev/raid/ips/ips.c
166
&command->command_dmamap))
sys/dev/raid/ips/ips.c
168
bus_dmamap_load(sc->command_dmatag, command->command_dmamap,
sys/dev/raid/ips/ips.c
169
command->command_buffer, IPS_COMMAND_LEN, ips_cmd_dmaload,
sys/dev/raid/ips/ips.c
170
command, BUS_DMA_NOWAIT);
sys/dev/raid/ips/ips.c
171
if (command->command_phys_addr == 0) {
sys/dev/raid/ips/ips.c
173
command->command_buffer, command->command_dmamap);
sys/dev/raid/ips/ips.c
178
sc->staticcmd = command;
sys/dev/raid/ips/ips.c
180
command->data_dmatag = sc->sg_dmatag;
sys/dev/raid/ips/ips.c
181
if (bus_dmamap_create(command->data_dmatag, 0,
sys/dev/raid/ips/ips.c
182
&command->data_dmamap))
sys/dev/raid/ips/ips.c
184
SLIST_INSERT_HEAD(&sc->free_cmd_list, command, next);
sys/dev/raid/ips/ips.c
203
ips_command_t *command = NULL;
sys/dev/raid/ips/ips.c
216
command = sc->staticcmd;
sys/dev/raid/ips/ips.c
219
command = SLIST_FIRST(&sc->free_cmd_list);
sys/dev/raid/ips/ips.c
220
if (!command || (sc->state & IPS_TIMEOUT)) {
sys/dev/raid/ips/ips.c
232
bzero(&command->status, (char *)(command + 1) - (char *)(&command->status));
sys/dev/raid/ips/ips.c
233
bzero(command->command_buffer, IPS_COMMAND_LEN);
sys/dev/raid/ips/ips.c
234
*cmd = command;
sys/dev/raid/ips/ips.c
240
ips_insert_free_cmd(ips_softc_t *sc, ips_command_t *command)
sys/dev/raid/ips/ips.c
243
if (command == sc->staticcmd)
sys/dev/raid/ips/ips.c
246
SLIST_INSERT_HEAD(&sc->free_cmd_list, command, next);
sys/dev/raid/ips/ips.c
333
ips_command_t *command;
sys/dev/raid/ips/ips.c
338
command = &sc->commandarray[0];
sys/dev/raid/ips/ips.c
340
if (!command[i].timeout)
sys/dev/raid/ips/ips.c
342
command[i].timeout--;
sys/dev/raid/ips/ips.c
343
if (command[i].timeout == 0) {
sys/dev/raid/ips/ips.c
348
command[i].status.value = IPS_ERROR_STATUS;
sys/dev/raid/ips/ips.c
349
command[i].callback(&command[i]);
sys/dev/raid/ips/ips.c
556
ips_command_t *command;
sys/dev/raid/ips/ips.c
570
command = &sc->commandarray[cmdnumber];
sys/dev/raid/ips/ips.c
571
command->status.value = status.value;
sys/dev/raid/ips/ips.c
572
command->timeout = 0;
sys/dev/raid/ips/ips.c
573
command->callback(command);
sys/dev/raid/ips/ips.c
591
ips_issue_morpheus_cmd(ips_command_t *command)
sys/dev/raid/ips/ips.c
595
if (command->sc->state & IPS_OFFLINE) {
sys/dev/raid/ips/ips.c
597
command->status.value = IPS_ERROR_STATUS;
sys/dev/raid/ips/ips.c
598
command->callback(command);
sys/dev/raid/ips/ips.c
601
command->timeout = 10;
sys/dev/raid/ips/ips.c
602
ips_write_4(command->sc, MORPHEUS_REG_IQPR, command->command_phys_addr);
sys/dev/raid/ips/ips.c
607
ips_morpheus_poll(ips_command_t *command)
sys/dev/raid/ips/ips.c
611
ts = time_uptime + command->timeout;
sys/dev/raid/ips/ips.c
612
while (command->timeout != 0 &&
sys/dev/raid/ips/ips.c
613
ips_morpheus_check_intr(command->sc) == 0 &&
sys/dev/raid/ips/ips.c
783
ips_issue_copperhead_cmd(ips_command_t *command)
sys/dev/raid/ips/ips.c
789
if (command->sc->state & IPS_OFFLINE) {
sys/dev/raid/ips/ips.c
791
command->status.value = IPS_ERROR_STATUS;
sys/dev/raid/ips/ips.c
792
command->callback(command);
sys/dev/raid/ips/ips.c
795
command->timeout = 10;
sys/dev/raid/ips/ips.c
796
for (i = 0; ips_read_4(command->sc, COPPER_REG_CCCR) & COPPER_SEM_BIT;
sys/dev/raid/ips/ips.c
805
ips_write_4(command->sc, COPPER_REG_CCSAR, command->command_phys_addr);
sys/dev/raid/ips/ips.c
806
ips_write_2(command->sc, COPPER_REG_CCCR, COPPER_CMD_START);
sys/dev/raid/ips/ips.c
811
ips_copperhead_poll(ips_command_t *command)
sys/dev/raid/ips/ips.h
239
u_int8_t command;
sys/dev/raid/ips/ips.h
249
u_int8_t command;
sys/dev/raid/ips/ips.h
260
u_int8_t command;
sys/dev/raid/ips/ips.h
270
u_int8_t command;
sys/dev/raid/ips/ips.h
280
u_int8_t command;
sys/dev/raid/ips/ips.h
290
u_int8_t command;
sys/dev/raid/ips/ips.h
405
void (*callback)(struct ips_command *command);
sys/dev/raid/ips/ips.h
412
int (* callback)(ips_command_t *command);
sys/dev/raid/ips/ips.h
448
void (*ips_issue_cmd)(ips_command_t *command);
sys/dev/raid/ips/ips.h
449
void (*ips_poll_cmd)(ips_command_t *command);
sys/dev/raid/ips/ips.h
472
extern int ips_get_free_cmd(ips_softc_t *sc, ips_command_t **command,
sys/dev/raid/ips/ips.h
474
extern void ips_insert_free_cmd(ips_softc_t *sc, ips_command_t *command);
sys/dev/raid/ips/ips.h
479
extern void ips_issue_morpheus_cmd(ips_command_t *command);
sys/dev/raid/ips/ips.h
480
extern void ips_morpheus_poll(ips_command_t *command);
sys/dev/raid/ips/ips.h
483
extern void ips_issue_copperhead_cmd(ips_command_t *command);
sys/dev/raid/ips/ips.h
484
extern void ips_copperhead_poll(ips_command_t *command);
sys/dev/raid/ips/ips_commands.c
106
ips_command_t *command = cmdptr;
sys/dev/raid/ips/ips_commands.c
109
struct bio *bio = command->arg;
sys/dev/raid/ips/ips_commands.c
115
sc = command->sc;
sys/dev/raid/ips/ips_commands.c
118
bus_dmamap_unload(command->data_dmatag, command->data_dmamap);
sys/dev/raid/ips/ips_commands.c
121
ips_insert_free_cmd(sc, command);
sys/dev/raid/ips/ips_commands.c
126
command_struct = (ips_io_cmd *)command->command_buffer;
sys/dev/raid/ips/ips_commands.c
127
command_struct->id = command->id;
sys/dev/raid/ips/ips_commands.c
137
command->command_buffer + IPS_COMMAND_LEN);
sys/dev/raid/ips/ips_commands.c
144
(u_int32_t)command->command_phys_addr + IPS_COMMAND_LEN;
sys/dev/raid/ips/ips_commands.c
153
command_struct->command = cmdtype;
sys/dev/raid/ips/ips_commands.c
157
bus_dmamap_sync(sc->command_dmatag, command->command_dmamap,
sys/dev/raid/ips/ips_commands.c
160
bus_dmamap_sync(command->data_dmatag, command->data_dmamap,
sys/dev/raid/ips/ips_commands.c
163
bus_dmamap_sync(command->data_dmatag, command->data_dmamap,
sys/dev/raid/ips/ips_commands.c
167
"pblkno: %lld length: %d, ds_len: %d\n", command->id, segnum,
sys/dev/raid/ips/ips_commands.c
171
sc->ips_issue_cmd(command);
sys/dev/raid/ips/ips_commands.c
176
ips_flush_request_finish(ips_command_t *command)
sys/dev/raid/ips/ips_commands.c
178
ips_generic_cmd *gencmd = command->command_buffer;
sys/dev/raid/ips/ips_commands.c
179
struct bio *bio = command->arg;
sys/dev/raid/ips/ips_commands.c
181
if (COMMAND_ERROR(&command->status)) {
sys/dev/raid/ips/ips_commands.c
182
device_printf(command->sc->dev,
sys/dev/raid/ips/ips_commands.c
184
gencmd->command,
sys/dev/raid/ips/ips_commands.c
185
command->status.fields.basic_status,
sys/dev/raid/ips/ips_commands.c
186
command->status.fields.extended_status);
sys/dev/raid/ips/ips_commands.c
191
ips_insert_free_cmd(command->sc, command);
sys/dev/raid/ips/ips_commands.c
196
ips_send_flush_request(ips_command_t *command, struct bio *bio)
sys/dev/raid/ips/ips_commands.c
198
command->arg = bio;
sys/dev/raid/ips/ips_commands.c
200
ips_softc_t *sc = command->sc;
sys/dev/raid/ips/ips_commands.c
203
ips_insert_free_cmd(sc, command);
sys/dev/raid/ips/ips_commands.c
208
command->callback = ips_flush_request_finish;
sys/dev/raid/ips/ips_commands.c
209
flush_cmd = command->command_buffer;
sys/dev/raid/ips/ips_commands.c
210
flush_cmd->command = IPS_CACHE_FLUSH_CMD;
sys/dev/raid/ips/ips_commands.c
211
flush_cmd->id = command->id;
sys/dev/raid/ips/ips_commands.c
215
bus_dmamap_sync(sc->command_dmatag, command->command_dmamap,
sys/dev/raid/ips/ips_commands.c
218
sc->ips_issue_cmd(command);
sys/dev/raid/ips/ips_commands.c
224
ips_send_io_request(ips_command_t *command, struct bio *bio)
sys/dev/raid/ips/ips_commands.c
228
command->callback = ips_io_request_finish;
sys/dev/raid/ips/ips_commands.c
229
command->arg = bio;
sys/dev/raid/ips/ips_commands.c
231
bus_dmamap_load(command->data_dmatag, command->data_dmamap,
sys/dev/raid/ips/ips_commands.c
233
ips_io_request_callback, command, 0);
sys/dev/raid/ips/ips_commands.c
240
ips_command_t *command;
sys/dev/raid/ips/ips_commands.c
246
if (ips_get_free_cmd(sc, &command, 0) != 0)
sys/dev/raid/ips/ips_commands.c
250
ips_send_flush_request(command, bio);
sys/dev/raid/ips/ips_commands.c
252
ips_send_io_request(command, bio);
sys/dev/raid/ips/ips_commands.c
266
ips_command_t *command = cmdptr;
sys/dev/raid/ips/ips_commands.c
268
sc = command->sc;
sys/dev/raid/ips/ips_commands.c
270
command->status.value = IPS_ERROR_STATUS; /* a lovely error value */
sys/dev/raid/ips/ips_commands.c
271
ips_insert_free_cmd(sc, command);
sys/dev/raid/ips/ips_commands.c
275
command_struct = (ips_adapter_info_cmd *)command->command_buffer;
sys/dev/raid/ips/ips_commands.c
276
command_struct->command = IPS_ADAPTER_INFO_CMD;
sys/dev/raid/ips/ips_commands.c
277
command_struct->id = command->id;
sys/dev/raid/ips/ips_commands.c
280
bus_dmamap_sync(sc->command_dmatag, command->command_dmamap,
sys/dev/raid/ips/ips_commands.c
282
bus_dmamap_sync(command->data_dmatag, command->data_dmamap,
sys/dev/raid/ips/ips_commands.c
284
sc->ips_issue_cmd(command);
sys/dev/raid/ips/ips_commands.c
288
ips_send_adapter_info_cmd(ips_command_t *command)
sys/dev/raid/ips/ips_commands.c
290
ips_softc_t *sc = command->sc;
sys/dev/raid/ips/ips_commands.c
302
&command->data_dmatag) != 0) {
sys/dev/raid/ips/ips_commands.c
307
if (bus_dmamem_alloc(command->data_dmatag, &command->data_buffer,
sys/dev/raid/ips/ips_commands.c
308
BUS_DMA_NOWAIT, &command->data_dmamap)) {
sys/dev/raid/ips/ips_commands.c
312
command->callback = ips_wakeup_callback;
sys/dev/raid/ips/ips_commands.c
313
bus_dmamap_load(command->data_dmatag, command->data_dmamap,
sys/dev/raid/ips/ips_commands.c
314
command->data_buffer, IPS_ADAPTER_INFO_LEN,
sys/dev/raid/ips/ips_commands.c
315
ips_adapter_info_callback, command, BUS_DMA_NOWAIT);
sys/dev/raid/ips/ips_commands.c
316
if ((command->status.value == IPS_ERROR_STATUS) ||
sys/dev/raid/ips/ips_commands.c
317
ips_timed_wait(command, "ips", 30 * hz) != 0)
sys/dev/raid/ips/ips_commands.c
320
bus_dmamap_sync(command->data_dmatag, command->data_dmamap,
sys/dev/raid/ips/ips_commands.c
322
memcpy(&(sc->adapter_info), command->data_buffer,
sys/dev/raid/ips/ips_commands.c
325
bus_dmamap_unload(command->data_dmatag, command->data_dmamap);
sys/dev/raid/ips/ips_commands.c
328
bus_dmamem_free(command->data_dmatag, command->data_buffer,
sys/dev/raid/ips/ips_commands.c
329
command->data_dmamap);
sys/dev/raid/ips/ips_commands.c
330
bus_dma_tag_destroy(command->data_dmatag);
sys/dev/raid/ips/ips_commands.c
331
ips_insert_free_cmd(sc, command);
sys/dev/raid/ips/ips_commands.c
338
ips_command_t *command;
sys/dev/raid/ips/ips_commands.c
341
if (ips_get_free_cmd(sc, &command, IPS_STATIC_FLAG) != 0) {
sys/dev/raid/ips/ips_commands.c
345
ips_send_adapter_info_cmd(command);
sys/dev/raid/ips/ips_commands.c
346
if (COMMAND_ERROR(&command->status))
sys/dev/raid/ips/ips_commands.c
362
ips_command_t *command = cmdptr;
sys/dev/raid/ips/ips_commands.c
365
sc = command->sc;
sys/dev/raid/ips/ips_commands.c
368
command->status.value = IPS_ERROR_STATUS;
sys/dev/raid/ips/ips_commands.c
369
ips_insert_free_cmd(sc, command);
sys/dev/raid/ips/ips_commands.c
373
command_struct = (ips_drive_cmd *)command->command_buffer;
sys/dev/raid/ips/ips_commands.c
374
command_struct->command = IPS_DRIVE_INFO_CMD;
sys/dev/raid/ips/ips_commands.c
375
command_struct->id = command->id;
sys/dev/raid/ips/ips_commands.c
377
bus_dmamap_sync(sc->command_dmatag, command->command_dmamap,
sys/dev/raid/ips/ips_commands.c
379
bus_dmamap_sync(command->data_dmatag, command->data_dmamap,
sys/dev/raid/ips/ips_commands.c
381
sc->ips_issue_cmd(command);
sys/dev/raid/ips/ips_commands.c
385
ips_send_drive_info_cmd(ips_command_t *command)
sys/dev/raid/ips/ips_commands.c
388
ips_softc_t *sc = command->sc;
sys/dev/raid/ips/ips_commands.c
400
&command->data_dmatag) != 0) {
sys/dev/raid/ips/ips_commands.c
405
if (bus_dmamem_alloc(command->data_dmatag, &command->data_buffer,
sys/dev/raid/ips/ips_commands.c
406
BUS_DMA_NOWAIT, &command->data_dmamap)) {
sys/dev/raid/ips/ips_commands.c
410
command->callback = ips_wakeup_callback;
sys/dev/raid/ips/ips_commands.c
411
bus_dmamap_load(command->data_dmatag, command->data_dmamap,
sys/dev/raid/ips/ips_commands.c
412
command->data_buffer,IPS_DRIVE_INFO_LEN,
sys/dev/raid/ips/ips_commands.c
413
ips_drive_info_callback, command, BUS_DMA_NOWAIT);
sys/dev/raid/ips/ips_commands.c
414
if ((command->status.value == IPS_ERROR_STATUS) ||
sys/dev/raid/ips/ips_commands.c
415
ips_timed_wait(command, "ips", 10 * hz) != 0)
sys/dev/raid/ips/ips_commands.c
419
bus_dmamap_sync(command->data_dmatag, command->data_dmamap,
sys/dev/raid/ips/ips_commands.c
421
driveinfo = command->data_buffer;
sys/dev/raid/ips/ips_commands.c
426
bus_dmamap_unload(command->data_dmatag, command->data_dmamap);
sys/dev/raid/ips/ips_commands.c
429
bus_dmamem_free(command->data_dmatag, command->data_buffer,
sys/dev/raid/ips/ips_commands.c
43
ips_timed_wait(ips_command_t *command, const char *id, int timo)
sys/dev/raid/ips/ips_commands.c
430
command->data_dmamap);
sys/dev/raid/ips/ips_commands.c
431
bus_dma_tag_destroy(command->data_dmatag);
sys/dev/raid/ips/ips_commands.c
432
ips_insert_free_cmd(sc, command);
sys/dev/raid/ips/ips_commands.c
440
ips_command_t *command;
sys/dev/raid/ips/ips_commands.c
442
if (ips_get_free_cmd(sc, &command, IPS_STATIC_FLAG) != 0) {
sys/dev/raid/ips/ips_commands.c
446
ips_send_drive_info_cmd(command);
sys/dev/raid/ips/ips_commands.c
447
if (COMMAND_ERROR(&command->status))
sys/dev/raid/ips/ips_commands.c
457
ips_send_flush_cache_cmd(ips_command_t *command)
sys/dev/raid/ips/ips_commands.c
459
ips_softc_t *sc = command->sc;
sys/dev/raid/ips/ips_commands.c
463
command->callback = ips_wakeup_callback;
sys/dev/raid/ips/ips_commands.c
464
command_struct = (ips_generic_cmd *)command->command_buffer;
sys/dev/raid/ips/ips_commands.c
465
command_struct->command = IPS_CACHE_FLUSH_CMD;
sys/dev/raid/ips/ips_commands.c
466
command_struct->id = command->id;
sys/dev/raid/ips/ips_commands.c
467
bus_dmamap_sync(sc->command_dmatag, command->command_dmamap,
sys/dev/raid/ips/ips_commands.c
469
sc->ips_issue_cmd(command);
sys/dev/raid/ips/ips_commands.c
47
while (command->completed == 0) {
sys/dev/raid/ips/ips_commands.c
470
if (command->status.value != IPS_ERROR_STATUS)
sys/dev/raid/ips/ips_commands.c
471
ips_timed_wait(command, "flush2", 0);
sys/dev/raid/ips/ips_commands.c
472
ips_insert_free_cmd(sc, command);
sys/dev/raid/ips/ips_commands.c
479
ips_command_t *command;
sys/dev/raid/ips/ips_commands.c
482
if (ips_get_free_cmd(sc, &command, IPS_STATIC_FLAG) != 0) {
sys/dev/raid/ips/ips_commands.c
487
ips_send_flush_cache_cmd(command);
sys/dev/raid/ips/ips_commands.c
488
if (COMMAND_ERROR(&command->status)) {
sys/dev/raid/ips/ips_commands.c
49
if (command->completed == 0)
sys/dev/raid/ips/ips_commands.c
50
error = tsleep(&command->completed, 0, id, timo);
sys/dev/raid/ips/ips_commands.c
500
ips_ffdc_settime(ips_adapter_ffdc_cmd *command, time_t sctime)
sys/dev/raid/ips/ips_commands.c
513
command->hour = rem / IPS_SECSPERHOUR;
sys/dev/raid/ips/ips_commands.c
516
command->minute = rem / IPS_SECSPERMIN;
sys/dev/raid/ips/ips_commands.c
517
command->second = rem % IPS_SECSPERMIN;
sys/dev/raid/ips/ips_commands.c
531
command->yearH = y / 100;
sys/dev/raid/ips/ips_commands.c
532
command->yearL = y % 100;
sys/dev/raid/ips/ips_commands.c
536
command->month = month + 1;
sys/dev/raid/ips/ips_commands.c
537
command->day = days + 1;
sys/dev/raid/ips/ips_commands.c
541
ips_send_ffdc_reset_cmd(ips_command_t *command)
sys/dev/raid/ips/ips_commands.c
543
ips_softc_t *sc = command->sc;
sys/dev/raid/ips/ips_commands.c
547
command->callback = ips_wakeup_callback;
sys/dev/raid/ips/ips_commands.c
548
command_struct = (ips_adapter_ffdc_cmd *)command->command_buffer;
sys/dev/raid/ips/ips_commands.c
549
command_struct->command = IPS_FFDC_CMD;
sys/dev/raid/ips/ips_commands.c
550
command_struct->id = command->id;
sys/dev/raid/ips/ips_commands.c
554
bus_dmamap_sync(sc->command_dmatag, command->command_dmamap,
sys/dev/raid/ips/ips_commands.c
556
sc->ips_issue_cmd(command);
sys/dev/raid/ips/ips_commands.c
557
if (command->status.value != IPS_ERROR_STATUS)
sys/dev/raid/ips/ips_commands.c
558
ips_timed_wait(command, "ffdc", 0);
sys/dev/raid/ips/ips_commands.c
559
ips_insert_free_cmd(sc, command);
sys/dev/raid/ips/ips_commands.c
566
ips_command_t *command;
sys/dev/raid/ips/ips_commands.c
568
if (ips_get_free_cmd(sc, &command, IPS_STATIC_FLAG) != 0) {
sys/dev/raid/ips/ips_commands.c
573
ips_send_ffdc_reset_cmd(command);
sys/dev/raid/ips/ips_commands.c
574
if (COMMAND_ERROR(&command->status)) {
sys/dev/raid/ips/ips_commands.c
582
command->status.value);
sys/dev/raid/ips/ips_commands.c
588
ips_write_nvram(ips_command_t *command)
sys/dev/raid/ips/ips_commands.c
590
ips_softc_t *sc = command->sc;
sys/dev/raid/ips/ips_commands.c
595
command->callback = ips_wakeup_callback;
sys/dev/raid/ips/ips_commands.c
596
command_struct = (ips_rw_nvram_cmd *)command->command_buffer;
sys/dev/raid/ips/ips_commands.c
597
command_struct->command = IPS_RW_NVRAM_CMD;
sys/dev/raid/ips/ips_commands.c
598
command_struct->id = command->id;
sys/dev/raid/ips/ips_commands.c
601
bus_dmamap_sync(command->data_dmatag, command->data_dmamap,
sys/dev/raid/ips/ips_commands.c
603
nvram = command->data_buffer;
sys/dev/raid/ips/ips_commands.c
609
bus_dmamap_sync(sc->command_dmatag, command->command_dmamap,
sys/dev/raid/ips/ips_commands.c
611
sc->ips_issue_cmd(command);
sys/dev/raid/ips/ips_commands.c
619
ips_command_t *command = cmdptr;
sys/dev/raid/ips/ips_commands.c
622
sc = command->sc;
sys/dev/raid/ips/ips_commands.c
624
command->status.value = IPS_ERROR_STATUS;
sys/dev/raid/ips/ips_commands.c
625
ips_insert_free_cmd(sc, command);
sys/dev/raid/ips/ips_commands.c
629
command_struct = (ips_rw_nvram_cmd *)command->command_buffer;
sys/dev/raid/ips/ips_commands.c
630
command_struct->command = IPS_RW_NVRAM_CMD;
sys/dev/raid/ips/ips_commands.c
631
command_struct->id = command->id;
sys/dev/raid/ips/ips_commands.c
636
bus_dmamap_sync(sc->command_dmatag, command->command_dmamap,
sys/dev/raid/ips/ips_commands.c
638
bus_dmamap_sync(command->data_dmatag, command->data_dmamap,
sys/dev/raid/ips/ips_commands.c
640
sc->ips_issue_cmd(command);
sys/dev/raid/ips/ips_commands.c
644
ips_read_nvram(ips_command_t *command)
sys/dev/raid/ips/ips_commands.c
647
ips_softc_t *sc = command->sc;
sys/dev/raid/ips/ips_commands.c
658
&command->data_dmatag) != 0) {
sys/dev/raid/ips/ips_commands.c
66
ips_wakeup_callback(ips_command_t *command)
sys/dev/raid/ips/ips_commands.c
663
if (bus_dmamem_alloc(command->data_dmatag, &command->data_buffer,
sys/dev/raid/ips/ips_commands.c
664
BUS_DMA_NOWAIT, &command->data_dmamap)) {
sys/dev/raid/ips/ips_commands.c
668
command->callback = ips_write_nvram;
sys/dev/raid/ips/ips_commands.c
669
bus_dmamap_load(command->data_dmatag, command->data_dmamap,
sys/dev/raid/ips/ips_commands.c
670
command->data_buffer, IPS_NVRAM_PAGE_SIZE, ips_read_nvram_callback,
sys/dev/raid/ips/ips_commands.c
671
command, BUS_DMA_NOWAIT);
sys/dev/raid/ips/ips_commands.c
672
if ((command->status.value == IPS_ERROR_STATUS) ||
sys/dev/raid/ips/ips_commands.c
673
ips_timed_wait(command, "ips", 0) != 0)
sys/dev/raid/ips/ips_commands.c
676
bus_dmamap_sync(command->data_dmatag, command->data_dmamap,
sys/dev/raid/ips/ips_commands.c
679
bus_dmamap_unload(command->data_dmatag, command->data_dmamap);
sys/dev/raid/ips/ips_commands.c
68
bus_dmamap_sync(command->sc->command_dmatag, command->command_dmamap,
sys/dev/raid/ips/ips_commands.c
681
bus_dmamem_free(command->data_dmatag, command->data_buffer,
sys/dev/raid/ips/ips_commands.c
682
command->data_dmamap);
sys/dev/raid/ips/ips_commands.c
683
bus_dma_tag_destroy(command->data_dmatag);
sys/dev/raid/ips/ips_commands.c
684
ips_insert_free_cmd(sc, command);
sys/dev/raid/ips/ips_commands.c
691
ips_command_t *command;
sys/dev/raid/ips/ips_commands.c
693
if (ips_get_free_cmd(sc, &command, IPS_STATIC_FLAG) != 0) {
sys/dev/raid/ips/ips_commands.c
698
ips_read_nvram(command);
sys/dev/raid/ips/ips_commands.c
699
if (COMMAND_ERROR(&command->status)) {
sys/dev/raid/ips/ips_commands.c
70
command->completed = 1;
sys/dev/raid/ips/ips_commands.c
707
ips_send_config_sync_cmd(ips_command_t *command)
sys/dev/raid/ips/ips_commands.c
709
ips_softc_t *sc = command->sc;
sys/dev/raid/ips/ips_commands.c
71
wakeup(&command->completed);
sys/dev/raid/ips/ips_commands.c
713
command->callback = ips_wakeup_callback;
sys/dev/raid/ips/ips_commands.c
714
command_struct = (ips_generic_cmd *)command->command_buffer;
sys/dev/raid/ips/ips_commands.c
715
command_struct->command = IPS_CONFIG_SYNC_CMD;
sys/dev/raid/ips/ips_commands.c
716
command_struct->id = command->id;
sys/dev/raid/ips/ips_commands.c
718
bus_dmamap_sync(sc->command_dmatag, command->command_dmamap,
sys/dev/raid/ips/ips_commands.c
720
sc->ips_issue_cmd(command);
sys/dev/raid/ips/ips_commands.c
721
if (command->status.value != IPS_ERROR_STATUS)
sys/dev/raid/ips/ips_commands.c
722
ips_timed_wait(command, "ipssyn", 0);
sys/dev/raid/ips/ips_commands.c
723
ips_insert_free_cmd(sc, command);
sys/dev/raid/ips/ips_commands.c
728
ips_send_error_table_cmd(ips_command_t *command)
sys/dev/raid/ips/ips_commands.c
730
ips_softc_t *sc = command->sc;
sys/dev/raid/ips/ips_commands.c
734
command->callback = ips_wakeup_callback;
sys/dev/raid/ips/ips_commands.c
735
command_struct = (ips_generic_cmd *)command->command_buffer;
sys/dev/raid/ips/ips_commands.c
736
command_struct->command = IPS_ERROR_TABLE_CMD;
sys/dev/raid/ips/ips_commands.c
737
command_struct->id = command->id;
sys/dev/raid/ips/ips_commands.c
739
bus_dmamap_sync(sc->command_dmatag, command->command_dmamap,
sys/dev/raid/ips/ips_commands.c
741
sc->ips_issue_cmd(command);
sys/dev/raid/ips/ips_commands.c
742
if (command->status.value != IPS_ERROR_STATUS)
sys/dev/raid/ips/ips_commands.c
743
ips_timed_wait(command, "ipsetc", 0);
sys/dev/raid/ips/ips_commands.c
744
ips_insert_free_cmd(sc, command);
sys/dev/raid/ips/ips_commands.c
751
ips_command_t *command;
sys/dev/raid/ips/ips_commands.c
754
if (ips_get_free_cmd(sc, &command, IPS_STATIC_FLAG) != 0) {
sys/dev/raid/ips/ips_commands.c
759
ips_send_config_sync_cmd(command);
sys/dev/raid/ips/ips_commands.c
760
if (COMMAND_ERROR(&command->status)) {
sys/dev/raid/ips/ips_commands.c
765
if (ips_get_free_cmd(sc, &command, IPS_STATIC_FLAG) != 0) {
sys/dev/raid/ips/ips_commands.c
770
ips_send_error_table_cmd(command);
sys/dev/raid/ips/ips_commands.c
771
if (COMMAND_ERROR(&command->status)) {
sys/dev/raid/ips/ips_commands.c
81
ips_io_request_finish(ips_command_t *command)
sys/dev/raid/ips/ips_commands.c
83
struct bio *bio = command->arg;
sys/dev/raid/ips/ips_commands.c
86
bus_dmamap_sync(command->data_dmatag, command->data_dmamap,
sys/dev/raid/ips/ips_commands.c
89
bus_dmamap_sync(command->data_dmatag, command->data_dmamap,
sys/dev/raid/ips/ips_commands.c
92
bus_dmamap_unload(command->data_dmatag, command->data_dmamap);
sys/dev/raid/ips/ips_commands.c
93
if (COMMAND_ERROR(&command->status)) {
sys/dev/raid/ips/ips_commands.c
97
ips_insert_free_cmd(command->sc, command);
sys/dev/raid/ips/ips_disk.c
224
ips_command_t *command;
sys/dev/raid/ips/ips_disk.c
237
if (ips_get_free_cmd(sc, &command, 0) != 0) {
sys/dev/raid/ips/ips_disk.c
242
command->data_dmatag = sc->sg_dmatag;
sys/dev/raid/ips/ips_disk.c
243
command->callback = ipsd_dump_block_complete;
sys/dev/raid/ips/ips_disk.c
245
command_struct = (ips_io_cmd *)command->command_buffer;
sys/dev/raid/ips/ips_disk.c
246
command_struct->id = command->id;
sys/dev/raid/ips/ips_disk.c
256
if (bus_dmamap_load(command->data_dmatag, command->data_dmamap,
sys/dev/raid/ips/ips_disk.c
257
va, len, ipsd_dump_map_sg, command, 0) != 0) {
sys/dev/raid/ips/ips_disk.c
261
if (COMMAND_ERROR(&command->status)) {
sys/dev/raid/ips/ips_disk.c
270
ips_insert_free_cmd(command->sc, command);
sys/dev/raid/ips/ips_disk.c
278
ips_command_t *command;
sys/dev/raid/ips/ips_disk.c
283
command = (ips_command_t *)arg;
sys/dev/raid/ips/ips_disk.c
284
sc = command->sc;
sys/dev/raid/ips/ips_disk.c
289
command->status.value = IPS_ERROR_STATUS;
sys/dev/raid/ips/ips_disk.c
293
command_struct = (ips_io_cmd *)command->command_buffer;
sys/dev/raid/ips/ips_disk.c
298
command->command_buffer + IPS_COMMAND_LEN);
sys/dev/raid/ips/ips_disk.c
305
(uint32_t)command->command_phys_addr + IPS_COMMAND_LEN;
sys/dev/raid/ips/ips_disk.c
306
command_struct->command = IPS_SG_WRITE_CMD;
sys/dev/raid/ips/ips_disk.c
311
command_struct->command = IPS_WRITE_CMD;
sys/dev/raid/ips/ips_disk.c
316
bus_dmamap_sync(sc->command_dmatag, command->command_dmamap,
sys/dev/raid/ips/ips_disk.c
318
bus_dmamap_sync(command->data_dmatag, command->data_dmamap,
sys/dev/raid/ips/ips_disk.c
321
sc->ips_issue_cmd(command);
sys/dev/raid/ips/ips_disk.c
322
sc->ips_poll_cmd(command);
sys/dev/raid/ips/ips_disk.c
327
ipsd_dump_block_complete(ips_command_t *command)
sys/dev/raid/ips/ips_disk.c
329
if (COMMAND_ERROR(&command->status)) {
sys/dev/raid/ips/ips_disk.c
331
command->status.value);
sys/dev/raid/ips/ips_disk.c
333
bus_dmamap_sync(command->data_dmatag, command->data_dmamap,
sys/dev/raid/ips/ips_disk.c
335
bus_dmamap_unload(command->data_dmatag, command->data_dmamap);
sys/dev/raid/ips/ips_disk.c
46
static void ipsd_dump_block_complete(ips_command_t *command);
sys/dev/raid/ips/ips_ioctl.c
100
ips_command_t *command;
sys/dev/raid/ips/ips_ioctl.c
126
if ((error = ips_get_free_cmd(sc, &command, 0)) > 0) {
sys/dev/raid/ips/ips_ioctl.c
131
command->arg = ioctl_cmd;
sys/dev/raid/ips/ips_ioctl.c
132
ips_ioctl_start(command);
sys/dev/raid/ips/ips_ioctl.c
34
ips_ioctl_finish(ips_command_t *command)
sys/dev/raid/ips/ips_ioctl.c
36
ips_ioctl_t *ioctl_cmd = command->arg;
sys/dev/raid/ips/ips_ioctl.c
45
bus_dmamap_sync(command->sc->command_dmatag, command->command_dmamap,
sys/dev/raid/ips/ips_ioctl.c
48
ioctl_cmd->status.value = command->status.value;
sys/dev/raid/ips/ips_ioctl.c
49
ips_insert_free_cmd(command->sc, command);
sys/dev/raid/ips/ips_ioctl.c
56
ips_command_t *command;
sys/dev/raid/ips/ips_ioctl.c
60
command = cmdptr;
sys/dev/raid/ips/ips_ioctl.c
61
ioctl_cmd = command->arg;
sys/dev/raid/ips/ips_ioctl.c
62
command_buffer = command->command_buffer;
sys/dev/raid/ips/ips_ioctl.c
65
ips_insert_free_cmd(command->sc, command);
sys/dev/raid/ips/ips_ioctl.c
68
command_buffer->id = command->id;
sys/dev/raid/ips/ips_ioctl.c
77
bus_dmamap_sync(command->sc->command_dmatag, command->command_dmamap,
sys/dev/raid/ips/ips_ioctl.c
79
command->sc->ips_issue_cmd(command);
sys/dev/raid/ips/ips_ioctl.c
83
ips_ioctl_start(ips_command_t *command)
sys/dev/raid/ips/ips_ioctl.c
85
ips_ioctl_t *ioctl_cmd = command->arg;
sys/dev/raid/ips/ips_ioctl.c
87
memcpy(command->command_buffer, ioctl_cmd->command_buffer,
sys/dev/raid/ips/ips_ioctl.c
89
command->callback = ips_ioctl_finish;
sys/dev/raid/ips/ips_ioctl.c
92
command, 0);
sys/dev/raid/ips/ips_pci.c
108
if (sc->iores == NULL && command & PCIM_CMD_PORTEN) {
sys/dev/raid/ips/ips_pci.c
81
u_int32_t command;
sys/dev/raid/ips/ips_pci.c
95
command = pci_read_config(dev, PCIR_COMMAND, 1);
sys/dev/raid/ips/ips_pci.c
98
if (command & PCIM_CMD_MEMEN) {
sys/dev/raid/mfi/mfi_cam.c
331
uint8_t command, device;
sys/dev/raid/mfi/mfi_cam.c
336
command = csio->cdb_io.cdb_ptr[0];
sys/dev/raid/mfi/mfi_cam.c
338
command = csio->cdb_io.cdb_bytes[0];
sys/dev/raid/mfi/mfi_cam.c
339
if (command == INQUIRY) {
sys/dev/raid/mfi/mfi_pci.c
225
uint32_t command;
sys/dev/raid/mfi/mfi_pci.c
236
command = pci_read_config(dev, PCIR_COMMAND, 2);
sys/dev/raid/mfi/mfi_pci.c
237
command |= PCIM_CMD_BUSMASTEREN;
sys/dev/raid/mfi/mfi_pci.c
238
pci_write_config(dev, PCIR_COMMAND, command, 2);
sys/dev/raid/mfi/mfi_pci.c
239
command = pci_read_config(dev, PCIR_COMMAND, 2);
sys/dev/raid/mfi/mfi_pci.c
240
if ((command & PCIM_CMD_BUSMASTEREN) == 0) {
sys/dev/raid/mfi/mfi_pci.c
244
if ((command & PCIM_CMD_MEMEN) == 0) {
sys/dev/raid/mlx/mlx.c
1365
int failsafe, i, command;
sys/dev/raid/mlx/mlx.c
1369
command = MLX_CMD_STARTCHANNEL;
sys/dev/raid/mlx/mlx.c
1373
command = MLX_CMD_STOPCHANNEL;
sys/dev/raid/mlx/mlx.c
1400
mlx_make_type2(mc, command, (failsafe << 4) | i, 0, 0, 0, 0, 0, 0, 0);
sys/dev/raid/mlx/mlx.c
1410
command == MLX_CMD_STOPCHANNEL ? "pause" : "resume", i);
sys/dev/raid/mlx/mlx.c
1421
int command = mc->mc_mailbox[0];
sys/dev/raid/mlx/mlx.c
1426
command == MLX_CMD_STOPCHANNEL ? "pause" : "resume", mlx_diagnose_command(mc));
sys/dev/raid/mlx/mlx.c
1427
} else if (command == MLX_CMD_STOPCHANNEL) {
sys/dev/raid/mlx/mlx.c
1450
mlx_enquire(struct mlx_softc *sc, int command, size_t bufsize, void (* complete)(struct mlx_command *mc))
sys/dev/raid/mlx/mlx.c
1476
mlx_make_type2(mc, command, 0, 0, 0, 0, 0, 0, mc->mc_dataphys, 0);
sys/dev/raid/mlx/mlx.c
2697
int command;
sys/dev/raid/mlx/mlx.c
2744
for (i = 0; mlx_messages[i].command != -1; i++)
sys/dev/raid/mlx/mlx.c
2745
if (((mc->mc_mailbox[0] == mlx_messages[i].command) || (mlx_messages[i].command == 0)) &&
sys/dev/raid/mlx/mlx.c
97
static void *mlx_enquire(struct mlx_softc *sc, int command, size_t bufsize,
sys/dev/raid/mlx/mlx_pci.c
112
u_int32_t command;
sys/dev/raid/mlx/mlx_pci.c
119
command = pci_read_config(dev, PCIR_COMMAND, 2);
sys/dev/raid/mlx/mlx_pci.c
120
if ((command & PCIM_CMD_MEMEN) == 0) {
sys/dev/raid/mlx/mlx_pci.c
125
command |= PCIM_CMD_BUSMASTEREN;
sys/dev/raid/mlx/mlx_pci.c
126
pci_write_config(dev, PCIR_COMMAND, command, 2);
sys/dev/raid/mly/mly.c
339
u_int32_t command;
sys/dev/raid/mly/mly.c
351
command = pci_read_config(sc->mly_dev, PCIR_COMMAND, 2);
sys/dev/raid/mly/mly.c
352
command |= PCIM_CMD_BUSMASTEREN;
sys/dev/raid/mly/mly.c
353
pci_write_config(sc->mly_dev, PCIR_COMMAND, command, 2);
sys/dev/raid/mly/mly.c
354
command = pci_read_config(sc->mly_dev, PCIR_COMMAND, 2);
sys/dev/raid/mly/mly.c
355
if (!(command & PCIM_CMD_BUSMASTEREN)) {
sys/dev/raid/mly/mly.c
359
if ((command & PCIM_CMD_MEMEN) == 0) {
sys/dev/raid/mps/mps_pci.c
186
uint16_t command;
sys/dev/raid/mps/mps_pci.c
196
command = pci_read_config(dev, PCIR_COMMAND, 2);
sys/dev/raid/mps/mps_pci.c
197
command |= PCIM_CMD_BUSMASTEREN;
sys/dev/raid/mps/mps_pci.c
198
pci_write_config(dev, PCIR_COMMAND, command, 2);
sys/dev/raid/mps/mps_pci.c
199
command = pci_read_config(dev, PCIR_COMMAND, 2);
sys/dev/raid/mps/mps_pci.c
200
if ((command & PCIM_CMD_BUSMASTEREN) == 0) {
sys/dev/raid/mps/mps_pci.c
204
if ((command & PCIM_CMD_MEMEN) == 0) {
sys/dev/raid/twa/tw_cl_fwif.h
327
} command;
sys/dev/raid/twa/tw_cl_init.c
651
init_connect = &(req->cmd_pkt->command.cmd_pkt_7k.init_connect);
sys/dev/raid/twa/tw_cl_intr.c
318
command.cmd_pkt_9k.res__opcode),
sys/dev/raid/twa/tw_cl_intr.c
437
&(req->cmd_pkt->command.cmd_pkt_9k);
sys/dev/raid/twa/tw_cl_intr.c
521
&(req->cmd_pkt->command.cmd_pkt_7k);
sys/dev/raid/twa/tw_cl_intr.c
575
&(req->cmd_pkt->command.cmd_pkt_9k);
sys/dev/raid/twa/tw_cl_io.c
114
cmd = &(req->cmd_pkt->command.cmd_pkt_9k);
sys/dev/raid/twa/tw_cl_io.c
1315
cmd9k = &(cmdpkt->command.cmd_pkt_9k);
sys/dev/raid/twa/tw_cl_io.c
306
cmd_9k = &(req->cmd_pkt->command.cmd_pkt_9k);
sys/dev/raid/twa/tw_cl_io.c
320
cmd_7k = &(req->cmd_pkt->command.cmd_pkt_7k);
sys/dev/raid/twa/tw_cl_io.c
749
cmd = &(req->cmd_pkt->command.cmd_pkt_7k);
sys/dev/raid/twa/tw_cl_io.c
866
cmd = &(req->cmd_pkt->command.cmd_pkt_7k);
sys/dev/raid/twa/tw_cl_misc.c
358
if ((error = req->cmd_pkt->command.cmd_pkt_9k.status)) {
sys/dev/raid/twa/tw_cl_misc.c
599
if (req->cmd_pkt->command.cmd_pkt_9k.status)
sys/dev/raid/twa/tw_cl_misc.c
604
tw_osl_memzero(&(req->cmd_pkt->command),
sys/dev/raid/twa/tw_cl_misc.c
968
cmd9k = &(cmd_pkt->command.cmd_pkt_9k);
sys/dev/raid/twa/tw_cl_misc.c
991
cmd7k = &(cmd_pkt->command.cmd_pkt_7k);
sys/dev/raid/twe/twereg.h
294
u_int8_t command;
sys/dev/video/cxm/cxm.c
1637
uint32_t command;
sys/dev/video/cxm/cxm.c
1661
command = pci_read_config(dev, PCIR_COMMAND, 4);
sys/dev/video/cxm/cxm.c
1663
if (!(command & PCIM_CMD_MEMEN)) {
sys/dev/video/cxm/cxm.c
370
+ offsetof(struct cxm_mailbox, command));
sys/dev/video/cxm/cxm.c
403
CSR_WRITE_4(sc, mailbox + offsetof(struct cxm_mailbox, command), cmd);
sys/dev/video/cxm/cxm.h
169
uint32_t command;
sys/dev/virtual/amazon/ena/ena-com/ena_admin_defs.h
1073
return p->command & ENA_ADMIN_ACQ_COMMON_DESC_COMMAND_ID_MASK;
sys/dev/virtual/amazon/ena/ena-com/ena_admin_defs.h
1078
p->command |= val & ENA_ADMIN_ACQ_COMMON_DESC_COMMAND_ID_MASK;
sys/dev/virtual/amazon/ena/ena-com/ena_admin_defs.h
221
uint16_t command;
sys/dev/virtual/amazon/ena/ena-com/ena_com.c
470
cmd_id = cqe->acq_common_descriptor.command &
sys/dev/virtual/amazon/ena/ena-com/ena_defs/ena_admin_defs.h
1145
return p->command & ENA_ADMIN_ACQ_COMMON_DESC_COMMAND_ID_MASK;
sys/dev/virtual/amazon/ena/ena-com/ena_defs/ena_admin_defs.h
1150
p->command |= val & ENA_ADMIN_ACQ_COMMON_DESC_COMMAND_ID_MASK;
sys/dev/virtual/amazon/ena/ena-com/ena_defs/ena_admin_defs.h
222
uint16_t command;
sys/dev/virtual/amazon/ena/ena.c
2379
ena_ioctl(if_t ifp, u_long command, caddr_t data, struct ucred *cred)
sys/dev/virtual/amazon/ena/ena.c
2392
switch (command) {
sys/dev/virtual/amazon/ena/ena.c
2431
rc = ifmedia_ioctl(ifp, ifr, &adapter->media, command);
sys/dev/virtual/amazon/ena/ena.c
2454
rc = ether_ioctl(ifp, command, data);
sys/kern/vfs_vopops.c
508
vop_ioctl(struct vop_ops *ops, struct vnode *vp, u_long command, caddr_t data,
sys/kern/vfs_vopops.c
518
ap.a_command = command;
sys/net/if_ethersubr.c
677
ether_ioctl(struct ifnet *ifp, u_long command, caddr_t data)
sys/net/if_ethersubr.c
693
switch (command) {
sys/netgraph/fec/ng_fec.c
1034
ng_fec_print_ioctl(struct ifnet *ifp, int command, caddr_t data)
sys/netgraph/fec/ng_fec.c
1038
switch (command & IOC_DIRMASK) {
sys/netgraph/fec/ng_fec.c
1057
IOCGROUP(command),
sys/netgraph/fec/ng_fec.c
1058
command & 0xff,
sys/netgraph/fec/ng_fec.c
1059
IOCPARM_LEN(command));
sys/netgraph/fec/ng_fec.c
478
ng_fec_setport(struct ifnet *ifp, u_long command, caddr_t data)
sys/netgraph/fec/ng_fec.c
493
oifp->if_ioctl(oifp, command, data, NULL);
sys/netgraph/fec/ng_fec.c
648
ng_fec_ioctl(struct ifnet *ifp, u_long command, caddr_t data, struct ucred *cr)
sys/netgraph/fec/ng_fec.c
659
ng_fec_print_ioctl(ifp, command, data);
sys/netgraph/fec/ng_fec.c
662
switch (command) {
sys/netgraph/fec/ng_fec.c
668
error = ether_ioctl(ifp, command, data);
sys/netgraph/fec/ng_fec.c
697
ng_fec_setport(ifp, command, data);
sys/netgraph/fec/ng_fec.c
711
ng_fec_setport(ifp, command, data);
sys/netgraph/fec/ng_fec.c
716
error = ifmedia_ioctl(ifp, ifr, &priv->ifmedia, command);
sys/netgraph/iface/ng_iface.c
336
ng_iface_ioctl(struct ifnet *ifp, u_long command, caddr_t data,
sys/netgraph/iface/ng_iface.c
343
ng_iface_print_ioctl(ifp, command, data);
sys/netgraph/iface/ng_iface.c
346
switch (command) {
sys/netgraph/iface/ng_iface.c
505
ng_iface_print_ioctl(struct ifnet *ifp, int command, caddr_t data)
sys/netgraph/iface/ng_iface.c
509
switch (command & IOC_DIRMASK) {
sys/netgraph/iface/ng_iface.c
528
IOCGROUP(command),
sys/netgraph/iface/ng_iface.c
529
command & 0xff,
sys/netgraph/iface/ng_iface.c
530
IOCPARM_LEN(command));
sys/netgraph7/bluetooth/include/ng_hci.h
1613
u_int8_t command[0]; /* Command packet */
sys/netgraph7/eiface/ng_eiface.c
126
ng_eiface_ioctl(struct ifnet *ifp, u_long command, caddr_t data, struct ucred *cr)
sys/netgraph7/eiface/ng_eiface.c
132
ng_eiface_print_ioctl(ifp, command, data);
sys/netgraph7/eiface/ng_eiface.c
135
switch (command) {
sys/netgraph7/eiface/ng_eiface.c
139
error = ether_ioctl(ifp, command, data);
sys/netgraph7/eiface/ng_eiface.c
299
ng_eiface_print_ioctl(struct ifnet *ifp, int command, caddr_t data)
sys/netgraph7/eiface/ng_eiface.c
303
switch (command & IOC_DIRMASK) {
sys/netgraph7/eiface/ng_eiface.c
322
IOCGROUP(command),
sys/netgraph7/eiface/ng_eiface.c
323
command & 0xff,
sys/netgraph7/eiface/ng_eiface.c
324
IOCPARM_LEN(command));
sys/netgraph7/iface/ng_iface.c
342
ng_iface_ioctl(struct ifnet *ifp, u_long command, caddr_t data,
sys/netgraph7/iface/ng_iface.c
349
ng_iface_print_ioctl(ifp, command, data);
sys/netgraph7/iface/ng_iface.c
352
switch (command) {
sys/netgraph7/iface/ng_iface.c
533
ng_iface_print_ioctl(struct ifnet *ifp, int command, caddr_t data)
sys/netgraph7/iface/ng_iface.c
537
switch (command & IOC_DIRMASK) {
sys/netgraph7/iface/ng_iface.c
556
IOCGROUP(command),
sys/netgraph7/iface/ng_iface.c
557
command & 0xff,
sys/netgraph7/iface/ng_iface.c
558
IOCPARM_LEN(command));
sys/netgraph7/ng_fec.c
1156
ng_fec_print_ioctl(struct ifnet *ifp, int command, caddr_t data)
sys/netgraph7/ng_fec.c
1160
switch (command & IOC_DIRMASK) {
sys/netgraph7/ng_fec.c
1179
IOCGROUP(command),
sys/netgraph7/ng_fec.c
1180
command & 0xff,
sys/netgraph7/ng_fec.c
1181
IOCPARM_LEN(command));
sys/netgraph7/ng_fec.c
592
ng_fec_setport(struct ifnet *ifp, u_long command, caddr_t data)
sys/netgraph7/ng_fec.c
605
(*oifp->if_ioctl)(oifp, command, data);
sys/netgraph7/ng_fec.c
754
ng_fec_ioctl(struct ifnet *ifp, u_long command, caddr_t data)
sys/netgraph7/ng_fec.c
765
ng_fec_print_ioctl(ifp, command, data);
sys/netgraph7/ng_fec.c
768
switch (command) {
sys/netgraph7/ng_fec.c
773
error = ether_ioctl(ifp, command, data);
sys/netgraph7/ng_fec.c
820
ng_fec_setport(ifp, command, data);
sys/netgraph7/ng_fec.c
836
error = ifmedia_ioctl(ifp, ifr, &priv->ifmedia, command);
sys/netgraph7/ng_sppp.c
179
ng_sppp_ioctl (struct ifnet *ifp, u_long command, caddr_t data)
sys/netgraph7/ng_sppp.c
181
return sppp_ioctl (ifp, command, data);
sys/sys/nata.h
408
u_int8_t command;
sys/sys/soundcard.h
1325
(SEQ_DUMPBUF(), _pm_info.command = _PM_LOAD_PATCH, \
sys/sys/soundcard.h
1330
(SEQ_DUMPBUF(), _pm_info.command = _PM_LOAD_PATCH, \
sys/sys/soundcard.h
497
int command;
sys/sys/soundcard.h
960
int command; /* Set to 0 if not used */
sys/sys/soundcard.h
972
int command; /* Used internally. Set to 0 */
sys/sys/vfsops.h
1064
#define VOP_IOCTL(vp, command, data, fflag, cred, msg) \
sys/sys/vfsops.h
1065
vop_ioctl(*(vp)->v_ops, vp, command, data, fflag, cred, msg)
sys/sys/vfsops.h
795
int vop_ioctl(struct vop_ops *ops, struct vnode *vp, u_long command,
usr.bin/apply/apply.c
227
exec_shell(const char *command, const char *use_shell, const char *use_name)
usr.bin/apply/apply.c
233
if (command == NULL) /* just checking... */
usr.bin/apply/apply.c
242
execl(use_shell, use_name, "-c", command, NULL);
usr.bin/evtranalyze/evtranalyze.c
1487
struct command *cmd;
usr.bin/newkey/update.c
145
_openchild(char *command, FILE **fto, FILE **ffrom)
usr.bin/newkey/update.c
176
com = malloc((unsigned) strlen(command) + 6);
usr.bin/newkey/update.c
180
(void)sprintf(com, "exec %s", command);
usr.bin/objformat/objformat.c
62
static struct command commands[] = {
usr.bin/objformat/objformat.c
97
struct command *cmds;
usr.bin/sdpquery/sdpquery.c
119
for (cmd = commands ; cmd->command != NULL; cmd++) {
usr.bin/sdpquery/sdpquery.c
120
if (strcasecmp(*argv, cmd->command) == 0)
usr.bin/sdpquery/sdpquery.c
131
struct command *cmd;
usr.bin/sdpquery/sdpquery.c
148
for (cmd = commands ; cmd->command != NULL ; cmd++)
usr.bin/sdpquery/sdpquery.c
149
fprintf(stderr, "\t%-13s%s\n", cmd->command, cmd->usage);
usr.bin/sdpquery/sdpquery.c
52
const char *command;
usr.bin/sdpquery/sdpquery.c
65
struct command *cmd;
usr.bin/systat/extern.h
91
void command(const char *);
usr.bin/systat/keyboard.c
111
command(line + 1);
usr.bin/systat/vmstat.c
476
command("pigs");
usr.bin/telnet/externs.h
220
command(int, const char *, int),
usr.bin/telnet/main.c
335
command(1, 0, 0);
usr.bin/telnet/telnet.c
1855
command(0, "z\n", 2);
usr.bin/telnet/telnet.c
1899
command(0, "close\n", 6);
usr.bin/telnet/telnet.c
1904
command(0, "z\n", 2);
usr.bin/telnet/telnet.c
1908
command(0, tbp, tcc);
usr.bin/telnet/telnet.c
1934
command(0, (char *)tbp, tcc);
usr.bin/tftp/main.c
156
command();
usr.bin/tftp/main.c
93
static void command(void) __dead2;
usr.bin/timeout/timeout.c
194
sys_signame[signo], signo, command);
usr.bin/timeout/timeout.c
217
sys_signame[SIGCONT], SIGCONT, command);
usr.bin/timeout/timeout.c
333
command = argv[0];
usr.bin/timeout/timeout.c
56
static const char *command = NULL;
usr.bin/tip/cmds.c
395
transmit(FILE *fd, char *eofchars, char *command)
usr.bin/tip/cmds.c
407
if (command != NULL) {
usr.bin/tip/cmds.c
408
for (pc = command; *pc; pc++)
usr.bin/top/commands.c
1035
command *c;
usr.bin/top/commands.c
845
if (gstate->pselect.command != NULL)
usr.bin/top/commands.c
847
free(gstate->pselect.command);
usr.bin/top/commands.c
848
gstate->pselect.command = NULL;
usr.bin/top/commands.c
856
gstate->pselect.command = strdup(linebuf);
usr.bin/top/commands.c
921
command command_table[] = {
usr.bin/top/commands.c
960
command *c;
usr.bin/top/m_dragonfly.c
561
match_command = sel->command;
usr.bin/top/machine.h
106
char *command; /* only this command (unless == NULL) */
usr.bin/top/top.c
769
gstate->pselect.command = NULL;
usr.bin/truss/main.c
129
char **command;
usr.bin/truss/main.c
196
command = av;
usr.bin/truss/main.c
197
trussinfo->pid = setup_and_wait(command);
usr.bin/truss/setup.c
67
setup_and_wait(char *command[]) {
usr.bin/truss/setup.c
95
execvp(command[0], command);
usr.bin/truss/setup.c
96
err(4, "execvp %s", command[0]);
usr.bin/usbhidaction/usbhidaction.c
243
struct command *cmds =
usr.bin/usbhidaction/usbhidaction.c
276
static struct command *
usr.bin/usbhidaction/usbhidaction.c
284
struct command *cmd, *cmds;
usr.bin/usbhidaction/usbhidaction.c
466
docmd(struct command *cmd, int value, const char *hid, int argc, char **argv)
usr.bin/usbhidaction/usbhidaction.c
511
freecommands(struct command *cmd)
usr.bin/usbhidaction/usbhidaction.c
513
struct command *next;
usr.bin/usbhidaction/usbhidaction.c
55
struct command *next;
usr.bin/usbhidaction/usbhidaction.c
67
static struct command *commands;
usr.bin/usbhidaction/usbhidaction.c
72
static struct command *parse_conf(const char *, report_desc_t, int, int);
usr.bin/usbhidaction/usbhidaction.c
73
static void docmd(struct command *, int, const char *, int, char **);
usr.bin/usbhidaction/usbhidaction.c
74
static void freecommands(struct command *);
usr.bin/usbhidaction/usbhidaction.c
94
struct command *cmd;
usr.sbin/autofs/popen.c
106
command = concat(command, ' ', arg);
usr.sbin/autofs/popen.c
110
cur->command = checked_strdup(command);
usr.sbin/autofs/popen.c
131
log_debugx("executing \"%s\" as pid %d", command, pid);
usr.sbin/autofs/popen.c
176
cur->command, pid, WTERMSIG(status));
usr.sbin/autofs/popen.c
182
cur->command, pid, WEXITSTATUS(status));
usr.sbin/autofs/popen.c
186
log_debugx("\"%s\", pid %d, terminated gracefully", cur->command, pid);
usr.sbin/autofs/popen.c
188
free(cur->command);
usr.sbin/autofs/popen.c
62
char *command;
usr.sbin/autofs/popen.c
80
char *arg, *argv[ARGV_LEN], *command;
usr.sbin/autofs/popen.c
95
command = argv[0];
usr.sbin/cdcontrol/cdcontrol.c
1232
*cmd = c->command;
usr.sbin/cdcontrol/cdcontrol.c
1238
if (*cmd != -1 && *cmd != c->command) {
usr.sbin/cdcontrol/cdcontrol.c
1242
*cmd = c->command;
usr.sbin/cdcontrol/cdcontrol.c
80
int command;
usr.sbin/cpucontrol/cpucontrol.c
229
unsigned long command;
usr.sbin/cpucontrol/cpucontrol.c
300
command = CPUCTL_RDMSR;
usr.sbin/cpucontrol/cpucontrol.c
304
command = CPUCTL_WRMSR;
usr.sbin/cpucontrol/cpucontrol.c
308
command = CPUCTL_MSRSBIT;
usr.sbin/cpucontrol/cpucontrol.c
312
command = CPUCTL_MSRCBIT;
usr.sbin/cpucontrol/cpucontrol.c
324
error = ioctl(fd, command, &args);
usr.sbin/cpucontrol/cpucontrol.c
326
WARN(0, "ioctl(%s, CPUCTL_%s (%lu))", dev, command_name, command);
usr.sbin/installer/dfuibe_installer/fn_configure.c
100
struct command *cmd;
usr.sbin/installer/dfuibe_installer/fn_configure.c
1169
struct command *cmd;
usr.sbin/installer/dfuibe_installer/fn_configure.c
251
struct command *cmd;
usr.sbin/installer/dfuibe_installer/fn_configure.c
923
struct command *cmd;
usr.sbin/installer/dfuibe_installer/fn_disk.c
466
struct command *cmd;
usr.sbin/installer/dfuibe_installer/fn_disk.c
517
struct command *cmd;
usr.sbin/installer/dfuibe_installer/fn_disk.c
695
struct command *cmd;
usr.sbin/installer/dfuibe_installer/fn_install.c
169
struct command *cmd;
usr.sbin/installer/libaura/buffer.c
236
char *command, line[1024];
usr.sbin/installer/libaura/buffer.c
240
vasprintf(&command, fmt, args);
usr.sbin/installer/libaura/buffer.c
243
if ((p = popen(command, "r")) == NULL)
usr.sbin/installer/libaura/buffer.c
246
free(command);
usr.sbin/installer/libaura/popen.c
107
vasprintf(&command, fmt, args);
usr.sbin/installer/libaura/popen.c
112
argv[2] = command;
usr.sbin/installer/libaura/popen.c
120
free(command);
usr.sbin/installer/libaura/popen.c
173
free(command);
usr.sbin/installer/libaura/popen.c
75
char *command;
usr.sbin/installer/libdfui/lang.c
49
char *command;
usr.sbin/installer/libdfui/lang.c
53
vasprintf(&command, fmt, args);
usr.sbin/installer/libdfui/lang.c
57
fprintf(stderr, "%s\n", command);
usr.sbin/installer/libdfui/lang.c
60
return(system(command));
usr.sbin/installer/libinstaller/commands.c
116
struct command *
usr.sbin/installer/libinstaller/commands.c
120
struct command *cmd;
usr.sbin/installer/libinstaller/commands.c
139
command_set_log_mode(struct command *cmd, int log_mode)
usr.sbin/installer/libinstaller/commands.c
152
command_set_failure_mode(struct command *cmd, int failure_mode)
usr.sbin/installer/libinstaller/commands.c
162
command_set_desc(struct command *cmd, const char *fmt, ...)
usr.sbin/installer/libinstaller/commands.c
178
command_set_tag(struct command *cmd, const char *fmt, ...)
usr.sbin/installer/libinstaller/commands.c
190
struct command *
usr.sbin/installer/libinstaller/commands.c
196
struct command *
usr.sbin/installer/libinstaller/commands.c
197
command_get_next(const struct command *cmd)
usr.sbin/installer/libinstaller/commands.c
203
command_get_cmdline(const struct command *cmd)
usr.sbin/installer/libinstaller/commands.c
209
command_get_tag(const struct command *cmd)
usr.sbin/installer/libinstaller/commands.c
215
command_get_result(const struct command *cmd)
usr.sbin/installer/libinstaller/commands.c
261
struct command *cmd;
usr.sbin/installer/libinstaller/commands.c
287
struct command *cmd, int *cancelled)
usr.sbin/installer/libinstaller/commands.c
292
char *command;
usr.sbin/installer/libinstaller/commands.c
297
asprintf(&command, "(%s) 2>&1 </dev/null", cmd->cmdline);
usr.sbin/installer/libinstaller/commands.c
299
cmdout = aura_popen("%s", "r", command);
usr.sbin/installer/libinstaller/commands.c
300
free(command);
usr.sbin/installer/libinstaller/commands.c
380
struct command *cmd)
usr.sbin/installer/libinstaller/commands.c
505
struct command *cmd;
usr.sbin/installer/libinstaller/commands.c
557
struct command *cmd, *next;
usr.sbin/installer/libinstaller/commands.c
568
AURA_FREE(cmd, command);
usr.sbin/installer/libinstaller/commands.c
84
static struct command *
usr.sbin/installer/libinstaller/commands.c
87
struct command *cmd;
usr.sbin/installer/libinstaller/commands.c
89
AURA_MALLOC(cmd, command);
usr.sbin/installer/libinstaller/commands.h
100
void command_set_tag(struct command *, const char *, ...)
usr.sbin/installer/libinstaller/commands.h
103
struct command *command_get_first(const struct commands *);
usr.sbin/installer/libinstaller/commands.h
104
struct command *command_get_next(const struct command *);
usr.sbin/installer/libinstaller/commands.h
106
char *command_get_cmdline(const struct command *);
usr.sbin/installer/libinstaller/commands.h
107
char *command_get_tag(const struct command *);
usr.sbin/installer/libinstaller/commands.h
108
int command_get_result(const struct command *);
usr.sbin/installer/libinstaller/commands.h
53
struct command;
usr.sbin/installer/libinstaller/commands.h
58
struct command *head;
usr.sbin/installer/libinstaller/commands.h
59
struct command *tail;
usr.sbin/installer/libinstaller/commands.h
63
struct command *next;
usr.sbin/installer/libinstaller/commands.h
64
struct command *prev;
usr.sbin/installer/libinstaller/commands.h
93
struct command *command_add(struct commands *, const char *, ...)
usr.sbin/installer/libinstaller/commands.h
96
void command_set_log_mode(struct command *, int);
usr.sbin/installer/libinstaller/commands.h
97
void command_set_failure_mode(struct command *, int);
usr.sbin/installer/libinstaller/commands.h
98
void command_set_desc(struct command *, const char *, ...)
usr.sbin/installer/libinstaller/survey.c
151
struct command *cmd;
usr.sbin/newsyslog/newsyslog.c
2029
char command[BUFSIZ];
usr.sbin/newsyslog/newsyslog.c
2081
strlcpy(command, pgm_path, sizeof(command));
usr.sbin/newsyslog/newsyslog.c
2083
strlcat(command, " ", sizeof(command));
usr.sbin/newsyslog/newsyslog.c
2084
strlcat(command, args[c], sizeof(command));
usr.sbin/newsyslog/newsyslog.c
2093
printf("Executing: %s\n", command);
usr.sbin/newsyslog/newsyslog.c
2113
err(1, "execv(`%s')", command);
usr.sbin/newsyslog/newsyslog.c
2123
warnx("`%s' did not terminate normally", command);
usr.sbin/newsyslog/newsyslog.c
2129
warnx("`%s' terminated with a non-zero status (%d)", command,
usr.sbin/pciconf/cap.c
101
switch (AGP_MODE_GET_RATE(command)) {
usr.sbin/pciconf/cap.c
112
if (AGP_MODE_GET_SBA(command))
usr.sbin/pciconf/cap.c
222
uint16_t command;
usr.sbin/pciconf/cap.c
224
command = read_config(fd, &p->pc_sel, ptr + PCIR_HT_COMMAND, 2);
usr.sbin/pciconf/cap.c
226
if ((command & 0xe000) == PCIM_HTCAP_SLAVE)
usr.sbin/pciconf/cap.c
228
else if ((command & 0xe000) == PCIM_HTCAP_HOST)
usr.sbin/pciconf/cap.c
231
switch (command & PCIM_HTCMD_CAP_MASK) {
usr.sbin/pciconf/cap.c
252
command & PCIM_HTCMD_MSI_FIXED ? "fixed " : "",
usr.sbin/pciconf/cap.c
253
command & PCIM_HTCMD_MSI_ENABLE ? "enabled" :
usr.sbin/pciconf/cap.c
255
if (command & PCIM_HTCMD_MSI_FIXED)
usr.sbin/pciconf/cap.c
280
printf("unknown %02x", command);
usr.sbin/pciconf/cap.c
67
uint32_t status, command;
usr.sbin/pciconf/cap.c
70
command = read_config(fd, &p->pc_sel, ptr + AGP_CAPID, 4);
usr.sbin/pciconf/cap.c
88
if (AGP_MODE_GET_AGP(command)) {
usr.sbin/pciconf/cap.c
90
if (AGP_MODE_GET_MODE_3(command)) {
usr.sbin/pciconf/cap.c
92
switch (AGP_MODE_GET_RATE(command)) {
usr.sbin/pfctl/pfctl_table.c
118
const char *command, char *file, const char *anchor, int opts)
usr.sbin/pfctl/pfctl_table.c
120
if (tname == NULL || command == NULL)
usr.sbin/pfctl/pfctl_table.c
122
return pfctl_table(argc, argv, tname, command, file, anchor, opts);
usr.sbin/pfctl/pfctl_table.c
126
pfctl_table(int argc, char *argv[], char *tname, const char *command,
usr.sbin/pfctl/pfctl_table.c
136
if (command == NULL)
usr.sbin/pfctl/pfctl_table.c
155
if (!strcmp(command, "-F")) {
usr.sbin/pfctl/pfctl_table.c
160
} else if (!strcmp(command, "-s")) {
usr.sbin/pfctl/pfctl_table.c
187
} else if (!strcmp(command, "kill")) {
usr.sbin/pfctl/pfctl_table.c
192
} else if (!strcmp(command, "flush")) {
usr.sbin/pfctl/pfctl_table.c
197
} else if (!strcmp(command, "add")) {
usr.sbin/pfctl/pfctl_table.c
212
} else if (!strcmp(command, "delete")) {
usr.sbin/pfctl/pfctl_table.c
226
} else if (!strcmp(command, "replace")) {
usr.sbin/pfctl/pfctl_table.c
257
} else if (!strcmp(command, "expire")) {
usr.sbin/pfctl/pfctl_table.c
295
} else if (!strcmp(command, "show")) {
usr.sbin/pfctl/pfctl_table.c
317
} else if (!strcmp(command, "test")) {
usr.sbin/pfctl/pfctl_table.c
346
} else if (!strcmp(command, "zero")) {
usr.sbin/pfctl/pfctl_table.c
353
warnx("pfctl_table: unknown command '%s'", command);
usr.sbin/ppp/chat.c
708
ExecStr(struct physical *physical, char *command, char *out, int olen)
usr.sbin/ppp/chat.c
715
log_Printf(LogCHAT, "Exec: %s\n", command);
usr.sbin/ppp/chat.c
716
if ((argc = MakeArgs(command, vector, VECSIZE(vector),
usr.sbin/rpc.ypupdated/update.c
141
_openchild(char *command, FILE **fto, FILE **ffrom)
usr.sbin/rpc.ypupdated/update.c
172
com = malloc((unsigned) strlen(command) + 6);
usr.sbin/rpc.ypupdated/update.c
176
sprintf(com, "exec %s", command);
usr.sbin/sensorsd/sensorsd.c
240
if (limit->command != NULL)
usr.sbin/sensorsd/sensorsd.c
241
free(limit->command);
usr.sbin/sensorsd/sensorsd.c
389
execute(char *command)
usr.sbin/sensorsd/sensorsd.c
391
const char *argp[] = {"sh", "-c", command, NULL};
usr.sbin/sensorsd/sensorsd.c
484
if (limit->command) {
usr.sbin/sensorsd/sensorsd.c
486
char *cmd = limit->command;
usr.sbin/sensorsd/sensorsd.c
497
buf[n++] = limit->command[i];
usr.sbin/sensorsd/sensorsd.c
55
char *command; /* failure command */
usr.sbin/sensorsd/sensorsd.c
706
asprintf(&(p->command), "%s", ebuf);