taglinefilesource code
cmd29drivers/block/blk.hint cmd;    /* READ or WRITE */
cmd47drivers/block/blk.h((s1)->cmd < (s2)->cmd || ((s1)->cmd == (s2)->cmd && \
cmd174drivers/block/cdu31a.cstatic void do_sony_cd_cmd(unsigned char cmd,
cmd424drivers/block/cdu31a.cwrite_cmd(unsigned char cmd)
cmd427drivers/block/cdu31a.coutb(cmd, sony_cd_cmd_reg);
cmd904drivers/block/cdu31a.cdo_sony_cd_cmd(unsigned char cmd,
cmd965drivers/block/cdu31a.cwrite_cmd(cmd);
cmd1189drivers/block/cdu31a.cswitch(CURRENT->cmd)
cmd1452drivers/block/cdu31a.cunsigned int  cmd,
cmd1472drivers/block/cdu31a.cswitch (cmd)
cmd1172drivers/block/floppy.cif (CURRENT->cmd == READ)
cmd1174drivers/block/floppy.celse if (CURRENT->cmd == WRITE)
cmd1226drivers/block/floppy.cstatic int fd_ioctl(struct inode *inode, struct file *filp, unsigned int cmd,
cmd1232drivers/block/floppy.cswitch (cmd) {
cmd1236drivers/block/floppy.cswitch (cmd) {
cmd1248drivers/block/floppy.ccmd = FDCLRPRM;
cmd1305drivers/block/floppy.cswitch (cmd) {
cmd1318drivers/block/floppy.cif (cmd == FDDEFPRM)
cmd196drivers/block/hd.cunsigned int head,unsigned int cyl,unsigned int cmd,
cmd227drivers/block/hd.coutb_p(cmd,++port);
cmd699drivers/block/hd.cif (CURRENT->cmd == READ) {
cmd700drivers/block/hd.cunsigned int cmd = mult_count[dev] > 1 ? WIN_MULTREAD : WIN_READ;
cmd701drivers/block/hd.chd_out(dev,nsect,sec,head,cyl,cmd,&read_intr);
cmd711drivers/block/hd.cif (CURRENT->cmd == WRITE) {
cmd747drivers/block/hd.cunsigned int cmd, unsigned long arg)
cmd757drivers/block/hd.cswitch (cmd) {
cmd237drivers/block/ll_rw_blk.creq->cmd == rw &&
cmd251drivers/block/ll_rw_blk.creq->cmd == rw &&
cmd289drivers/block/ll_rw_blk.creq->cmd = rw;
cmd322drivers/block/ll_rw_blk.creq->cmd = rw;
cmd457drivers/block/ll_rw_blk.creq->cmd = rw;
cmd87drivers/block/mcd.c(CURRENT && MAJOR(CURRENT -> dev) == MAJOR_NR && CURRENT -> cmd == READ \
cmd139drivers/block/mcd.cstatic void sendMcdCmd(int cmd, struct mcd_Play_msf *params);
cmd239drivers/block/mcd.cmcd_ioctl(struct inode *ip, struct file *fp, unsigned int cmd,
cmd268drivers/block/mcd.cswitch (cmd)
cmd1261drivers/block/mcd.csendMcdCmd(int cmd, struct mcd_Play_msf *params)
cmd1263drivers/block/mcd.coutb(cmd, MCDPORT(0));
cmd45drivers/block/ramdisk.cif (CURRENT-> cmd == WRITE) {
cmd49drivers/block/ramdisk.c} else if (CURRENT->cmd == READ) {
cmd2393drivers/block/sbpcd.cstatic int sbpcd_ioctl(struct inode *inode, struct file *file, u_int cmd,
cmd2399drivers/block/sbpcd.cMINOR(inode->i_rdev), cmd, arg));
cmd2418drivers/block/sbpcd.cDPRINTF((DBG_IO2,"SBPCD: ioctl: device %d, request %04X\n",i,cmd));
cmd2419drivers/block/sbpcd.cswitch (cmd)     /* Sun-compatible */
cmd2859drivers/block/sbpcd.cDPRINTF((DBG_IOC,"SBPCD: ioctl: unknown function request %04X\n", cmd));
cmd2911drivers/block/sbpcd.cif (CURRENT->cmd != READ)
cmd2913drivers/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 ) {
cmd1490drivers/char/serial.cstatic int set_modem_info(struct async_struct * info, unsigned int cmd,
cmd1495drivers/char/serial.cswitch (cmd) {
cmd1618drivers/char/serial.cunsigned int cmd, unsigned long arg)
cmd1627drivers/char/serial.cswitch (cmd) {
cmd1665drivers/char/serial.creturn set_modem_info(info, cmd, (unsigned int *) arg);
cmd661drivers/char/tpqic02.cstatic int notify_cmd(char cmd, short ignore_ex)
cmd665drivers/char/tpqic02.coutb_p(cmd, QIC02_CMD_PORT);    /* output the command */
cmd801drivers/char/tpqic02.cstatic int send_qic02_cmd(int cmd, time_t timeout, int ignore_ex)
cmd820drivers/char/tpqic02.cstatus_cmd_pending = cmd;
cmd822drivers/char/tpqic02.cstat = notify_cmd(cmd, ignore_ex); /* tell drive new command was loaded, */
cmd824drivers/char/tpqic02.cif (TP_HAVE_SEEK && (cmd == AR_QCMDV_SEEK_BLK)) {
cmd969drivers/char/tpqic02.cstatic void finish_rw(int cmd);
cmd1073drivers/char/tpqic02.cstatic int ll_do_qic_cmd(int cmd, time_t timeout)
cmd1090drivers/char/tpqic02.cprintk(TPQIC02_NAME ": ll_do_qic_cmd(%x, %ld) failed\n", cmd, (long) timeout);
cmd1100drivers/char/tpqic02.cstat = send_qic02_cmd(cmd, timeout, 0);  /* (checks for exceptions) */
cmd1102drivers/char/tpqic02.cif (cmd==QCMD_RD_FM) {
cmd1108drivers/char/tpqic02.c} else if (cmd==QCMD_WRT_FM) {
cmd1111drivers/char/tpqic02.c} else if ((cmd==QCMD_REWIND) || (cmd==QCMD_ERASE) || (cmd==QCMD_RETEN)) {
cmd1126drivers/char/tpqic02.cprintk(TPQIC02_NAME ": Exception persist in ll_do_qic_cmd[1](%x, %ld)", cmd, (long) timeout);
cmd1144drivers/char/tpqic02.cif (tp_sense((cmd==QCMD_SEEK_EOD ?    /*****************************/
cmd1147drivers/char/tpqic02.cprintk(TPQIC02_NAME ": Exception persist in ll_do_qic_cmd[2](%x, %ld)\n", cmd, (long) timeout);
cmd1148drivers/char/tpqic02.cif (cmd!=QCMD_RD_FM)
cmd1155drivers/char/tpqic02.cprintk(TPQIC02_NAME ": ll_do_qic_cmd %x: wait failed, stat == 0x%x\n", cmd, stat);
cmd1187drivers/char/tpqic02.cstatic void terminate_read(int cmd)
cmd1191drivers/char/tpqic02.cif (cmd != QCMD_RD_FM) {
cmd1215drivers/char/tpqic02.cstatic void terminate_write(int cmd)
cmd1222drivers/char/tpqic02.cif (cmd != QCMD_WRT_FM) {
cmd1239drivers/char/tpqic02.cstatic void finish_rw(int cmd)
cmd1245drivers/char/tpqic02.cterminate_read(cmd);
cmd1246drivers/char/tpqic02.cterminate_write(cmd);
cmd1254drivers/char/tpqic02.cstatic int do_qic_cmd(int cmd, time_t timeout)
cmd1259drivers/char/tpqic02.cfinish_rw(cmd);
cmd1269drivers/char/tpqic02.cif (cmd==QCMD_REWIND)  /* don't wind beyond BOT ;-) */
cmd1273drivers/char/tpqic02.creturn ll_do_qic_cmd(cmd, timeout);
cmd1281drivers/char/tpqic02.cstatic int do_ioctl_cmd(int cmd)
cmd1291drivers/char/tpqic02.cswitch (cmd) {
cmd98drivers/char/tty_io.cunsigned int cmd, unsigned long arg);
cmd269drivers/char/tty_io.cunsigned int cmd, unsigned long arg)
cmd1221drivers/char/tty_io.cunsigned int cmd, unsigned long arg)
cmd1241drivers/char/tty_io.cswitch (cmd) {
cmd1404drivers/char/tty_io.ccmd, arg);
cmd1410drivers/char/tty_io.ccmd, arg);
cmd198drivers/char/tty_ioctl.cunsigned int cmd, unsigned long arg)
cmd209drivers/char/tty_ioctl.cswitch (cmd) {
cmd225drivers/char/tty_ioctl.cif (cmd == TCSETSF || cmd == TCSETSW) {
cmd226drivers/char/tty_ioctl.cif (cmd == TCSETSF &&
cmd241drivers/char/tty_ioctl.cif (cmd == TCSETAF || cmd == TCSETAW) {
cmd242drivers/char/tty_ioctl.cif (cmd == TCSETAF &&
cmd360drivers/char/tty_ioctl.ctty->driver.ioctl(tty, file, cmd, arg);
cmd119drivers/char/vt.cunsigned int cmd, unsigned long arg)
cmd132drivers/char/vt.cswitch (cmd) {
cmd168drivers/char/vt.creturn sys_ioperm(arg, 1, (cmd == KDADDIO)) ? -ENXIO : 0;
cmd173drivers/char/vt.c(cmd == KDENABIO)) ? -ENXIO : 0;
cmd103drivers/net/apricot.cstruct i596_cmd cmd;
cmd111drivers/net/apricot.cunsigned short cmd;
cmd124drivers/net/apricot.cstruct i596_cmd *cmd;
cmd190drivers/net/apricot.cstatic void i596_add_cmd(struct device *dev, struct i596_cmd *cmd);
cmd219drivers/net/apricot.clp->rx[i].cmd = CMD_EOL;
cmd224drivers/net/apricot.clp->rx[i].cmd = 0x0000;
cmd269drivers/net/apricot.clp->cmd_head = lp->scb.cmd = (struct i596_cmd *) -1;
cmd351drivers/net/apricot.clp->rx_tail->cmd=0;
cmd355drivers/net/apricot.clp->rx_tail->cmd=CMD_EOL;
cmd365drivers/net/apricot.cstatic void i596_add_cmd(struct device *dev, struct i596_cmd *cmd)
cmd374drivers/net/apricot.ccmd->status = 0;
cmd375drivers/net/apricot.ccmd->command |= (CMD_EOL|CMD_INTR);
cmd376drivers/net/apricot.ccmd->next = (struct i596_cmd *) -1;
cmd381drivers/net/apricot.clp->cmd_tail->next = cmd;
cmd384drivers/net/apricot.clp->cmd_head=cmd;
cmd393drivers/net/apricot.clp->scb.cmd = cmd;
cmd397drivers/net/apricot.clp->cmd_tail=cmd;
cmd400drivers/net/apricot.clp->cmd_head=lp->scb.cmd;
cmd482drivers/net/apricot.clp->scb.cmd = lp->cmd_head;
cmd586drivers/net/apricot.ctx_cmd->cmd.command = CMD_FLEX|CmdTx;
cmd807drivers/net/apricot.clp->scb.cmd = lp->cmd_head;
cmd890drivers/net/apricot.cstruct i596_cmd *cmd;
cmd896drivers/net/apricot.ccmd = (struct i596_cmd *) kmalloc(sizeof(struct i596_cmd)+2+num_addrs*6, GFP_ATOMIC);
cmd897drivers/net/apricot.cif (cmd == NULL)
cmd903drivers/net/apricot.ccmd->command = CmdMulticastList;
cmd904drivers/net/apricot.c*((unsigned short *) (cmd + 1)) = num_addrs * 6;
cmd905drivers/net/apricot.cmemcpy (((char *)(cmd + 1))+2, addrs, num_addrs * 6);
cmd906drivers/net/apricot.cprint_eth (((char *)(cmd + 1)) + 2);
cmd908drivers/net/apricot.ci596_add_cmd(dev, cmd);
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;
cmd291drivers/net/de600.c#define de600_put_command(cmd) ( \
cmd294drivers/net/de600.coutb_p(((rx_page | cmd) << 4)   | COMMAND            , DATA_PORT), \
cmd295drivers/net/de600.coutb_p(((rx_page | cmd) & 0xf0) | COMMAND | HI_NIBBLE, DATA_PORT))
cmd241drivers/net/de620.cde620_send_command(byte cmd)
cmd244drivers/net/de620.cif (cmd == W_DUMMY)
cmd247drivers/net/de620.coutb(cmd, DATA_PORT);
cmd942drivers/net/slip.cslip_ioctl(struct tty_struct *tty, void *file, int cmd, void *arg)
cmd952drivers/net/slip.cswitch(cmd) {
cmd989drivers/net/slip.creturn n_tty_ioctl(tty, file, cmd, (unsigned long) arg);
cmd175drivers/scsi/53c7,8xx.cstatic void abnormal_finished (struct NCR53c7x0_cmd *cmd, int result);
cmd180drivers/scsi/53c7,8xx.c*cmd);
cmd181drivers/scsi/53c7,8xx.cstatic void intr_dma (struct Scsi_Host *host, struct NCR53c7x0_cmd *cmd);
cmd186drivers/scsi/53c7,8xx.cstatic void NCR53c8xx_dsa_fixup (struct NCR53c7x0_cmd *cmd);
cmd189drivers/scsi/53c7,8xx.cNCR53c7x0_cmd *cmd);
cmd1217drivers/scsi/53c7,8xx.cunsigned char cmd[6];
cmd1222drivers/scsi/53c7,8xx.ccmd[0] = INQUIRY;
cmd1223drivers/scsi/53c7,8xx.ccmd[1] = cmd[2] = cmd[3] = cmd[5] = 0;
cmd1224drivers/scsi/53c7,8xx.ccmd[4] = sizeof(data); 
cmd1229drivers/scsi/53c7,8xx.cdsa[5] = (unsigned long) &cmd;
cmd1306drivers/scsi/53c7,8xx.cstatic void NCR53c8xx_dsa_fixup (struct NCR53c7x0_cmd *cmd) {
cmd1307drivers/scsi/53c7,8xx.cScsi_Cmnd *c = cmd->cmd;
cmd1313drivers/scsi/53c7,8xx.cmemcpy (cmd->dsa, hostdata->script + (hostdata->E_dsa_code_template / 4),
cmd1316drivers/scsi/53c7,8xx.cpatch_abs_32 (cmd->dsa, Ent_dsa_code_template / sizeof(long), 
cmd1317drivers/scsi/53c7,8xx.cdsa_temp_jump_resume, ((unsigned long) cmd->dsa) + 
cmd1319drivers/scsi/53c7,8xx.cpatch_abs_rwri_data (cmd->dsa, Ent_dsa_code_template / sizeof(long),
cmd1321drivers/scsi/53c7,8xx.cpatch_abs_32 (cmd->dsa, Ent_dsa_code_template / sizeof(long),
cmd1322drivers/scsi/53c7,8xx.cdsa_temp_dsa_next, ((unsigned long) cmd->dsa) + A_dsa_next);
cmd1323drivers/scsi/53c7,8xx.cpatch_abs_32 (cmd->dsa, Ent_dsa_code_template / sizeof(long), 
cmd1325drivers/scsi/53c7,8xx.cpatch_abs_rwri_data (cmd->dsa, Ent_dsa_code_template / sizeof(long),
cmd1344drivers/scsi/53c7,8xx.cstatic void abnormal_finished (struct NCR53c7x0_cmd *cmd, int result) {
cmd1345drivers/scsi/53c7,8xx.cScsi_Cmnd *c = cmd->cmd;
cmd1358drivers/scsi/53c7,8xx.csearch && (search + hostdata->dsa_start) != (char *) cmd->dsa;
cmd1366drivers/scsi/53c7,8xx.cif (cmd->prev)
cmd1367drivers/scsi/53c7,8xx.ccmd->prev->next = cmd->next;
cmd1369drivers/scsi/53c7,8xx.cif (cmd->next)
cmd1370drivers/scsi/53c7,8xx.ccmd->next->prev = cmd->prev;
cmd1372drivers/scsi/53c7,8xx.cif (hostdata->running_list == cmd)
cmd1373drivers/scsi/53c7,8xx.chostdata->running_list = cmd->next;
cmd1377drivers/scsi/53c7,8xx.cscsi_free ((void *) cmd->real, cmd->size);
cmd1379drivers/scsi/53c7,8xx.ckfree_s (cmd->real, cmd->size);
cmd1405drivers/scsi/53c7,8xx.cNCR53c7x0_cmd *cmd) {
cmd1409drivers/scsi/53c7,8xx.cScsi_Cmnd *c = cmd ? cmd->cmd : NULL;
cmd1597drivers/scsi/53c7,8xx.cNCR53c7x0_cmd *cmd) {
cmd1599drivers/scsi/53c7,8xx.cScsi_Cmnd *c = cmd ? cmd->cmd : NULL;
cmd1613drivers/scsi/53c7,8xx.cif (cmd) 
cmd1636drivers/scsi/53c7,8xx.cif (cmd) {
cmd1638drivers/scsi/53c7,8xx.chost->host_no, c->target, (cmd->flags & CMD_FLAG_SDTR) ? "accepting" :
cmd1648drivers/scsi/53c7,8xx.cif (cmd->flags & CMD_FLAG_SDTR) {
cmd1649drivers/scsi/53c7,8xx.ccmd->flags &= ~CMD_FLAG_SDTR; 
cmd1657drivers/scsi/53c7,8xx.ccmd->flags |= CMD_FLAG_DID_SDTR;
cmd1663drivers/scsi/53c7,8xx.cpatch_dsa_32 (cmd->dsa, dsa_msgout_other, 0, 5);
cmd1664drivers/scsi/53c7,8xx.cpatch_dsa_32 (cmd->dsa, dsa_msgout_other, 1, 
cmd1748drivers/scsi/53c7,8xx.cpatch_dsa_32 (cmd->dsa, dsa_msgout, 0, 1);
cmd1755drivers/scsi/53c7,8xx.cpatch_dsa_32 (cmd->dsa, dsa_cmdout, 0, 6);
cmd1770drivers/scsi/53c7,8xx.cpatch_dsa_32 (cmd->dsa, dsa_dataout, 0, hostdata->E_other_transfer);
cmd1771drivers/scsi/53c7,8xx.cpatch_dsa_32 (cmd->dsa, dsa_datain, 0, cmd->data_transfer_start);
cmd1772drivers/scsi/53c7,8xx.ccmd->data_transfer_start[0] = (((DCMD_TYPE_BMI | DCMD_BMI_OP_MOVE_I | 
cmd1774drivers/scsi/53c7,8xx.ccmd->data_transfer_start[1] = (unsigned long) c->sense_buffer;
cmd1776drivers/scsi/53c7,8xx.ccmd->data_transfer_start[2] = ((DCMD_TYPE_TCI | DCMD_TCI_OP_JUMP) 
cmd1778drivers/scsi/53c7,8xx.ccmd->data_transfer_start[3] = hostdata->E_other_transfer;
cmd1787drivers/scsi/53c7,8xx.ccmd->cmd->result = 0xffff;    
cmd1802drivers/scsi/53c7,8xx.cif (cmd)
cmd1803drivers/scsi/53c7,8xx.cabnormal_finished (cmd, DID_ERROR << 16);
cmd2240drivers/scsi/53c7,8xx.cstatic struct NCR53c7x0_cmd *create_cmd (Scsi_Cmnd *cmd) {
cmd2242drivers/scsi/53c7,8xx.cstruct Scsi_Host *host = cmd->host;
cmd2255drivers/scsi/53c7,8xx.cNCR53c7x0_local_setup(cmd->host);
cmd2263drivers/scsi/53c7,8xx.cswitch (cmd->cmnd[0]) {
cmd2271drivers/scsi/53c7,8xx.cdatain = 2 * (cmd->use_sg ? cmd->use_sg : 1) + 3;
cmd2280drivers/scsi/53c7,8xx.cprint_command(cmd->cmnd);
cmd2284drivers/scsi/53c7,8xx.ccmd->use_sg);
cmd2287drivers/scsi/53c7,8xx.cdataout = 2 * (cmd->use_sg ? cmd->use_sg : 1) + 3;
cmd2305drivers/scsi/53c7,8xx.cdatain = dataout = 2 * (cmd->use_sg ? cmd->use_sg : 1) + 3;
cmd2379drivers/scsi/53c7,8xx.chost->host_no, cmd->pid);
cmd2386drivers/scsi/53c7,8xx.ctmp->cmd = cmd;
cmd2415drivers/scsi/53c7,8xx.cpatch_dsa_32(tmp->dsa, dsa_cmnd, 0, cmd);
cmd2416drivers/scsi/53c7,8xx.cpatch_dsa_32(tmp->dsa, dsa_select, 0, hostdata->sync[cmd->target].
cmd2424drivers/scsi/53c7,8xx.ctmp->select[0] = IDENTIFY (1, cmd->lun);
cmd2426drivers/scsi/53c7,8xx.ctmp->select[0] = IDENTIFY (0, cmd->lun);
cmd2429drivers/scsi/53c7,8xx.cpatch_dsa_32(tmp->dsa, dsa_cmdout, 0, COMMAND_SIZE(cmd->cmnd[0]));
cmd2430drivers/scsi/53c7,8xx.cpatch_dsa_32(tmp->dsa, dsa_cmdout, 1, cmd->cmnd);
cmd2442drivers/scsi/53c7,8xx.cpatch_dsa_32(tmp->dsa, dsa_msgin, 1, (((unsigned long) &cmd->result) + 1));
cmd2444drivers/scsi/53c7,8xx.cpatch_dsa_32(tmp->dsa, dsa_status, 1, &cmd->result);
cmd2485drivers/scsi/53c7,8xx.cfor (i = 0; cmd->use_sg ? (i < cmd->use_sg) : !i; cmd_datain += 4, 
cmd2487drivers/scsi/53c7,8xx.cunsigned long buf = (unsigned long) (cmd->use_sg ? 
cmd2488drivers/scsi/53c7,8xx.c((struct scatterlist *)cmd->buffer)[i].address :
cmd2489drivers/scsi/53c7,8xx.ccmd->request_buffer);
cmd2490drivers/scsi/53c7,8xx.cunsigned long count = (unsigned long) (cmd->use_sg ?
cmd2491drivers/scsi/53c7,8xx.c((struct scatterlist *)cmd->buffer)[i].length :
cmd2492drivers/scsi/53c7,8xx.ccmd->request_bufflen);
cmd2582drivers/scsi/53c7,8xx.cint NCR53c7xx_queue_command (Scsi_Cmnd *cmd, void (* done)(Scsi_Cmnd *)) {
cmd2585drivers/scsi/53c7,8xx.cstruct Scsi_Host *host = cmd->host;
cmd2594drivers/scsi/53c7,8xx.c!(hostdata->debug_lun_limit[cmd->target] & (1 << cmd->lun)))) ||
cmd2595drivers/scsi/53c7,8xx.ccmd->target > 7) {
cmd2597drivers/scsi/53c7,8xx.ccmd->target, cmd->lun);
cmd2598drivers/scsi/53c7,8xx.ccmd->result = (DID_BAD_TARGET << 16);
cmd2599drivers/scsi/53c7,8xx.cdone(cmd);
cmd2606drivers/scsi/53c7,8xx.ccmd->result = (DID_BAD_TARGET << 16);
cmd2607drivers/scsi/53c7,8xx.cdone(cmd);
cmd2614drivers/scsi/53c7,8xx.cswitch (cmd->cmnd[0]) {
cmd2619drivers/scsi/53c7,8xx.ccmd->result = (DID_BAD_TARGET << 16);
cmd2620drivers/scsi/53c7,8xx.cdone(cmd);
cmd2625drivers/scsi/53c7,8xx.ccmd->scsi_done = done;
cmd2626drivers/scsi/53c7,8xx.ccmd->result = 0xffff;    /* The NCR will overwite message
cmd2629drivers/scsi/53c7,8xx.ccmd->host_scribble = (unsigned char *) tmp = create_cmd (cmd);
cmd2665drivers/scsi/53c7,8xx.ctarget_was_busy = hostdata->busy[cmd->target][cmd->lun]
cmd2769drivers/scsi/53c7,8xx.cstatic void intr_scsi (struct Scsi_Host *host, struct NCR53c7x0_cmd *cmd) {
cmd2799drivers/scsi/53c7,8xx.cif (cmd) {
cmd2801drivers/scsi/53c7,8xx.chost->host_no, cmd->cmd->target, cmd->cmd->lun);
cmd2802drivers/scsi/53c7,8xx.cprint_command (cmd->cmd->cmnd);
cmd2822drivers/scsi/53c7,8xx.c} else if (cmd) {
cmd2823drivers/scsi/53c7,8xx.cabnormal_finished(cmd, DID_BAD_TARGET << 16);
cmd2834drivers/scsi/53c7,8xx.chost->host_no, cmd->cmd->target, cmd->cmd->lun);
cmd2835drivers/scsi/53c7,8xx.cif (cmd) {
cmd2836drivers/scsi/53c7,8xx.cabnormal_finished(cmd, DID_ERROR << 16);
cmd2846drivers/scsi/53c7,8xx.cif (cmd && cmd->cmd) {
cmd2848drivers/scsi/53c7,8xx.chost->host_no, cmd->cmd->target, cmd->cmd->lun);
cmd2849drivers/scsi/53c7,8xx.cabnormal_finished (cmd, DID_PARITY << 16); 
cmd2875drivers/scsi/53c7,8xx.cintr_phase_mismatch (host, cmd);
cmd2928drivers/scsi/53c7,8xx.cstruct NCR53c7x0_cmd *cmd,      /* command which halted */
cmd2999drivers/scsi/53c7,8xx.c&(hostdata->running_list), cmd = (struct NCR53c7x0_cmd *)
cmd3000drivers/scsi/53c7,8xx.chostdata->running_list; cmd ; cmd_prev_ptr = 
cmd3001drivers/scsi/53c7,8xx.c&(cmd->next), cmd = (struct NCR53c7x0_cmd *) cmd->next) {
cmd3004drivers/scsi/53c7,8xx.cif (!cmd) {
cmd3009drivers/scsi/53c7,8xx.cif (!(tmp = cmd->cmd)) {
cmd3016drivers/scsi/53c7,8xx.chost->host_no, cmd->cmd->result);
cmd3027drivers/scsi/53c7,8xx.cif (cmd->prev)
cmd3028drivers/scsi/53c7,8xx.ccmd->prev->next = cmd->next;
cmd3030drivers/scsi/53c7,8xx.c*cmd_prev_ptr = cmd->next;
cmd3041drivers/scsi/53c7,8xx.cscsi_free ((void *) cmd->real, cmd->size);
cmd3043drivers/scsi/53c7,8xx.ckfree_s ((void *) cmd->real, cmd->size);
cmd3089drivers/scsi/53c7,8xx.ccmd = (struct NCR53c7x0_cmd *) hostdata->current;
cmd3092drivers/scsi/53c7,8xx.cfor (cmd = (struct NCR53c7x0_cmd *) 
cmd3093drivers/scsi/53c7,8xx.chostdata->running_list; cmd &&
cmd3095drivers/scsi/53c7,8xx.ccmd->dsa;
cmd3096drivers/scsi/53c7,8xx.ccmd = (struct NCR53c7x0_cmd *)(cmd->next));
cmd3099drivers/scsi/53c7,8xx.cif (cmd) {
cmd3101drivers/scsi/53c7,8xx.chost->host_no, cmd->cmd->pid, (int) cmd->cmd->target,
cmd3102drivers/scsi/53c7,8xx.c(int) cmd->cmd->lun);
cmd3103drivers/scsi/53c7,8xx.cprint_command (cmd->cmd->cmnd);
cmd3112drivers/scsi/53c7,8xx.cintr_scsi (host, cmd);
cmd3118drivers/scsi/53c7,8xx.cintr_dma (host, cmd);
cmd3222drivers/scsi/53c7,8xx.c*cmd) {
cmd3231drivers/scsi/53c7,8xx.cif (!cmd) {
cmd3292drivers/scsi/53c7,8xx.cif (dsp >= cmd->data_transfer_start & dsp < cmd->data_transfer_end) {
cmd3379drivers/scsi/53c7,8xx.cstatic void intr_dma (struct Scsi_Host *host, struct NCR53c7x0_cmd *cmd) {
cmd3494drivers/scsi/53c7,8xx.c} else if (cmd) 
cmd3495drivers/scsi/53c7,8xx.cabnormal_finished (cmd, DID_BAD_TARGET << 16);
cmd3548drivers/scsi/53c7,8xx.cswitch ((tmp = hostdata->dstat_sir_intr (host, cmd))) {
cmd3561drivers/scsi/53c7,8xx.cintr_break (host, cmd);
cmd3635drivers/scsi/53c7,8xx.cint NCR53c7xx_abort (Scsi_Cmnd *cmd) {
cmd3636drivers/scsi/53c7,8xx.cstruct Scsi_Host *host = cmd->host;
cmd3654drivers/scsi/53c7,8xx.ccurr && curr->cmd != cmd; prev = &(curr->next), curr = curr->next);
cmd3672drivers/scsi/53c7,8xx.ccmd->result = 0;
cmd3673drivers/scsi/53c7,8xx.ccmd->scsi_done(cmd);
cmd3684drivers/scsi/53c7,8xx.ccurr && curr->cmd != cmd; prev = &(curr->next), curr = curr->next);
cmd3689drivers/scsi/53c7,8xx.ccmd->host->host_no);
cmd3699drivers/scsi/53c7,8xx.ccurr = (struct NCR53c7x0_cmd *) cmd->host_scribble;
cmd3711drivers/scsi/53c7,8xx.cif (((cmd->result & 0xff00) == 0xff00) ||
cmd3712drivers/scsi/53c7,8xx.c((cmd->result & 0xff) == 0xff)) {
cmd3718drivers/scsi/53c7,8xx.ccmd->scsi_done(cmd);
cmd3734drivers/scsi/53c7,8xx.cint NCR53c7xx_reset (Scsi_Cmnd *cmd) {
cmd3736drivers/scsi/53c7,8xx.cstruct Scsi_Host *host = cmd ? cmd->host : NULL;
cmd3743drivers/scsi/53c7,8xx.ccmd->host->host_no);
cmd3759drivers/scsi/53c7,8xx.cScsi_Cmnd * cmd;
cmd936drivers/scsi/53c7,8xx.hScsi_Cmnd *cmd;      /* Associated Scsi_Cmnd 
cmd1064drivers/scsi/53c7,8xx.hvoid (* dsa_fixup)(struct NCR53c7x0_cmd *cmd);
cmd1074drivers/scsi/53c7,8xx.hint (* dstat_sir_intr)(struct Scsi_Host *host, struct NCR53c7x0_cmd *cmd);
cmd294drivers/scsi/NCR5380.cstatic __inline__ void initialize_SCp(Scsi_Cmnd *cmd) {
cmd300drivers/scsi/NCR5380.cif (cmd->use_sg) {
cmd301drivers/scsi/NCR5380.ccmd->SCp.buffer = (struct scatterlist *) cmd->buffer;
cmd302drivers/scsi/NCR5380.ccmd->SCp.buffers_residual = cmd->use_sg - 1;
cmd303drivers/scsi/NCR5380.ccmd->SCp.ptr = (char *) cmd->SCp.buffer->address;
cmd304drivers/scsi/NCR5380.ccmd->SCp.this_residual = cmd->SCp.buffer->length;
cmd306drivers/scsi/NCR5380.ccmd->SCp.buffer = NULL;
cmd307drivers/scsi/NCR5380.ccmd->SCp.buffers_residual = 0;
cmd308drivers/scsi/NCR5380.ccmd->SCp.ptr = (char *) cmd->request_buffer;
cmd309drivers/scsi/NCR5380.ccmd->SCp.this_residual = cmd->request_bufflen;
cmd494drivers/scsi/NCR5380.cstatic int should_disconnect (unsigned char cmd) {
cmd495drivers/scsi/NCR5380.cswitch (cmd) {
cmd844drivers/scsi/NCR5380.cint NCR5380_queue_command (Scsi_Cmnd *cmd, void (*done)(Scsi_Cmnd *)) {
cmd846drivers/scsi/NCR5380.ccmd->host->hostdata;
cmd850drivers/scsi/NCR5380.cswitch (cmd->cmnd[0]) {
cmd855drivers/scsi/NCR5380.ccmd->result = (DID_ERROR << 16);
cmd856drivers/scsi/NCR5380.cdone(cmd);
cmd867drivers/scsi/NCR5380.ccmd->host_scribble = NULL;
cmd868drivers/scsi/NCR5380.ccmd->scsi_done = done;
cmd870drivers/scsi/NCR5380.ccmd->result = 0;
cmd881drivers/scsi/NCR5380.cif (!(hostdata->issue_queue) || (cmd->cmnd[0] == REQUEST_SENSE)) {
cmd882drivers/scsi/NCR5380.ccmd->host_scribble = (unsigned char *) hostdata->issue_queue;
cmd883drivers/scsi/NCR5380.chostdata->issue_queue = cmd;
cmd887drivers/scsi/NCR5380.ctmp->host_scribble = (unsigned char *) cmd;
cmd891drivers/scsi/NCR5380.c(cmd->cmnd[0] == REQUEST_SENSE) ? "head" : "tail");
cmd1161drivers/scsi/NCR5380.cstatic int NCR5380_select (struct Scsi_Host *instance, Scsi_Cmnd *cmd,
cmd1275drivers/scsi/NCR5380.cNCR5380_write(OUTPUT_DATA_REG, (hostdata->id_mask | (1 << cmd->target)));
cmd1314drivers/scsi/NCR5380.cprintk("scsi%d : selecting target %d\n", instance->host_no, cmd->target);
cmd1347drivers/scsi/NCR5380.cif (hostdata->targets_present & (1 << cmd->target)) {
cmd1357drivers/scsi/NCR5380.ccmd->result = DID_BAD_TARGET << 16;
cmd1358drivers/scsi/NCR5380.ccmd->scsi_done(cmd);
cmd1368drivers/scsi/NCR5380.chostdata->targets_present |= (1 << cmd->target);
cmd1390drivers/scsi/NCR5380.cinstance->host_no, cmd->target);
cmd1392drivers/scsi/NCR5380.ctmp[0] = IDENTIFY(((instance->irq == IRQ_NONE) ? 0 : 1), cmd->lun);
cmd1394drivers/scsi/NCR5380.cif (cmd->device->tagged_queue && (tag != TAG_NONE)) {
cmd1398drivers/scsi/NCR5380.cif (cmd->device->current_tag == 0)
cmd1399drivers/scsi/NCR5380.ccmd->device->current_tag = 1;
cmd1401drivers/scsi/NCR5380.ccmd->tag = cmd->device->current_tag;
cmd1402drivers/scsi/NCR5380.ccmd->device->current_tag++;
cmd1404drivers/scsi/NCR5380.ccmd->tag = (unsigned char) tag;
cmd1406drivers/scsi/NCR5380.ctmp[2] = cmd->tag;
cmd1413drivers/scsi/NCR5380.ccmd->tag=0;
cmd1424drivers/scsi/NCR5380.chostdata->connected = cmd;
cmd1426drivers/scsi/NCR5380.cif (!cmd->device->tagged_queue)
cmd1428drivers/scsi/NCR5380.chostdata->busy[cmd->target] |= (1 << cmd->lun);
cmd1430drivers/scsi/NCR5380.cinitialize_SCp(cmd);
cmd1915drivers/scsi/NCR5380.cScsi_Cmnd *cmd = (Scsi_Cmnd *) hostdata->connected;
cmd1958drivers/scsi/NCR5380.cif (!cmd->SCp.this_residual && cmd->SCp.buffers_residual) {
cmd1959drivers/scsi/NCR5380.c++cmd->SCp.buffer;
cmd1960drivers/scsi/NCR5380.c--cmd->SCp.buffers_residual;
cmd1961drivers/scsi/NCR5380.ccmd->SCp.this_residual = cmd->SCp.buffer->length;
cmd1962drivers/scsi/NCR5380.ccmd->SCp.ptr = cmd->SCp.buffer->address;
cmd1965drivers/scsi/NCR5380.cinstance->host_no, cmd->SCp.this_residual,
cmd1966drivers/scsi/NCR5380.ccmd->SCp.buffers_residual);
cmd1982drivers/scsi/NCR5380.cif (!cmd->device->borken &&
cmd1983drivers/scsi/NCR5380.c(transfersize = NCR5380_dma_xfer_len(instance, cmd)) != 0) {
cmd1985drivers/scsi/NCR5380.cif (!cmd->device->borken && 
cmd1986drivers/scsi/NCR5380.c(transfersize = cmd->transfersize) && 
cmd1987drivers/scsi/NCR5380.ccmd->SCp.this_residual && !(cmd->SCp.this_residual % 
cmd1992drivers/scsi/NCR5380.c&len, (unsigned char **) &cmd->SCp.ptr)) {
cmd1998drivers/scsi/NCR5380.cinstance->host_no, cmd->target, cmd->lun);
cmd1999drivers/scsi/NCR5380.ccmd->device->borken = 1;
cmd2006drivers/scsi/NCR5380.ccmd->SCp.this_residual -= transfersize - len;
cmd2010drivers/scsi/NCR5380.c(int *) &cmd->SCp.this_residual, (unsigned char **)
cmd2011drivers/scsi/NCR5380.c&cmd->SCp.ptr);
cmd2017drivers/scsi/NCR5380.ccmd->SCp.Message = tmp;
cmd2038drivers/scsi/NCR5380.cinstance->host_no, cmd->target, cmd->lun);
cmd2046drivers/scsi/NCR5380.cif (!cmd->next_link) {
cmd2048drivers/scsi/NCR5380.cinstance->host_no, cmd->target, cmd->lun);
cmd2056drivers/scsi/NCR5380.cinitialize_SCp(cmd->next_link);
cmd2058drivers/scsi/NCR5380.ccmd->next_link->tag = cmd->tag;
cmd2059drivers/scsi/NCR5380.ccmd->result = cmd->SCp.Status | (cmd->SCp.Message << 8); 
cmd2062drivers/scsi/NCR5380.cinstance->host_no, cmd->target, cmd->lun);
cmd2064drivers/scsi/NCR5380.ccmd->scsi_done(cmd);
cmd2065drivers/scsi/NCR5380.ccmd = hostdata->connected;
cmd2075drivers/scsi/NCR5380.cinstance->host_no, cmd->target, cmd->lun);
cmd2077drivers/scsi/NCR5380.chostdata->busy[cmd->target] &= ~(1 << cmd->lun);
cmd2095drivers/scsi/NCR5380.cif (cmd->cmnd[0] != REQUEST_SENSE) 
cmd2096drivers/scsi/NCR5380.ccmd->result = cmd->SCp.Status | (cmd->SCp.Message << 8); 
cmd2097drivers/scsi/NCR5380.celse if (cmd->SCp.Status != GOOD)
cmd2098drivers/scsi/NCR5380.ccmd->result = (cmd->result & 0x00ffff) | (DID_ERROR << 16);
cmd2101drivers/scsi/NCR5380.cif ((cmd->cmnd[0] != REQUEST_SENSE) && 
cmd2102drivers/scsi/NCR5380.c(cmd->SCp.Status == CHECK_CONDITION)) {
cmd2107drivers/scsi/NCR5380.ccmd->cmnd[0] = REQUEST_SENSE;
cmd2108drivers/scsi/NCR5380.ccmd->cmnd[1] &= 0xe0;
cmd2109drivers/scsi/NCR5380.ccmd->cmnd[2] = 0;
cmd2110drivers/scsi/NCR5380.ccmd->cmnd[3] = 0;
cmd2111drivers/scsi/NCR5380.ccmd->cmnd[4] = sizeof(cmd->sense_buffer);
cmd2112drivers/scsi/NCR5380.ccmd->cmnd[5] = 0;
cmd2114drivers/scsi/NCR5380.ccmd->SCp.buffer = NULL;
cmd2115drivers/scsi/NCR5380.ccmd->SCp.buffers_residual = 0;
cmd2116drivers/scsi/NCR5380.ccmd->SCp.ptr = (char *) cmd->sense_buffer;
cmd2117drivers/scsi/NCR5380.ccmd->SCp.this_residual = sizeof(cmd->sense_buffer);
cmd2120drivers/scsi/NCR5380.ccmd->host_scribble = (unsigned char *) 
cmd2122drivers/scsi/NCR5380.chostdata->issue_queue = (Scsi_Cmnd *) cmd;
cmd2129drivers/scsi/NCR5380.ccmd->scsi_done(cmd);
cmd2148drivers/scsi/NCR5380.ccmd->device->tagged_queue = 0;
cmd2149drivers/scsi/NCR5380.chostdata->busy[cmd->target] |= (1 << cmd->lun);
cmd2157drivers/scsi/NCR5380.ccmd->device->disconnect = 1;
cmd2159drivers/scsi/NCR5380.ccmd->host_scribble = (unsigned char *) 
cmd2162drivers/scsi/NCR5380.chostdata->disconnected_queue = cmd;
cmd2167drivers/scsi/NCR5380.ccmd->target, cmd->lun);
cmd2273drivers/scsi/NCR5380.cinstance->host_no, tmp, cmd->target, cmd->lun);
cmd2276drivers/scsi/NCR5380.cinstance->host_no, extended_msg[1], extended_msg[0], cmd->target, cmd->lun);
cmd2290drivers/scsi/NCR5380.chostdata->busy[cmd->target] &= ~(1 << cmd->lun);
cmd2292drivers/scsi/NCR5380.ccmd->result = DID_ERROR << 16;
cmd2293drivers/scsi/NCR5380.ccmd->scsi_done(cmd);
cmd2300drivers/scsi/NCR5380.clen = COMMAND_SIZE(cmd->cmnd[0]);
cmd2301drivers/scsi/NCR5380.cdata = cmd->cmnd;
cmd2310drivers/scsi/NCR5380.cif (!disconnect && should_disconnect(cmd->cmnd[0])) {
cmd2325drivers/scsi/NCR5380.ccmd->SCp.Status = tmp;
cmd2560drivers/scsi/NCR5380.cint NCR5380_abort (Scsi_Cmnd *cmd) {
cmd2562drivers/scsi/NCR5380.cstruct Scsi_Host *instance = cmd->host;
cmd2570drivers/scsi/NCR5380.cprint_Scsi_Cmnd (cmd);
cmd2590drivers/scsi/NCR5380.cif (hostdata->connected == cmd) {
cmd2624drivers/scsi/NCR5380.cif (cmd == tmp) {
cmd2683drivers/scsi/NCR5380.cif (cmd == tmp) {
cmd2689drivers/scsi/NCR5380.cif (NCR5380_select (instance, cmd, (int) cmd->tag)) 
cmd2708drivers/scsi/NCR5380.cif (cmd == tmp) {
cmd2747drivers/scsi/NCR5380.cint NCR5380_reset (Scsi_Cmnd *cmd) {
cmd2749drivers/scsi/NCR5380.cNCR5380_setup(cmd->host);
cmd2751drivers/scsi/NCR5380.cNCR5380_print_status (cmd->host);
cmd281drivers/scsi/NCR5380.hint NCR5380_abort (Scsi_Cmnd *cmd);
cmd285drivers/scsi/NCR5380.hint NCR5380_reset (Scsi_Cmnd *cmd);
cmd289drivers/scsi/NCR5380.hint NCR5380_queue_command (Scsi_Cmnd *cmd, void (*done)(Scsi_Cmnd *));
cmd293drivers/scsi/NCR5380.hstatic int NCR5380_select (struct Scsi_Host *instance, Scsi_Cmnd *cmd, int tag);
cmd474drivers/scsi/aha1542.cunchar *cmd = (unchar *) SCpnt->cmnd;
cmd492drivers/scsi/aha1542.cif(*cmd == REQUEST_SENSE){
cmd504drivers/scsi/aha1542.cif (*cmd == READ_10 || *cmd == WRITE_10)
cmd505drivers/scsi/aha1542.ci = xscsi2int(cmd+2);
cmd506drivers/scsi/aha1542.celse if (*cmd == READ_6 || *cmd == WRITE_6)
cmd507drivers/scsi/aha1542.ci = scsi2int(cmd+2);
cmd511drivers/scsi/aha1542.cprintk("aha1542_queuecommand: dev %d cmd %02x pos %d len %d ", target, *cmd, i, bufflen);
cmd513drivers/scsi/aha1542.cprintk("aha1542_command: dev %d cmd %02x pos %d len %d ", target, *cmd, i, bufflen);
cmd516drivers/scsi/aha1542.cfor (i = 0; i < (COMMAND_SIZE(*cmd)); i++) printk("%02x ", cmd[i]);
cmd518drivers/scsi/aha1542.cif (*cmd == WRITE_10 || *cmd == WRITE_6)
cmd552drivers/scsi/aha1542.cccb[mbo].cdblen = COMMAND_SIZE(*cmd);     /* SCSI Command Descriptor Block Length */
cmd555drivers/scsi/aha1542.cif (*cmd == READ_10 || *cmd == READ_6)
cmd557drivers/scsi/aha1542.celse if (*cmd == WRITE_10 || *cmd == WRITE_6)
cmd560drivers/scsi/aha1542.cmemcpy(ccb[mbo].cdb, cmd, ccb[mbo].cdblen);
cmd657drivers/scsi/aha1542.cunchar cmd[5] = {CMD_MBINIT, AHA1542_MAILBOXES, 0, 0, 0};
cmd667drivers/scsi/aha1542.cany2scsi((cmd+2), mb);
cmd668drivers/scsi/aha1542.caha1542_out(bse, cmd, 5);
cmd906drivers/scsi/aha1542.cstatic unchar cmd[] = {  READ_CAPACITY, 0, 0, 0, 0, 0, 0, 0, 0, 0};
cmd911drivers/scsi/aha1542.cif (!aha1542_command(i, cmd, buf, sizeof(buf))) {
cmd921drivers/scsi/aha1542.cunsigned char cmd[10];
cmd924drivers/scsi/aha1542.ccmd[0] = READ_10;
cmd925drivers/scsi/aha1542.ccmd[1] = 0;
cmd926drivers/scsi/aha1542.cxany2scsi(cmd+2, i);
cmd927drivers/scsi/aha1542.ccmd[6] = 0;
cmd928drivers/scsi/aha1542.ccmd[7] = 0;
cmd929drivers/scsi/aha1542.ccmd[8] = 1;
cmd930drivers/scsi/aha1542.ccmd[9] = 0;
cmd931drivers/scsi/aha1542.caha1542_command(0, cmd, buffer, 512);
cmd242drivers/scsi/aha1740.cunchar *cmd = (unchar *) SCpnt->cmnd;
cmd250drivers/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);
cmd540drivers/scsi/buslogic.cunsigned char *cmd = (unsigned char *)SCpnt->cmnd;
cmd557drivers/scsi/buslogic.cif (*cmd == REQUEST_SENSE) {
cmd573drivers/scsi/buslogic.cif (*cmd == READ_10 || *cmd == WRITE_10)
cmd574drivers/scsi/buslogic.ci = xscsi2int(cmd + 2);
cmd575drivers/scsi/buslogic.celse if (*cmd == READ_6 || *cmd == WRITE_6)
cmd576drivers/scsi/buslogic.ci = scsi2int(cmd + 2);
cmd580drivers/scsi/buslogic.ctarget, *cmd, i, bufflen);
cmd583drivers/scsi/buslogic.cfor (i = 0; i < (COMMAND_SIZE(*cmd)); i++)
cmd584drivers/scsi/buslogic.cprintk(" %02X", cmd[i]);
cmd586drivers/scsi/buslogic.cif (*cmd == WRITE_10 || *cmd == WRITE_6)
cmd635drivers/scsi/buslogic.cccb[mbo].cdblen = COMMAND_SIZE(*cmd);  /* SCSI Command Descriptor
cmd639drivers/scsi/buslogic.cif (*cmd == READ_10 || *cmd == READ_6)
cmd641drivers/scsi/buslogic.celse if (*cmd == WRITE_10 || *cmd == WRITE_6)
cmd644drivers/scsi/buslogic.cmemcpy(ccb[mbo].cdb, cmd, ccb[mbo].cdblen);
cmd753drivers/scsi/buslogic.cunsigned char cmd, count;
cmd755drivers/scsi/buslogic.c} cmd = { CMD_INITEXTMB, BUSLOGIC_MAILBOXES, mb };
cmd764drivers/scsi/buslogic.cif (buslogic_out(base, (unsigned char *)&cmd, sizeof cmd))
cmd1049drivers/scsi/buslogic.cunsigned char cmd[]
cmd1059drivers/scsi/buslogic.cif (!buslogic_command(i, cmd, buf, sizeof buf)) {
cmd1071drivers/scsi/buslogic.ccmd[0] = READ_10;
cmd1072drivers/scsi/buslogic.ccmd[1] = 0;
cmd1073drivers/scsi/buslogic.cxany2scsi(cmd + 2, i);
cmd1074drivers/scsi/buslogic.ccmd[6] = 0;
cmd1075drivers/scsi/buslogic.ccmd[7] = 0;
cmd1076drivers/scsi/buslogic.ccmd[8] = 1;
cmd1077drivers/scsi/buslogic.ccmd[9] = 0;
cmd1078drivers/scsi/buslogic.cbuslogic_command(0, cmd, buffer, sizeof buffer);
cmd550drivers/scsi/constants.cvoid print_Scsi_Cmnd (Scsi_Cmnd *cmd) {
cmd552drivers/scsi/constants.ccmd->host->host_no, 
cmd553drivers/scsi/constants.ccmd->target, 
cmd554drivers/scsi/constants.ccmd->lun);
cmd556drivers/scsi/constants.cprint_command (cmd->cmnd);
cmd1925drivers/scsi/scsi.creq->cmd,
cmd90drivers/scsi/scsi_debug.cif (SCpnt->request.cmd != RW) panic ("Wrong  operation");    \
cmd157drivers/scsi/scsi_debug.cunchar *cmd = (unchar *) SCpnt->cmnd;
cmd181drivers/scsi/scsi_debug.cswitch(*cmd){
cmd198drivers/scsi/scsi_debug.cif(cmd[4]) printk("Medium removal inhibited...");
cmd236drivers/scsi/scsi_debug.cif ((*cmd) == READ_10)
cmd237drivers/scsi/scsi_debug.cblock = cmd[5] + (cmd[4] << 8) + (cmd[3] << 16) + (cmd[2] << 24); 
cmd239drivers/scsi/scsi_debug.cblock = cmd[3] + (cmd[2] << 8) + ((cmd[1] & 0x1f) << 16);
cmd315drivers/scsi/scsi_debug.cmemcpy(buff+sizeof(target), cmd, 24);
cmd347drivers/scsi/scsi_debug.cif ((*cmd) == WRITE_10)
cmd348drivers/scsi/scsi_debug.cblock = cmd[5] + (cmd[4] << 8) + (cmd[3] << 16) + (cmd[2] << 24); 
cmd350drivers/scsi/scsi_debug.cblock = cmd[3] + (cmd[2] << 8) + ((cmd[1] & 0x1f) << 16);
cmd369drivers/scsi/scsi_debug.cprintk("Unknown command %d\n",*cmd);
cmd85drivers/scsi/scsi_ioctl.cstatic int ioctl_internal_command(Scsi_Device *dev, char * cmd)
cmd91drivers/scsi/scsi_ioctl.cscsi_do_cmd(SCpnt,  cmd, NULL,  0,
cmd106drivers/scsi/scsi_ioctl.cif(cmd[0] == ALLOW_MEDIUM_REMOVAL) dev->lockable = 0;
cmd143drivers/scsi/scsi_ioctl.cchar cmd[12];
cmd169drivers/scsi/scsi_ioctl.cmemcpy_fromfs ((void *) cmd,  cmd_in,  cmdlen = COMMAND_SIZE (opcode));
cmd172drivers/scsi/scsi_ioctl.ccmd[1] = ( cmd[1] & 0x1f ) | (dev->lun << 5);
cmd178drivers/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)
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);
cmd17drivers/scsi/scsi_ioctl.hextern int scsi_ioctl (Scsi_Device *dev, int cmd, void *arg);
cmd18drivers/scsi/scsi_ioctl.hextern int kernel_scsi_ioctl (Scsi_Device *dev, int cmd, void *arg);
cmd188drivers/scsi/sd.cif (SCpnt->request.cmd == READ)
cmd200drivers/scsi/sd.cif (SCpnt->request.cmd == READ)
cmd401drivers/scsi/sd.cunsigned char cmd[10];
cmd447drivers/scsi/sd.cswitch (SCpnt->request.cmd)
cmd455drivers/scsi/sd.ccmd[0] = WRITE_6;
cmd458drivers/scsi/sd.ccmd[0] = READ_6;
cmd461drivers/scsi/sd.cpanic ("Unknown sd command %d\n", SCpnt->request.cmd);
cmd665drivers/scsi/sd.cif (SCpnt->request.cmd == WRITE)
cmd687drivers/scsi/sd.cif (SCpnt->request.cmd == WRITE)
cmd693drivers/scsi/sd.c(SCpnt->request.cmd == WRITE) ? "writing" : "reading",
cmd697drivers/scsi/sd.ccmd[1] = (SCpnt->lun << 5) & 0xe0;
cmd716drivers/scsi/sd.ccmd[0] += READ_10 - READ_6 ;
cmd717drivers/scsi/sd.ccmd[2] = (unsigned char) (block >> 24) & 0xff;
cmd718drivers/scsi/sd.ccmd[3] = (unsigned char) (block >> 16) & 0xff;
cmd719drivers/scsi/sd.ccmd[4] = (unsigned char) (block >> 8) & 0xff;
cmd720drivers/scsi/sd.ccmd[5] = (unsigned char) block & 0xff;
cmd721drivers/scsi/sd.ccmd[6] = cmd[9] = 0;
cmd722drivers/scsi/sd.ccmd[7] = (unsigned char) (this_count >> 8) & 0xff;
cmd723drivers/scsi/sd.ccmd[8] = (unsigned char) this_count & 0xff;
cmd730drivers/scsi/sd.ccmd[1] |= (unsigned char) ((block >> 16) & 0x1f);
cmd731drivers/scsi/sd.ccmd[2] = (unsigned char) ((block >> 8) & 0xff);
cmd732drivers/scsi/sd.ccmd[3] = (unsigned char) block & 0xff;
cmd733drivers/scsi/sd.ccmd[4] = (unsigned char) this_count;
cmd734drivers/scsi/sd.ccmd[5] = 0;
cmd745drivers/scsi/sd.cscsi_do_cmd (SCpnt, (void *) cmd, buff, 
cmd802drivers/scsi/sd.cunsigned char cmd[10];
cmd820drivers/scsi/sd.ccmd[0] = TEST_UNIT_READY;
cmd821drivers/scsi/sd.ccmd[1] = (rscsi_disks[i].device->lun << 5) & 0xe0;
cmd822drivers/scsi/sd.cmemset ((void *) &cmd[2], 0, 8);
cmd828drivers/scsi/sd.c(void *) cmd, (void *) buffer,
cmd843drivers/scsi/sd.ccmd[0] = START_STOP;
cmd844drivers/scsi/sd.ccmd[1] = (rscsi_disks[i].device->lun << 5) & 0xe0;
cmd845drivers/scsi/sd.ccmd[1] |= 1;  /* Return immediately */
cmd846drivers/scsi/sd.cmemset ((void *) &cmd[2], 0, 8);
cmd847drivers/scsi/sd.ccmd[4] = 1; /* Start spin cycle */
cmd853drivers/scsi/sd.c(void *) cmd, (void *) buffer,
cmd878drivers/scsi/sd.ccmd[0] = READ_CAPACITY;
cmd879drivers/scsi/sd.ccmd[1] = (rscsi_disks[i].device->lun << 5) & 0xe0;
cmd880drivers/scsi/sd.cmemset ((void *) &cmd[2], 0, 8);
cmd887drivers/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);
cmd1598drivers/scsi/seagate.cunsigned char buf[256 + sizeof(int) * 2], cmd[6], *data, *page;
cmd1613drivers/scsi/seagate.ccmd[0] = MODE_SENSE;
cmd1614drivers/scsi/seagate.ccmd[1] = (disk->device->lun << 5) & 0xe5;
cmd1615drivers/scsi/seagate.ccmd[2] = 0x04; /* Read page 4, rigid disk geometry page current values */
cmd1616drivers/scsi/seagate.ccmd[3] = 0;
cmd1617drivers/scsi/seagate.ccmd[4] = 255;
cmd1618drivers/scsi/seagate.ccmd[5] = 0;
cmd1628drivers/scsi/seagate.cmemcpy (data, cmd, 6);
cmd1640drivers/scsi/seagate.ccmd[2] = 0x03; /* Read page 3, format page current values */
cmd1641drivers/scsi/seagate.cmemcpy (data, cmd, 6);
cmd366drivers/scsi/sr.cunsigned char cmd[10], *buffer, tries;
cmd409drivers/scsi/sr.cswitch (SCpnt->request.cmd)
cmd416drivers/scsi/sr.ccmd[0] = READ_6;
cmd419drivers/scsi/sr.cpanic ("Unknown sr command %d\n", SCpnt->request.cmd);
cmd422drivers/scsi/sr.ccmd[1] = (SCpnt->lun << 5) & 0xe0;
cmd596drivers/scsi/sr.ccmd[0] += READ_10 - READ_6 ;
cmd597drivers/scsi/sr.ccmd[2] = (unsigned char) (block >> 24) & 0xff;
cmd598drivers/scsi/sr.ccmd[3] = (unsigned char) (block >> 16) & 0xff;
cmd599drivers/scsi/sr.ccmd[4] = (unsigned char) (block >> 8) & 0xff;
cmd600drivers/scsi/sr.ccmd[5] = (unsigned char) block & 0xff;
cmd601drivers/scsi/sr.ccmd[6] = cmd[9] = 0;
cmd602drivers/scsi/sr.ccmd[7] = (unsigned char) (realcount >> 8) & 0xff;
cmd603drivers/scsi/sr.ccmd[8] = (unsigned char) realcount & 0xff;
cmd613drivers/scsi/sr.ccmd[1] |= (unsigned char) ((block >> 16) & 0x1f);
cmd614drivers/scsi/sr.ccmd[2] = (unsigned char) ((block >> 8) & 0xff);
cmd615drivers/scsi/sr.ccmd[3] = (unsigned char) block & 0xff;
cmd616drivers/scsi/sr.ccmd[4] = (unsigned char) realcount;
cmd617drivers/scsi/sr.ccmd[5] = 0;
cmd626drivers/scsi/sr.cfor(i=0; i<12; i++) printk("%2.2x ", cmd[i]);
cmd632drivers/scsi/sr.cscsi_do_cmd (SCpnt, (void *) cmd, buffer, 
cmd688drivers/scsi/sr.cunsigned char cmd[10];
cmd697drivers/scsi/sr.ccmd[0] = READ_CAPACITY;
cmd698drivers/scsi/sr.ccmd[1] = (scsi_CDs[i].device->lun << 5) & 0xe0;
cmd699drivers/scsi/sr.cmemset ((void *) &cmd[2], 0, 8);
cmd705drivers/scsi/sr.c(void *) cmd, (void *) buffer,
cmd19drivers/scsi/sr_ioctl.cextern int scsi_ioctl (Scsi_Device *dev, int cmd, void *arg);
cmd91drivers/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);
cmd234drivers/scsi/st.cunsigned char cmd[10];
cmd236drivers/scsi/st.ccmd[0] = SPACE;
cmd237drivers/scsi/st.ccmd[1] = 0x01; /* Space FileMarks */
cmd238drivers/scsi/st.ccmd[2] = cmd[3] = cmd[4] = 0xff;  /* -1 filemarks */
cmd239drivers/scsi/st.ccmd[5] = 0;
cmd245drivers/scsi/st.c(void *) cmd, (void *) (STp->buffer)->b_data, 0,
cmd266drivers/scsi/st.cunsigned char cmd[10];
cmd298drivers/scsi/st.cmemset(cmd, 0, 10);
cmd299drivers/scsi/st.ccmd[0] = WRITE_6;
cmd300drivers/scsi/st.ccmd[1] = 1;
cmd302drivers/scsi/st.ccmd[2] = blks >> 16;
cmd303drivers/scsi/st.ccmd[3] = blks >> 8;
cmd304drivers/scsi/st.ccmd[4] = blks;
cmd307drivers/scsi/st.c(void *) cmd, (STp->buffer)->b_data, transfer,
cmd387drivers/scsi/st.cunsigned char cmd[10];
cmd429drivers/scsi/st.cmemset ((void *) &cmd[0], 0, 10);
cmd430drivers/scsi/st.ccmd[0] = TEST_UNIT_READY;
cmd433drivers/scsi/st.c(void *) cmd, (void *) (STp->buffer)->b_data,
cmd443drivers/scsi/st.cmemset ((void *) &cmd[0], 0, 10);
cmd444drivers/scsi/st.ccmd[0] = TEST_UNIT_READY;
cmd447drivers/scsi/st.c(void *) cmd, (void *) (STp->buffer)->b_data,
cmd471drivers/scsi/st.cmemset ((void *) &cmd[0], 0, 10);
cmd472drivers/scsi/st.ccmd[0] = READ_BLOCK_LIMITS;
cmd475drivers/scsi/st.c(void *) cmd, (void *) (STp->buffer)->b_data,
cmd500drivers/scsi/st.cmemset ((void *) &cmd[0], 0, 10);
cmd501drivers/scsi/st.ccmd[0] = MODE_SENSE;
cmd502drivers/scsi/st.ccmd[4] = 12;
cmd505drivers/scsi/st.c(void *) cmd, (void *) (STp->buffer)->b_data,
cmd589drivers/scsi/st.cstatic unsigned char cmd[10];
cmd611drivers/scsi/st.cmemset(cmd, 0, 10);
cmd612drivers/scsi/st.ccmd[0] = WRITE_FILEMARKS;
cmd613drivers/scsi/st.ccmd[4] = 1 + STp->two_fm;
cmd616drivers/scsi/st.c(void *) cmd, (void *) (STp->buffer)->b_data,
cmd637drivers/scsi/st.cprintk("st%d: Buffer flushed, %d EOF(s) written\n", dev, cmd[4]);
cmd666drivers/scsi/st.cstatic unsigned char cmd[10];
cmd733drivers/scsi/st.cmemset(cmd, 0, 10);
cmd734drivers/scsi/st.ccmd[0] = WRITE_6;
cmd735drivers/scsi/st.ccmd[1] = (STp->block_size != 0);
cmd761drivers/scsi/st.ccmd[2] = blks >> 16;
cmd762drivers/scsi/st.ccmd[3] = blks >> 8;
cmd763drivers/scsi/st.ccmd[4] = blks;
cmd767drivers/scsi/st.c(void *) cmd, (STp->buffer)->b_data, transfer,
cmd871drivers/scsi/st.ccmd[2] = blks >> 16;
cmd872drivers/scsi/st.ccmd[3] = blks >> 8;
cmd873drivers/scsi/st.ccmd[4] = blks;
cmd878drivers/scsi/st.c(void *) cmd, (STp->buffer)->b_data,
cmd896drivers/scsi/st.cstatic unsigned char cmd[10];
cmd943drivers/scsi/st.cmemset(cmd, 0, 10);
cmd944drivers/scsi/st.ccmd[0] = READ_6;
cmd945drivers/scsi/st.ccmd[1] = (STp->block_size != 0);
cmd961drivers/scsi/st.ccmd[2] = blks >> 16;
cmd962drivers/scsi/st.ccmd[3] = blks >> 8;
cmd963drivers/scsi/st.ccmd[4] = blks;
cmd968drivers/scsi/st.c(void *) cmd, (STp->buffer)->b_data,
cmd1177drivers/scsi/st.cunsigned char cmd[10];
cmd1187drivers/scsi/st.cmemset(cmd, 0, 10);
cmd1192drivers/scsi/st.ccmd[0] = SPACE;
cmd1193drivers/scsi/st.ccmd[1] = 0x01; /* Space FileMarks */
cmd1194drivers/scsi/st.ccmd[2] = (arg >> 16);
cmd1195drivers/scsi/st.ccmd[3] = (arg >> 8);
cmd1196drivers/scsi/st.ccmd[4] = arg;
cmd1200drivers/scsi/st.ccmd[2] * 65536 + cmd[3] * 256 + cmd[4]);
cmd1207drivers/scsi/st.ccmd[0] = SPACE;
cmd1208drivers/scsi/st.ccmd[1] = 0x01; /* Space FileMarks */
cmd1210drivers/scsi/st.ccmd[2] = (ltmp >> 16);
cmd1211drivers/scsi/st.ccmd[3] = (ltmp >> 8);
cmd1212drivers/scsi/st.ccmd[4] = ltmp;
cmd1215drivers/scsi/st.cif (cmd[2] & 0x80)
cmd1217drivers/scsi/st.cltmp = ltmp | (cmd[2] << 16) | (cmd[3] << 8) | cmd[4];
cmd1225drivers/scsi/st.ccmd[0] = SPACE;
cmd1226drivers/scsi/st.ccmd[1] = 0x00; /* Space Blocks */
cmd1227drivers/scsi/st.ccmd[2] = (arg >> 16);
cmd1228drivers/scsi/st.ccmd[3] = (arg >> 8);
cmd1229drivers/scsi/st.ccmd[4] = arg;
cmd1233drivers/scsi/st.ccmd[2] * 65536 + cmd[3] * 256 + cmd[4]);
cmd1239drivers/scsi/st.ccmd[0] = SPACE;
cmd1240drivers/scsi/st.ccmd[1] = 0x00; /* Space Blocks */
cmd1242drivers/scsi/st.ccmd[2] = (ltmp >> 16);
cmd1243drivers/scsi/st.ccmd[3] = (ltmp >> 8);
cmd1244drivers/scsi/st.ccmd[4] = ltmp;
cmd1247drivers/scsi/st.cif (cmd[2] & 0x80)
cmd1249drivers/scsi/st.cltmp = ltmp | (cmd[2] << 16) | (cmd[3] << 8) | cmd[4];
cmd1259drivers/scsi/st.ccmd[0] = WRITE_FILEMARKS;
cmd1260drivers/scsi/st.ccmd[2] = (arg >> 16);
cmd1261drivers/scsi/st.ccmd[3] = (arg >> 8);
cmd1262drivers/scsi/st.ccmd[4] = arg;
cmd1267drivers/scsi/st.ccmd[2] * 65536 + cmd[3] * 256 + cmd[4]);
cmd1273drivers/scsi/st.ccmd[0] = REZERO_UNIT;
cmd1275drivers/scsi/st.ccmd[1] = 1;  /* Don't wait for completion */
cmd1285drivers/scsi/st.ccmd[0] = START_STOP;
cmd1287drivers/scsi/st.ccmd[1] = 1;  /* Don't wait for completion */
cmd1304drivers/scsi/st.ccmd[0] = START_STOP;
cmd1306drivers/scsi/st.ccmd[1] = 1;  /* Don't wait for completion */
cmd1309drivers/scsi/st.ccmd[4] = 3;
cmd1324drivers/scsi/st.ccmd[0] = SPACE;
cmd1325drivers/scsi/st.ccmd[1] = 3;
cmd1335drivers/scsi/st.ccmd[0] = ERASE;
cmd1336drivers/scsi/st.ccmd[1] = 1;  /* To the end of tape */
cmd1345drivers/scsi/st.ccmd[0] = QFA_SEEK_BLOCK;
cmd1346drivers/scsi/st.ccmd[2] = (arg >> 16);
cmd1347drivers/scsi/st.ccmd[3] = (arg >> 8);
cmd1348drivers/scsi/st.ccmd[4] = arg;
cmd1349drivers/scsi/st.ccmd[5] = 0;
cmd1352drivers/scsi/st.ccmd[0] = SEEK_10;
cmd1353drivers/scsi/st.ccmd[1] = 4;
cmd1354drivers/scsi/st.ccmd[3] = (arg >> 24);
cmd1355drivers/scsi/st.ccmd[4] = (arg >> 16);
cmd1356drivers/scsi/st.ccmd[5] = (arg >> 8);
cmd1357drivers/scsi/st.ccmd[6] = arg;
cmd1360drivers/scsi/st.ccmd[1] |= 1;  /* Don't wait for completion */
cmd1381drivers/scsi/st.ccmd[0] = MODE_SELECT;
cmd1382drivers/scsi/st.ccmd[4] = datalen = 12;
cmd1428drivers/scsi/st.c(void *) cmd, (void *) (STp->buffer)->b_data, datalen,
cmd1519drivers/scsi/st.cint i, cmd, result;
cmd1535drivers/scsi/st.ccmd = cmd_in & IOCCMD_MASK;
cmd1536drivers/scsi/st.cif (cmd == (MTIOCTOP & IOCCMD_MASK)) {
cmd1559drivers/scsi/st.celse if (cmd == (MTIOCGET & IOCCMD_MASK)) {
cmd1589drivers/scsi/st.celse if (cmd == (MTIOCPOS & IOCCMD_MASK)) {
cmd568drivers/scsi/wd7000.cstatic inline int command_out(Adapter *host, unchar *cmd, int len)
cmd573drivers/scsi/wd7000.coutb(*cmd, host->iobase+ASC_COMMAND);
cmd576drivers/scsi/wd7000.ccmd++;
cmd89drivers/sound/ad1848.cstatic int      ad1848_ioctl (int dev, unsigned int cmd, unsigned int arg, int local);
cmd409drivers/sound/ad1848.cad1848_ioctl (int dev, unsigned int cmd, unsigned int arg, int local)
cmd413drivers/sound/ad1848.cswitch (cmd)
cmd322drivers/sound/audio.cunsigned int cmd, unsigned int arg)
cmd327drivers/sound/audio.cswitch (cmd)
cmd336drivers/sound/audio.creturn DMAbuf_ioctl (dev, cmd, arg, 0);
cmd351drivers/sound/audio.creturn DMAbuf_ioctl (dev, cmd, arg, 0);
cmd362drivers/sound/audio.creturn DMAbuf_ioctl (dev, cmd, arg, 0);
cmd405drivers/sound/audio.cunsigned int cmd, unsigned int arg)
cmd124drivers/sound/dev_table.hint (*ioctl) (int dev, unsigned int cmd, unsigned int arg, int local);
cmd139drivers/sound/dev_table.hint (*ioctl) (int dev, unsigned int cmd, unsigned int arg);
cmd150drivers/sound/dev_table.hint (*ioctl) (int dev, unsigned int cmd, unsigned int arg);
cmd178drivers/sound/dev_table.hint (*ioctl) (int dev, unsigned int cmd, unsigned int arg);
cmd196drivers/sound/dev_table.hint (*ioctl) (int dev, unsigned int cmd, unsigned int arg);
cmd391drivers/sound/dmabuf.cDMAbuf_ioctl (int dev, unsigned int cmd, unsigned int arg, int local)
cmd395drivers/sound/dmabuf.cswitch (cmd)
cmd482drivers/sound/dmabuf.creturn audio_devs[dev]->ioctl (dev, cmd, arg, local);
cmd915drivers/sound/dmabuf.cDMAbuf_ioctl (int dev, unsigned int cmd, unsigned int arg, int local)
cmd195drivers/sound/gus_midi.cgus_midi_ioctl (int dev, unsigned cmd, unsigned arg)
cmd840drivers/sound/gus_wave.cunsigned int cmd, unsigned int arg)
cmd843drivers/sound/gus_wave.cswitch (cmd)
cmd1723drivers/sound/gus_wave.cint             voice, cmd;
cmd1727drivers/sound/gus_wave.ccmd = event[2];
cmd1734drivers/sound/gus_wave.c(cmd != _GUS_VOICESAMPLE) && (cmd != _GUS_VOICE_POS))
cmd1737drivers/sound/gus_wave.cswitch (cmd)
cmd1907drivers/sound/gus_wave.cgus_sampling_ioctl (int dev, unsigned int cmd, unsigned int arg, int local)
cmd1909drivers/sound/gus_wave.cswitch (cmd)
cmd2703drivers/sound/gus_wave.cgus_default_mixer_ioctl (int dev, unsigned int cmd, unsigned int arg)
cmd2707drivers/sound/gus_wave.cif (((cmd >> 8) & 0xff) == 'M')
cmd2709drivers/sound/gus_wave.cif (cmd & IOC_IN)
cmd2710drivers/sound/gus_wave.cswitch (cmd & 0xff)
cmd2781drivers/sound/gus_wave.cswitch (cmd & 0xff)  /*
cmd135drivers/sound/ics2101.cics2101_mixer_ioctl (int dev, unsigned int cmd, unsigned int arg)
cmd137drivers/sound/ics2101.cif (((cmd >> 8) & 0xff) == 'M')
cmd139drivers/sound/ics2101.cif (cmd & IOC_IN)
cmd140drivers/sound/ics2101.cswitch (cmd & 0xff)
cmd143drivers/sound/ics2101.creturn gus_default_mixer_ioctl (dev, cmd, arg);
cmd170drivers/sound/ics2101.cswitch (cmd & 0xff)  /*
cmd176drivers/sound/ics2101.creturn gus_default_mixer_ioctl (dev, cmd, arg);
cmd103drivers/sound/midi_synth.cunsigned int cmd, unsigned int arg)
cmd109drivers/sound/midi_synth.cswitch (cmd)
cmd2drivers/sound/midi_synth.hunsigned int cmd, unsigned int arg);
cmd376drivers/sound/midibuf.cunsigned int cmd, unsigned int arg)
cmd382drivers/sound/midibuf.cswitch (cmd)
cmd396drivers/sound/midibuf.creturn midi_devs[dev]->ioctl (dev, cmd, arg);
cmd88drivers/sound/mpu401.c#define write_command(base, cmd)    OUTB(cmd, COMDPORT(base))
cmd144drivers/sound/mpu401.c#define STORE(cmd) \
cmd149drivers/sound/mpu401.ccmd; \
cmd608drivers/sound/mpu401.cmpu401_command (int dev, mpu_command_rec * cmd)
cmd641drivers/sound/mpu401.cprintk ("MPU-401: Command (0x%x) timeout\n", (int) cmd->cmd);
cmd646drivers/sound/mpu401.cwrite_command (devc->base, cmd->cmd);
cmd656drivers/sound/mpu401.cprintk ("MPU: No ACK to command (0x%x)\n", (int) cmd->cmd);
cmd660drivers/sound/mpu401.cif (cmd->nr_args)
cmd661drivers/sound/mpu401.cfor (i = 0; i < cmd->nr_args; i++)
cmd665drivers/sound/mpu401.cif (!mpu401_out (dev, cmd->data[i]))
cmd668drivers/sound/mpu401.cprintk ("MPU: Command (0x%x), parm send failed.\n", (int) cmd->cmd);
cmd674drivers/sound/mpu401.ccmd->data[0] = 0;
cmd676drivers/sound/mpu401.cif (cmd->nr_returns)
cmd677drivers/sound/mpu401.cfor (i = 0; i < cmd->nr_returns; i++)
cmd683drivers/sound/mpu401.ccmd->data[i] = read_data (devc->base);
cmd690drivers/sound/mpu401.cprintk ("MPU: No response(%d) to command (0x%x)\n", i, (int) cmd->cmd);
cmd701drivers/sound/mpu401.cexec_cmd (int dev, int cmd, int data)
cmd707drivers/sound/mpu401.crec.cmd = cmd & 0xff;
cmd708drivers/sound/mpu401.crec.nr_args = ((cmd & 0xf0) == 0xE0);
cmd709drivers/sound/mpu401.crec.nr_returns = ((cmd & 0xf0) == 0xA0);
cmd762drivers/sound/mpu401.cmpu401_ioctl (int dev, unsigned cmd, unsigned arg)
cmd768drivers/sound/mpu401.cswitch (cmd)
cmd820drivers/sound/mpu401.cunsigned int cmd, unsigned int arg)
cmd832drivers/sound/mpu401.cswitch (cmd)
cmd133drivers/sound/opl3.cunsigned int cmd, unsigned int arg)
cmd135drivers/sound/opl3.cswitch (cmd)
cmd217drivers/sound/pas2_midi.cpas_midi_ioctl (int dev, unsigned cmd, unsigned arg)
cmd306drivers/sound/pas2_mixer.cpas_mixer_ioctl (int dev, unsigned int cmd, unsigned int arg)
cmd308drivers/sound/pas2_mixer.cTRACE (printk ("pas2_mixer.c: int pas_mixer_ioctl(unsigned int cmd = %X, unsigned int arg = %X)\n", cmd, arg));
cmd310drivers/sound/pas2_mixer.cif (((cmd >> 8) & 0xff) == 'M')
cmd312drivers/sound/pas2_mixer.cif (cmd & IOC_IN)
cmd313drivers/sound/pas2_mixer.creturn IOCTL_OUT (arg, pas_mixer_set (cmd & 0xff, IOCTL_IN (arg)));
cmd319drivers/sound/pas2_mixer.cswitch (cmd & 0xff)
cmd363drivers/sound/pas2_mixer.creturn IOCTL_OUT (arg, levels[cmd & 0xff]);
cmd156drivers/sound/pas2_pcm.cpas_pcm_ioctl (int dev, unsigned int cmd, unsigned int arg, int local)
cmd158drivers/sound/pas2_pcm.cTRACE (printk ("pas2_pcm.c: static int pas_pcm_ioctl(unsigned int cmd = %X, unsigned int arg = %X)\n", cmd, arg));
cmd160drivers/sound/pas2_pcm.cswitch (cmd)
cmd844drivers/sound/pss.cunsigned int cmd, unsigned int arg)
cmd846drivers/sound/pss.cDEB (printk ("pss_ioctl dev=%d cmd=%x\n", dev, cmd));
cmd852drivers/sound/pss.cswitch (cmd)
cmd73drivers/sound/sb16_dsp.cstatic int      sb16_dsp_ioctl (int dev, unsigned int cmd, unsigned int arg, int local);
cmd159drivers/sound/sb16_dsp.csb16_dsp_ioctl (int dev, unsigned int cmd, unsigned int arg, int local)
cmd161drivers/sound/sb16_dsp.cswitch (cmd)
cmd45drivers/sound/sb16_midi.c#define sb16midi_cmd(cmd)    OUTB(cmd, COMDPORT)
cmd157drivers/sound/sb16_midi.csb16midi_ioctl (int dev, unsigned cmd, unsigned arg)
cmd647drivers/sound/sb_dsp.csb_dsp_ioctl (int dev, unsigned int cmd, unsigned int arg, int local)
cmd649drivers/sound/sb_dsp.cswitch (cmd)
cmd192drivers/sound/sb_midi.csb_midi_ioctl (int dev, unsigned cmd, unsigned arg)
cmd328drivers/sound/sb_mixer.csb_mixer_ioctl (int dev, unsigned int cmd, unsigned int arg)
cmd330drivers/sound/sb_mixer.cif (((cmd >> 8) & 0xff) == 'M')
cmd332drivers/sound/sb_mixer.cif (cmd & IOC_IN)
cmd333drivers/sound/sb_mixer.cswitch (cmd & 0xff)
cmd340drivers/sound/sb_mixer.creturn IOCTL_OUT (arg, sb_mixer_set (cmd & 0xff, IOCTL_IN (arg)));
cmd343drivers/sound/sb_mixer.cswitch (cmd & 0xff)  /*
cmd370drivers/sound/sb_mixer.creturn IOCTL_OUT (arg, sb_mixer_get (cmd & 0xff));
cmd472drivers/sound/sequencer.cunsigned char   cmd = event[2];
cmd489drivers/sound/sequencer.cif (cmd == MIDI_NOTEON && parm == 0)
cmd491drivers/sound/sequencer.ccmd = MIDI_NOTEOFF;
cmd495drivers/sound/sequencer.cswitch (cmd)
cmd536drivers/sound/sequencer.cunsigned char   cmd = event[2];
cmd550drivers/sound/sequencer.cswitch (cmd)
cmd615drivers/sound/sequencer.cunsigned char   cmd = event[1];
cmd639drivers/sound/sequencer.cswitch (cmd)
cmd1324drivers/sound/sequencer.cunsigned int cmd, unsigned int arg)
cmd1331drivers/sound/sequencer.cswitch (cmd)
cmd1345drivers/sound/sequencer.creturn tmr->ioctl (tmr_no, cmd, arg);
cmd1447drivers/sound/sequencer.creturn tmr->ioctl (tmr_no, cmd, arg);
cmd1466drivers/sound/sequencer.creturn synth_devs[dev]->ioctl (dev, cmd, arg);
cmd1487drivers/sound/sequencer.creturn IOCTL_OUT (arg, synth_devs[dev]->ioctl (dev, cmd, arg));
cmd1501drivers/sound/sequencer.csynth_devs[dev]->ioctl (dev, cmd, arg);
cmd1520drivers/sound/sequencer.creturn synth_devs[dev]->ioctl (dev, cmd, arg);
cmd1652drivers/sound/sequencer.creturn synth_devs[0]->ioctl (0, cmd, arg);
cmd1836drivers/sound/sequencer.cunsigned int cmd, unsigned int arg)
cmd11drivers/sound/sound_calls.hint DMAbuf_ioctl(int dev, unsigned int cmd, unsigned int arg, int local);
cmd29drivers/sound/sound_calls.hunsigned int cmd, unsigned int arg);
cmd42drivers/sound/sound_calls.hunsigned int cmd, unsigned int arg);
cmd64drivers/sound/sound_calls.hunsigned int cmd, unsigned int arg);
cmd114drivers/sound/sound_calls.hunsigned int cmd, unsigned long arg);
cmd192drivers/sound/sound_calls.hint gus_default_mixer_ioctl (int dev, unsigned int cmd, unsigned int arg);
cmd241drivers/sound/sound_calls.hunsigned int cmd, unsigned int arg);
cmd471drivers/sound/sound_switch.cunsigned int cmd, unsigned long arg)
cmd473drivers/sound/sound_switch.cDEB (printk ("sound_ioctl_sw(dev=%d, cmd=0x%x, arg=0x%x)\n", dev, cmd, arg));
cmd476drivers/sound/sound_switch.cif ((cmd >> 8) & 0xff == 'M')  /*
cmd479drivers/sound/sound_switch.creturn mixer_devs[0]->ioctl (0, cmd, arg);
cmd494drivers/sound/sound_switch.creturn mixer_devs[dev]->ioctl (dev, cmd, arg);
cmd499drivers/sound/sound_switch.creturn sequencer_ioctl (dev, file, cmd, arg);
cmd505drivers/sound/sound_switch.creturn audio_ioctl (dev, file, cmd, arg);
cmd510drivers/sound/sound_switch.creturn MIDIbuf_ioctl (dev, file, cmd, arg);
cmd516drivers/sound/sound_switch.creturn pss_ioctl (dev, file, cmd, arg);
cmd175drivers/sound/sound_timer.cunsigned char   cmd = event[1];
cmd178drivers/sound/sound_timer.cswitch (cmd)
cmd248drivers/sound/sound_timer.cunsigned int cmd, unsigned int arg)
cmd250drivers/sound/sound_timer.cswitch (cmd)
cmd120drivers/sound/soundcard.cunsigned int cmd, unsigned long arg)
cmd127drivers/sound/soundcard.creturn sound_ioctl_sw (dev, &files[dev], cmd, arg);
cmd129drivers/sound/sys_timer.cunsigned char   cmd = event[1];
cmd132drivers/sound/sys_timer.cswitch (cmd)
cmd199drivers/sound/sys_timer.cunsigned int cmd, unsigned int arg)
cmd201drivers/sound/sys_timer.cswitch (cmd)
cmd48drivers/sound/uart6850.c#define uart6850_cmd(cmd)  OUTB(cmd, COMDPORT)
cmd220drivers/sound/uart6850.cuart6850_ioctl (int dev, unsigned cmd, unsigned 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) {
cmd99fs/fcntl.creturn fcntl_setlk(fd, cmd, (struct flock *) arg);
cmd101fs/fcntl.creturn fcntl_setlk(fd, cmd, (struct flock *) arg);
cmd120fs/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) {
cmd25fs/umsdos/ioctl.cunsigned int cmd,
cmd34fs/umsdos/ioctl.c|| cmd == UMSDOS_GETVERSION){
cmd56fs/umsdos/ioctl.cPRINTK (("ioctl %d ",cmd));
cmd57fs/umsdos/ioctl.cif (cmd == UMSDOS_GETVERSION){
cmd71fs/umsdos/ioctl.c}else if (cmd == UMSDOS_READDIR_DOS){
cmd80fs/umsdos/ioctl.c}else if (cmd == UMSDOS_READDIR_EMD){
cmd123fs/umsdos/ioctl.c}else if (cmd == UMSDOS_INIT_EMD){
cmd146fs/umsdos/ioctl.cif (cmd == UMSDOS_CREAT_EMD){
cmd163fs/umsdos/ioctl.c}else if (cmd == UMSDOS_UNLINK_EMD){
cmd181fs/umsdos/ioctl.c}else if (cmd == UMSDOS_UNLINK_DOS){
cmd192fs/umsdos/ioctl.c}else if (cmd == UMSDOS_RMDIR_DOS){
cmd203fs/umsdos/ioctl.c}else if (cmd == UMSDOS_STAT_DOS){
cmd227fs/umsdos/ioctl.c}else if (cmd == UMSDOS_DOS_SETUP){
cmd105include/linux/net.hint  (*ioctl)  (struct socket *sock, unsigned int cmd,
cmd121include/linux/net.hint  (*fcntl)  (struct socket *sock, unsigned int cmd,
cmd192include/linux/netdevice.hextern int    dev_ioctl(unsigned int cmd, void *);
cmd521include/linux/soundcard.hunsigned char cmd;
cmd305include/linux/tty.hunsigned int cmd, unsigned long arg);
cmd325include/linux/tty.hunsigned int cmd, unsigned long arg);
cmd133include/linux/tty_driver.hunsigned int cmd, unsigned long arg);
cmd27include/linux/tty_ldisc.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) {
cmd196ipc/shm.cint sys_shmctl (int shmid, int cmd, struct shmid_ds *buf)
cmd202ipc/shm.cif (cmd < 0 || shmid < 0)
cmd204ipc/shm.cif (cmd == IPC_SET) {
cmd213ipc/shm.cswitch (cmd) { /* replace with proc interface ? */
cmd272ipc/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);
cmd345net/inet/af_inet.cstatic int inet_fcntl(struct socket *sock, unsigned int cmd, unsigned long arg)
cmd351net/inet/af_inet.cswitch(cmd) 
cmd1152net/inet/af_inet.cstatic int inet_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg)
cmd1157net/inet/af_inet.cswitch(cmd) 
cmd1183net/inet/af_inet.creturn(ip_rt_ioctl(cmd,(void *) arg));
cmd1187net/inet/af_inet.creturn(arp_ioctl(cmd,(void *) arg));
cmd1192net/inet/af_inet.creturn(rarp_ioctl(cmd,(void *) arg));
cmd1220net/inet/af_inet.creturn(dev_ioctl(cmd,(void *) arg));
cmd1225net/inet/af_inet.creturn(sk->prot->ioctl(sk, cmd, arg));
cmd1130net/inet/arp.cint arp_ioctl(unsigned int cmd, void *arg)
cmd1136net/inet/arp.cswitch(cmd)
cmd13net/inet/arp.hextern int  arp_ioctl(unsigned int cmd, void *arg);
cmd1363net/inet/dev.cint dev_ioctl(unsigned int cmd, void *arg)
cmd1365net/inet/dev.cswitch(cmd) 
cmd1393net/inet/dev.creturn dev_ifsioc(arg, cmd);
cmd1412net/inet/dev.creturn dev_ifsioc(arg, cmd);
cmd696net/inet/icmp.cint icmp_ioctl(struct sock *sk, int cmd, unsigned long arg)
cmd698net/inet/icmp.cswitch(cmd) 
cmd35net/inet/icmp.hextern int  icmp_ioctl(struct sock *sk, int cmd,
cmd109net/inet/ip.cint ip_ioctl(struct sock *sk, int cmd, unsigned long arg)
cmd111net/inet/ip.cswitch(cmd)
cmd69net/inet/ip.hextern int    ip_ioctl(struct sock *sk, int cmd,
cmd406net/inet/ipx.cstatic int ipxrtr_ioctl(unsigned int cmd, void *arg)
cmd409net/inet/ipx.cswitch(cmd)
cmd466net/inet/ipx.cstatic int ipx_fcntl(struct socket *sock, unsigned int cmd, unsigned long arg)
cmd469net/inet/ipx.cswitch(cmd)
cmd1210net/inet/ipx.cstatic int ipx_ioctl(struct socket *sock,unsigned int cmd, unsigned long arg)
cmd1216net/inet/ipx.cswitch(cmd)
cmd1241net/inet/ipx.creturn(ipxrtr_ioctl(cmd,(void *)arg));
cmd1275net/inet/ipx.creturn(dev_ioctl(cmd,(void *) arg));
cmd407net/inet/rarp.cint rarp_ioctl(unsigned int cmd, void *arg)
cmd413net/inet/rarp.cswitch(cmd)
cmd5net/inet/rarp.hextern int rarp_ioctl(unsigned int cmd, void *arg);
cmd628net/inet/route.cint ip_rt_ioctl(unsigned int cmd, void *arg)
cmd633net/inet/route.cswitch(cmd) 
cmd642net/inet/route.creturn (cmd == SIOCDELRTOLD) ? rt_kill(&rt) : rt_new(&rt);
cmd652net/inet/route.creturn (cmd == SIOCDELRT) ? rt_kill(&rt) : rt_new(&rt);
cmd51net/inet/route.hextern int    ip_rt_ioctl(unsigned int cmd, void *arg);
cmd223net/inet/sock.hint      (*ioctl)(struct sock *sk, int cmd,
cmd464net/inet/tcp.cint tcp_ioctl(struct sock *sk, int cmd, unsigned long arg)
cmd467net/inet/tcp.cswitch(cmd) 
cmd124net/inet/tcp.hextern int  tcp_ioctl(struct sock *sk, int cmd, unsigned long arg);
cmd403net/inet/udp.cint udp_ioctl(struct sock *sk, int cmd, unsigned long arg)
cmd406net/inet/udp.cswitch(cmd) 
cmd47net/inet/udp.hextern int  udp_ioctl(struct sock *sk, int cmd, unsigned long arg);
cmd63net/socket.cunsigned int cmd, unsigned long arg);
cmd435net/socket.cint sock_ioctl(struct inode *inode, struct file *file, unsigned int cmd,
cmd445net/socket.creturn(sock->ops->ioctl(sock, cmd, arg));
cmd1100net/socket.cint sock_fcntl(struct file *filp, unsigned int cmd, unsigned long arg)
cmd1106net/socket.creturn(sock->ops->fcntl(sock, cmd, arg));
cmd78net/unix/sock.cstatic int unix_proto_ioctl(struct socket *sock, unsigned int cmd,
cmd819net/unix/sock.cstatic int unix_proto_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg)
cmd827net/unix/sock.cswitch(cmd)