taglinefilesource code
cmd29drivers/block/blk.hint cmd;    /* READ or WRITE */
cmd47drivers/block/blk.h((s1)->cmd < (s2)->cmd || ((s1)->cmd == (s2)->cmd && \
cmd101drivers/block/cdu31a.cstatic void do_sony_cd_cmd(unsigned char cmd,
cmd311drivers/block/cdu31a.cwrite_cmd(unsigned char cmd)
cmd313drivers/block/cdu31a.coutb(cmd, sony_cd_cmd_reg);
cmd751drivers/block/cdu31a.cdo_sony_cd_cmd(unsigned char cmd,
cmd812drivers/block/cdu31a.cwrite_cmd(cmd);
cmd1019drivers/block/cdu31a.cswitch(CURRENT->cmd)
cmd1277drivers/block/cdu31a.cunsigned int  cmd,
cmd1297drivers/block/cdu31a.cswitch (cmd)
cmd1051drivers/block/floppy.cif (CURRENT->cmd == READ)
cmd1053drivers/block/floppy.celse if (CURRENT->cmd == WRITE)
cmd1105drivers/block/floppy.cstatic int fd_ioctl(struct inode *inode, struct file *filp, unsigned int cmd,
cmd1111drivers/block/floppy.cswitch (cmd) {
cmd1115drivers/block/floppy.cswitch (cmd) {
cmd1127drivers/block/floppy.ccmd = FDCLRPRM;
cmd1184drivers/block/floppy.cswitch (cmd) {
cmd1197drivers/block/floppy.cif (cmd == FDDEFPRM)
cmd182drivers/block/hd.cunsigned int head,unsigned int cyl,unsigned int cmd,
cmd208drivers/block/hd.coutb_p(cmd,++port);
cmd496drivers/block/hd.cif (CURRENT->cmd == WRITE) {
cmd509drivers/block/hd.cif (CURRENT->cmd == READ) {
cmd520drivers/block/hd.cunsigned int cmd, unsigned long arg)
cmd530drivers/block/hd.cswitch (cmd) {
cmd241drivers/block/ll_rw_blk.creq->cmd == rw &&
cmd255drivers/block/ll_rw_blk.creq->cmd == rw &&
cmd293drivers/block/ll_rw_blk.creq->cmd = rw;
cmd325drivers/block/ll_rw_blk.creq->cmd = rw;
cmd460drivers/block/ll_rw_blk.creq->cmd = rw;
cmd87drivers/block/mcd.cstatic void sendMcdCmd(int cmd, struct mcd_Play_msf *params);
cmd186drivers/block/mcd.cmcd_ioctl(struct inode *ip, struct file *fp, unsigned int cmd,
cmd215drivers/block/mcd.cswitch (cmd)
cmd564drivers/block/mcd.cif (CURRENT -> cmd != READ)
cmd566drivers/block/mcd.cprintk("mcd: bad cmd %d\n", CURRENT -> cmd);
cmd956drivers/block/mcd.csendMcdCmd(int cmd, struct mcd_Play_msf *params)
cmd958drivers/block/mcd.coutb(cmd, MCDPORT(0));
cmd45drivers/block/ramdisk.cif (CURRENT-> cmd == WRITE) {
cmd49drivers/block/ramdisk.c} else if (CURRENT->cmd == READ) {
cmd2081drivers/block/sbpcd.cu_int cmd, u_long arg)
cmd2086drivers/block/sbpcd.cMINOR(inode->i_rdev), cmd, arg));
cmd2105drivers/block/sbpcd.cDPRINTF((DBG_IO2,"SBPCD: ioctl: device %d, request %04X\n",i,cmd));
cmd2106drivers/block/sbpcd.cswitch (cmd)     /* Sun-compatible */
cmd2343drivers/block/sbpcd.cDPRINTF((DBG_IOC,"SBPCD: ioctl: unknown function request %04X\n", cmd));
cmd2454drivers/block/sbpcd.cif (CURRENT->cmd != READ)
cmd2456drivers/block/sbpcd.cprintk("SBPCD: bad cmd %d\n", CURRENT->cmd);
cmd221drivers/block/xd.cswitch (CURRENT->cmd) {
cmd225drivers/block/xd.ccode = xd_readwrite(CURRENT->cmd,CURRENT_DEV,CURRENT->buffer,block,count);
cmd236drivers/block/xd.cstatic int xd_ioctl (struct inode *inode,struct file *file,u_int cmd,u_long arg)
cmd242drivers/block/xd.cswitch (cmd) {
cmd333drivers/char/lp.cunsigned int cmd, unsigned long arg)
cmd339drivers/char/lp.cprintk("lp%d ioctl, cmd: 0x%x, arg: 0x%x\n", minor, cmd, arg);
cmd345drivers/char/lp.cswitch ( cmd ) {
cmd1248drivers/char/serial.cstatic int set_modem_info(struct async_struct * info, unsigned int cmd,
cmd1258drivers/char/serial.cswitch (cmd) {
cmd1369drivers/char/serial.cunsigned int cmd, unsigned long arg)
cmd1379drivers/char/serial.cswitch (cmd) {
cmd1409drivers/char/serial.creturn set_modem_info(info, cmd, (unsigned int *) arg);
cmd587drivers/char/tpqic02.cstatic int notify_cmd(char cmd, short ignore_ex)
cmd591drivers/char/tpqic02.coutb_p(cmd, QIC_CMD_PORT);    /* output the command */
cmd726drivers/char/tpqic02.cstatic int send_qic02_cmd(int cmd, time_t timeout, int ignore_ex)
cmd745drivers/char/tpqic02.cstatus_cmd_pending = cmd;
cmd747drivers/char/tpqic02.cstat = notify_cmd(cmd, ignore_ex); /* tell drive new command was loaded, */
cmd749drivers/char/tpqic02.cif (cmd == QCMDV_SEEK_BLK) {
cmd893drivers/char/tpqic02.cstatic void finish_rw(int cmd);
cmd994drivers/char/tpqic02.cstatic int ll_do_qic_cmd(int cmd, time_t timeout)
cmd1011drivers/char/tpqic02.cprintk(TPQIC_NAME ": ll_do_qic_cmd(%x, %d) failed\n", cmd, timeout);
cmd1021drivers/char/tpqic02.cstat = send_qic02_cmd(cmd, timeout, 0);  /* (checks for exceptions) */
cmd1023drivers/char/tpqic02.cif (cmd==QCMD_RD_FM) {
cmd1029drivers/char/tpqic02.c} else if (cmd==QCMD_WRT_FM) {
cmd1032drivers/char/tpqic02.c} else if ((cmd==QCMD_REWIND) || (cmd==QCMD_ERASE) || (cmd==QCMD_RETEN)) {
cmd1047drivers/char/tpqic02.cprintk(TPQIC_NAME ": Exception persist in ll_do_qic_cmd[1](%x, %d)", cmd, timeout);
cmd1065drivers/char/tpqic02.cif (tp_sense((cmd==QCMD_SEEK_EOD ?    /*****************************/
cmd1068drivers/char/tpqic02.cprintk(TPQIC_NAME ": Exception persist in ll_do_qic_cmd[2](%x, %d)\n", cmd, timeout);
cmd1069drivers/char/tpqic02.cif (cmd!=QCMD_RD_FM)
cmd1076drivers/char/tpqic02.cprintk(TPQIC_NAME ": ll_do_qic_cmd %x: wait failed, stat == 0x%x\n", cmd, stat);
cmd1108drivers/char/tpqic02.cstatic void terminate_read(int cmd)
cmd1112drivers/char/tpqic02.cif (cmd != QCMD_RD_FM) {
cmd1129drivers/char/tpqic02.cstatic void terminate_write(int cmd)
cmd1136drivers/char/tpqic02.cif (cmd != QCMD_WRT_FM) {
cmd1153drivers/char/tpqic02.cstatic void finish_rw(int cmd)
cmd1159drivers/char/tpqic02.cterminate_read(cmd);
cmd1160drivers/char/tpqic02.cterminate_write(cmd);
cmd1168drivers/char/tpqic02.cstatic int do_qic_cmd(int cmd, time_t timeout)
cmd1173drivers/char/tpqic02.cfinish_rw(cmd);
cmd1183drivers/char/tpqic02.cif (cmd==QCMD_REWIND)  /* don't wind beyond BOT ;-) */
cmd1187drivers/char/tpqic02.creturn ll_do_qic_cmd(cmd, timeout);
cmd1195drivers/char/tpqic02.cstatic int do_ioctl_cmd(int cmd)
cmd1205drivers/char/tpqic02.cswitch (cmd) {
cmd204drivers/char/tty_io.cunsigned int cmd, unsigned long arg)
cmd338drivers/char/tty_ioctl.cunsigned int cmd, unsigned long arg)
cmd367drivers/char/tty_ioctl.cswitch (cmd) {
cmd383drivers/char/tty_ioctl.cif (cmd == TCSETSF || cmd == TCSETSW) {
cmd384drivers/char/tty_ioctl.cif (cmd == TCSETSF)
cmd398drivers/char/tty_ioctl.cif (cmd == TCSETAF || cmd == TCSETAW) {
cmd399drivers/char/tty_ioctl.cif (cmd == TCSETAF)
cmd657drivers/char/tty_ioctl.ctty->ioctl(tty, file, cmd, arg);
cmd661drivers/char/tty_ioctl.cretval = (tty->ioctl)(tty, file, cmd, arg);
cmd667drivers/char/tty_ioctl.c(tty, file, cmd, arg);
cmd117drivers/char/vt.cunsigned int cmd, unsigned long arg)
cmd129drivers/char/vt.cswitch (cmd) {
cmd165drivers/char/vt.creturn sys_ioperm(arg, 1, (cmd == KDADDIO)) ? -ENXIO : 0;
cmd170drivers/char/vt.c(cmd == KDENABIO)) ? -ENXIO : 0;
cmd135drivers/net/atp.cstatic unsigned short eeprom_op(short ioaddr, unsigned int cmd);
cmd288drivers/net/atp.cstatic unsigned short eeprom_op(short ioaddr, unsigned int cmd)
cmd294drivers/net/atp.cchar outval = test_bit(num_bits, &cmd) ? EE_DATA_WRITE : 0;
cmd257drivers/net/d_link.c#define d_link_put_command(cmd) ( \
cmd260drivers/net/d_link.coutb_p(((rx_page | cmd) << 4)   | COMMAND            , DATA_PORT), \
cmd261drivers/net/d_link.coutb_p(((rx_page | cmd) & 0xf0) | COMMAND | HI_NIBBLE, DATA_PORT))
cmd1044drivers/net/slip.cslip_ioctl(struct tty_struct *tty, void *file, int cmd, void *arg)
cmd1055drivers/net/slip.cDPRINTF((DBG_SLIP, "SLIP: ioctl(%d, 0x%X, 0x%X)\n", tty->line, cmd, arg));
cmd1056drivers/net/slip.cswitch(cmd) {
cmd293drivers/scsi/NCR5380.cstatic __inline__ void initialize_SCp(Scsi_Cmnd *cmd) {
cmd299drivers/scsi/NCR5380.cif (cmd->use_sg) {
cmd300drivers/scsi/NCR5380.ccmd->SCp.buffer = (struct scatterlist *) cmd->buffer;
cmd301drivers/scsi/NCR5380.ccmd->SCp.buffers_residual = cmd->use_sg - 1;
cmd302drivers/scsi/NCR5380.ccmd->SCp.ptr = (char *) cmd->SCp.buffer->address;
cmd303drivers/scsi/NCR5380.ccmd->SCp.this_residual = cmd->SCp.buffer->length;
cmd305drivers/scsi/NCR5380.ccmd->SCp.buffer = NULL;
cmd306drivers/scsi/NCR5380.ccmd->SCp.buffers_residual = 0;
cmd307drivers/scsi/NCR5380.ccmd->SCp.ptr = (char *) cmd->request_buffer;
cmd308drivers/scsi/NCR5380.ccmd->SCp.this_residual = cmd->request_bufflen;
cmd493drivers/scsi/NCR5380.cstatic int should_disconnect (unsigned char cmd) {
cmd494drivers/scsi/NCR5380.cswitch (cmd) {
cmd775drivers/scsi/NCR5380.cint NCR5380_queue_command (Scsi_Cmnd *cmd, void (*done)(Scsi_Cmnd *)) {
cmd777drivers/scsi/NCR5380.ccmd->host->hostdata;
cmd781drivers/scsi/NCR5380.cswitch (cmd->cmnd[0]) {
cmd786drivers/scsi/NCR5380.ccmd->result = (DID_ERROR << 16);
cmd787drivers/scsi/NCR5380.cdone(cmd);
cmd798drivers/scsi/NCR5380.ccmd->host_scribble = NULL;
cmd799drivers/scsi/NCR5380.ccmd->scsi_done = done;
cmd801drivers/scsi/NCR5380.ccmd->result = 0;
cmd812drivers/scsi/NCR5380.cif (!(hostdata->issue_queue) || (cmd->cmnd[0] == REQUEST_SENSE)) {
cmd813drivers/scsi/NCR5380.ccmd->host_scribble = (unsigned char *) hostdata->issue_queue;
cmd814drivers/scsi/NCR5380.chostdata->issue_queue = cmd;
cmd818drivers/scsi/NCR5380.ctmp->host_scribble = (unsigned char *) cmd;
cmd822drivers/scsi/NCR5380.c(cmd->cmnd[0] == REQUEST_SENSE) ? "head" : "tail");
cmd1078drivers/scsi/NCR5380.cstatic int NCR5380_select (struct Scsi_Host *instance, Scsi_Cmnd *cmd,
cmd1164drivers/scsi/NCR5380.cNCR5380_write(OUTPUT_DATA_REG, (hostdata->id_mask | (1 << cmd->target)));
cmd1203drivers/scsi/NCR5380.cprintk("scsi%d : selecting target %d\n", instance->host_no, cmd->target);
cmd1225drivers/scsi/NCR5380.ccmd->result = DID_BAD_TARGET << 16;
cmd1226drivers/scsi/NCR5380.ccmd->scsi_done(cmd);
cmd1255drivers/scsi/NCR5380.cinstance->host_no, cmd->target);
cmd1257drivers/scsi/NCR5380.ctmp[0] = IDENTIFY(((instance->irq == IRQ_NONE) ? 0 : 1), cmd->lun);
cmd1259drivers/scsi/NCR5380.cif (scsi_devices[cmd->index].tagged_queue && (tag != TAG_NONE)) {
cmd1263drivers/scsi/NCR5380.cif (scsi_devices[cmd->index].current_tag == 0)
cmd1264drivers/scsi/NCR5380.cscsi_devices[cmd->index].current_tag = 1;
cmd1266drivers/scsi/NCR5380.ccmd->tag = scsi_devices[cmd->index].current_tag;
cmd1267drivers/scsi/NCR5380.cscsi_devices[cmd->index].current_tag++;
cmd1269drivers/scsi/NCR5380.ccmd->tag = (unsigned char) tag;
cmd1271drivers/scsi/NCR5380.ctmp[2] = cmd->tag;
cmd1278drivers/scsi/NCR5380.ccmd->tag=0;
cmd1289drivers/scsi/NCR5380.chostdata->connected = cmd;
cmd1291drivers/scsi/NCR5380.cif (!scsi_devices[cmd->index].tagged_queue)
cmd1293drivers/scsi/NCR5380.chostdata->busy[cmd->target] |= (1 << cmd->lun);
cmd1295drivers/scsi/NCR5380.cinitialize_SCp(cmd);
cmd1744drivers/scsi/NCR5380.cScsi_Cmnd *cmd = (Scsi_Cmnd *) hostdata->connected;
cmd1773drivers/scsi/NCR5380.cif (!cmd->SCp.this_residual && cmd->SCp.buffers_residual) {
cmd1774drivers/scsi/NCR5380.c++cmd->SCp.buffer;
cmd1775drivers/scsi/NCR5380.c--cmd->SCp.buffers_residual;
cmd1776drivers/scsi/NCR5380.ccmd->SCp.this_residual = cmd->SCp.buffer->length;
cmd1777drivers/scsi/NCR5380.ccmd->SCp.ptr = cmd->SCp.buffer->address;
cmd1780drivers/scsi/NCR5380.cinstance->host_no, cmd->SCp.this_residual,
cmd1781drivers/scsi/NCR5380.ccmd->SCp.buffers_residual);
cmd1797drivers/scsi/NCR5380.cif (!scsi_devices[cmd->index].borken &&
cmd1798drivers/scsi/NCR5380.c(transfersize = NCR5380_dma_xfer_len(instance, cmd)) != 0) {
cmd1800drivers/scsi/NCR5380.cif (!scsi_devices[cmd->index].borken && 
cmd1801drivers/scsi/NCR5380.c(transfersize = cmd->transfersize) && 
cmd1802drivers/scsi/NCR5380.ccmd->SCp.this_residual && !(cmd->SCp.this_residual % 
cmd1807drivers/scsi/NCR5380.c&len, (unsigned char **) &cmd->SCp.ptr)) {
cmd1813drivers/scsi/NCR5380.cinstance->host_no, cmd->target, cmd->lun);
cmd1814drivers/scsi/NCR5380.cscsi_devices[cmd->index].borken = 1;
cmd1819drivers/scsi/NCR5380.ccmd->SCp.this_residual -= transfersize - len;
cmd1823drivers/scsi/NCR5380.c(int *) &cmd->SCp.this_residual, (unsigned char **)
cmd1824drivers/scsi/NCR5380.c&cmd->SCp.ptr);
cmd1836drivers/scsi/NCR5380.ccmd->SCp.Message = tmp;
cmd1854drivers/scsi/NCR5380.cinstance->host_no, cmd->target, cmd->lun);
cmd1862drivers/scsi/NCR5380.cif (!cmd->next_link) {
cmd1864drivers/scsi/NCR5380.cinstance->host_no, cmd->target, cmd->lun);
cmd1871drivers/scsi/NCR5380.cinitialize_SCp(cmd->next_link);
cmd1873drivers/scsi/NCR5380.ccmd->next_link->tag = cmd->tag;
cmd1874drivers/scsi/NCR5380.ccmd->result = cmd->SCp.Status | (cmd->SCp.Message << 8); 
cmd1877drivers/scsi/NCR5380.cinstance->host_no, cmd->target, cmd->lun);
cmd1879drivers/scsi/NCR5380.ccmd->scsi_done(cmd);
cmd1880drivers/scsi/NCR5380.ccmd = hostdata->connected;
cmd1888drivers/scsi/NCR5380.cinstance->host_no, cmd->target, cmd->lun);
cmd1890drivers/scsi/NCR5380.chostdata->busy[cmd->target] &= ~(1 << cmd->lun);
cmd1908drivers/scsi/NCR5380.cif (cmd->cmnd[0] != REQUEST_SENSE) 
cmd1909drivers/scsi/NCR5380.ccmd->result = cmd->SCp.Status | (cmd->SCp.Message << 8); 
cmd1910drivers/scsi/NCR5380.celse if (cmd->SCp.Status != GOOD)
cmd1911drivers/scsi/NCR5380.ccmd->result = (cmd->result & 0x00ffff) | (DID_ERROR << 16);
cmd1914drivers/scsi/NCR5380.cif ((cmd->cmnd[0] != REQUEST_SENSE) && 
cmd1915drivers/scsi/NCR5380.c(cmd->SCp.Status == CHECK_CONDITION)) {
cmd1920drivers/scsi/NCR5380.ccmd->cmnd[0] = REQUEST_SENSE;
cmd1921drivers/scsi/NCR5380.ccmd->cmnd[1] &= 0xe0;
cmd1922drivers/scsi/NCR5380.ccmd->cmnd[2] = 0;
cmd1923drivers/scsi/NCR5380.ccmd->cmnd[3] = 0;
cmd1924drivers/scsi/NCR5380.ccmd->cmnd[4] = sizeof(cmd->sense_buffer);
cmd1925drivers/scsi/NCR5380.ccmd->cmnd[5] = 0;
cmd1927drivers/scsi/NCR5380.ccmd->SCp.buffer = NULL;
cmd1928drivers/scsi/NCR5380.ccmd->SCp.buffers_residual = 0;
cmd1929drivers/scsi/NCR5380.ccmd->SCp.ptr = (char *) cmd->sense_buffer;
cmd1930drivers/scsi/NCR5380.ccmd->SCp.this_residual = sizeof(cmd->sense_buffer);
cmd1933drivers/scsi/NCR5380.ccmd->host_scribble = (unsigned char *) 
cmd1935drivers/scsi/NCR5380.chostdata->issue_queue = (Scsi_Cmnd *) cmd;
cmd1942drivers/scsi/NCR5380.ccmd->scsi_done(cmd);
cmd1954drivers/scsi/NCR5380.cscsi_devices[cmd->index].tagged_queue = 0;
cmd1955drivers/scsi/NCR5380.chostdata->busy[cmd->target] |= (1 << cmd->lun);
cmd1961drivers/scsi/NCR5380.cscsi_devices[cmd->index].disconnect = 1;
cmd1963drivers/scsi/NCR5380.ccmd->host_scribble = (unsigned char *) 
cmd1966drivers/scsi/NCR5380.chostdata->disconnected_queue = cmd;
cmd1971drivers/scsi/NCR5380.ccmd->target, cmd->lun);
cmd2019drivers/scsi/NCR5380.chostdata->busy[cmd->target] &= ~(1 << cmd->lun);
cmd2021drivers/scsi/NCR5380.ccmd->result = DID_ERROR << 16;
cmd2022drivers/scsi/NCR5380.ccmd->scsi_done(cmd);
cmd2029drivers/scsi/NCR5380.clen = COMMAND_SIZE(cmd->cmnd[0]);
cmd2030drivers/scsi/NCR5380.cdata = cmd->cmnd;
cmd2039drivers/scsi/NCR5380.cif (!disconnect && should_disconnect(cmd->cmnd[0])) {
cmd2054drivers/scsi/NCR5380.ccmd->SCp.Status = tmp;
cmd2215drivers/scsi/NCR5380.cinstance->host_no, cmd->target, cmd->lun, cmd->tag);
cmd2288drivers/scsi/NCR5380.cint NCR5380_abort (Scsi_Cmnd *cmd, int code) {
cmd2290drivers/scsi/NCR5380.cstruct Scsi_Host *instance = cmd->host;
cmd2313drivers/scsi/NCR5380.cif (cmd == tmp) {
cmd2372drivers/scsi/NCR5380.cif (cmd == tmp) {
cmd2378drivers/scsi/NCR5380.cif (NCR5380_select (instance, cmd, (int) cmd->tag)) 
cmd2397drivers/scsi/NCR5380.cif (cmd == tmp) {
cmd2436drivers/scsi/NCR5380.cint NCR5380_reset (Scsi_Cmnd *cmd) {
cmd2438drivers/scsi/NCR5380.cNCR5380_setup(cmd->host);
cmd252drivers/scsi/NCR5380.hint NCR5380_abort (Scsi_Cmnd *cmd, int code);
cmd256drivers/scsi/NCR5380.hint NCR5380_reset (Scsi_Cmnd *cmd);
cmd260drivers/scsi/NCR5380.hint NCR5380_queue_command (Scsi_Cmnd *cmd, void (*done)(Scsi_Cmnd *));
cmd264drivers/scsi/NCR5380.hstatic int NCR5380_select (struct Scsi_Host *instance, Scsi_Cmnd *cmd, int tag);
cmd415drivers/scsi/aha1542.cunchar *cmd = (unchar *) SCpnt->cmnd;
cmd433drivers/scsi/aha1542.cif(*cmd == REQUEST_SENSE){
cmd446drivers/scsi/aha1542.cif (*cmd == READ_10 || *cmd == WRITE_10)
cmd447drivers/scsi/aha1542.ci = xscsi2int(cmd+2);
cmd448drivers/scsi/aha1542.celse if (*cmd == READ_6 || *cmd == WRITE_6)
cmd449drivers/scsi/aha1542.ci = scsi2int(cmd+2);
cmd453drivers/scsi/aha1542.cprintk("aha1542_queuecommand: dev %d cmd %02x pos %d len %d ", target, *cmd, i, bufflen);
cmd455drivers/scsi/aha1542.cprintk("aha1542_command: dev %d cmd %02x pos %d len %d ", target, *cmd, i, bufflen);
cmd458drivers/scsi/aha1542.cfor (i = 0; i < (COMMAND_SIZE(*cmd)); i++) printk("%02x ", cmd[i]);
cmd460drivers/scsi/aha1542.cif (*cmd == WRITE_10 || *cmd == WRITE_6)
cmd494drivers/scsi/aha1542.cccb[mbo].cdblen = COMMAND_SIZE(*cmd);     /* SCSI Command Descriptor Block Length */
cmd497drivers/scsi/aha1542.cif (*cmd == READ_10 || *cmd == READ_6)
cmd499drivers/scsi/aha1542.celse if (*cmd == WRITE_10 || *cmd == WRITE_6)
cmd502drivers/scsi/aha1542.cmemcpy(ccb[mbo].cdb, cmd, ccb[mbo].cdblen);
cmd599drivers/scsi/aha1542.cunchar cmd[5] = {CMD_MBINIT, AHA1542_MAILBOXES};
cmd609drivers/scsi/aha1542.cany2scsi((cmd+2), mb);
cmd610drivers/scsi/aha1542.caha1542_out(bse, cmd, 5);
cmd847drivers/scsi/aha1542.cstatic unchar cmd[] = {  READ_CAPACITY, 0, 0, 0, 0, 0, 0, 0, 0, 0};
cmd852drivers/scsi/aha1542.cif (!aha1542_command(i, cmd, buf, sizeof(buf))) {
cmd862drivers/scsi/aha1542.cunsigned char cmd[10];
cmd865drivers/scsi/aha1542.ccmd[0] = READ_10;
cmd866drivers/scsi/aha1542.ccmd[1] = 0;
cmd867drivers/scsi/aha1542.cxany2scsi(cmd+2, i);
cmd868drivers/scsi/aha1542.ccmd[6] = 0;
cmd869drivers/scsi/aha1542.ccmd[7] = 0;
cmd870drivers/scsi/aha1542.ccmd[8] = 1;
cmd871drivers/scsi/aha1542.ccmd[9] = 0;
cmd872drivers/scsi/aha1542.caha1542_command(0, cmd, buffer, 512);
cmd241drivers/scsi/aha1740.cunchar *cmd = (unchar *) SCpnt->cmnd;
cmd249drivers/scsi/aha1740.cif(*cmd == REQUEST_SENSE)
cmd262drivers/scsi/aha1740.cif (*cmd == READ_10 || *cmd == WRITE_10)
cmd263drivers/scsi/aha1740.ci = xscsi2int(cmd+2);
cmd264drivers/scsi/aha1740.celse if (*cmd == READ_6 || *cmd == WRITE_6)
cmd265drivers/scsi/aha1740.ci = scsi2int(cmd+2);
cmd268drivers/scsi/aha1740.cprintk("aha1740_queuecommand: dev %d cmd %02x pos %d len %d ", target, *cmd, i, bufflen);
cmd270drivers/scsi/aha1740.cfor (i = 0; i < (COMMAND_SIZE(*cmd)); i++) printk("%02x ", cmd[i]);
cmd299drivers/scsi/aha1740.cecb[ecbno].cdblen = COMMAND_SIZE(*cmd);  /* SCSI Command Descriptor Block Length */
cmd302drivers/scsi/aha1740.cif (*cmd == READ_10 || *cmd == READ_6)
cmd304drivers/scsi/aha1740.celse if (*cmd == WRITE_10 || *cmd == WRITE_6)
cmd307drivers/scsi/aha1740.cmemcpy(ecb[ecbno].cdb, cmd, ecb[ecbno].cdblen);
cmd88drivers/scsi/scsi_debug.cif (SCpnt->request.cmd != RW) panic ("Wrong  operation");    \
cmd156drivers/scsi/scsi_debug.cunchar *cmd = (unchar *) SCpnt->cmnd;
cmd180drivers/scsi/scsi_debug.cswitch(*cmd){
cmd197drivers/scsi/scsi_debug.cif(cmd[4]) printk("Medium removal inhibited...");
cmd235drivers/scsi/scsi_debug.cif ((*cmd) == READ_10)
cmd236drivers/scsi/scsi_debug.cblock = cmd[5] + (cmd[4] << 8) + (cmd[3] << 16) + (cmd[2] << 24); 
cmd238drivers/scsi/scsi_debug.cblock = cmd[3] + (cmd[2] << 8) + ((cmd[1] & 0x1f) << 16);
cmd314drivers/scsi/scsi_debug.cmemcpy(buff+sizeof(target), cmd, 24);
cmd346drivers/scsi/scsi_debug.cif ((*cmd) == WRITE_10)
cmd347drivers/scsi/scsi_debug.cblock = cmd[5] + (cmd[4] << 8) + (cmd[3] << 16) + (cmd[2] << 24); 
cmd349drivers/scsi/scsi_debug.cblock = cmd[3] + (cmd[2] << 8) + ((cmd[1] & 0x1f) << 16);
cmd368drivers/scsi/scsi_debug.cprintk("Unknown command %d\n",*cmd);
cmd89drivers/scsi/scsi_ioctl.cstatic int ioctl_internal_command(Scsi_Device *dev, char * cmd)
cmd95drivers/scsi/scsi_ioctl.cscsi_do_cmd(SCpnt,  cmd, NULL,  0,
cmd108drivers/scsi/scsi_ioctl.cif(cmd[0] == ALLOW_MEDIUM_REMOVAL) dev->lockable = 0;
cmd145drivers/scsi/scsi_ioctl.cchar cmd[12];
cmd171drivers/scsi/scsi_ioctl.cmemcpy_fromfs ((void *) cmd,  cmd_in,  cmdlen = COMMAND_SIZE (opcode));
cmd174drivers/scsi/scsi_ioctl.ccmd[1] = ( cmd[1] & 0x1f ) | (dev->lun << 5);
cmd180drivers/scsi/scsi_ioctl.cscsi_do_cmd(SCpnt,  cmd,  buf, needed,  scsi_ioctl_done,  MAX_TIMEOUT, 
cmd217drivers/scsi/scsi_ioctl.cprintk("%02x ", cmd[i]);
cmd235drivers/scsi/scsi_ioctl.cint scsi_ioctl (Scsi_Device *dev, int cmd, void *arg)
cmd239drivers/scsi/scsi_ioctl.cif ((cmd != 0 && dev->index > NR_SCSI_DEVICES))
cmd242drivers/scsi/scsi_ioctl.cswitch (cmd) {
cmd298drivers/scsi/scsi_ioctl.cint kernel_scsi_ioctl (Scsi_Device *dev, int cmd, void *arg) {
cmd303drivers/scsi/scsi_ioctl.ctmp = scsi_ioctl (dev, cmd, arg);
cmd16drivers/scsi/scsi_ioctl.hextern int scsi_ioctl (Scsi_Device *dev, int cmd, void *arg);
cmd17drivers/scsi/scsi_ioctl.hextern int kernel_scsi_ioctl (Scsi_Device *dev, int cmd, void *arg);
cmd172drivers/scsi/sd.cif (SCpnt->request.cmd == READ)
cmd184drivers/scsi/sd.cif (SCpnt->request.cmd == READ)
cmd385drivers/scsi/sd.cunsigned char cmd[10];
cmd429drivers/scsi/sd.cswitch (SCpnt->request.cmd)
cmd437drivers/scsi/sd.ccmd[0] = WRITE_6;
cmd440drivers/scsi/sd.ccmd[0] = READ_6;
cmd443drivers/scsi/sd.cpanic ("Unknown sd command %d\n", SCpnt->request.cmd);
cmd647drivers/scsi/sd.cif (SCpnt->request.cmd == WRITE)
cmd669drivers/scsi/sd.cif (SCpnt->request.cmd == WRITE)
cmd675drivers/scsi/sd.c(SCpnt->request.cmd == WRITE) ? "writing" : "reading",
cmd679drivers/scsi/sd.ccmd[1] = (SCpnt->lun << 5) & 0xe0;
cmd698drivers/scsi/sd.ccmd[0] += READ_10 - READ_6 ;
cmd699drivers/scsi/sd.ccmd[2] = (unsigned char) (block >> 24) & 0xff;
cmd700drivers/scsi/sd.ccmd[3] = (unsigned char) (block >> 16) & 0xff;
cmd701drivers/scsi/sd.ccmd[4] = (unsigned char) (block >> 8) & 0xff;
cmd702drivers/scsi/sd.ccmd[5] = (unsigned char) block & 0xff;
cmd703drivers/scsi/sd.ccmd[6] = cmd[9] = 0;
cmd704drivers/scsi/sd.ccmd[7] = (unsigned char) (this_count >> 8) & 0xff;
cmd705drivers/scsi/sd.ccmd[8] = (unsigned char) this_count & 0xff;
cmd712drivers/scsi/sd.ccmd[1] |= (unsigned char) ((block >> 16) & 0x1f);
cmd713drivers/scsi/sd.ccmd[2] = (unsigned char) ((block >> 8) & 0xff);
cmd714drivers/scsi/sd.ccmd[3] = (unsigned char) block & 0xff;
cmd715drivers/scsi/sd.ccmd[4] = (unsigned char) this_count;
cmd716drivers/scsi/sd.ccmd[5] = 0;
cmd727drivers/scsi/sd.cscsi_do_cmd (SCpnt, (void *) cmd, buff, 
cmd786drivers/scsi/sd.cunsigned char cmd[10];
cmd804drivers/scsi/sd.ccmd[0] = TEST_UNIT_READY;
cmd805drivers/scsi/sd.ccmd[1] = (rscsi_disks[i].device->lun << 5) & 0xe0;
cmd806drivers/scsi/sd.cmemset ((void *) &cmd[2], 0, 8);
cmd812drivers/scsi/sd.c(void *) cmd, (void *) buffer,
cmd827drivers/scsi/sd.ccmd[0] = START_STOP;
cmd828drivers/scsi/sd.ccmd[1] = (rscsi_disks[i].device->lun << 5) & 0xe0;
cmd829drivers/scsi/sd.ccmd[1] |= 1;  /* Return immediately */
cmd830drivers/scsi/sd.cmemset ((void *) &cmd[2], 0, 8);
cmd831drivers/scsi/sd.ccmd[4] = 1; /* Start spin cycle */
cmd837drivers/scsi/sd.c(void *) cmd, (void *) buffer,
cmd862drivers/scsi/sd.ccmd[0] = READ_CAPACITY;
cmd863drivers/scsi/sd.ccmd[1] = (rscsi_disks[i].device->lun << 5) & 0xe0;
cmd864drivers/scsi/sd.cmemset ((void *) &cmd[2], 0, 8);
cmd871drivers/scsi/sd.c(void *) cmd, (void *) buffer,
cmd17drivers/scsi/sd_ioctl.cint sd_ioctl(struct inode * inode, struct file * file, unsigned int cmd, unsigned long arg)
cmd25drivers/scsi/sd_ioctl.cswitch (cmd) {
cmd72drivers/scsi/sd_ioctl.creturn scsi_ioctl(rscsi_disks[MINOR(dev) >> 4].device , cmd, (void *) arg);
cmd1604drivers/scsi/seagate.cunsigned char buf[256 + sizeof(int) * 2], cmd[6], *data, *page;
cmd1623drivers/scsi/seagate.ccmd[0] = MODE_SENSE;
cmd1624drivers/scsi/seagate.ccmd[1] = (disk->lun << 5) & 0xe5;
cmd1625drivers/scsi/seagate.ccmd[2] = 0x04; /* Read page 4, rigid disk geometry page current values */
cmd1626drivers/scsi/seagate.ccmd[3] = 0;
cmd1627drivers/scsi/seagate.ccmd[4] = 255;
cmd1628drivers/scsi/seagate.ccmd[5] = 0;
cmd1638drivers/scsi/seagate.cmemcpy (data, cmd, 6);
cmd1650drivers/scsi/seagate.ccmd[2] = 0x03; /* Read page 3, format page current values */
cmd1651drivers/scsi/seagate.cmemcpy (data, cmd, 6);
cmd349drivers/scsi/sr.cunsigned char cmd[10], *buffer, tries;
cmd392drivers/scsi/sr.cswitch (SCpnt->request.cmd)
cmd399drivers/scsi/sr.ccmd[0] = READ_6;
cmd402drivers/scsi/sr.cpanic ("Unknown sr command %d\n", SCpnt->request.cmd);
cmd405drivers/scsi/sr.ccmd[1] = (SCpnt->lun << 5) & 0xe0;
cmd579drivers/scsi/sr.ccmd[0] += READ_10 - READ_6 ;
cmd580drivers/scsi/sr.ccmd[2] = (unsigned char) (block >> 24) & 0xff;
cmd581drivers/scsi/sr.ccmd[3] = (unsigned char) (block >> 16) & 0xff;
cmd582drivers/scsi/sr.ccmd[4] = (unsigned char) (block >> 8) & 0xff;
cmd583drivers/scsi/sr.ccmd[5] = (unsigned char) block & 0xff;
cmd584drivers/scsi/sr.ccmd[6] = cmd[9] = 0;
cmd585drivers/scsi/sr.ccmd[7] = (unsigned char) (realcount >> 8) & 0xff;
cmd586drivers/scsi/sr.ccmd[8] = (unsigned char) realcount & 0xff;
cmd596drivers/scsi/sr.ccmd[1] |= (unsigned char) ((block >> 16) & 0x1f);
cmd597drivers/scsi/sr.ccmd[2] = (unsigned char) ((block >> 8) & 0xff);
cmd598drivers/scsi/sr.ccmd[3] = (unsigned char) block & 0xff;
cmd599drivers/scsi/sr.ccmd[4] = (unsigned char) realcount;
cmd600drivers/scsi/sr.ccmd[5] = 0;
cmd609drivers/scsi/sr.cfor(i=0; i<12; i++) printk("%2.2x ", cmd[i]);
cmd615drivers/scsi/sr.cscsi_do_cmd (SCpnt, (void *) cmd, buffer, 
cmd649drivers/scsi/sr.cunsigned char cmd[10];
cmd658drivers/scsi/sr.ccmd[0] = READ_CAPACITY;
cmd659drivers/scsi/sr.ccmd[1] = (scsi_CDs[i].device->lun << 5) & 0xe0;
cmd660drivers/scsi/sr.cmemset ((void *) &cmd[2], 0, 8);
cmd666drivers/scsi/sr.c(void *) cmd, (void *) buffer,
cmd19drivers/scsi/sr_ioctl.cextern int scsi_ioctl (Scsi_Device *dev, int cmd, void *arg);
cmd93drivers/scsi/sr_ioctl.cint sr_ioctl(struct inode * inode, struct file * file, unsigned int cmd, unsigned long arg)
cmd103drivers/scsi/sr_ioctl.cswitch (cmd) 
cmd396drivers/scsi/sr_ioctl.creturn scsi_ioctl(scsi_CDs[target].device,cmd,(void *) arg);
cmd238drivers/scsi/st.cunsigned char cmd[10];
cmd270drivers/scsi/st.cmemset(cmd, 0, 10);
cmd271drivers/scsi/st.ccmd[0] = WRITE_6;
cmd272drivers/scsi/st.ccmd[1] = 1;
cmd274drivers/scsi/st.ccmd[2] = blks >> 16;
cmd275drivers/scsi/st.ccmd[3] = blks >> 8;
cmd276drivers/scsi/st.ccmd[4] = blks;
cmd279drivers/scsi/st.c(void *) cmd, (STp->buffer)->b_data, transfer,
cmd356drivers/scsi/st.cunsigned char cmd[10];
cmd398drivers/scsi/st.cmemset ((void *) &cmd[0], 0, 10);
cmd399drivers/scsi/st.ccmd[0] = TEST_UNIT_READY;
cmd402drivers/scsi/st.c(void *) cmd, (void *) (STp->buffer)->b_data,
cmd411drivers/scsi/st.cmemset ((void *) &cmd[0], 0, 10);
cmd412drivers/scsi/st.ccmd[0] = TEST_UNIT_READY;
cmd415drivers/scsi/st.c(void *) cmd, (void *) (STp->buffer)->b_data,
cmd435drivers/scsi/st.cmemset ((void *) &cmd[0], 0, 10);
cmd436drivers/scsi/st.ccmd[0] = READ_BLOCK_LIMITS;
cmd439drivers/scsi/st.c(void *) cmd, (void *) (STp->buffer)->b_data,
cmd462drivers/scsi/st.cmemset ((void *) &cmd[0], 0, 10);
cmd463drivers/scsi/st.ccmd[0] = MODE_SENSE;
cmd464drivers/scsi/st.ccmd[4] = 12;
cmd467drivers/scsi/st.c(void *) cmd, (void *) (STp->buffer)->b_data,
cmd546drivers/scsi/st.cstatic unsigned char cmd[10];
cmd567drivers/scsi/st.cmemset(cmd, 0, 10);
cmd568drivers/scsi/st.ccmd[0] = WRITE_FILEMARKS;
cmd569drivers/scsi/st.ccmd[4] = 1;
cmd572drivers/scsi/st.c(void *) cmd, (void *) (STp->buffer)->b_data,
cmd613drivers/scsi/st.cstatic unsigned char cmd[10];
cmd676drivers/scsi/st.cmemset(cmd, 0, 10);
cmd677drivers/scsi/st.ccmd[0] = WRITE_6;
cmd678drivers/scsi/st.ccmd[1] = (STp->block_size != 0);
cmd709drivers/scsi/st.ccmd[2] = blks >> 16;
cmd710drivers/scsi/st.ccmd[3] = blks >> 8;
cmd711drivers/scsi/st.ccmd[4] = blks;
cmd715drivers/scsi/st.c(void *) cmd, (STp->buffer)->b_data,
cmd802drivers/scsi/st.ccmd[2] = blks >> 16;
cmd803drivers/scsi/st.ccmd[3] = blks >> 8;
cmd804drivers/scsi/st.ccmd[4] = blks;
cmd809drivers/scsi/st.c(void *) cmd, (STp->buffer)->b_data,
cmd828drivers/scsi/st.cstatic unsigned char cmd[10];
cmd869drivers/scsi/st.cmemset(cmd, 0, 10);
cmd870drivers/scsi/st.ccmd[0] = READ_6;
cmd871drivers/scsi/st.ccmd[1] = (STp->block_size != 0);
cmd878drivers/scsi/st.ccmd[2] = blks >> 16;
cmd879drivers/scsi/st.ccmd[3] = blks >> 8;
cmd880drivers/scsi/st.ccmd[4] = blks;
cmd885drivers/scsi/st.c(void *) cmd, (STp->buffer)->b_data,
cmd1025drivers/scsi/st.cunsigned char cmd[10];
cmd1032drivers/scsi/st.cmemset(cmd, 0, 10);
cmd1036drivers/scsi/st.ccmd[0] = SPACE;
cmd1037drivers/scsi/st.ccmd[1] = 0x01; /* Space FileMarks */
cmd1038drivers/scsi/st.ccmd[2] = (arg >> 16);
cmd1039drivers/scsi/st.ccmd[3] = (arg >> 8);
cmd1040drivers/scsi/st.ccmd[4] = arg;
cmd1043drivers/scsi/st.ccmd[2] * 65536 + cmd[3] * 256 + cmd[4]);
cmd1048drivers/scsi/st.ccmd[0] = SPACE;
cmd1049drivers/scsi/st.ccmd[1] = 0x01; /* Space FileMarks */
cmd1051drivers/scsi/st.ccmd[2] = (ltmp >> 16);
cmd1052drivers/scsi/st.ccmd[3] = (ltmp >> 8);
cmd1053drivers/scsi/st.ccmd[4] = ltmp;
cmd1055drivers/scsi/st.cif (cmd[2] & 0x80)
cmd1057drivers/scsi/st.cltmp = ltmp | (cmd[2] << 16) | (cmd[3] << 8) | cmd[4];
cmd1062drivers/scsi/st.ccmd[0] = SPACE;
cmd1063drivers/scsi/st.ccmd[1] = 0x00; /* Space Blocks */
cmd1064drivers/scsi/st.ccmd[2] = (arg >> 16);
cmd1065drivers/scsi/st.ccmd[3] = (arg >> 8);
cmd1066drivers/scsi/st.ccmd[4] = arg;
cmd1069drivers/scsi/st.ccmd[2] * 65536 + cmd[3] * 256 + cmd[4]);
cmd1073drivers/scsi/st.ccmd[0] = SPACE;
cmd1074drivers/scsi/st.ccmd[1] = 0x00; /* Space Blocks */
cmd1076drivers/scsi/st.ccmd[2] = (ltmp >> 16);
cmd1077drivers/scsi/st.ccmd[3] = (ltmp >> 8);
cmd1078drivers/scsi/st.ccmd[4] = ltmp;
cmd1080drivers/scsi/st.cif (cmd[2] & 0x80)
cmd1082drivers/scsi/st.cltmp = ltmp | (cmd[2] << 16) | (cmd[3] << 8) | cmd[4];
cmd1089drivers/scsi/st.ccmd[0] = WRITE_FILEMARKS;
cmd1090drivers/scsi/st.ccmd[2] = (arg >> 16);
cmd1091drivers/scsi/st.ccmd[3] = (arg >> 8);
cmd1092drivers/scsi/st.ccmd[4] = arg;
cmd1096drivers/scsi/st.ccmd[2] * 65536 + cmd[3] * 256 + cmd[4]);
cmd1100drivers/scsi/st.ccmd[0] = REZERO_UNIT;
cmd1102drivers/scsi/st.ccmd[1] = 1;  /* Don't wait for completion */
cmd1110drivers/scsi/st.ccmd[0] = START_STOP;
cmd1112drivers/scsi/st.ccmd[1] = 1;  /* Don't wait for completion */
cmd1126drivers/scsi/st.ccmd[0] = START_STOP;
cmd1128drivers/scsi/st.ccmd[1] = 1;  /* Don't wait for completion */
cmd1131drivers/scsi/st.ccmd[4] = 3;
cmd1137drivers/scsi/st.ccmd[0] = SPACE;
cmd1138drivers/scsi/st.ccmd[1] = 3;
cmd1146drivers/scsi/st.ccmd[0] = ERASE;
cmd1147drivers/scsi/st.ccmd[1] = 1;  /* To the end of tape */
cmd1154drivers/scsi/st.ccmd[0] = QFA_SEEK_BLOCK;
cmd1155drivers/scsi/st.ccmd[2] = (arg >> 16);
cmd1156drivers/scsi/st.ccmd[3] = (arg >> 8);
cmd1157drivers/scsi/st.ccmd[4] = arg;
cmd1158drivers/scsi/st.ccmd[5] = 0;
cmd1161drivers/scsi/st.ccmd[0] = SEEK_10;
cmd1162drivers/scsi/st.ccmd[1] = 4;
cmd1163drivers/scsi/st.ccmd[3] = (arg >> 24);
cmd1164drivers/scsi/st.ccmd[4] = (arg >> 16);
cmd1165drivers/scsi/st.ccmd[5] = (arg >> 8);
cmd1166drivers/scsi/st.ccmd[6] = arg;
cmd1169drivers/scsi/st.ccmd[1] |= 1;  /* Don't wait for completion */
cmd1188drivers/scsi/st.ccmd[0] = MODE_SELECT;
cmd1189drivers/scsi/st.ccmd[4] = 12;
cmd1233drivers/scsi/st.c(void *) cmd, (void *) (STp->buffer)->b_data, ST_BLOCK_SIZE,
cmd1287drivers/scsi/st.cint i, cmd, result;
cmd1303drivers/scsi/st.ccmd = cmd_in & IOCCMD_MASK;
cmd1304drivers/scsi/st.cif (cmd == (MTIOCTOP & IOCCMD_MASK)) {
cmd1323drivers/scsi/st.celse if (cmd == (MTIOCGET & IOCCMD_MASK)) {
cmd1335drivers/scsi/st.celse if (cmd == (MTIOCPOS & IOCCMD_MASK)) {
cmd261drivers/sound/audio.cunsigned int cmd, unsigned int arg)
cmd266drivers/sound/audio.cswitch (cmd)
cmd275drivers/sound/audio.creturn DMAbuf_ioctl (dev, cmd, arg, 0);
cmd290drivers/sound/audio.creturn DMAbuf_ioctl (dev, cmd, arg, 0);
cmd297drivers/sound/audio.creturn DMAbuf_ioctl (dev, cmd, arg, 0);
cmd334drivers/sound/audio.cunsigned int cmd, unsigned int arg)
cmd67drivers/sound/dev_table.hint (*ioctl) (int dev, unsigned int cmd, unsigned int arg, int local);
cmd78drivers/sound/dev_table.hint (*ioctl) (int dev, unsigned int cmd, unsigned int arg);
cmd88drivers/sound/dev_table.hint (*ioctl) (int dev, unsigned int cmd, unsigned int arg);
cmd109drivers/sound/dev_table.hint (*ioctl) (int dev, unsigned int cmd, unsigned int arg);
cmd433drivers/sound/dmabuf.cDMAbuf_ioctl (int dev, unsigned int cmd, unsigned int arg, int local)
cmd435drivers/sound/dmabuf.cswitch (cmd)
cmd480drivers/sound/dmabuf.creturn dsp_devs[dev]->ioctl (dev, cmd, arg, local);
cmd852drivers/sound/dmabuf.cDMAbuf_ioctl (int dev, unsigned int cmd, unsigned int arg, int local)
cmd185drivers/sound/gus_midi.cgus_midi_ioctl (int dev, unsigned cmd, unsigned arg)
cmd1000drivers/sound/gus_wave.cunsigned int cmd, unsigned int arg)
cmd1003drivers/sound/gus_wave.cswitch (cmd)
cmd1963drivers/sound/gus_wave.cint             voice, cmd;
cmd1967drivers/sound/gus_wave.ccmd = event[2];
cmd1974drivers/sound/gus_wave.c(cmd != _GUS_VOICESAMPLE) && (cmd != _GUS_VOICE_POS))
cmd1977drivers/sound/gus_wave.cswitch (cmd)
cmd2170drivers/sound/gus_wave.cgus_sampling_ioctl (int dev, unsigned int cmd, unsigned int arg, int local)
cmd2172drivers/sound/gus_wave.cswitch (cmd)
cmd3010drivers/sound/gus_wave.cgus_mixer_ioctl (int dev, unsigned int cmd, unsigned int arg)
cmd3014drivers/sound/gus_wave.cif (((cmd >> 8) & 0xff) == 'M')
cmd3016drivers/sound/gus_wave.cif (cmd & IOC_IN)
cmd3017drivers/sound/gus_wave.cswitch (cmd & 0xff)
cmd3085drivers/sound/gus_wave.cswitch (cmd & 0xff)  /* 
cmd100drivers/sound/midibuf.cunsigned int cmd, unsigned int arg)
cmd104drivers/sound/midibuf.cswitch (cmd)
cmd108drivers/sound/midibuf.creturn midi_devs[0]->ioctl (dev, cmd, arg);
cmd45drivers/sound/mpu401.c#define mpu401_cmd(cmd)    OUTB(cmd, COMDPORT)
cmd198drivers/sound/mpu401.cmpu401_ioctl (int dev, unsigned cmd, unsigned arg)
cmd119drivers/sound/opl3.cunsigned int cmd, unsigned int arg)
cmd121drivers/sound/opl3.cswitch (cmd)
cmd196drivers/sound/pas2_midi.cpas_midi_ioctl (int dev, unsigned cmd, unsigned arg)
cmd407drivers/sound/pas2_mixer.cpas_mixer_ioctl (int dev, unsigned int cmd, unsigned int arg)
cmd409drivers/sound/pas2_mixer.cTRACE (printk ("pas2_mixer.c: int pas_mixer_ioctl(unsigned int cmd = %X, unsigned int arg = %X)\n", cmd, arg));
cmd411drivers/sound/pas2_mixer.cif (((cmd >> 8) & 0xff) == 'M')
cmd413drivers/sound/pas2_mixer.cif (cmd & IOC_IN)
cmd414drivers/sound/pas2_mixer.creturn IOCTL_OUT (arg, pas_mixer_set (cmd & 0xff, IOCTL_IN (arg)));
cmd418drivers/sound/pas2_mixer.cswitch (cmd & 0xff)
cmd458drivers/sound/pas2_mixer.creturn IOCTL_OUT (arg, levels[cmd & 0xff]);
cmd464drivers/sound/pas2_mixer.cswitch (cmd)
cmd126drivers/sound/pas2_pcm.cpas_pcm_ioctl (int dev, unsigned int cmd, unsigned int arg, int local)
cmd128drivers/sound/pas2_pcm.cTRACE (printk ("pas2_pcm.c: static int pas_pcm_ioctl(unsigned int cmd = %X, unsigned int arg = %X)\n", cmd, arg));
cmd130drivers/sound/pas2_pcm.cswitch (cmd)
cmd63drivers/sound/sb16_dsp.cstatic int sb16_dsp_ioctl (int dev, unsigned int cmd, unsigned int arg,int local);
cmd202drivers/sound/sb16_dsp.csb16_dsp_ioctl (int dev, unsigned int cmd, unsigned int arg,int local)
cmd204drivers/sound/sb16_dsp.cswitch (cmd) {
cmd43drivers/sound/sb16_midi.c#define sb16midi_cmd(cmd)    OUTB(cmd, COMDPORT)
cmd194drivers/sound/sb16_midi.csb16midi_ioctl (int dev, unsigned cmd, unsigned arg)
cmd547drivers/sound/sb_dsp.csb_dsp_ioctl (int dev, unsigned int cmd, unsigned int arg, int local)
cmd549drivers/sound/sb_dsp.cswitch (cmd)
cmd172drivers/sound/sb_midi.csb_midi_ioctl (int dev, unsigned cmd, unsigned arg)
cmd256drivers/sound/sb_mixer.csb_mixer_ioctl (int dev, unsigned int cmd, unsigned int arg)
cmd258drivers/sound/sb_mixer.cif (((cmd >> 8) & 0xff) == 'M')
cmd260drivers/sound/sb_mixer.cif (cmd & IOC_IN)
cmd261drivers/sound/sb_mixer.cswitch (cmd & 0xff)
cmd268drivers/sound/sb_mixer.creturn IOCTL_OUT (arg, sb_mixer_set (cmd & 0xff, IOCTL_IN (arg)));
cmd271drivers/sound/sb_mixer.cswitch (cmd & 0xff)  /* Return parameters */
cmd296drivers/sound/sb_mixer.creturn IOCTL_OUT (arg, sb_mixer_get (cmd & 0xff));
cmd710drivers/sound/sequencer.cunsigned int cmd, unsigned int arg)
cmd717drivers/sound/sequencer.cswitch (cmd)
cmd798drivers/sound/sequencer.creturn synth_devs[dev]->ioctl (dev, cmd, arg);
cmd819drivers/sound/sequencer.creturn IOCTL_OUT (arg, synth_devs[dev]->ioctl (dev, cmd, arg));
cmd833drivers/sound/sequencer.csynth_devs[dev]->ioctl (dev, cmd, arg);
cmd852drivers/sound/sequencer.creturn synth_devs[dev]->ioctl (dev, cmd, arg);
cmd967drivers/sound/sequencer.creturn synth_devs[0]->ioctl (0, cmd, arg);
cmd1127drivers/sound/sequencer.cunsigned int cmd, unsigned int arg)
cmd12drivers/sound/sound_calls.hint DMAbuf_ioctl(int dev, unsigned int cmd, unsigned int arg, int local);
cmd30drivers/sound/sound_calls.hunsigned int cmd, unsigned int arg);
cmd43drivers/sound/sound_calls.hunsigned int cmd, unsigned int arg);
cmd63drivers/sound/sound_calls.hunsigned int cmd, unsigned int arg);
cmd109drivers/sound/sound_calls.hunsigned int cmd, unsigned long arg);
cmd376drivers/sound/sound_switch.cunsigned int cmd, unsigned long arg)
cmd378drivers/sound/sound_switch.cDEB (printk ("sound_ioctl_sw(dev=%d, cmd=0x%x, arg=0x%x)\n", dev, cmd, arg));
cmd391drivers/sound/sound_switch.creturn mixer_devs[dev >> 4]->ioctl (dev >> 4, cmd, arg);
cmd395drivers/sound/sound_switch.creturn sequencer_ioctl (dev, file, cmd, arg);
cmd401drivers/sound/sound_switch.creturn audio_ioctl (dev, file, cmd, arg);
cmd406drivers/sound/sound_switch.creturn MIDIbuf_ioctl (dev, file, cmd, arg);
cmd126drivers/sound/soundcard.cunsigned int cmd, unsigned long arg)
cmd133drivers/sound/soundcard.creturn sound_ioctl_sw (dev, &files[dev], cmd, arg);
cmd17fs/ext2/ioctl.cint ext2_ioctl (struct inode * inode, struct file * filp, unsigned int cmd,
cmd22fs/ext2/ioctl.cext2_debug ("cmd = %u, arg = %lu\n", cmd, arg);
cmd24fs/ext2/ioctl.cswitch (cmd) {
cmd18fs/fcntl.cextern int sock_fcntl (struct file *, unsigned int cmd, unsigned long arg);
cmd66fs/fcntl.casmlinkage int sys_fcntl(unsigned int fd, unsigned int cmd, unsigned long arg)
cmd72fs/fcntl.cswitch (cmd) {
cmd92fs/fcntl.creturn fcntl_setlk(fd, cmd, (struct flock *) arg);
cmd94fs/fcntl.creturn fcntl_setlk(fd, cmd, (struct flock *) arg);
cmd99fs/fcntl.creturn (sock_fcntl (filp, cmd, arg));
cmd16fs/ioctl.cstatic int file_ioctl(struct file *filp,unsigned int cmd,unsigned long arg)
cmd21fs/ioctl.cswitch (cmd) {
cmd52fs/ioctl.creturn filp->f_op->ioctl(filp->f_inode, filp, cmd,arg);
cmd57fs/ioctl.casmlinkage int sys_ioctl(unsigned int fd, unsigned int cmd, unsigned long arg)
cmd64fs/ioctl.cswitch (cmd) {
cmd92fs/ioctl.creturn file_ioctl(filp,cmd,arg);
cmd95fs/ioctl.creturn filp->f_op->ioctl(filp->f_inode, filp, cmd,arg);
cmd94fs/locks.cint fcntl_setlk(unsigned int fd, unsigned int cmd, struct flock *l)
cmd150fs/locks.cif (cmd == F_SETLKW) {
cmd134fs/pipe.cunsigned int cmd, unsigned long arg)
cmd138fs/pipe.cswitch (cmd) {
cmd105include/linux/net.hint  (*ioctl)  (struct socket *sock, unsigned int cmd,
cmd121include/linux/net.hint  (*fcntl)  (struct socket *sock, unsigned int cmd,
cmd185include/linux/netdevice.hextern int    dev_ioctl(unsigned int cmd, void *);
cmd260include/linux/tty.hunsigned int cmd, unsigned long arg);
cmd294include/linux/tty.hunsigned int cmd, unsigned long arg);
cmd446include/linux/tty.hunsigned int cmd, unsigned long arg);
cmd93include/linux/ultrasound.h#define _GUS_CMD(chn, voice, cmd, p1, p2) \
cmd95include/linux/ultrasound.h_seqbuf[_seqbufptr+1] = (chn); _seqbuf[_seqbufptr+2] = cmd;\
cmd115include/linux/xd.hstatic int xd_ioctl (struct inode *inode,struct file *file,unsigned int cmd,unsigned long arg);
cmd319ipc/msg.cint sys_msgctl (int msqid, int cmd, struct msqid_ds *buf)
cmd325ipc/msg.cif (msqid < 0 || cmd < 0)
cmd327ipc/msg.cswitch (cmd) {
cmd342ipc/msg.cif (cmd == MSG_INFO) {
cmd391ipc/msg.cswitch (cmd) {
cmd402ipc/msg.cif (cmd == IPC_RMID) {
cmd151ipc/sem.cint sys_semctl (int semid, int semnum, int cmd, void *arg)
cmd161ipc/sem.cif (semid < 0 || semnum < 0 || cmd < 0)
cmd164ipc/sem.cswitch (cmd) {
cmd181ipc/sem.cif (cmd == SEM_INFO) {
cmd222ipc/sem.cswitch (cmd) {
cmd230ipc/sem.cswitch (cmd) {
cmd286ipc/sem.cswitch (cmd) {
cmd195ipc/shm.cint sys_shmctl (int shmid, int cmd, struct shmid_ds *buf)
cmd201ipc/shm.cif (cmd < 0 || shmid < 0)
cmd203ipc/shm.cif (cmd == IPC_SET) {
cmd212ipc/shm.cswitch (cmd) { /* replace with proc interface ? */
cmd271ipc/shm.cswitch (cmd) {
cmd24ipc/util.cextern int sys_semctl (int semid, int semnum, int cmd, void *arg);
cmd29ipc/util.cextern int sys_msgctl (int msqid, int cmd, struct msqid_ds *buf);
cmd30ipc/util.cextern int sys_shmctl (int shmid, int cmd, struct shmid_ds *buf);
cmd969net/inet/arp.cint arp_ioctl(unsigned int cmd, void *arg)
cmd975net/inet/arp.cswitch(cmd)
cmd12net/inet/arp.hextern int  arp_ioctl(unsigned int cmd, void *arg);
cmd1199net/inet/dev.cint dev_ioctl(unsigned int cmd, void *arg)
cmd1201net/inet/dev.cswitch(cmd) 
cmd1227net/inet/dev.creturn dev_ifsioc(arg, cmd);
cmd1243net/inet/dev.creturn dev_ifsioc(arg, cmd);
cmd187net/inet/dev.hextern int    dev_ioctl(unsigned int cmd, void *);
cmd727net/inet/icmp.cint icmp_ioctl(struct sock *sk, int cmd, unsigned long arg)
cmd729net/inet/icmp.cswitch(cmd) 
cmd35net/inet/icmp.hextern int  icmp_ioctl(struct sock *sk, int cmd,
cmd167net/inet/ip.cint ip_ioctl(struct sock *sk, int cmd, unsigned long arg)
cmd169net/inet/ip.cswitch(cmd) 
cmd69net/inet/ip.hextern int    ip_ioctl(struct sock *sk, int cmd,
cmd285net/inet/ipx.cstatic int ipxrtr_ioctl(unsigned int cmd, void *arg)
cmd288net/inet/ipx.cswitch(cmd)
cmd345net/inet/ipx.cstatic int ipx_fcntl(struct socket *sock, unsigned int cmd, unsigned long arg)
cmd357net/inet/ipx.cswitch(cmd)
cmd1049net/inet/ipx.cstatic int ipx_ioctl(struct socket *sock,unsigned int cmd, unsigned long arg)
cmd1052net/inet/ipx.cswitch(cmd)
cmd1058net/inet/ipx.creturn(ipxrtr_ioctl(cmd,(void *)arg));
cmd640net/inet/route.cint ip_rt_ioctl(unsigned int cmd, void *arg)
cmd645net/inet/route.cswitch(cmd) 
cmd657net/inet/route.creturn (cmd == SIOCDELRTOLD) ? rt_kill(&rt) : rt_new(&rt);
cmd667net/inet/route.creturn (cmd == SIOCDELRT) ? rt_kill(&rt) : rt_new(&rt);
cmd49net/inet/route.hextern int    ip_rt_ioctl(unsigned int cmd, void *arg);
cmd409net/inet/sock.cinet_fcntl(struct socket *sock, unsigned int cmd, unsigned long arg)
cmd415net/inet/sock.cswitch(cmd) {
cmd1423net/inet/sock.cinet_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg)
cmd1435net/inet/sock.cswitch(cmd) {
cmd1478net/inet/sock.creturn(ip_rt_ioctl(cmd,(void *) arg));
cmd1483net/inet/sock.creturn(arp_ioctl(cmd,(void *) arg));
cmd1506net/inet/sock.creturn(dev_ioctl(cmd,(void *) arg));
cmd1510net/inet/sock.creturn(sk->prot->ioctl(sk, cmd, arg));
cmd1698net/inet/sock.cunsigned int cmd, unsigned long arg)
cmd1709net/inet/sock.cret = inet_ioctl(NULL, cmd, arg);
cmd1712net/inet/sock.cret = ip_ioctl(NULL, cmd, arg);
cmd1715net/inet/sock.cret = icmp_ioctl(NULL, cmd, arg);
cmd1718net/inet/sock.cret = tcp_ioctl(NULL, cmd, arg);
cmd1721net/inet/sock.cret = udp_ioctl(NULL, cmd, arg);
cmd220net/inet/sock.hint      (*ioctl)(struct sock *sk, int cmd,
cmd430net/inet/tcp.ctcp_ioctl(struct sock *sk, int cmd, unsigned long arg)
cmd433net/inet/tcp.cDPRINTF((DBG_TCP, "tcp_ioctl(sk=%X, cmd = %d, arg=%X)\n", sk, cmd, arg));
cmd434net/inet/tcp.cswitch(cmd) {
cmd124net/inet/tcp.hextern int  tcp_ioctl(struct sock *sk, int cmd, unsigned long arg);
cmd431net/inet/udp.cint udp_ioctl(struct sock *sk, int cmd, unsigned long arg)
cmd434net/inet/udp.cswitch(cmd) 
cmd47net/inet/udp.hextern int  udp_ioctl(struct sock *sk, int cmd, unsigned long arg);
cmd65net/socket.cunsigned int cmd, unsigned long arg);
cmd319net/socket.csock_ioctl(struct inode *inode, struct file *file, unsigned int cmd,
cmd325net/socket.cinode, cmd, arg));
cmd330net/socket.creturn(sock->ops->ioctl(sock, cmd, arg));
cmd842net/socket.csock_fcntl(struct file *filp, unsigned int cmd, unsigned long arg)
cmd848net/socket.creturn(sock->ops->fcntl(sock, cmd, arg));
cmd986net/socket.cnet_ioctl(unsigned int cmd, unsigned long arg)
cmd989net/socket.cswitch(cmd) {
cmd1017net/socket.cunsigned int cmd, unsigned long arg)
cmd1025net/socket.creturn(net_ioctl(cmd, arg));
cmd1029net/socket.creturn(arp_ioctl(cmd, (void *) arg));
cmd76net/unix/sock.cstatic int unix_proto_ioctl(struct socket *sock, unsigned int cmd,
cmd798net/unix/sock.cunix_proto_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg)
cmd806net/unix/sock.cswitch(cmd) {
cmd856net/unix/sock.cunsigned int cmd, unsigned long arg)
cmd861net/unix/sock.cdprintf(1, "UNIX: ioctl(0x%X, 0x%X)\n", cmd, arg);
cmd866net/unix/sock.cswitch(cmd) {