taglinefilesource code
cmd159drivers/block/aztcd.c(CURRENT && MAJOR(CURRENT -> dev) == MAJOR_NR && CURRENT -> cmd == READ \
cmd225drivers/block/aztcd.cstatic int  aztSendCmd(int cmd);
cmd226drivers/block/aztcd.cstatic int  sendAztCmd(int cmd, struct azt_Play_msf *params);
cmd361drivers/block/aztcd.cstatic int aztSendCmd(int cmd)
cmd366drivers/block/aztcd.cprintk("aztcd: Executing command %x\n",cmd);
cmd376drivers/block/aztcd.c{ outb((unsigned char) cmd,CMD_PORT);
cmd384drivers/block/aztcd.cprintk("### Error 1 aztcd: aztSendCmd %x  Error Code %x\n",cmd,data);
cmd388drivers/block/aztcd.c{ printk("### Error 2 aztcd: aztSendCmd %x \n",cmd);
cmd397drivers/block/aztcd.cstatic int sendAztCmd(int cmd, struct azt_Play_msf *params)
cmd407drivers/block/aztcd.c{ aztSendCmd(cmd);
cmd421drivers/block/aztcd.cprintk("### Error 1 aztcd: sendAztCmd %x  Error Code %x\n",cmd,data);
cmd425drivers/block/aztcd.c{ printk("### Error 2 aztcd: sendAztCmd %x\n ",cmd);
cmd510drivers/block/aztcd.cstatic int aztcd_ioctl(struct inode *ip, struct file *fp, unsigned int cmd, unsigned long arg)
cmd522drivers/block/aztcd.cprintk("aztcd: starting aztcd_ioctl - Command:%x\n",cmd);
cmd530drivers/block/aztcd.cswitch (cmd)
cmd745drivers/block/aztcd.cif (cmd==CDROMREADMODE1)
cmd21drivers/block/blk.h((s1)->cmd < (s2)->cmd || ((s1)->cmd == (s2)->cmd && \
cmd224drivers/block/cdu31a.cstatic void do_sony_cd_cmd(unsigned char cmd,
cmd501drivers/block/cdu31a.cwrite_cmd(unsigned char cmd)
cmd504drivers/block/cdu31a.coutb(cmd, sony_cd_cmd_reg);
cmd747drivers/block/cdu31a.cdo_sony_cd_cmd(unsigned char cmd,
cmd811drivers/block/cdu31a.cwrite_cmd(cmd);
cmd1440drivers/block/cdu31a.cswitch(CURRENT->cmd)
cmd2173drivers/block/cdu31a.cunsigned int  cmd,
cmd2187drivers/block/cdu31a.cswitch (cmd)
cmd190drivers/block/floppy.c#define COMMAND raw_cmd.cmd[0]
cmd191drivers/block/floppy.c#define DR_SELECT raw_cmd.cmd[1]
cmd192drivers/block/floppy.c#define TRACK raw_cmd.cmd[2]
cmd193drivers/block/floppy.c#define HEAD raw_cmd.cmd[3]
cmd194drivers/block/floppy.c#define SECTOR raw_cmd.cmd[4]
cmd195drivers/block/floppy.c#define SIZECODE raw_cmd.cmd[5]
cmd196drivers/block/floppy.c#define SECT_PER_TRACK raw_cmd.cmd[6]
cmd197drivers/block/floppy.c#define GAP raw_cmd.cmd[7]
cmd198drivers/block/floppy.c#define SIZECODE2 raw_cmd.cmd[8]
cmd202drivers/block/floppy.c#define F_SIZECODE raw_cmd.cmd[2]
cmd203drivers/block/floppy.c#define F_SECT_PER_TRACK raw_cmd.cmd[3]
cmd204drivers/block/floppy.c#define F_GAP raw_cmd.cmd[4]
cmd205drivers/block/floppy.c#define F_FILL raw_cmd.cmd[5]
cmd852drivers/block/floppy.cprintk("%x,", raw_cmd.cmd[i]);
cmd1242drivers/block/floppy.cr|=output_byte( raw_cmd.cmd[i] );
cmd1972drivers/block/floppy.cif(CURRENT->cmd == WRITE) {
cmd2213drivers/block/floppy.cif (CURRENT->cmd == READ){
cmd2216drivers/block/floppy.c} else if (CURRENT->cmd == WRITE){
cmd2734drivers/block/floppy.cstatic int fd_ioctl(struct inode *inode, struct file *filp, unsigned int cmd,
cmd2748drivers/block/floppy.cswitch (cmd) {
cmd2753drivers/block/floppy.cswitch (cmd) {
cmd2791drivers/block/floppy.cswitch (cmd) {
cmd2865drivers/block/floppy.cif ( cmd != FDDEFPRM )
cmd2875drivers/block/floppy.cif (cmd == FDDEFPRM)
cmd2910drivers/block/floppy.cswitch(cmd){
cmd223drivers/block/hd.cunsigned int head,unsigned int cyl,unsigned int cmd,
cmd247drivers/block/hd.coutb_p(cmd,++port);
cmd739drivers/block/hd.cdev+'a', (CURRENT->cmd == READ)?"read":"writ",
cmd744drivers/block/hd.cif (CURRENT->cmd == READ) {
cmd745drivers/block/hd.cunsigned int cmd = mult_count[dev] > 1 ? WIN_MULTREAD : WIN_READ;
cmd746drivers/block/hd.chd_out(dev,nsect,sec,head,cyl,cmd,&read_intr);
cmd751drivers/block/hd.cif (CURRENT->cmd == WRITE) {
cmd780drivers/block/hd.cunsigned int cmd, unsigned long arg)
cmd791drivers/block/hd.cswitch (cmd) {
cmd217drivers/block/ide-cd.cif (rq->cmd == READ)
cmd256drivers/block/ide-cd.celse if (rq->cmd == PACKET_COMMAND)
cmd888drivers/block/ide-cd.creq.cmd = PACKET_COMMAND;
cmd932drivers/block/ide-cd.cif (rq -> cmd == PACKET_COMMAND)
cmd935drivers/block/ide-cd.cif (rq -> cmd != READ)
cmd937drivers/block/ide-cd.cprintk ("ide-cd: bad cmd %d\n", rq -> cmd);
cmd1340drivers/block/ide-cd.cstruct file *file, unsigned int cmd, unsigned long arg)
cmd1342drivers/block/ide-cd.cswitch (cmd)
cmd694drivers/block/ide.cif (rq->cmd == IDE_DRIVE_CMD) {  /* never retry an explicit DRIVE_CMD */
cmd709drivers/block/ide.cif ((stat & DRQ_STAT) && rq->cmd == READ) {
cmd875drivers/block/ide.cstatic inline void ide_cmd(ide_dev_t *dev, byte cmd, byte nsect,
cmd880drivers/block/ide.cOUT_BYTE(cmd,HD_COMMAND);
cmd1044drivers/block/ide.cdev->name, (rq->cmd==READ)?"read":"writ", 
cmd1063drivers/block/ide.cdev->name, (rq->cmd==READ)?"read":"writ", cyl,
cmd1067drivers/block/ide.cif (rq->cmd == READ) {
cmd1072drivers/block/ide.cif (rq->cmd == WRITE) {
cmd1089drivers/block/ide.cif (rq->cmd == IDE_DRIVE_CMD) {
cmd1106drivers/block/ide.cprintk("%s: bad command: %d\n", dev->name, rq->cmd);
cmd1470drivers/block/ide.crq.cmd = IDE_DRIVE_CMD;
cmd1513drivers/block/ide.cunsigned int cmd, unsigned long arg)
cmd1524drivers/block/ide.cswitch (cmd) {
cmd1588drivers/block/ide.cif (cmd == HDIO_SET_KEEPSETTINGS)
cmd1653drivers/block/ide.creturn ide_cdrom_ioctl(dev, inode, file, cmd, arg);
cmd1726drivers/block/ide.cstatic void do_identify (ide_dev_t *dev, byte cmd)
cmd1752drivers/block/ide.cif (cmd == WIN_PIDENTIFY) {
cmd1764drivers/block/ide.cif (cmd == WIN_PIDENTIFY) {
cmd1858drivers/block/ide.cstatic int try_to_identify (ide_dev_t *dev, byte cmd)
cmd1885drivers/block/ide.cOUT_BYTE(cmd,HD_COMMAND);    /* ask drive for ID */
cmd1886drivers/block/ide.ctimeout = ((cmd == WIN_IDENTIFY) ? WAIT_WORSTCASE : WAIT_PIDENTIFY) / 2;
cmd1901drivers/block/ide.cdo_identify(dev, cmd);  /* drive returned ID */
cmd1928drivers/block/ide.cstatic int do_probe (ide_dev_t *dev, byte cmd)
cmd1941drivers/block/ide.cif ((dev->type == disk) ^ (cmd == WIN_IDENTIFY))
cmd1948drivers/block/ide.c(cmd == WIN_IDENTIFY) ? "ATA" : "ATAPI");
cmd1958drivers/block/ide.c|| dev->present || cmd == WIN_PIDENTIFY)
cmd1960drivers/block/ide.cif ((rc = try_to_identify(dev, cmd)))  /* send cmd and wait */
cmd1961drivers/block/ide.crc = try_to_identify(dev, cmd);  /* failed: try again */
cmd112drivers/block/ll_rw_blk.cplug->cmd = -1;
cmd132drivers/block/ll_rw_blk.cif (req && req->dev == -1 && req->cmd == -1) {
cmd349drivers/block/ll_rw_blk.creq->cmd == rw &&
cmd363drivers/block/ll_rw_blk.creq->cmd == rw &&
cmd396drivers/block/ll_rw_blk.creq->cmd = rw;
cmd427drivers/block/ll_rw_blk.creq->cmd = rw;
cmd547drivers/block/ll_rw_blk.creq->cmd = rw;
cmd88drivers/block/mcd.c(CURRENT && MAJOR(CURRENT -> dev) == MAJOR_NR && CURRENT -> cmd == READ \
cmd140drivers/block/mcd.cstatic void sendMcdCmd(int cmd, struct mcd_Play_msf *params);
cmd240drivers/block/mcd.cmcd_ioctl(struct inode *ip, struct file *fp, unsigned int cmd,
cmd267drivers/block/mcd.cswitch (cmd)
cmd1235drivers/block/mcd.csendMcdCmd(int cmd, struct mcd_Play_msf *params)
cmd1237drivers/block/mcd.coutb(cmd, MCDPORT(0));
cmd48drivers/block/ramdisk.cif (CURRENT-> cmd == WRITE) {
cmd52drivers/block/ramdisk.c} else if (CURRENT->cmd == READ) {
cmd3791drivers/block/sbpcd.cstatic int sbpcd_ioctl(struct inode *inode, struct file *file, u_int cmd,
cmd3797drivers/block/sbpcd.cMINOR(inode->i_rdev), cmd, arg);
cmd3818drivers/block/sbpcd.cmsg(DBG_IO2,"ioctl: device %d, request %04X\n",i,cmd);
cmd3819drivers/block/sbpcd.cswitch (cmd)     /* Sun-compatible */
cmd4331drivers/block/sbpcd.cmsg(DBG_IOC,"ioctl: unknown function request %04X\n", cmd);
cmd4370drivers/block/sbpcd.cif (CURRENT->cmd != READ)
cmd4372drivers/block/sbpcd.cmsg(DBG_INF, "bad cmd %d\n", CURRENT->cmd);
cmd210drivers/block/sonycd535.cstatic int do_sony_cmd(Byte * cmd, int nCmd, Byte status[2],
cmd448drivers/block/sonycd535.cByte cmd;
cmd508drivers/block/sonycd535.ccmd = SONY535_SPIN_UP;
cmd509drivers/block/sonycd535.cdo_sony_cmd(&cmd, 1, e_status, NULL, 0, 0);
cmd549drivers/block/sonycd535.cdo_sony_cmd(Byte * cmd, int n_cmd, Byte status[2],
cmd556drivers/block/sonycd535.coutb(cmd[i], command_reg);
cmd570drivers/block/sonycd535.c*cmd, status[0], status[1]);
cmd728drivers/block/sonycd535.cByte cmd;
cmd731drivers/block/sonycd535.ccmd = SONY535_REQUEST_DRIVE_STATUS_1;
cmd732drivers/block/sonycd535.cif (do_sony_cmd(&cmd, 1, status, NULL, 0, 0) != 0)
cmd738drivers/block/sonycd535.ccmd = SONY535_SPIN_UP;
cmd739drivers/block/sonycd535.creturn do_sony_cmd(&cmd, 1, status, NULL, 0, 0);
cmd829drivers/block/sonycd535.cByte cmd[2];
cmd850drivers/block/sonycd535.cswitch (CURRENT->cmd) {
cmd937drivers/block/sonycd535.ccmd[0] = SONY535_SPIN_UP;
cmd938drivers/block/sonycd535.cdo_sony_cmd(cmd, 1, status, NULL, 0, 0);
cmd1019drivers/block/sonycd535.cByte cmd = SONY535_REQUEST_SUB_Q_DATA;
cmd1026drivers/block/sonycd535.cif ((dsc_status = do_sony_cmd(&cmd, 1, status, (Byte *) last_sony_subcode,
cmd1114drivers/block/sonycd535.cunsigned int cmd,
cmd1134drivers/block/sonycd535.cswitch (cmd) {
cmd223drivers/block/xd.cswitch (CURRENT->cmd) {
cmd227drivers/block/xd.ccode = xd_readwrite(CURRENT->cmd,CURRENT_DEV,CURRENT->buffer,block,count);
cmd238drivers/block/xd.cstatic int xd_ioctl (struct inode *inode,struct file *file,u_int cmd,u_long arg)
cmd244drivers/block/xd.cswitch (cmd) {
cmd459drivers/char/cyclades.cwrite_cy_cmd(u_char *base_addr, u_char cmd)
cmd480drivers/char/cyclades.cbase_addr[CyCCR] = cmd;
cmd1859drivers/char/cyclades.cset_modem_info(struct cyclades_port * info, unsigned int cmd,
cmd1874drivers/char/cyclades.cswitch (cmd) {
cmd2081drivers/char/cyclades.cunsigned int cmd, unsigned long arg)
cmd2088drivers/char/cyclades.cprintk("cy_ioctl ttyC%d, cmd = %x arg = %lx\n", info->line, cmd, arg); /* */
cmd2091drivers/char/cyclades.cswitch (cmd) {
cmd2167drivers/char/cyclades.cret_val = set_modem_info(info, cmd, (unsigned int *) arg);
cmd397drivers/char/lp.cunsigned int cmd, unsigned long arg)
cmd403drivers/char/lp.cprintk("lp%d ioctl, cmd: 0x%x, arg: 0x%x\n", minor, cmd, arg);
cmd409drivers/char/lp.cif (cmd <= OLD_IOCTL_MAX)
cmd411drivers/char/lp.cminor, cmd);
cmd412drivers/char/lp.cswitch ( cmd ) {
cmd1590drivers/char/serial.cstatic int set_modem_info(struct async_struct * info, unsigned int cmd,
cmd1600drivers/char/serial.cswitch (cmd) {
cmd1818drivers/char/serial.cunsigned int cmd, unsigned long arg)
cmd1827drivers/char/serial.cif ((cmd != TIOCGSERIAL) && (cmd != TIOCSSERIAL) &&
cmd1828drivers/char/serial.c(cmd != TIOCSERCONFIG) && (cmd != TIOCSERGWILD)  &&
cmd1829drivers/char/serial.c(cmd != TIOCSERSWILD) && (cmd != TIOCSERGSTRUCT)) {
cmd1834drivers/char/serial.cswitch (cmd) {
cmd1872drivers/char/serial.creturn set_modem_info(info, cmd, (unsigned int *) arg);
cmd665drivers/char/tpqic02.cstatic int notify_cmd(char cmd, short ignore_ex)
cmd669drivers/char/tpqic02.coutb_p(cmd, QIC02_CMD_PORT);    /* output the command */
cmd805drivers/char/tpqic02.cstatic int send_qic02_cmd(int cmd, time_t timeout, int ignore_ex)
cmd824drivers/char/tpqic02.cstatus_cmd_pending = cmd;
cmd826drivers/char/tpqic02.cstat = notify_cmd(cmd, ignore_ex); /* tell drive new command was loaded, */
cmd828drivers/char/tpqic02.cif (TP_HAVE_SEEK && (cmd == AR_QCMDV_SEEK_BLK)) {
cmd973drivers/char/tpqic02.cstatic void finish_rw(int cmd);
cmd1077drivers/char/tpqic02.cstatic int ll_do_qic_cmd(int cmd, time_t timeout)
cmd1094drivers/char/tpqic02.cprintk(TPQIC02_NAME ": ll_do_qic_cmd(%x, %ld) failed\n", cmd, (long) timeout);
cmd1104drivers/char/tpqic02.cstat = send_qic02_cmd(cmd, timeout, 0);  /* (checks for exceptions) */
cmd1106drivers/char/tpqic02.cif (cmd==QCMD_RD_FM) {
cmd1112drivers/char/tpqic02.c} else if (cmd==QCMD_WRT_FM) {
cmd1115drivers/char/tpqic02.c} else if ((cmd==QCMD_REWIND) || (cmd==QCMD_ERASE) || (cmd==QCMD_RETEN)) {
cmd1130drivers/char/tpqic02.cprintk(TPQIC02_NAME ": Exception persist in ll_do_qic_cmd[1](%x, %ld)", cmd, (long) timeout);
cmd1148drivers/char/tpqic02.cif (tp_sense((cmd==QCMD_SEEK_EOD ?    /*****************************/
cmd1151drivers/char/tpqic02.cprintk(TPQIC02_NAME ": Exception persist in ll_do_qic_cmd[2](%x, %ld)\n", cmd, (long) timeout);
cmd1152drivers/char/tpqic02.cif (cmd!=QCMD_RD_FM)
cmd1159drivers/char/tpqic02.cprintk(TPQIC02_NAME ": ll_do_qic_cmd %x: wait failed, stat == 0x%x\n", cmd, stat);
cmd1191drivers/char/tpqic02.cstatic void terminate_read(int cmd)
cmd1195drivers/char/tpqic02.cif (cmd != QCMD_RD_FM) {
cmd1219drivers/char/tpqic02.cstatic void terminate_write(int cmd)
cmd1226drivers/char/tpqic02.cif (cmd != QCMD_WRT_FM) {
cmd1243drivers/char/tpqic02.cstatic void finish_rw(int cmd)
cmd1249drivers/char/tpqic02.cterminate_read(cmd);
cmd1250drivers/char/tpqic02.cterminate_write(cmd);
cmd1258drivers/char/tpqic02.cstatic int do_qic_cmd(int cmd, time_t timeout)
cmd1263drivers/char/tpqic02.cfinish_rw(cmd);
cmd1273drivers/char/tpqic02.cif (cmd==QCMD_REWIND)  /* don't wind beyond BOT ;-) */
cmd1277drivers/char/tpqic02.creturn ll_do_qic_cmd(cmd, timeout);
cmd1285drivers/char/tpqic02.cstatic int do_ioctl_cmd(int cmd)
cmd1295drivers/char/tpqic02.cswitch (cmd) {
cmd100drivers/char/tty_io.cunsigned int cmd, unsigned long arg);
cmd301drivers/char/tty_io.cunsigned int cmd, unsigned long arg)
cmd1292drivers/char/tty_io.cunsigned int cmd, unsigned long arg)
cmd1312drivers/char/tty_io.cswitch (cmd) {
cmd1514drivers/char/tty_io.ccmd, arg);
cmd1520drivers/char/tty_io.ccmd, arg);
cmd219drivers/char/tty_ioctl.cunsigned int cmd, unsigned long arg)
cmd231drivers/char/tty_ioctl.cswitch (cmd) {
cmd369drivers/char/tty_ioctl.ctty->driver.ioctl(tty, file, cmd, arg);
cmd136drivers/char/vt.cunsigned int cmd, unsigned long arg)
cmd158drivers/char/vt.cswitch (cmd) {
cmd198drivers/char/vt.creturn sys_ioperm(arg, 1, (cmd == KDADDIO)) ? -ENXIO : 0;
cmd203drivers/char/vt.c(cmd == KDENABIO)) ? -ENXIO : 0;
cmd108drivers/net/apricot.cstruct i596_cmd cmd;
cmd116drivers/net/apricot.cunsigned short cmd;
cmd129drivers/net/apricot.cstruct i596_cmd *cmd;
cmd192drivers/net/apricot.cstatic void i596_add_cmd(struct device *dev, struct i596_cmd *cmd);
cmd221drivers/net/apricot.crfd->cmd = CMD_EOL;
cmd225drivers/net/apricot.crfd->cmd = 0x0000;
cmd276drivers/net/apricot.clp->cmd_head = lp->scb.cmd = (struct i596_cmd *) I596_NULL;
cmd378drivers/net/apricot.clp->rx_tail->cmd = 0;
cmd382drivers/net/apricot.clp->rx_tail->cmd = CMD_EOL;
cmd443drivers/net/apricot.clp->scb.cmd = lp->cmd_head;
cmd487drivers/net/apricot.cstatic void i596_add_cmd(struct device *dev, struct i596_cmd *cmd)
cmd496drivers/net/apricot.ccmd->status = 0;
cmd497drivers/net/apricot.ccmd->command |= (CMD_EOL|CMD_INTR);
cmd498drivers/net/apricot.ccmd->next = (struct i596_cmd *) I596_NULL;
cmd503drivers/net/apricot.clp->cmd_tail->next = cmd;
cmd506drivers/net/apricot.clp->cmd_head = cmd;
cmd515drivers/net/apricot.clp->scb.cmd = cmd;
cmd519drivers/net/apricot.clp->cmd_tail = cmd;
cmd522drivers/net/apricot.clp->cmd_head = lp->scb.cmd;
cmd646drivers/net/apricot.ctx_cmd->cmd.command = CMD_FLEX|CmdTx;
cmd748drivers/net/apricot.clp->scb.cmd = (struct i596_cmd *) I596_NULL;
cmd880drivers/net/apricot.clp->scb.cmd = lp->cmd_head;
cmd976drivers/net/apricot.cstruct i596_cmd *cmd;
cmd982drivers/net/apricot.ccmd = (struct i596_cmd *) kmalloc(sizeof(struct i596_cmd)+2+num_addrs*6, GFP_ATOMIC);
cmd983drivers/net/apricot.cif (cmd == NULL)
cmd989drivers/net/apricot.ccmd->command = CmdMulticastList;
cmd990drivers/net/apricot.c*((unsigned short *) (cmd + 1)) = num_addrs * 6;
cmd991drivers/net/apricot.cmemcpy (((char *)(cmd + 1))+2, addrs, num_addrs * 6);
cmd992drivers/net/apricot.cprint_eth (((char *)(cmd + 1)) + 2);
cmd994drivers/net/apricot.ci596_add_cmd(dev, cmd);
cmd132drivers/net/atp.cstatic unsigned short eeprom_op(short ioaddr, unsigned int cmd);
cmd291drivers/net/atp.cstatic unsigned short eeprom_op(short ioaddr, unsigned int cmd)
cmd297drivers/net/atp.cchar outval = test_bit(num_bits, &cmd) ? EE_DATA_WRITE : 0;
cmd382drivers/net/de4x5.cstatic int     de4x5_ioctl(struct device *dev, struct ifreq *rq, int cmd);
cmd2244drivers/net/de4x5.cstatic int de4x5_ioctl(struct device *dev, struct ifreq *rq, int cmd)
cmd2256drivers/net/de4x5.cswitch(ioc->cmd) {
cmd623drivers/net/de4x5.hunsigned short cmd;                /* Command to run */
cmd290drivers/net/de600.c#define de600_put_command(cmd) ( \
cmd293drivers/net/de600.coutb_p(((rx_page | cmd) << 4)   | COMMAND            , DATA_PORT), \
cmd294drivers/net/de600.coutb_p(((rx_page | cmd) & 0xf0) | COMMAND | HI_NIBBLE, DATA_PORT))
cmd247drivers/net/de620.cde620_send_command(byte cmd)
cmd250drivers/net/de620.cif (cmd == W_DUMMY)
cmd253drivers/net/de620.coutb(cmd, DATA_PORT);
cmd297drivers/net/ewrk3.cstatic int ewrk3_ioctl(struct device *dev, struct ifreq *rq, int cmd);
cmd1609drivers/net/ewrk3.cstatic int ewrk3_ioctl(struct device *dev, struct ifreq *rq, int cmd)
cmd1620drivers/net/ewrk3.cswitch(ioc->cmd) {
cmd294drivers/net/ewrk3.hunsigned short cmd;                /* Command to run */
cmd143drivers/net/ni52.cif(!p->scb->cmd) break; \
cmd481drivers/net/ni52.cp->scb->cmd = CUC_START; /* cmd.-unit start */
cmd507drivers/net/ni52.cp->scb->cmd = CUC_START; /* cmd.-unit start */
cmd531drivers/net/ni52.cp->scb->cmd = CUC_START; /* cmd.-unit start */
cmd546drivers/net/ni52.cp->scb->cmd = p->scb->status & STAT_MASK;
cmd566drivers/net/ni52.cp->scb->cmd = p->scb->status & STAT_MASK;
cmd624drivers/net/ni52.cp->scb->cmd = CUC_START;
cmd669drivers/net/ni52.cp->scb->cmd = CUC_START;
cmd745drivers/net/ni52.cp->scb->cmd = stat;
cmd767drivers/net/ni52.cp->scb->cmd = RUC_RESUME;
cmd777drivers/net/ni52.cif(p->scb->cmd)   /* timed out? */
cmd848drivers/net/ni52.cp->scb->cmd = RUC_ABORT; /* usually the RU is in the 'no resource'-state .. abort it now. */
cmd918drivers/net/ni52.cp->scb->cmd = RUC_START;
cmd948drivers/net/ni52.cp->scb->cmd = CUC_ABORT;
cmd952drivers/net/ni52.cp->scb->cmd = CUC_START;
cmd998drivers/net/ni52.cp->scb->cmd = CUC_START;
cmd65drivers/net/ni52.hunsigned short cmd;           /* command word */
cmd139drivers/net/plip.cstatic int plip_ioctl(struct device *dev, struct ifreq *ifr, int cmd);
cmd1013drivers/net/plip.cplip_ioctl(struct device *dev, struct ifreq *rq, int cmd)
cmd103drivers/net/ppp.cstatic int ppp_dev_ioctl(struct device *dev, struct ifreq *ifr, int cmd);
cmd623drivers/net/ppp.cstatic int ppp_dev_ioctl(struct device *dev, struct ifreq *ifr, int cmd)
cmd960drivers/net/slip.cslip_ioctl(struct tty_struct *tty, void *file, int cmd, void *arg)
cmd971drivers/net/slip.cswitch(cmd) {
cmd1042drivers/net/slip.creturn n_tty_ioctl(tty, (struct file *) file, cmd, (unsigned long) arg);
cmd225drivers/net/wavelan.h#define PIOM(cmd,piono)    ((u_short)cmd << 10 << (piono * 2))
cmd179drivers/scsi/53c7,8xx.cstatic void abnormal_finished (struct NCR53c7x0_cmd *cmd, int result);
cmd186drivers/scsi/53c7,8xx.c*cmd);
cmd187drivers/scsi/53c7,8xx.cstatic void intr_dma (struct Scsi_Host *host, struct NCR53c7x0_cmd *cmd);
cmd192drivers/scsi/53c7,8xx.cstatic void NCR53c8xx_dsa_fixup (struct NCR53c7x0_cmd *cmd);
cmd195drivers/scsi/53c7,8xx.cNCR53c7x0_cmd *cmd);
cmd1294drivers/scsi/53c7,8xx.cunsigned char cmd[6];
cmd1299drivers/scsi/53c7,8xx.ccmd[0] = INQUIRY;
cmd1300drivers/scsi/53c7,8xx.ccmd[1] = cmd[2] = cmd[3] = cmd[5] = 0;
cmd1301drivers/scsi/53c7,8xx.ccmd[4] = sizeof(data); 
cmd1306drivers/scsi/53c7,8xx.cdsa[5] = (unsigned long) &cmd;
cmd1383drivers/scsi/53c7,8xx.cstatic void NCR53c8xx_dsa_fixup (struct NCR53c7x0_cmd *cmd) {
cmd1384drivers/scsi/53c7,8xx.cScsi_Cmnd *c = cmd->cmd;
cmd1390drivers/scsi/53c7,8xx.cmemcpy (cmd->dsa, hostdata->script + (hostdata->E_dsa_code_template / 4),
cmd1393drivers/scsi/53c7,8xx.cpatch_abs_32 (cmd->dsa, Ent_dsa_code_template / sizeof(long), 
cmd1394drivers/scsi/53c7,8xx.cdsa_temp_jump_resume, ((unsigned long) cmd->dsa) + 
cmd1396drivers/scsi/53c7,8xx.cpatch_abs_rwri_data (cmd->dsa, Ent_dsa_code_template / sizeof(long),
cmd1398drivers/scsi/53c7,8xx.cpatch_abs_32 (cmd->dsa, Ent_dsa_code_template / sizeof(long),
cmd1399drivers/scsi/53c7,8xx.cdsa_temp_dsa_next, ((unsigned long) cmd->dsa) + A_dsa_next);
cmd1400drivers/scsi/53c7,8xx.cpatch_abs_32 (cmd->dsa, Ent_dsa_code_template / sizeof(long), 
cmd1402drivers/scsi/53c7,8xx.cpatch_abs_rwri_data (cmd->dsa, Ent_dsa_code_template / sizeof(long),
cmd1421drivers/scsi/53c7,8xx.cstatic void abnormal_finished (struct NCR53c7x0_cmd *cmd, int result) {
cmd1422drivers/scsi/53c7,8xx.cScsi_Cmnd *c = cmd->cmd;
cmd1436drivers/scsi/53c7,8xx.csearch && (search + hostdata->dsa_start) != (char *) cmd->dsa;
cmd1444drivers/scsi/53c7,8xx.cif (cmd->prev)
cmd1445drivers/scsi/53c7,8xx.ccmd->prev->next = cmd->next;
cmd1447drivers/scsi/53c7,8xx.cif (cmd->next)
cmd1448drivers/scsi/53c7,8xx.ccmd->next->prev = cmd->prev;
cmd1450drivers/scsi/53c7,8xx.cif (hostdata->running_list == cmd)
cmd1451drivers/scsi/53c7,8xx.chostdata->running_list = cmd->next;
cmd1453drivers/scsi/53c7,8xx.ccmd->next = hostdata->free;
cmd1454drivers/scsi/53c7,8xx.chostdata->free = cmd;
cmd1476drivers/scsi/53c7,8xx.cNCR53c7x0_cmd *cmd) {
cmd1480drivers/scsi/53c7,8xx.cScsi_Cmnd *c = cmd ? cmd->cmd : NULL;
cmd1668drivers/scsi/53c7,8xx.cNCR53c7x0_cmd *cmd) {
cmd1670drivers/scsi/53c7,8xx.cScsi_Cmnd *c = cmd ? cmd->cmd : NULL;
cmd1684drivers/scsi/53c7,8xx.cif (cmd) 
cmd1707drivers/scsi/53c7,8xx.cif (cmd) {
cmd1709drivers/scsi/53c7,8xx.chost->host_no, c->target, (cmd->flags & CMD_FLAG_SDTR) ? "accepting" :
cmd1719drivers/scsi/53c7,8xx.cif (cmd->flags & CMD_FLAG_SDTR) {
cmd1720drivers/scsi/53c7,8xx.ccmd->flags &= ~CMD_FLAG_SDTR; 
cmd1729drivers/scsi/53c7,8xx.ccmd->flags |= CMD_FLAG_DID_SDTR;
cmd1736drivers/scsi/53c7,8xx.cpatch_dsa_32 (cmd->dsa, dsa_msgout_other, 0, 5);
cmd1737drivers/scsi/53c7,8xx.cpatch_dsa_32 (cmd->dsa, dsa_msgout_other, 1, 
cmd1821drivers/scsi/53c7,8xx.cpatch_dsa_32 (cmd->dsa, dsa_msgout, 0, 1);
cmd1828drivers/scsi/53c7,8xx.cpatch_dsa_32 (cmd->dsa, dsa_cmdout, 0, 6);
cmd1843drivers/scsi/53c7,8xx.cpatch_dsa_32 (cmd->dsa, dsa_dataout, 0, hostdata->E_other_transfer);
cmd1844drivers/scsi/53c7,8xx.cpatch_dsa_32 (cmd->dsa, dsa_datain, 0, cmd->data_transfer_start);
cmd1845drivers/scsi/53c7,8xx.ccmd->data_transfer_start[0] = (((DCMD_TYPE_BMI | DCMD_BMI_OP_MOVE_I | 
cmd1847drivers/scsi/53c7,8xx.ccmd->data_transfer_start[1] = (unsigned long) c->sense_buffer;
cmd1849drivers/scsi/53c7,8xx.ccmd->data_transfer_start[2] = ((DCMD_TYPE_TCI | DCMD_TCI_OP_JUMP) 
cmd1851drivers/scsi/53c7,8xx.ccmd->data_transfer_start[3] = hostdata->E_other_transfer;
cmd1860drivers/scsi/53c7,8xx.ccmd->cmd->result = 0xffff;    
cmd1875drivers/scsi/53c7,8xx.cif (cmd)
cmd1876drivers/scsi/53c7,8xx.cabnormal_finished (cmd, DID_ERROR << 16);
cmd2324drivers/scsi/53c7,8xx.ccreate_cmd (Scsi_Cmnd *cmd) {
cmd2326drivers/scsi/53c7,8xx.cstruct Scsi_Host *host = cmd->host;
cmd2342drivers/scsi/53c7,8xx.cNCR53c7x0_local_setup(cmd->host);
cmd2357drivers/scsi/53c7,8xx.c!(hostdata->cmd_allocated[cmd->target] & (1 << cmd->lun))) {
cmd2406drivers/scsi/53c7,8xx.cswitch (cmd->cmnd[0]) {
cmd2414drivers/scsi/53c7,8xx.cdatain = 2 * (cmd->use_sg ? cmd->use_sg : 1) + 3;
cmd2423drivers/scsi/53c7,8xx.cprint_command(cmd->cmnd);
cmd2427drivers/scsi/53c7,8xx.ccmd->use_sg);
cmd2430drivers/scsi/53c7,8xx.cdataout = 2 * (cmd->use_sg ? cmd->use_sg : 1) + 3;
cmd2448drivers/scsi/53c7,8xx.cdatain = dataout = 2 * (cmd->use_sg ? cmd->use_sg : 1) + 3;
cmd2473drivers/scsi/53c7,8xx.ctmp->cmd = cmd;
cmd2502drivers/scsi/53c7,8xx.cpatch_dsa_32(tmp->dsa, dsa_cmnd, 0, cmd);
cmd2503drivers/scsi/53c7,8xx.cpatch_dsa_32(tmp->dsa, dsa_select, 0, hostdata->sync[cmd->target].
cmd2511drivers/scsi/53c7,8xx.ctmp->select[0] = IDENTIFY (1, cmd->lun);
cmd2513drivers/scsi/53c7,8xx.ctmp->select[0] = IDENTIFY (0, cmd->lun);
cmd2516drivers/scsi/53c7,8xx.cpatch_dsa_32(tmp->dsa, dsa_cmdout, 0, cmd->cmd_len);
cmd2517drivers/scsi/53c7,8xx.cpatch_dsa_32(tmp->dsa, dsa_cmdout, 1, cmd->cmnd);
cmd2529drivers/scsi/53c7,8xx.cpatch_dsa_32(tmp->dsa, dsa_msgin, 1, (((unsigned long) &cmd->result) + 1));
cmd2531drivers/scsi/53c7,8xx.cpatch_dsa_32(tmp->dsa, dsa_status, 1, &cmd->result);
cmd2572drivers/scsi/53c7,8xx.cfor (i = 0; cmd->use_sg ? (i < cmd->use_sg) : !i; cmd_datain += 4, 
cmd2574drivers/scsi/53c7,8xx.cunsigned long buf = (unsigned long) (cmd->use_sg ? 
cmd2575drivers/scsi/53c7,8xx.c((struct scatterlist *)cmd->buffer)[i].address :
cmd2576drivers/scsi/53c7,8xx.ccmd->request_buffer);
cmd2577drivers/scsi/53c7,8xx.cunsigned long count = (unsigned long) (cmd->use_sg ?
cmd2578drivers/scsi/53c7,8xx.c((struct scatterlist *)cmd->buffer)[i].length :
cmd2579drivers/scsi/53c7,8xx.ccmd->request_bufflen);
cmd2669drivers/scsi/53c7,8xx.cint NCR53c7xx_queue_command (Scsi_Cmnd *cmd, void (* done)(Scsi_Cmnd *)) {
cmd2672drivers/scsi/53c7,8xx.cstruct Scsi_Host *host = cmd->host;
cmd2681drivers/scsi/53c7,8xx.c!(hostdata->debug_lun_limit[cmd->target] & (1 << cmd->lun)))) ||
cmd2682drivers/scsi/53c7,8xx.ccmd->target > 7) {
cmd2684drivers/scsi/53c7,8xx.ccmd->target, cmd->lun);
cmd2685drivers/scsi/53c7,8xx.ccmd->result = (DID_BAD_TARGET << 16);
cmd2686drivers/scsi/53c7,8xx.cdone(cmd);
cmd2693drivers/scsi/53c7,8xx.ccmd->result = (DID_BAD_TARGET << 16);
cmd2694drivers/scsi/53c7,8xx.cdone(cmd);
cmd2701drivers/scsi/53c7,8xx.cswitch (cmd->cmnd[0]) {
cmd2706drivers/scsi/53c7,8xx.ccmd->result = (DID_BAD_TARGET << 16);
cmd2707drivers/scsi/53c7,8xx.cdone(cmd);
cmd2712drivers/scsi/53c7,8xx.ccmd->scsi_done = done;
cmd2713drivers/scsi/53c7,8xx.ccmd->result = 0xffff;    /* The NCR will overwrite message
cmd2716drivers/scsi/53c7,8xx.ccmd->host_scribble = (unsigned char *) tmp = create_cmd (cmd);
cmd2753drivers/scsi/53c7,8xx.ctarget_was_busy = hostdata->busy[cmd->target][cmd->lun]
cmd2857drivers/scsi/53c7,8xx.cstatic void intr_scsi (struct Scsi_Host *host, struct NCR53c7x0_cmd *cmd) {
cmd2887drivers/scsi/53c7,8xx.cif (cmd) {
cmd2889drivers/scsi/53c7,8xx.chost->host_no, cmd->cmd->target, cmd->cmd->lun);
cmd2890drivers/scsi/53c7,8xx.cprint_command (cmd->cmd->cmnd);
cmd2910drivers/scsi/53c7,8xx.c} else if (cmd) {
cmd2911drivers/scsi/53c7,8xx.cabnormal_finished(cmd, DID_BAD_TARGET << 16);
cmd2921drivers/scsi/53c7,8xx.cif (cmd) {
cmd2923drivers/scsi/53c7,8xx.chost->host_no, cmd->cmd->target, cmd->cmd->lun);
cmd2924drivers/scsi/53c7,8xx.cabnormal_finished(cmd, DID_ERROR << 16);
cmd2934drivers/scsi/53c7,8xx.cif (cmd && cmd->cmd) {
cmd2936drivers/scsi/53c7,8xx.chost->host_no, cmd->cmd->target, cmd->cmd->lun);
cmd2937drivers/scsi/53c7,8xx.cabnormal_finished (cmd, DID_PARITY << 16); 
cmd2963drivers/scsi/53c7,8xx.cintr_phase_mismatch (host, cmd);
cmd3016drivers/scsi/53c7,8xx.cstruct NCR53c7x0_cmd *cmd,      /* command which halted */
cmd3088drivers/scsi/53c7,8xx.c&(hostdata->running_list), cmd = 
cmd3089drivers/scsi/53c7,8xx.c(struct NCR53c7x0_cmd *) hostdata->running_list; cmd ;
cmd3090drivers/scsi/53c7,8xx.ccmd_prev_ptr = (struct NCR53c7x0_cmd **) &(cmd->next), 
cmd3091drivers/scsi/53c7,8xx.ccmd = (struct NCR53c7x0_cmd *) cmd->next) {
cmd3094drivers/scsi/53c7,8xx.cif (!cmd) {
cmd3099drivers/scsi/53c7,8xx.cif (!(tmp = cmd->cmd)) {
cmd3106drivers/scsi/53c7,8xx.chost->host_no, cmd->cmd->result);
cmd3117drivers/scsi/53c7,8xx.cif (cmd->prev)
cmd3118drivers/scsi/53c7,8xx.ccmd->prev->next = cmd->next;
cmd3120drivers/scsi/53c7,8xx.c*cmd_prev_ptr = (struct NCR53c7x0_cmd *) cmd->next;
cmd3129drivers/scsi/53c7,8xx.ccmd->next = hostdata->free;
cmd3130drivers/scsi/53c7,8xx.chostdata->free = cmd;
cmd3171drivers/scsi/53c7,8xx.ccmd = (struct NCR53c7x0_cmd *) hostdata->current;
cmd3174drivers/scsi/53c7,8xx.cfor (cmd = (struct NCR53c7x0_cmd *) 
cmd3175drivers/scsi/53c7,8xx.chostdata->running_list; cmd &&
cmd3177drivers/scsi/53c7,8xx.ccmd->dsa;
cmd3178drivers/scsi/53c7,8xx.ccmd = (struct NCR53c7x0_cmd *)(cmd->next));
cmd3181drivers/scsi/53c7,8xx.cif (cmd) {
cmd3183drivers/scsi/53c7,8xx.chost->host_no, cmd->cmd->pid, (int) cmd->cmd->target,
cmd3184drivers/scsi/53c7,8xx.c(int) cmd->cmd->lun);
cmd3185drivers/scsi/53c7,8xx.cprint_command (cmd->cmd->cmnd);
cmd3194drivers/scsi/53c7,8xx.cintr_scsi (host, cmd);
cmd3200drivers/scsi/53c7,8xx.cintr_dma (host, cmd);
cmd3305drivers/scsi/53c7,8xx.c*cmd) {
cmd3314drivers/scsi/53c7,8xx.cif (!cmd) {
cmd3375drivers/scsi/53c7,8xx.cif (dsp >= cmd->data_transfer_start & dsp < cmd->data_transfer_end) {
cmd3462drivers/scsi/53c7,8xx.cstatic void intr_dma (struct Scsi_Host *host, struct NCR53c7x0_cmd *cmd) {
cmd3576drivers/scsi/53c7,8xx.c} else if (cmd) 
cmd3577drivers/scsi/53c7,8xx.cabnormal_finished (cmd, DID_BAD_TARGET << 16);
cmd3630drivers/scsi/53c7,8xx.cswitch ((tmp = hostdata->dstat_sir_intr (host, cmd))) {
cmd3643drivers/scsi/53c7,8xx.cintr_break (host, cmd);
cmd3717drivers/scsi/53c7,8xx.cint NCR53c7xx_abort (Scsi_Cmnd *cmd) {
cmd3718drivers/scsi/53c7,8xx.cstruct Scsi_Host *host = cmd->host;
cmd3738drivers/scsi/53c7,8xx.ccurr && curr->cmd != cmd; prev = (struct NCR53c7x0_cmd **)
cmd3750drivers/scsi/53c7,8xx.ccmd->result = 0;
cmd3751drivers/scsi/53c7,8xx.ccmd->scsi_done(cmd);
cmd3763drivers/scsi/53c7,8xx.ccurr && curr->cmd != cmd; prev = (struct NCR53c7x0_cmd **) 
cmd3769drivers/scsi/53c7,8xx.ccmd->host->host_no);
cmd3779drivers/scsi/53c7,8xx.ccurr = (struct NCR53c7x0_cmd *) cmd->host_scribble;
cmd3783drivers/scsi/53c7,8xx.cif (((cmd->result & 0xff00) == 0xff00) ||
cmd3784drivers/scsi/53c7,8xx.c((cmd->result & 0xff) == 0xff)) {
cmd3790drivers/scsi/53c7,8xx.ccmd->scsi_done(cmd);
cmd3807drivers/scsi/53c7,8xx.cNCR53c7xx_reset (Scsi_Cmnd *cmd) {
cmd3813drivers/scsi/53c7,8xx.cstruct Scsi_Host *host = cmd->host;
cmd3824drivers/scsi/53c7,8xx.ctmp = c->cmd;
cmd3828drivers/scsi/53c7,8xx.cif (tmp == cmd)
cmd3834drivers/scsi/53c7,8xx.cc = (struct NCR53c7x0_cmd *) cmd->host_scribble;
cmd3839drivers/scsi/53c7,8xx.ccmd->result = DID_RESET << 16;
cmd3840drivers/scsi/53c7,8xx.ccmd->scsi_done(cmd);
cmd3845drivers/scsi/53c7,8xx.ccmd->host->host_no);
cmd945drivers/scsi/53c7,8xx.hScsi_Cmnd *cmd;      /* Associated Scsi_Cmnd 
cmd1079drivers/scsi/53c7,8xx.hvoid (* dsa_fixup)(struct NCR53c7x0_cmd *cmd);
cmd1089drivers/scsi/53c7,8xx.hint (* dstat_sir_intr)(struct Scsi_Host *host, struct NCR53c7x0_cmd *cmd);
cmd299drivers/scsi/NCR5380.cstatic __inline__ void initialize_SCp(Scsi_Cmnd *cmd) {
cmd305drivers/scsi/NCR5380.cif (cmd->use_sg) {
cmd306drivers/scsi/NCR5380.ccmd->SCp.buffer = (struct scatterlist *) cmd->buffer;
cmd307drivers/scsi/NCR5380.ccmd->SCp.buffers_residual = cmd->use_sg - 1;
cmd308drivers/scsi/NCR5380.ccmd->SCp.ptr = (char *) cmd->SCp.buffer->address;
cmd309drivers/scsi/NCR5380.ccmd->SCp.this_residual = cmd->SCp.buffer->length;
cmd311drivers/scsi/NCR5380.ccmd->SCp.buffer = NULL;
cmd312drivers/scsi/NCR5380.ccmd->SCp.buffers_residual = 0;
cmd313drivers/scsi/NCR5380.ccmd->SCp.ptr = (char *) cmd->request_buffer;
cmd314drivers/scsi/NCR5380.ccmd->SCp.this_residual = cmd->request_bufflen;
cmd499drivers/scsi/NCR5380.cstatic int should_disconnect (unsigned char cmd) {
cmd500drivers/scsi/NCR5380.cswitch (cmd) {
cmd848drivers/scsi/NCR5380.cint NCR5380_queue_command (Scsi_Cmnd *cmd, void (*done)(Scsi_Cmnd *)) {
cmd850drivers/scsi/NCR5380.ccmd->host->hostdata;
cmd854drivers/scsi/NCR5380.cswitch (cmd->cmnd[0]) {
cmd859drivers/scsi/NCR5380.ccmd->result = (DID_ERROR << 16);
cmd860drivers/scsi/NCR5380.cdone(cmd);
cmd871drivers/scsi/NCR5380.ccmd->host_scribble = NULL;
cmd872drivers/scsi/NCR5380.ccmd->scsi_done = done;
cmd874drivers/scsi/NCR5380.ccmd->result = 0;
cmd885drivers/scsi/NCR5380.cif (!(hostdata->issue_queue) || (cmd->cmnd[0] == REQUEST_SENSE)) {
cmd886drivers/scsi/NCR5380.ccmd->host_scribble = (unsigned char *) hostdata->issue_queue;
cmd887drivers/scsi/NCR5380.chostdata->issue_queue = cmd;
cmd891drivers/scsi/NCR5380.ctmp->host_scribble = (unsigned char *) cmd;
cmd895drivers/scsi/NCR5380.c(cmd->cmnd[0] == REQUEST_SENSE) ? "head" : "tail");
cmd1165drivers/scsi/NCR5380.cstatic int NCR5380_select (struct Scsi_Host *instance, Scsi_Cmnd *cmd,
cmd1279drivers/scsi/NCR5380.cNCR5380_write(OUTPUT_DATA_REG, (hostdata->id_mask | (1 << cmd->target)));
cmd1318drivers/scsi/NCR5380.cprintk("scsi%d : selecting target %d\n", instance->host_no, cmd->target);
cmd1351drivers/scsi/NCR5380.cif (hostdata->targets_present & (1 << cmd->target)) {
cmd1361drivers/scsi/NCR5380.ccmd->result = DID_BAD_TARGET << 16;
cmd1362drivers/scsi/NCR5380.ccmd->scsi_done(cmd);
cmd1372drivers/scsi/NCR5380.chostdata->targets_present |= (1 << cmd->target);
cmd1394drivers/scsi/NCR5380.cinstance->host_no, cmd->target);
cmd1396drivers/scsi/NCR5380.ctmp[0] = IDENTIFY(((instance->irq == IRQ_NONE) ? 0 : 1), cmd->lun);
cmd1398drivers/scsi/NCR5380.cif (cmd->device->tagged_queue && (tag != TAG_NONE)) {
cmd1402drivers/scsi/NCR5380.cif (cmd->device->current_tag == 0)
cmd1403drivers/scsi/NCR5380.ccmd->device->current_tag = 1;
cmd1405drivers/scsi/NCR5380.ccmd->tag = cmd->device->current_tag;
cmd1406drivers/scsi/NCR5380.ccmd->device->current_tag++;
cmd1408drivers/scsi/NCR5380.ccmd->tag = (unsigned char) tag;
cmd1410drivers/scsi/NCR5380.ctmp[2] = cmd->tag;
cmd1417drivers/scsi/NCR5380.ccmd->tag=0;
cmd1428drivers/scsi/NCR5380.chostdata->connected = cmd;
cmd1430drivers/scsi/NCR5380.cif (!cmd->device->tagged_queue)
cmd1432drivers/scsi/NCR5380.chostdata->busy[cmd->target] |= (1 << cmd->lun);
cmd1434drivers/scsi/NCR5380.cinitialize_SCp(cmd);
cmd1922drivers/scsi/NCR5380.cScsi_Cmnd *cmd = (Scsi_Cmnd *) hostdata->connected;
cmd1965drivers/scsi/NCR5380.cif (!cmd->SCp.this_residual && cmd->SCp.buffers_residual) {
cmd1966drivers/scsi/NCR5380.c++cmd->SCp.buffer;
cmd1967drivers/scsi/NCR5380.c--cmd->SCp.buffers_residual;
cmd1968drivers/scsi/NCR5380.ccmd->SCp.this_residual = cmd->SCp.buffer->length;
cmd1969drivers/scsi/NCR5380.ccmd->SCp.ptr = cmd->SCp.buffer->address;
cmd1972drivers/scsi/NCR5380.cinstance->host_no, cmd->SCp.this_residual,
cmd1973drivers/scsi/NCR5380.ccmd->SCp.buffers_residual);
cmd1989drivers/scsi/NCR5380.cif (!cmd->device->borken &&
cmd1990drivers/scsi/NCR5380.c(transfersize = NCR5380_dma_xfer_len(instance, cmd)) != 0) {
cmd1992drivers/scsi/NCR5380.ctransfersize = cmd->transfersize;
cmd1999drivers/scsi/NCR5380.cif (!cmd->device->borken && transfersize && 
cmd2000drivers/scsi/NCR5380.ccmd->SCp.this_residual && !(cmd->SCp.this_residual % 
cmd2005drivers/scsi/NCR5380.c&len, (unsigned char **) &cmd->SCp.ptr)) {
cmd2011drivers/scsi/NCR5380.cinstance->host_no, cmd->target, cmd->lun);
cmd2012drivers/scsi/NCR5380.ccmd->device->borken = 1;
cmd2019drivers/scsi/NCR5380.ccmd->SCp.this_residual -= transfersize - len;
cmd2023drivers/scsi/NCR5380.c(int *) &cmd->SCp.this_residual, (unsigned char **)
cmd2024drivers/scsi/NCR5380.c&cmd->SCp.ptr);
cmd2030drivers/scsi/NCR5380.ccmd->SCp.Message = tmp;
cmd2051drivers/scsi/NCR5380.cinstance->host_no, cmd->target, cmd->lun);
cmd2059drivers/scsi/NCR5380.cif (!cmd->next_link) {
cmd2061drivers/scsi/NCR5380.cinstance->host_no, cmd->target, cmd->lun);
cmd2069drivers/scsi/NCR5380.cinitialize_SCp(cmd->next_link);
cmd2071drivers/scsi/NCR5380.ccmd->next_link->tag = cmd->tag;
cmd2072drivers/scsi/NCR5380.ccmd->result = cmd->SCp.Status | (cmd->SCp.Message << 8); 
cmd2075drivers/scsi/NCR5380.cinstance->host_no, cmd->target, cmd->lun);
cmd2077drivers/scsi/NCR5380.ccmd->scsi_done(cmd);
cmd2078drivers/scsi/NCR5380.ccmd = hostdata->connected;
cmd2088drivers/scsi/NCR5380.cinstance->host_no, cmd->target, cmd->lun);
cmd2090drivers/scsi/NCR5380.chostdata->busy[cmd->target] &= ~(1 << cmd->lun);
cmd2108drivers/scsi/NCR5380.cif (cmd->cmnd[0] != REQUEST_SENSE) 
cmd2109drivers/scsi/NCR5380.ccmd->result = cmd->SCp.Status | (cmd->SCp.Message << 8); 
cmd2110drivers/scsi/NCR5380.celse if (cmd->SCp.Status != GOOD)
cmd2111drivers/scsi/NCR5380.ccmd->result = (cmd->result & 0x00ffff) | (DID_ERROR << 16);
cmd2114drivers/scsi/NCR5380.cif ((cmd->cmnd[0] != REQUEST_SENSE) && 
cmd2115drivers/scsi/NCR5380.c(cmd->SCp.Status == CHECK_CONDITION)) {
cmd2120drivers/scsi/NCR5380.ccmd->cmnd[0] = REQUEST_SENSE;
cmd2121drivers/scsi/NCR5380.ccmd->cmnd[1] &= 0xe0;
cmd2122drivers/scsi/NCR5380.ccmd->cmnd[2] = 0;
cmd2123drivers/scsi/NCR5380.ccmd->cmnd[3] = 0;
cmd2124drivers/scsi/NCR5380.ccmd->cmnd[4] = sizeof(cmd->sense_buffer);
cmd2125drivers/scsi/NCR5380.ccmd->cmnd[5] = 0;
cmd2127drivers/scsi/NCR5380.ccmd->SCp.buffer = NULL;
cmd2128drivers/scsi/NCR5380.ccmd->SCp.buffers_residual = 0;
cmd2129drivers/scsi/NCR5380.ccmd->SCp.ptr = (char *) cmd->sense_buffer;
cmd2130drivers/scsi/NCR5380.ccmd->SCp.this_residual = sizeof(cmd->sense_buffer);
cmd2133drivers/scsi/NCR5380.ccmd->host_scribble = (unsigned char *) 
cmd2135drivers/scsi/NCR5380.chostdata->issue_queue = (Scsi_Cmnd *) cmd;
cmd2142drivers/scsi/NCR5380.ccmd->scsi_done(cmd);
cmd2161drivers/scsi/NCR5380.ccmd->device->tagged_queue = 0;
cmd2162drivers/scsi/NCR5380.chostdata->busy[cmd->target] |= (1 << cmd->lun);
cmd2170drivers/scsi/NCR5380.ccmd->device->disconnect = 1;
cmd2172drivers/scsi/NCR5380.ccmd->host_scribble = (unsigned char *) 
cmd2175drivers/scsi/NCR5380.chostdata->disconnected_queue = cmd;
cmd2180drivers/scsi/NCR5380.ccmd->target, cmd->lun);
cmd2286drivers/scsi/NCR5380.cinstance->host_no, tmp, cmd->target, cmd->lun);
cmd2289drivers/scsi/NCR5380.cinstance->host_no, extended_msg[1], extended_msg[0], cmd->target, cmd->lun);
cmd2303drivers/scsi/NCR5380.chostdata->busy[cmd->target] &= ~(1 << cmd->lun);
cmd2305drivers/scsi/NCR5380.ccmd->result = DID_ERROR << 16;
cmd2306drivers/scsi/NCR5380.ccmd->scsi_done(cmd);
cmd2313drivers/scsi/NCR5380.clen = cmd->cmd_len;
cmd2314drivers/scsi/NCR5380.cdata = cmd->cmnd;
cmd2323drivers/scsi/NCR5380.cif (!disconnect && should_disconnect(cmd->cmnd[0])) {
cmd2338drivers/scsi/NCR5380.ccmd->SCp.Status = tmp;
cmd2573drivers/scsi/NCR5380.cint NCR5380_abort (Scsi_Cmnd *cmd) {
cmd2575drivers/scsi/NCR5380.cstruct Scsi_Host *instance = cmd->host;
cmd2583drivers/scsi/NCR5380.cprint_Scsi_Cmnd (cmd);
cmd2603drivers/scsi/NCR5380.cif (hostdata->connected == cmd) {
cmd2637drivers/scsi/NCR5380.cif (cmd == tmp) {
cmd2696drivers/scsi/NCR5380.cif (cmd == tmp) {
cmd2702drivers/scsi/NCR5380.cif (NCR5380_select (instance, cmd, (int) cmd->tag)) 
cmd2721drivers/scsi/NCR5380.cif (cmd == tmp) {
cmd2760drivers/scsi/NCR5380.cint NCR5380_reset (Scsi_Cmnd *cmd) {
cmd2762drivers/scsi/NCR5380.cNCR5380_setup(cmd->host);
cmd2764drivers/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);
cmd510drivers/scsi/aha1542.cunchar *cmd = (unchar *) SCpnt->cmnd;
cmd529drivers/scsi/aha1542.cif(*cmd == REQUEST_SENSE){
cmd541drivers/scsi/aha1542.cif (*cmd == READ_10 || *cmd == WRITE_10)
cmd542drivers/scsi/aha1542.ci = xscsi2int(cmd+2);
cmd543drivers/scsi/aha1542.celse if (*cmd == READ_6 || *cmd == WRITE_6)
cmd544drivers/scsi/aha1542.ci = scsi2int(cmd+2);
cmd548drivers/scsi/aha1542.cprintk("aha1542_queuecommand: dev %d cmd %02x pos %d len %d ", target, *cmd, i, bufflen);
cmd550drivers/scsi/aha1542.cprintk("aha1542_command: dev %d cmd %02x pos %d len %d ", target, *cmd, i, bufflen);
cmd553drivers/scsi/aha1542.cfor (i = 0; i < SCpnt->cmd_len; i++) printk("%02x ", cmd[i]);
cmd555drivers/scsi/aha1542.cif (*cmd == WRITE_10 || *cmd == WRITE_6)
cmd593drivers/scsi/aha1542.cif (*cmd == READ_10 || *cmd == READ_6)
cmd595drivers/scsi/aha1542.celse if (*cmd == WRITE_10 || *cmd == WRITE_6)
cmd598drivers/scsi/aha1542.cmemcpy(ccb[mbo].cdb, cmd, ccb[mbo].cdblen);
cmd696drivers/scsi/aha1542.cunchar cmd[5] = {CMD_MBINIT, AHA1542_MAILBOXES, 0, 0, 0};
cmd706drivers/scsi/aha1542.cany2scsi((cmd+2), mb);
cmd707drivers/scsi/aha1542.caha1542_out(bse, cmd, 5);
cmd1029drivers/scsi/aha1542.cstatic unchar cmd[] = {  READ_CAPACITY, 0, 0, 0, 0, 0, 0, 0, 0, 0};
cmd1034drivers/scsi/aha1542.cif (!aha1542_command(i, cmd, buf, sizeof(buf))) {
cmd1044drivers/scsi/aha1542.cunsigned char cmd[10];
cmd1047drivers/scsi/aha1542.ccmd[0] = READ_10;
cmd1048drivers/scsi/aha1542.ccmd[1] = 0;
cmd1049drivers/scsi/aha1542.cxany2scsi(cmd+2, i);
cmd1050drivers/scsi/aha1542.ccmd[6] = 0;
cmd1051drivers/scsi/aha1542.ccmd[7] = 0;
cmd1052drivers/scsi/aha1542.ccmd[8] = 1;
cmd1053drivers/scsi/aha1542.ccmd[9] = 0;
cmd1054drivers/scsi/aha1542.caha1542_command(0, cmd, buffer, 512);
cmd248drivers/scsi/aha1740.cunchar *cmd = (unchar *) SCpnt->cmnd;
cmd257drivers/scsi/aha1740.cif(*cmd == REQUEST_SENSE)
cmd269drivers/scsi/aha1740.cif (*cmd == READ_10 || *cmd == WRITE_10)
cmd270drivers/scsi/aha1740.ci = xscsi2int(cmd+2);
cmd271drivers/scsi/aha1740.celse if (*cmd == READ_6 || *cmd == WRITE_6)
cmd272drivers/scsi/aha1740.ci = scsi2int(cmd+2);
cmd275drivers/scsi/aha1740.cprintk("aha1740_queuecommand: dev %d cmd %02x pos %d len %d ", target, *cmd, i, bufflen);
cmd277drivers/scsi/aha1740.cfor (i = 0; i < SCpnt->cmd_len; i++) printk("%02x ", cmd[i]);
cmd310drivers/scsi/aha1740.cif (*cmd == READ_10 || *cmd == READ_6)
cmd312drivers/scsi/aha1740.celse if (*cmd == WRITE_10 || *cmd == WRITE_6)
cmd315drivers/scsi/aha1740.cmemcpy(ecb[ecbno].cdb, cmd, ecb[ecbno].cdblen);
cmd129drivers/scsi/aha274x.c#define aha274x_parity(cmd)  ((cmd)->SCp.Status)
cmd360drivers/scsi/aha274x.cunsigned aha274x_length(Scsi_Cmnd *cmd, int sg_last)
cmd366drivers/scsi/aha274x.csegments = cmd->use_sg - sg_last;
cmd367drivers/scsi/aha274x.csg = (struct scatterlist *)cmd->buffer;
cmd369drivers/scsi/aha274x.cif (cmd->use_sg) {
cmd371drivers/scsi/aha274x.ci < cmd->use_sg && i < segments;
cmd377drivers/scsi/aha274x.clength = cmd->request_bufflen;
cmd383drivers/scsi/aha274x.cvoid aha274x_sg_check(Scsi_Cmnd *cmd)
cmd386drivers/scsi/aha274x.cstruct scatterlist *sg = (struct scatterlist *)cmd->buffer;
cmd388drivers/scsi/aha274x.cif (cmd->use_sg) {
cmd389drivers/scsi/aha274x.cfor (i = 0; i < cmd->use_sg; i++)
cmd495drivers/scsi/aha274x.cScsi_Cmnd *cmd;
cmd497drivers/scsi/aha274x.ccmd = (Scsi_Cmnd *)p->SCB_array[scbptr];
cmd498drivers/scsi/aha274x.cif (!cmd) {
cmd525drivers/scsi/aha274x.ccmd->result = DID_TIME_OUT << 16;
cmd552drivers/scsi/aha274x.ccmd->scsi_done(cmd);
cmd561drivers/scsi/aha274x.ccmd->target,
cmd562drivers/scsi/aha274x.ccmd->lun);
cmd563drivers/scsi/aha274x.caha274x_parity(cmd) = DID_PARITY;
cmd591drivers/scsi/aha274x.cScsi_Cmnd *cmd;
cmd601drivers/scsi/aha274x.ccmd = (Scsi_Cmnd *)p->SCB_array[complete];
cmd602drivers/scsi/aha274x.cif (!cmd) {
cmd629drivers/scsi/aha274x.ccmd->result = scb.target_status |
cmd630drivers/scsi/aha274x.c(aha274x_parity(cmd) << 16);
cmd638drivers/scsi/aha274x.cactual = aha274x_length(cmd,
cmd645drivers/scsi/aha274x.cif (actual < cmd->underflow) {
cmd648drivers/scsi/aha274x.ccmd->target, cmd->underflow, actual);
cmd650drivers/scsi/aha274x.ccmd->result = scb.target_status |
cmd654drivers/scsi/aha274x.ccmd->scsi_done(cmd);
cmd1048drivers/scsi/aha274x.cint aha274x_command(Scsi_Cmnd *cmd)
cmd1060drivers/scsi/aha274x.cScsi_Cmnd *cmd,
cmd1071drivers/scsi/aha274x.cscb->target_channel_lun = ((cmd->target << 4) & 0xf0) |
cmd1072drivers/scsi/aha274x.c(cmd->lun & 0x7);
cmd1084drivers/scsi/aha274x.clength = aha274x_length(cmd, 0);
cmd1092drivers/scsi/aha274x.caha274x_sg_check(cmd);
cmd1102drivers/scsi/aha274x.caddr = cmd->cmnd;
cmd1103drivers/scsi/aha274x.cscb->SCSI_cmd_length = cmd->cmd_len;
cmd1106drivers/scsi/aha274x.cif (cmd->use_sg) {
cmd1109drivers/scsi/aha274x.ccmd->use_sg,
cmd1112drivers/scsi/aha274x.cscb->SG_segment_count = cmd->use_sg;
cmd1114drivers/scsi/aha274x.c&cmd->request_buffer,
cmd1119drivers/scsi/aha274x.c&cmd->request_buffer,
cmd1122drivers/scsi/aha274x.c&cmd->request_bufflen,
cmd1148drivers/scsi/aha274x.cint aha274x_queue(Scsi_Cmnd *cmd, void (*fn)(Scsi_Cmnd *))
cmd1157drivers/scsi/aha274x.ccmd->cmnd[0],
cmd1158drivers/scsi/aha274x.ccmd->cmd_len,
cmd1159drivers/scsi/aha274x.ccmd->target,
cmd1160drivers/scsi/aha274x.ccmd->lun);
cmd1163drivers/scsi/aha274x.cp = (struct aha274x_host *)cmd->host->hostdata;
cmd1169drivers/scsi/aha274x.caha274x_buildscb(p, cmd, &scb);
cmd1226drivers/scsi/aha274x.ccmd->scsi_done = fn;
cmd1227drivers/scsi/aha274x.cp->SCB_array[empty] = cmd;
cmd1228drivers/scsi/aha274x.caha274x_parity(cmd) = DID_OK;
cmd1263drivers/scsi/aha274x.cenum k_state aha274x_kill(Scsi_Cmnd *cmd, unsigned char message,
cmd1270drivers/scsi/aha274x.cp = (struct aha274x_host *)cmd->host->hostdata;
cmd1277drivers/scsi/aha274x.cif (p->SCB_array[scb] == cmd)
cmd1353drivers/scsi/aha274x.ccmd->result = result << 16;
cmd1354drivers/scsi/aha274x.ccmd->scsi_done(cmd);
cmd1358drivers/scsi/aha274x.cint aha274x_abort(Scsi_Cmnd *cmd)
cmd1366drivers/scsi/aha274x.cswitch (aha274x_kill(cmd, ABORT, DID_ABORT, !0)) {
cmd1386drivers/scsi/aha274x.cint aha274x_reset(Scsi_Cmnd *cmd)
cmd1393drivers/scsi/aha274x.cp = (struct aha274x_host *)cmd->host->hostdata;
cmd1397drivers/scsi/aha274x.cswitch (aha274x_kill(cmd, BUS_DEVICE_RESET, DID_RESET, 0)) {
cmd1406drivers/scsi/aha274x.coutb((1 << cmd->target), HA_NEEDSDTR(p->base));
cmd1447drivers/scsi/aha274x.cif (cmd == p->SCB_array[i]) {
cmd572drivers/scsi/buslogic.cunsigned char *cmd = (unsigned char *)scpnt->cmnd;
cmd592drivers/scsi/buslogic.cif (*cmd == REQUEST_SENSE) {
cmd609drivers/scsi/buslogic.cif (*cmd == READ_10 || *cmd == WRITE_10
cmd610drivers/scsi/buslogic.c|| *cmd == READ_6 || *cmd == WRITE_6)
cmd611drivers/scsi/buslogic.ci = *(int *)(cmd + 2);
cmd615drivers/scsi/buslogic.ctarget, *cmd, i, bufflen);
cmd619drivers/scsi/buslogic.cprintk(" %02X", cmd[i]);
cmd621drivers/scsi/buslogic.cif (*cmd == WRITE_10 || *cmd == WRITE_6)
cmd676drivers/scsi/buslogic.cif (*cmd == READ_10 || *cmd == READ_6)
cmd678drivers/scsi/buslogic.celse if (*cmd == WRITE_10 || *cmd == WRITE_6)
cmd681drivers/scsi/buslogic.cmemcpy(ccb->cdb, cmd, ccb->cdblen);
cmd804drivers/scsi/buslogic.cunsigned char cmd, count;
cmd806drivers/scsi/buslogic.c} cmd = { CMD_INITEXTMB, BUSLOGIC_MAILBOXES, mb };
cmd814drivers/scsi/buslogic.cif (buslogic_out(base, (unsigned char *)&cmd, sizeof cmd))
cmd1278drivers/scsi/buslogic.cunsigned char cmd[]
cmd1288drivers/scsi/buslogic.cif (!buslogic_command(i, cmd, buf, sizeof buf)) {
cmd1299drivers/scsi/buslogic.ccmd[0] = READ_10;
cmd1300drivers/scsi/buslogic.ccmd[1] = 0;
cmd1301drivers/scsi/buslogic.cxany2scsi(cmd + 2, i);
cmd1302drivers/scsi/buslogic.ccmd[6] = 0;
cmd1303drivers/scsi/buslogic.ccmd[7] = 0;
cmd1304drivers/scsi/buslogic.ccmd[8] = 1;
cmd1305drivers/scsi/buslogic.ccmd[9] = 0;
cmd1306drivers/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);
cmd327drivers/scsi/eata.cstatic inline unchar do_dma (ushort iobase, unsigned int addr, unchar cmd) {
cmd338drivers/scsi/eata.coutb(cmd, iobase + REG_CMD);
cmd146drivers/scsi/eata_dma.cScsi_Cmnd *cmd;
cmd168drivers/scsi/eata_dma.ccmd = cp->cmd;
cmd169drivers/scsi/eata_dma.cbase = (uint) cmd->host->base;
cmd198drivers/scsi/eata_dma.cirq, base, cmd->pid, cmd->target, cmd->lun, 
cmd204drivers/scsi/eata_dma.c&& cmd->device->type == TYPE_DISK
cmd205drivers/scsi/eata_dma.c&& (HD(cmd)->t_state[cmd->target] == RESET))
cmd208drivers/scsi/eata_dma.cHD(cmd)->t_state[cmd->target] = FALSE;
cmd210drivers/scsi/eata_dma.c&& cmd->device->type == TYPE_DISK
cmd211drivers/scsi/eata_dma.c&& (cmd->sense_buffer[2] & 0xf) == RECOVERED_ERROR)
cmd215drivers/scsi/eata_dma.cHD(cmd)->t_timeout[cmd->target] = FALSE;
cmd221drivers/scsi/eata_dma.cif (HD(cmd)->t_timeout[cmd->target] > 1)
cmd225drivers/scsi/eata_dma.cHD(cmd)->t_timeout[cmd->target]++;
cmd230drivers/scsi/eata_dma.cif (cmd->device->type != TYPE_TAPE)
cmd236drivers/scsi/eata_dma.cHD(cmd)->t_state[i] = RESET;
cmd250drivers/scsi/eata_dma.ccmd->result = result | (scsi_stat << 1); 
cmd256drivers/scsi/eata_dma.cscsi_stat,cmd->sense_buffer[2] & 0xf, cmd->result); 
cmd263drivers/scsi/eata_dma.cif(cmd->scsi_done != eata_scsi_done) cmd->scsi_done(cmd);
cmd292drivers/scsi/eata_dma.cint eata_queue(Scsi_Cmnd * cmd, void *(done) (Scsi_Cmnd *))
cmd311drivers/scsi/eata_dma.ccmd->result = (DID_ERROR << 16) + QUEUE_FULL;
cmd314drivers/scsi/eata_dma.chd = HD(cmd);
cmd315drivers/scsi/eata_dma.csh = cmd->host;
cmd345drivers/scsi/eata_dma.ccmd->pid, cmd->target, cmd->lun, y));
cmd348drivers/scsi/eata_dma.ccmd->scsi_done = (void *)done;
cmd350drivers/scsi/eata_dma.cswitch (cmd->cmnd[0]) {
cmd372drivers/scsi/eata_dma.cif (cmd->use_sg) {
cmd375drivers/scsi/eata_dma.ccp->cp_datalen = htonl(cmd->use_sg*8);
cmd376drivers/scsi/eata_dma.csl=(struct scatterlist *)cmd->request_buffer;
cmd378drivers/scsi/eata_dma.cfor(i = 0; i < cmd->use_sg; i++, sl++){
cmd384drivers/scsi/eata_dma.ccp->cp_datalen = htonl(cmd->request_bufflen);
cmd385drivers/scsi/eata_dma.ccp->cp_dataDMA = htonl((ulong)cmd->request_buffer);
cmd389drivers/scsi/eata_dma.ccp->cp_reqDMA = htonl((ulong) cmd->sense_buffer);
cmd390drivers/scsi/eata_dma.ccp->reqlen = sizeof(cmd->sense_buffer);
cmd392drivers/scsi/eata_dma.ccp->cp_id = cmd->target;
cmd393drivers/scsi/eata_dma.ccp->cp_lun = cmd->lun;
cmd396drivers/scsi/eata_dma.cmemcpy(cp->cp_cdb, cmd->cmnd, cmd->cmd_len);
cmd401drivers/scsi/eata_dma.ccp->cmd = cmd;
cmd402drivers/scsi/eata_dma.ccmd->host_scribble = (char *)&hd->ccb[y];  
cmd405drivers/scsi/eata_dma.ccmd->result = DID_ERROR << 16;
cmd407drivers/scsi/eata_dma.ccmd->target, cmd->pid);
cmd409drivers/scsi/eata_dma.cif(done != (void *)eata_scsi_done) done(cmd);
cmd413drivers/scsi/eata_dma.c(long)sh->base, cmd->pid, cmd->target, cmd->lun, y, sh->irq));
cmd422drivers/scsi/eata_dma.cstatic void internal_done(Scsi_Cmnd * cmd)
cmd424drivers/scsi/eata_dma.cinternal_done_errcode = cmd->result;
cmd428drivers/scsi/eata_dma.cint eata_command(Scsi_Cmnd * cmd)
cmd433drivers/scsi/eata_dma.ceata_queue(cmd, (void *)internal_done);
cmd440drivers/scsi/eata_dma.cint eata_abort(Scsi_Cmnd * cmd)
cmd449drivers/scsi/eata_dma.ccmd->pid, cmd->target, cmd->lun, cmd->abort_reason));
cmd453drivers/scsi/eata_dma.cwhile (inb((uint)(cmd->host->base) + HA_RAUXSTAT) & HA_ABUSY)
cmd460drivers/scsi/eata_dma.cif (CD(cmd)->status == FREE) {
cmd465drivers/scsi/eata_dma.cif (CD(cmd)->status == USED) {
cmd470drivers/scsi/eata_dma.cif (CD(cmd)->status == RESET) {
cmd476drivers/scsi/eata_dma.cif (CD(cmd)->status == LOCKED) {
cmd485drivers/scsi/eata_dma.cint eata_reset(Scsi_Cmnd * cmd)
cmd497drivers/scsi/eata_dma.ccmd->pid, cmd->target, cmd->lun, cmd->abort_reason));
cmd500drivers/scsi/eata_dma.cif (HD(cmd)->state == RESET) {
cmd507drivers/scsi/eata_dma.cwhile (inb((uint)(cmd->host->base) + HA_RAUXSTAT) & HA_ABUSY)
cmd515drivers/scsi/eata_dma.cHD(cmd)->t_state[z] = RESET;
cmd516drivers/scsi/eata_dma.cHD(cmd)->t_timeout[z] = FALSE;
cmd519drivers/scsi/eata_dma.cfor (x = 0; x < cmd->host->can_queue; x++) {
cmd521drivers/scsi/eata_dma.cif (HD(cmd)->ccb[x].status == FREE)
cmd524drivers/scsi/eata_dma.cif (HD(cmd)->ccb[x].status == LOCKED) {
cmd525drivers/scsi/eata_dma.cHD(cmd)->ccb[x].status = FREE;
cmd530drivers/scsi/eata_dma.csp = HD(cmd)->ccb[x].cmd;
cmd531drivers/scsi/eata_dma.cHD(cmd)->ccb[x].status = RESET;
cmd539drivers/scsi/eata_dma.cif (sp == cmd)
cmd544drivers/scsi/eata_dma.cinb((uint) (cmd->host->base) + HA_RSTATUS);  /* This might cause trouble */
cmd545drivers/scsi/eata_dma.ceata_send_command(0, (uint) cmd->host->base, EATA_CMD_RESET);
cmd548drivers/scsi/eata_dma.cHD(cmd)->state = RESET;
cmd561drivers/scsi/eata_dma.cfor (x = 0; x < cmd->host->can_queue; x++) {
cmd564drivers/scsi/eata_dma.cif (HD(cmd)->ccb[x].status != RESET)
cmd567drivers/scsi/eata_dma.csp = HD(cmd)->ccb[x].cmd;
cmd571drivers/scsi/eata_dma.cHD(cmd)->ccb[x].status = LOCKED;
cmd581drivers/scsi/eata_dma.cHD(cmd)->state = FALSE;
cmd158drivers/scsi/eata_dma.h#define HD(cmd)  ((hostdata *)&(cmd->host->hostdata))
cmd159drivers/scsi/eata_dma.h#define CD(cmd)  ((struct eata_ccb *)(cmd->host_scribble))
cmd355drivers/scsi/eata_dma.hScsi_Cmnd *cmd;             /* address of cmd                 */
cmd412drivers/scsi/in2000.cunchar *cmd = (unchar *) SCpnt->cmnd;
cmd427drivers/scsi/in2000.cif ( *cmd == TEST_UNIT_READY )
cmd433drivers/scsi/in2000.cif (*cmd == READ_10 || *cmd == WRITE_10) {
cmd434drivers/scsi/in2000.ci = xscsi2int((cmd+1));
cmd435drivers/scsi/in2000.c} else if (*cmd == READ_6 || *cmd == WRITE_6) {
cmd436drivers/scsi/in2000.ci = scsi2int((cmd+1));
cmd443drivers/scsi/in2000.cfor (i = 0; i < SCpnt->cmd_len; i++) printk("%02x ", cmd[i]);
cmd447drivers/scsi/in2000.cif (*cmd == WRITE_10 || *cmd == WRITE_6)
cmd511drivers/scsi/in2000.coutb(cmd[loop],INDATA);
cmd291drivers/scsi/qlogic.cstatic void  ql_icmd(Scsi_Cmnd * cmd)
cmd325drivers/scsi/qlogic.coutb(cmd->target, qbase + 4);
cmd327drivers/scsi/qlogic.cfor (i = 0; i < cmd->cmd_len; i++)
cmd328drivers/scsi/qlogic.coutb(cmd->cmnd[i], qbase + 2);
cmd329drivers/scsi/qlogic.cqlcmd = cmd;
cmd335drivers/scsi/qlogic.cstatic unsigned int  ql_pcmd(Scsi_Cmnd * cmd)
cmd372drivers/scsi/qlogic.creqlen = cmd->request_bufflen;
cmd382drivers/scsi/qlogic.cif (!cmd->use_sg)
cmd383drivers/scsi/qlogic.cql_pdma(phase, cmd->request_buffer, cmd->request_bufflen);
cmd385drivers/scsi/qlogic.csgcount = cmd->use_sg;
cmd386drivers/scsi/qlogic.csglist = cmd->request_buffer;
cmd470drivers/scsi/qlogic.cstatic void  qlidone(Scsi_Cmnd * cmd) {};    /* null function */
cmd474drivers/scsi/qlogic.cint  qlogic_command(Scsi_Cmnd * cmd)
cmd479drivers/scsi/qlogic.cqlogic_queuecommand(cmd, qlidone);
cmd481drivers/scsi/qlogic.creturn cmd->result;
cmd485drivers/scsi/qlogic.cif (cmd->target == qinitid)
cmd487drivers/scsi/qlogic.cql_icmd(cmd);
cmd490drivers/scsi/qlogic.creturn ql_pcmd(cmd);
cmd497drivers/scsi/qlogic.cint  qlogic_queuecommand(Scsi_Cmnd * cmd, void (*done) (Scsi_Cmnd *))
cmd499drivers/scsi/qlogic.cif(cmd->target == qinitid) {
cmd500drivers/scsi/qlogic.ccmd->result = DID_BAD_TARGET << 16;
cmd501drivers/scsi/qlogic.cdone(cmd);
cmd505drivers/scsi/qlogic.ccmd->scsi_done = done;
cmd509drivers/scsi/qlogic.cql_icmd(cmd);
cmd513drivers/scsi/qlogic.cint  qlogic_queuecommand(Scsi_Cmnd * cmd, void (*done) (Scsi_Cmnd *))
cmd644drivers/scsi/qlogic.cint  qlogic_abort(Scsi_Cmnd * cmd)
cmd653drivers/scsi/qlogic.cint  qlogic_reset(Scsi_Cmnd * cmd)
cmd2538drivers/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;
cmd182drivers/scsi/scsi_debug.cswitch(*cmd){
cmd199drivers/scsi/scsi_debug.cif(cmd[4]) printk("Medium removal inhibited...");
cmd237drivers/scsi/scsi_debug.cif ((*cmd) == READ_10)
cmd238drivers/scsi/scsi_debug.cblock = cmd[5] + (cmd[4] << 8) + (cmd[3] << 16) + (cmd[2] << 24); 
cmd240drivers/scsi/scsi_debug.cblock = cmd[3] + (cmd[2] << 8) + ((cmd[1] & 0x1f) << 16);
cmd316drivers/scsi/scsi_debug.cmemcpy(buff+sizeof(target), cmd, 24);
cmd348drivers/scsi/scsi_debug.cif ((*cmd) == WRITE_10)
cmd349drivers/scsi/scsi_debug.cblock = cmd[5] + (cmd[4] << 8) + (cmd[3] << 16) + (cmd[2] << 24); 
cmd351drivers/scsi/scsi_debug.cblock = cmd[3] + (cmd[2] << 8) + ((cmd[1] & 0x1f) << 16);
cmd370drivers/scsi/scsi_debug.cprintk("Unknown command %d\n",*cmd);
cmd91drivers/scsi/scsi_ioctl.cstatic int ioctl_internal_command(Scsi_Device *dev, char * cmd)
cmd97drivers/scsi/scsi_ioctl.cscsi_do_cmd(SCpnt,  cmd, NULL,  0,
cmd112drivers/scsi/scsi_ioctl.cif(cmd[0] == ALLOW_MEDIUM_REMOVAL) dev->lockable = 0;
cmd149drivers/scsi/scsi_ioctl.cchar cmd[12];
cmd176drivers/scsi/scsi_ioctl.cmemcpy_fromfs ((void *) cmd,  cmd_in,  cmdlen = COMMAND_SIZE (opcode));
cmd179drivers/scsi/scsi_ioctl.ccmd[1] = ( cmd[1] & 0x1f ) | (dev->lun << 5);
cmd185drivers/scsi/scsi_ioctl.cscsi_do_cmd(SCpnt,  cmd,  buf, needed,  scsi_ioctl_done,  MAX_TIMEOUT, 
cmd224drivers/scsi/scsi_ioctl.cprintk("%02x ", cmd[i]);
cmd242drivers/scsi/scsi_ioctl.cint scsi_ioctl (Scsi_Device *dev, int cmd, void *arg)
cmd249drivers/scsi/scsi_ioctl.cswitch (cmd) {
cmd305drivers/scsi/scsi_ioctl.cint kernel_scsi_ioctl (Scsi_Device *dev, int cmd, void *arg) {
cmd310drivers/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);
cmd212drivers/scsi/sd.cif (SCpnt->request.cmd == READ)
cmd224drivers/scsi/sd.cif (SCpnt->request.cmd == READ)
cmd434drivers/scsi/sd.cunsigned char cmd[10];
cmd498drivers/scsi/sd.cswitch (SCpnt->request.cmd)
cmd506drivers/scsi/sd.ccmd[0] = WRITE_6;
cmd509drivers/scsi/sd.ccmd[0] = READ_6;
cmd512drivers/scsi/sd.cpanic ("Unknown sd command %d\n", SCpnt->request.cmd);
cmd716drivers/scsi/sd.cif (SCpnt->request.cmd == WRITE)
cmd738drivers/scsi/sd.cif (SCpnt->request.cmd == WRITE)
cmd744drivers/scsi/sd.c(SCpnt->request.cmd == WRITE) ? "writing" : "reading",
cmd748drivers/scsi/sd.ccmd[1] = (SCpnt->lun << 5) & 0xe0;
cmd767drivers/scsi/sd.ccmd[0] += READ_10 - READ_6 ;
cmd768drivers/scsi/sd.ccmd[2] = (unsigned char) (block >> 24) & 0xff;
cmd769drivers/scsi/sd.ccmd[3] = (unsigned char) (block >> 16) & 0xff;
cmd770drivers/scsi/sd.ccmd[4] = (unsigned char) (block >> 8) & 0xff;
cmd771drivers/scsi/sd.ccmd[5] = (unsigned char) block & 0xff;
cmd772drivers/scsi/sd.ccmd[6] = cmd[9] = 0;
cmd773drivers/scsi/sd.ccmd[7] = (unsigned char) (this_count >> 8) & 0xff;
cmd774drivers/scsi/sd.ccmd[8] = (unsigned char) this_count & 0xff;
cmd781drivers/scsi/sd.ccmd[1] |= (unsigned char) ((block >> 16) & 0x1f);
cmd782drivers/scsi/sd.ccmd[2] = (unsigned char) ((block >> 8) & 0xff);
cmd783drivers/scsi/sd.ccmd[3] = (unsigned char) block & 0xff;
cmd784drivers/scsi/sd.ccmd[4] = (unsigned char) this_count;
cmd785drivers/scsi/sd.ccmd[5] = 0;
cmd796drivers/scsi/sd.cscsi_do_cmd (SCpnt, (void *) cmd, buff, 
cmd852drivers/scsi/sd.cunsigned char cmd[10];
cmd870drivers/scsi/sd.ccmd[0] = TEST_UNIT_READY;
cmd871drivers/scsi/sd.ccmd[1] = (rscsi_disks[i].device->lun << 5) & 0xe0;
cmd872drivers/scsi/sd.cmemset ((void *) &cmd[2], 0, 8);
cmd879drivers/scsi/sd.c(void *) cmd, (void *) buffer,
cmd894drivers/scsi/sd.ccmd[0] = START_STOP;
cmd895drivers/scsi/sd.ccmd[1] = (rscsi_disks[i].device->lun << 5) & 0xe0;
cmd896drivers/scsi/sd.ccmd[1] |= 1;  /* Return immediately */
cmd897drivers/scsi/sd.cmemset ((void *) &cmd[2], 0, 8);
cmd898drivers/scsi/sd.ccmd[4] = 1; /* Start spin cycle */
cmd905drivers/scsi/sd.c(void *) cmd, (void *) buffer,
cmd930drivers/scsi/sd.ccmd[0] = READ_CAPACITY;
cmd931drivers/scsi/sd.ccmd[1] = (rscsi_disks[i].device->lun << 5) & 0xe0;
cmd932drivers/scsi/sd.cmemset ((void *) &cmd[2], 0, 8);
cmd940drivers/scsi/sd.c(void *) cmd, (void *) buffer,
cmd18drivers/scsi/sd_ioctl.cint sd_ioctl(struct inode * inode, struct file * file, unsigned int cmd, unsigned long arg)
cmd26drivers/scsi/sd_ioctl.cswitch (cmd) {
cmd73drivers/scsi/sd_ioctl.creturn scsi_ioctl(rscsi_disks[MINOR(dev) >> 4].device , cmd, (void *) arg);
cmd1600drivers/scsi/seagate.cunsigned char buf[256 + sizeof(int) * 2], cmd[6], *data, *page;
cmd1615drivers/scsi/seagate.ccmd[0] = MODE_SENSE;
cmd1616drivers/scsi/seagate.ccmd[1] = (disk->device->lun << 5) & 0xe5;
cmd1617drivers/scsi/seagate.ccmd[2] = 0x04; /* Read page 4, rigid disk geometry page current values */
cmd1618drivers/scsi/seagate.ccmd[3] = 0;
cmd1619drivers/scsi/seagate.ccmd[4] = 255;
cmd1620drivers/scsi/seagate.ccmd[5] = 0;
cmd1630drivers/scsi/seagate.cmemcpy (data, cmd, 6);
cmd1642drivers/scsi/seagate.ccmd[2] = 0x03; /* Read page 3, format page current values */
cmd1643drivers/scsi/seagate.cmemcpy (data, cmd, 6);
cmd305drivers/scsi/sr.cunsigned char   *cmd;       /* the scsi-command */
cmd334drivers/scsi/sr.ccmd = rec = &buf[8];
cmd345drivers/scsi/sr.ccmd[0] = 0xde;
cmd346drivers/scsi/sr.ccmd[1] = 0x03;
cmd347drivers/scsi/sr.ccmd[2] = 0xb0;
cmd381drivers/scsi/sr.ccmd[0] = 0xc7;
cmd382drivers/scsi/sr.ccmd[1] = 3;
cmd417drivers/scsi/sr.ccmd[0] = 0x1a;
cmd418drivers/scsi/sr.ccmd[2] = 1;
cmd419drivers/scsi/sr.ccmd[4] = 12;
cmd438drivers/scsi/sr.ccmd[0] = 0x15;
cmd439drivers/scsi/sr.ccmd[1] = (1 << 4);
cmd440drivers/scsi/sr.ccmd[4] = 12;
cmd441drivers/scsi/sr.csend = &cmd[6];                 /* this is a 6-Byte command          */
cmd571drivers/scsi/sr.cunsigned char cmd[10], *buffer, tries;
cmd614drivers/scsi/sr.cswitch (SCpnt->request.cmd)
cmd621drivers/scsi/sr.ccmd[0] = READ_6;
cmd624drivers/scsi/sr.cpanic ("Unknown sr command %d\n", SCpnt->request.cmd);
cmd627drivers/scsi/sr.ccmd[1] = (SCpnt->lun << 5) & 0xe0;
cmd801drivers/scsi/sr.ccmd[0] += READ_10 - READ_6 ;
cmd802drivers/scsi/sr.ccmd[2] = (unsigned char) (block >> 24) & 0xff;
cmd803drivers/scsi/sr.ccmd[3] = (unsigned char) (block >> 16) & 0xff;
cmd804drivers/scsi/sr.ccmd[4] = (unsigned char) (block >> 8) & 0xff;
cmd805drivers/scsi/sr.ccmd[5] = (unsigned char) block & 0xff;
cmd806drivers/scsi/sr.ccmd[6] = cmd[9] = 0;
cmd807drivers/scsi/sr.ccmd[7] = (unsigned char) (realcount >> 8) & 0xff;
cmd808drivers/scsi/sr.ccmd[8] = (unsigned char) realcount & 0xff;
cmd818drivers/scsi/sr.ccmd[1] |= (unsigned char) ((block >> 16) & 0x1f);
cmd819drivers/scsi/sr.ccmd[2] = (unsigned char) ((block >> 8) & 0xff);
cmd820drivers/scsi/sr.ccmd[3] = (unsigned char) block & 0xff;
cmd821drivers/scsi/sr.ccmd[4] = (unsigned char) realcount;
cmd822drivers/scsi/sr.ccmd[5] = 0;
cmd831drivers/scsi/sr.cfor(i=0; i<12; i++) printk("%2.2x ", cmd[i]);
cmd850drivers/scsi/sr.cscsi_do_cmd (SCpnt, (void *) cmd, buffer, 
cmd905drivers/scsi/sr.cunsigned char cmd[10];
cmd915drivers/scsi/sr.ccmd[0] = READ_CAPACITY;
cmd916drivers/scsi/sr.ccmd[1] = (scsi_CDs[i].device->lun << 5) & 0xe0;
cmd917drivers/scsi/sr.cmemset ((void *) &cmd[2], 0, 8);
cmd924drivers/scsi/sr.c(void *) cmd, (void *) buffer,
cmd21drivers/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)
cmd105drivers/scsi/sr_ioctl.cswitch (cmd) 
cmd430drivers/scsi/sr_ioctl.creturn scsi_ioctl(scsi_CDs[target].device,cmd,(void *) arg);
cmd253drivers/scsi/st.cunsigned char cmd[10];
cmd256drivers/scsi/st.ccmd[0] = SPACE;
cmd257drivers/scsi/st.ccmd[1] = 0x01; /* Space FileMarks */
cmd258drivers/scsi/st.ccmd[2] = cmd[3] = cmd[4] = 0xff;  /* -1 filemarks */
cmd259drivers/scsi/st.ccmd[5] = 0;
cmd265drivers/scsi/st.c(void *) cmd, (void *) (STp->buffer)->b_data, 0,
cmd293drivers/scsi/st.cunsigned char cmd[10];
cmd325drivers/scsi/st.cmemset(cmd, 0, 10);
cmd326drivers/scsi/st.ccmd[0] = WRITE_6;
cmd327drivers/scsi/st.ccmd[1] = 1;
cmd329drivers/scsi/st.ccmd[2] = blks >> 16;
cmd330drivers/scsi/st.ccmd[3] = blks >> 8;
cmd331drivers/scsi/st.ccmd[4] = blks;
cmd334drivers/scsi/st.c(void *) cmd, (STp->buffer)->b_data, transfer,
cmd422drivers/scsi/st.cunsigned char cmd[10];
cmd466drivers/scsi/st.cmemset ((void *) &cmd[0], 0, 10);
cmd467drivers/scsi/st.ccmd[0] = TEST_UNIT_READY;
cmd470drivers/scsi/st.c(void *) cmd, (void *) (STp->buffer)->b_data,
cmd485drivers/scsi/st.cmemset ((void *) &cmd[0], 0, 10);
cmd486drivers/scsi/st.ccmd[0] = TEST_UNIT_READY;
cmd489drivers/scsi/st.c(void *) cmd, (void *) (STp->buffer)->b_data,
cmd528drivers/scsi/st.cmemset ((void *) &cmd[0], 0, 10);
cmd529drivers/scsi/st.ccmd[0] = READ_BLOCK_LIMITS;
cmd532drivers/scsi/st.c(void *) cmd, (void *) (STp->buffer)->b_data,
cmd562drivers/scsi/st.cmemset ((void *) &cmd[0], 0, 10);
cmd563drivers/scsi/st.ccmd[0] = MODE_SENSE;
cmd564drivers/scsi/st.ccmd[4] = 12;
cmd567drivers/scsi/st.c(void *) cmd, (void *) (STp->buffer)->b_data,
cmd665drivers/scsi/st.cstatic unsigned char cmd[10];
cmd688drivers/scsi/st.cmemset(cmd, 0, 10);
cmd689drivers/scsi/st.ccmd[0] = WRITE_FILEMARKS;
cmd690drivers/scsi/st.ccmd[4] = 1 + STp->two_fm;
cmd693drivers/scsi/st.c(void *) cmd, (void *) (STp->buffer)->b_data,
cmd721drivers/scsi/st.cprintk("st%d: Buffer flushed, %d EOF(s) written\n", dev, cmd[4]);
cmd755drivers/scsi/st.cstatic unsigned char cmd[10];
cmd825drivers/scsi/st.cmemset(cmd, 0, 10);
cmd826drivers/scsi/st.ccmd[0] = WRITE_6;
cmd827drivers/scsi/st.ccmd[1] = (STp->block_size != 0);
cmd854drivers/scsi/st.ccmd[2] = blks >> 16;
cmd855drivers/scsi/st.ccmd[3] = blks >> 8;
cmd856drivers/scsi/st.ccmd[4] = blks;
cmd860drivers/scsi/st.c(void *) cmd, (STp->buffer)->b_data, transfer,
cmd970drivers/scsi/st.ccmd[2] = blks >> 16;
cmd971drivers/scsi/st.ccmd[3] = blks >> 8;
cmd972drivers/scsi/st.ccmd[4] = blks;
cmd977drivers/scsi/st.c(void *) cmd, (STp->buffer)->b_data,
cmd996drivers/scsi/st.cstatic unsigned char cmd[10];
cmd1046drivers/scsi/st.cmemset(cmd, 0, 10);
cmd1047drivers/scsi/st.ccmd[0] = READ_6;
cmd1048drivers/scsi/st.ccmd[1] = (STp->block_size != 0);
cmd1064drivers/scsi/st.ccmd[2] = blks >> 16;
cmd1065drivers/scsi/st.ccmd[3] = blks >> 8;
cmd1066drivers/scsi/st.ccmd[4] = blks;
cmd1071drivers/scsi/st.c(void *) cmd, (STp->buffer)->b_data,
cmd1288drivers/scsi/st.cunsigned char cmd[10];
cmd1302drivers/scsi/st.cmemset(cmd, 0, 10);
cmd1307drivers/scsi/st.ccmd[0] = SPACE;
cmd1308drivers/scsi/st.ccmd[1] = 0x01; /* Space FileMarks */
cmd1309drivers/scsi/st.ccmd[2] = (arg >> 16);
cmd1310drivers/scsi/st.ccmd[3] = (arg >> 8);
cmd1311drivers/scsi/st.ccmd[4] = arg;
cmd1315drivers/scsi/st.ccmd[2] * 65536 + cmd[3] * 256 + cmd[4]);
cmd1324drivers/scsi/st.ccmd[0] = SPACE;
cmd1325drivers/scsi/st.ccmd[1] = 0x01; /* Space FileMarks */
cmd1327drivers/scsi/st.ccmd[2] = (ltmp >> 16);
cmd1328drivers/scsi/st.ccmd[3] = (ltmp >> 8);
cmd1329drivers/scsi/st.ccmd[4] = ltmp;
cmd1332drivers/scsi/st.cif (cmd[2] & 0x80)
cmd1334drivers/scsi/st.cltmp = ltmp | (cmd[2] << 16) | (cmd[3] << 8) | cmd[4];
cmd1344drivers/scsi/st.ccmd[0] = SPACE;
cmd1345drivers/scsi/st.ccmd[1] = 0x00; /* Space Blocks */
cmd1346drivers/scsi/st.ccmd[2] = (arg >> 16);
cmd1347drivers/scsi/st.ccmd[3] = (arg >> 8);
cmd1348drivers/scsi/st.ccmd[4] = arg;
cmd1352drivers/scsi/st.ccmd[2] * 65536 + cmd[3] * 256 + cmd[4]);
cmd1359drivers/scsi/st.ccmd[0] = SPACE;
cmd1360drivers/scsi/st.ccmd[1] = 0x00; /* Space Blocks */
cmd1362drivers/scsi/st.ccmd[2] = (ltmp >> 16);
cmd1363drivers/scsi/st.ccmd[3] = (ltmp >> 8);
cmd1364drivers/scsi/st.ccmd[4] = ltmp;
cmd1367drivers/scsi/st.cif (cmd[2] & 0x80)
cmd1369drivers/scsi/st.cltmp = ltmp | (cmd[2] << 16) | (cmd[3] << 8) | cmd[4];
cmd1378drivers/scsi/st.ccmd[0] = SPACE;
cmd1379drivers/scsi/st.ccmd[1] = 0x04; /* Space Setmarks */
cmd1380drivers/scsi/st.ccmd[2] = (arg >> 16);
cmd1381drivers/scsi/st.ccmd[3] = (arg >> 8);
cmd1382drivers/scsi/st.ccmd[4] = arg;
cmd1386drivers/scsi/st.ccmd[2] * 65536 + cmd[3] * 256 + cmd[4]);
cmd1394drivers/scsi/st.ccmd[0] = SPACE;
cmd1395drivers/scsi/st.ccmd[1] = 0x04; /* Space Setmarks */
cmd1397drivers/scsi/st.ccmd[2] = (ltmp >> 16);
cmd1398drivers/scsi/st.ccmd[3] = (ltmp >> 8);
cmd1399drivers/scsi/st.ccmd[4] = ltmp;
cmd1402drivers/scsi/st.cif (cmd[2] & 0x80)
cmd1404drivers/scsi/st.cltmp = ltmp | (cmd[2] << 16) | (cmd[3] << 8) | cmd[4];
cmd1417drivers/scsi/st.ccmd[0] = WRITE_FILEMARKS;
cmd1419drivers/scsi/st.ccmd[1] = 2;
cmd1420drivers/scsi/st.ccmd[2] = (arg >> 16);
cmd1421drivers/scsi/st.ccmd[3] = (arg >> 8);
cmd1422drivers/scsi/st.ccmd[4] = arg;
cmd1428drivers/scsi/st.ccmd[2] * 65536 + cmd[3] * 256 + cmd[4]);
cmd1431drivers/scsi/st.ccmd[2] * 65536 + cmd[3] * 256 + cmd[4]);
cmd1440drivers/scsi/st.ccmd[0] = REZERO_UNIT;
cmd1442drivers/scsi/st.ccmd[1] = 1;  /* Don't wait for completion */
cmd1452drivers/scsi/st.ccmd[0] = START_STOP;
cmd1454drivers/scsi/st.ccmd[1] = 1;  /* Don't wait for completion */
cmd1471drivers/scsi/st.ccmd[0] = START_STOP;
cmd1473drivers/scsi/st.ccmd[1] = 1;  /* Don't wait for completion */
cmd1476drivers/scsi/st.ccmd[4] = 3;
cmd1497drivers/scsi/st.ccmd[0] = SPACE;
cmd1498drivers/scsi/st.ccmd[1] = 3;
cmd1509drivers/scsi/st.ccmd[0] = ERASE;
cmd1510drivers/scsi/st.ccmd[1] = 1;  /* To the end of tape */
cmd1512drivers/scsi/st.ccmd[1] |= 2;  /* Don't wait for completion */
cmd1525drivers/scsi/st.ccmd[0] = QFA_SEEK_BLOCK;
cmd1526drivers/scsi/st.ccmd[2] = (arg >> 16);
cmd1527drivers/scsi/st.ccmd[3] = (arg >> 8);
cmd1528drivers/scsi/st.ccmd[4] = arg;
cmd1529drivers/scsi/st.ccmd[5] = 0;
cmd1532drivers/scsi/st.ccmd[0] = SEEK_10;
cmd1533drivers/scsi/st.ccmd[1] = 4;
cmd1534drivers/scsi/st.ccmd[3] = (arg >> 24);
cmd1535drivers/scsi/st.ccmd[4] = (arg >> 16);
cmd1536drivers/scsi/st.ccmd[5] = (arg >> 8);
cmd1537drivers/scsi/st.ccmd[6] = arg;
cmd1540drivers/scsi/st.ccmd[1] |= 1;  /* Don't wait for completion */
cmd1562drivers/scsi/st.ccmd[0] = MODE_SELECT;
cmd1563drivers/scsi/st.ccmd[4] = datalen = 12;
cmd1609drivers/scsi/st.c(void *) cmd, (void *) (STp->buffer)->b_data, datalen,
cmd1737drivers/scsi/st.cint i, cmd, result;
cmd1754drivers/scsi/st.ccmd = cmd_in & IOCCMD_MASK;
cmd1755drivers/scsi/st.cif (cmd == (MTIOCTOP & IOCCMD_MASK)) {
cmd1782drivers/scsi/st.celse if (cmd == (MTIOCGET & IOCCMD_MASK)) {
cmd1835drivers/scsi/st.celse if (cmd == (MTIOCPOS & IOCCMD_MASK)) {
cmd567drivers/scsi/wd7000.cstatic inline int command_out(Adapter *host, unchar *cmd, int len)
cmd572drivers/scsi/wd7000.coutb(*cmd, host->iobase+ASC_COMMAND);
cmd575drivers/scsi/wd7000.ccmd++;
cmd90drivers/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];
cmd490drivers/sound/sequencer.cif (cmd == MIDI_NOTEON && parm == 0)
cmd492drivers/sound/sequencer.ccmd = MIDI_NOTEOFF;
cmd497drivers/sound/sequencer.cswitch (cmd)
cmd538drivers/sound/sequencer.cunsigned char   cmd = event[2];
cmd552drivers/sound/sequencer.cswitch (cmd)
cmd617drivers/sound/sequencer.cunsigned char   cmd = event[1];
cmd641drivers/sound/sequencer.cswitch (cmd)
cmd1326drivers/sound/sequencer.cunsigned int cmd, unsigned int arg)
cmd1333drivers/sound/sequencer.cswitch (cmd)
cmd1347drivers/sound/sequencer.creturn tmr->ioctl (tmr_no, cmd, arg);
cmd1449drivers/sound/sequencer.creturn tmr->ioctl (tmr_no, cmd, arg);
cmd1468drivers/sound/sequencer.creturn synth_devs[dev]->ioctl (dev, cmd, arg);
cmd1489drivers/sound/sequencer.creturn IOCTL_OUT (arg, synth_devs[dev]->ioctl (dev, cmd, arg));
cmd1503drivers/sound/sequencer.csynth_devs[dev]->ioctl (dev, cmd, arg);
cmd1522drivers/sound/sequencer.creturn synth_devs[dev]->ioctl (dev, cmd, arg);
cmd1654drivers/sound/sequencer.creturn synth_devs[0]->ioctl (0, cmd, arg);
cmd1838drivers/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)
cmd127drivers/sound/soundcard.cunsigned int cmd, unsigned long arg)
cmd134drivers/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)
cmd19fs/ext2/ioctl.cint ext2_ioctl (struct inode * inode, struct file * filp, unsigned int cmd,
cmd25fs/ext2/ioctl.cext2_debug ("cmd = %u, arg = %lu\n", cmd, arg);
cmd27fs/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)
cmd74fs/fcntl.cswitch (cmd) {
cmd107fs/fcntl.creturn fcntl_setlk(fd, cmd, (struct flock *) arg);
cmd109fs/fcntl.creturn fcntl_setlk(fd, cmd, (struct flock *) arg);
cmd168fs/fcntl.creturn (sock_fcntl (filp, cmd, arg));
cmd17fs/ioctl.cstatic int file_ioctl(struct file *filp,unsigned int cmd,unsigned long arg)
cmd22fs/ioctl.cswitch (cmd) {
cmd53fs/ioctl.creturn filp->f_op->ioctl(filp->f_inode, filp, cmd,arg);
cmd58fs/ioctl.casmlinkage int sys_ioctl(unsigned int fd, unsigned int cmd, unsigned long arg)
cmd65fs/ioctl.cswitch (cmd) {
cmd93fs/ioctl.creturn file_ioctl(filp,cmd,arg);
cmd96fs/ioctl.creturn filp->f_op->ioctl(filp->f_inode, filp, cmd,arg);
cmd98fs/locks.cint fcntl_setlk(unsigned int fd, unsigned int cmd, struct flock *l)
cmd153fs/locks.cif (cmd == F_SETLKW) {
cmd135fs/pipe.cunsigned int cmd, unsigned long arg)
cmd139fs/pipe.cswitch (cmd) {
cmd29fs/umsdos/ioctl.cunsigned int cmd,
cmd38fs/umsdos/ioctl.c|| cmd == UMSDOS_GETVERSION){
cmd60fs/umsdos/ioctl.cPRINTK (("ioctl %d ",cmd));
cmd61fs/umsdos/ioctl.cif (cmd == UMSDOS_GETVERSION){
cmd75fs/umsdos/ioctl.c}else if (cmd == UMSDOS_READDIR_DOS){
cmd84fs/umsdos/ioctl.c}else if (cmd == UMSDOS_READDIR_EMD){
cmd127fs/umsdos/ioctl.c}else if (cmd == UMSDOS_INIT_EMD){
cmd150fs/umsdos/ioctl.cif (cmd == UMSDOS_CREAT_EMD){
cmd167fs/umsdos/ioctl.c}else if (cmd == UMSDOS_RENAME_DOS){
cmd182fs/umsdos/ioctl.c}else if (cmd == UMSDOS_UNLINK_EMD){
cmd200fs/umsdos/ioctl.c}else if (cmd == UMSDOS_UNLINK_DOS){
cmd211fs/umsdos/ioctl.c}else if (cmd == UMSDOS_RMDIR_DOS){
cmd222fs/umsdos/ioctl.c}else if (cmd == UMSDOS_STAT_DOS){
cmd246fs/umsdos/ioctl.c}else if (cmd == UMSDOS_DOS_SETUP){
cmd16include/linux/blkdev.hint cmd;    /* READ or WRITE */
cmd231include/linux/fd.hunsigned char cmd[9];
cmd32include/linux/ioctl.h#define IOC_SIZE(cmd)  (((cmd) & IOCSIZE_MASK) >> IOCSIZE_SHIFT)
cmd33include/linux/ioctl.h#define IOCBASECMD(cmd)  ((cmd) & ~IOCPARM_MASK)
cmd34include/linux/ioctl.h#define IOCGROUP(cmd)  (((cmd) >> 8) & 0xFF)
cmd109include/linux/net.hint  (*ioctl)  (struct socket *sock, unsigned int cmd,
cmd125include/linux/net.hint  (*fcntl)  (struct socket *sock, unsigned int cmd,
cmd159include/linux/netdevice.hint        (*do_ioctl)(struct device *dev, struct ifreq *ifr, int cmd);
cmd213include/linux/netdevice.hextern int    dev_ioctl(unsigned int cmd, void *);
cmd522include/linux/soundcard.hunsigned char cmd;
cmd317include/linux/tty.hunsigned int cmd, unsigned long arg);
cmd335include/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)
cmd326ipc/msg.cif (msqid < 0 || cmd < 0)
cmd328ipc/msg.cswitch (cmd) {
cmd343ipc/msg.cif (cmd == MSG_INFO) {
cmd404ipc/msg.cswitch (cmd) {
cmd360ipc/sem.cint sys_semctl (int semid, int semnum, int cmd, union semun arg)
cmd373ipc/sem.cif (semid < 0 || semnum < 0 || cmd < 0)
cmd376ipc/sem.cswitch (cmd) {
cmd391ipc/sem.cif (cmd == SEM_INFO) {
cmd432ipc/sem.cswitch (cmd) {
cmd444ipc/sem.cswitch (cmd) {
cmd452ipc/sem.cswitch (cmd) {
cmd502ipc/sem.cswitch (cmd) {
cmd202ipc/shm.cint sys_shmctl (int shmid, int cmd, struct shmid_ds *buf)
cmd209ipc/shm.cif (cmd < 0 || shmid < 0)
cmd211ipc/shm.cif (cmd == IPC_SET) {
cmd220ipc/shm.cswitch (cmd) { /* replace with proc interface ? */
cmd287ipc/shm.cswitch (cmd) {
cmd25ipc/util.cextern int sys_semctl (int semid, int semnum, int cmd, union semun arg);
cmd30ipc/util.cextern int sys_msgctl (int msqid, int cmd, struct msqid_ds *buf);
cmd34ipc/util.cextern int sys_shmctl (int shmid, int cmd, struct shmid_ds *buf);
cmd385net/inet/af_inet.cstatic int inet_fcntl(struct socket *sock, unsigned int cmd, unsigned long arg)
cmd391net/inet/af_inet.cswitch(cmd) 
cmd1259net/inet/af_inet.cstatic int inet_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg)
cmd1264net/inet/af_inet.cswitch(cmd) 
cmd1290net/inet/af_inet.creturn(ip_rt_ioctl(cmd,(void *) arg));
cmd1294net/inet/af_inet.creturn(arp_ioctl(cmd,(void *) arg));
cmd1299net/inet/af_inet.creturn(rarp_ioctl(cmd,(void *) arg));
cmd1332net/inet/af_inet.creturn(dev_ioctl(cmd,(void *) arg));
cmd1335net/inet/af_inet.cif ((cmd >= SIOCDEVPRIVATE) &&
cmd1336net/inet/af_inet.c(cmd <= (SIOCDEVPRIVATE + 15)))
cmd1337net/inet/af_inet.creturn(dev_ioctl(cmd,(void *) arg));
cmd1341net/inet/af_inet.creturn(sk->prot->ioctl(sk, cmd, arg));
cmd1225net/inet/arp.cint arp_ioctl(unsigned int cmd, void *arg)
cmd1231net/inet/arp.cswitch(cmd)
cmd13net/inet/arp.hextern int  arp_ioctl(unsigned int cmd, void *arg);
cmd1348net/inet/dev.cint dev_ioctl(unsigned int cmd, void *arg)
cmd1350net/inet/dev.cswitch(cmd) 
cmd1373net/inet/dev.creturn dev_ifsioc(arg, cmd);
cmd1393net/inet/dev.creturn dev_ifsioc(arg, cmd);
cmd1403net/inet/dev.cif((cmd >= SIOCDEVPRIVATE) &&
cmd1404net/inet/dev.c(cmd <= (SIOCDEVPRIVATE + 15))) {
cmd1405net/inet/dev.creturn dev_ifsioc(arg, cmd);
cmd766net/inet/icmp.cint icmp_ioctl(struct sock *sk, int cmd, unsigned long arg)
cmd768net/inet/icmp.cswitch(cmd) 
cmd35net/inet/icmp.hextern int  icmp_ioctl(struct sock *sk, int cmd,
cmd146net/inet/ip.cint ip_ioctl(struct sock *sk, int cmd, unsigned long arg)
cmd148net/inet/ip.cswitch(cmd)
cmd77net/inet/ip.hextern int    ip_ioctl(struct sock *sk, int cmd,
cmd818net/inet/ipx.cipxitf_ioctl(unsigned int cmd, void *arg)
cmd821net/inet/ipx.cswitch(cmd)
cmd1056net/inet/ipx.cstatic int ipxrtr_ioctl(unsigned int cmd, void *arg)
cmd1078net/inet/ipx.cswitch(cmd)
cmd1259net/inet/ipx.cstatic int ipx_fcntl(struct socket *sock, unsigned int cmd, unsigned long arg)
cmd1261net/inet/ipx.cswitch(cmd)
cmd1792net/inet/ipx.cstatic int ipx_ioctl(struct socket *sock,unsigned int cmd, unsigned long arg)
cmd1798net/inet/ipx.cswitch(cmd)
cmd1823net/inet/ipx.creturn(ipxrtr_ioctl(cmd,(void *)arg));
cmd1830net/inet/ipx.creturn(ipxitf_ioctl(cmd,(void *)arg));
cmd1858net/inet/ipx.creturn(dev_ioctl(cmd,(void *) arg));
cmd386net/inet/rarp.cint rarp_ioctl(unsigned int cmd, void *arg)
cmd392net/inet/rarp.cswitch(cmd)
cmd5net/inet/rarp.hextern int rarp_ioctl(unsigned int cmd, void *arg);
cmd644net/inet/route.cint ip_rt_ioctl(unsigned int cmd, void *arg)
cmd649net/inet/route.cswitch(cmd) 
cmd658net/inet/route.creturn (cmd == SIOCDELRTOLD) ? rt_kill(&rt) : rt_new(&rt);
cmd668net/inet/route.creturn (cmd == SIOCDELRT) ? rt_kill(&rt) : rt_new(&rt);
cmd51net/inet/route.hextern int    ip_rt_ioctl(unsigned int cmd, void *arg);
cmd246net/inet/sock.hint      (*ioctl)(struct sock *sk, int cmd,
cmd961net/inet/tcp.cint tcp_ioctl(struct sock *sk, int cmd, unsigned long arg)
cmd964net/inet/tcp.cswitch(cmd) 
cmd132net/inet/tcp.hextern int  tcp_ioctl(struct sock *sk, int cmd, unsigned long arg);
cmd412net/inet/udp.cint udp_ioctl(struct sock *sk, int cmd, unsigned long arg)
cmd415net/inet/udp.cswitch(cmd) 
cmd47net/inet/udp.hextern int  udp_ioctl(struct sock *sk, int cmd, unsigned long arg);
cmd79net/socket.cunsigned int cmd, unsigned long arg);
cmd384net/socket.cint sock_ioctl(struct inode *inode, struct file *file, unsigned int cmd,
cmd394net/socket.creturn(sock->ops->ioctl(sock, cmd, arg));
cmd1133net/socket.cint sock_fcntl(struct file *filp, unsigned int cmd, unsigned long arg)
cmd1139net/socket.creturn(sock->ops->fcntl(sock, cmd, arg));
cmd77net/unix/sock.cstatic int unix_proto_ioctl(struct socket *sock, unsigned int cmd,
cmd830net/unix/sock.cstatic int unix_proto_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg)
cmd838net/unix/sock.cswitch(cmd)