taglinefilesource code
cmd95arch/alpha/kernel/bios32.cunsigned short cmd;
cmd99arch/alpha/kernel/bios32.cpcibios_read_config_word(bus->number, dev->devfn, PCI_COMMAND, &cmd);
cmd121arch/alpha/kernel/bios32.ccmd |= PCI_COMMAND_IO;
cmd135arch/alpha/kernel/bios32.ccmd |= PCI_COMMAND_MEMORY;
cmd223arch/alpha/kernel/bios32.ccmd |= PCI_COMMAND_IO;
cmd226arch/alpha/kernel/bios32.ccmd | PCI_COMMAND_MASTER);
cmd144drivers/block/floppy.cunsigned char cmd[9];
cmd245drivers/block/floppy.c#define COMMAND raw_cmd->cmd[0]
cmd246drivers/block/floppy.c#define DR_SELECT raw_cmd->cmd[1]
cmd247drivers/block/floppy.c#define TRACK raw_cmd->cmd[2]
cmd248drivers/block/floppy.c#define HEAD raw_cmd->cmd[3]
cmd249drivers/block/floppy.c#define SECTOR raw_cmd->cmd[4]
cmd250drivers/block/floppy.c#define SIZECODE raw_cmd->cmd[5]
cmd251drivers/block/floppy.c#define SECT_PER_TRACK raw_cmd->cmd[6]
cmd252drivers/block/floppy.c#define GAP raw_cmd->cmd[7]
cmd253drivers/block/floppy.c#define SIZECODE2 raw_cmd->cmd[8]
cmd257drivers/block/floppy.c#define F_SIZECODE raw_cmd->cmd[2]
cmd258drivers/block/floppy.c#define F_SECT_PER_TRACK raw_cmd->cmd[3]
cmd259drivers/block/floppy.c#define F_GAP raw_cmd->cmd[4]
cmd260drivers/block/floppy.c#define F_FILL raw_cmd->cmd[5]
cmd981drivers/block/floppy.cprintk("%x,", raw_cmd->cmd[i]);
cmd1364drivers/block/floppy.cr|=output_byte(raw_cmd->cmd[i]);
cmd2118drivers/block/floppy.cif (CURRENT->cmd == WRITE) {
cmd2354drivers/block/floppy.cif (CURRENT->cmd == READ){
cmd2357drivers/block/floppy.c} else if (CURRENT->cmd == WRITE){
cmd2833drivers/block/floppy.cstatic inline int raw_cmd_copyout(int cmd, char *param,
cmd2840drivers/block/floppy.cif (cmd == OLDFDRAWCMD) {
cmd2886drivers/block/floppy.cstatic inline int raw_cmd_copyin(int cmd, char *param,
cmd2901drivers/block/floppy.cif (cmd == OLDFDRAWCMD){
cmd2912drivers/block/floppy.cmemcpy(ptr->cmd, old_raw_cmd.cmd, 9);
cmd2952drivers/block/floppy.cstatic int raw_cmd_ioctl(int cmd, void *param)
cmd2976drivers/block/floppy.cret = raw_cmd_copyin(cmd, param, &my_raw_cmd);
cmd2996drivers/block/floppy.cret2 = raw_cmd_copyout(cmd, param, my_raw_cmd);
cmd3018drivers/block/floppy.cstatic inline int set_geometry(int cmd, struct floppy_struct *g,
cmd3054drivers/block/floppy.cif (cmd != FDDEFPRM)
cmd3063drivers/block/floppy.cif (cmd == FDDEFPRM)
cmd3113drivers/block/floppy.cstatic inline int normalize_0x02xx_ioctl(int *cmd, int *size)
cmd3117drivers/block/floppy.corig_size = IOC_SIZE(*cmd);
cmd3118drivers/block/floppy.cocmd = *cmd;
cmd3120drivers/block/floppy.cif ((*cmd & 0xff3f) == (translation_table[i].newcmd & 0xff3f)){
cmd3121drivers/block/floppy.c*cmd = translation_table[i].newcmd;
cmd3122drivers/block/floppy.cif (!orig_size && IOC_SIZE(*cmd)) {
cmd3124drivers/block/floppy.c*size = IOC_SIZE(*cmd); 
cmd3135drivers/block/floppy.cif (*size > IOC_SIZE(*cmd)) {
cmd3146drivers/block/floppy.cstatic inline int xlate_0x00xx_ioctl(int *cmd, int *size)
cmd3158drivers/block/floppy.cif (*cmd == translation_table[i].oldcmd) {
cmd3160drivers/block/floppy.c*cmd = translation_table[i].newcmd;
cmd3167drivers/block/floppy.cstatic int fd_ioctl(struct inode *inode, struct file *filp, unsigned int cmd,
cmd3189drivers/block/floppy.cswitch (cmd) {
cmd3196drivers/block/floppy.cif ((cmd & 0xff00) == 0x0200) {
cmd3197drivers/block/floppy.cECALL(normalize_0x02xx_ioctl(&cmd, &size));
cmd3198drivers/block/floppy.c} else if ((cmd & 0xff00) == 0x0000) {
cmd3199drivers/block/floppy.cECALL(xlate_0x00xx_ioctl(&cmd, &size));
cmd3204drivers/block/floppy.cif (((cmd & 0x80) && !suser()) ||
cmd3205drivers/block/floppy.c((cmd & 0x40) && !IOCTL_ALLOWED))
cmd3209drivers/block/floppy.cif (_IOC_DIR(cmd) & _IOC_WRITE)
cmd3214drivers/block/floppy.cif (_IOC_DIR(cmd) & _IOC_READ)
cmd3217drivers/block/floppy.cswitch (cmd) {
cmd3226drivers/block/floppy.creturn set_geometry(cmd, & inparam.g,
cmd3293drivers/block/floppy.cCALL(i = raw_cmd_ioctl(cmd,(void *) param));
cmd3307drivers/block/floppy.cif (_IOC_DIR(cmd) & _IOC_WRITE)
cmd221drivers/block/hd.cunsigned int head,unsigned int cyl,unsigned int cmd,
cmd245drivers/block/hd.coutb_p(cmd,++port);
cmd738drivers/block/hd.cdev+'a', (CURRENT->cmd == READ)?"read":"writ",
cmd743drivers/block/hd.cif (CURRENT->cmd == READ) {
cmd744drivers/block/hd.cunsigned int cmd = mult_count[dev] > 1 ? WIN_MULTREAD : WIN_READ;
cmd745drivers/block/hd.chd_out(dev,nsect,sec,head,cyl,cmd,&read_intr);
cmd750drivers/block/hd.cif (CURRENT->cmd == WRITE) {
cmd779drivers/block/hd.cunsigned int cmd, unsigned long arg)
cmd790drivers/block/hd.cswitch (cmd) {
cmd551drivers/block/ide-cd.crq->cmd = REQUEST_SENSE_COMMAND;
cmd586drivers/block/ide-cd.cif (rq->cmd == REQUEST_SENSE_COMMAND && uptodate)
cmd613drivers/block/ide-cd.cint stat, err, sense_key, cmd;
cmd630drivers/block/ide-cd.ccmd = rq->cmd;
cmd632drivers/block/ide-cd.cif (cmd == REQUEST_SENSE_COMMAND)
cmd645drivers/block/ide-cd.celse if (cmd == PACKET_COMMAND)
cmd1419drivers/block/ide-cd.creq.cmd = PACKET_COMMAND;
cmd1488drivers/block/ide-cd.cif (rq -> cmd == PACKET_COMMAND || rq -> cmd == REQUEST_SENSE_COMMAND)
cmd1491drivers/block/ide-cd.celse if (rq -> cmd == RESET_DRIVE_COMMAND)
cmd1498drivers/block/ide-cd.celse if (rq -> cmd != READ)
cmd1500drivers/block/ide-cd.cprintk ("ide-cd: bad cmd %d\n", rq -> cmd);
cmd2055drivers/block/ide-cd.cstruct file *file, unsigned int cmd, unsigned long arg)
cmd2057drivers/block/ide-cd.cswitch (cmd)
cmd2397drivers/block/ide-cd.cif (cmd == CDROMREADMODE1)
cmd2438drivers/block/ide-cd.creq.cmd = RESET_DRIVE_COMMAND;
cmd876drivers/block/ide.cif (rq->cmd == IDE_DRIVE_CMD) {  /* never retry an explicit DRIVE_CMD */
cmd890drivers/block/ide.cif ((stat & DRQ_STAT) && rq->cmd != WRITE)
cmd1074drivers/block/ide.cstatic void ide_cmd(ide_drive_t *drive, byte cmd, byte nsect, ide_handler_t *handler)
cmd1079drivers/block/ide.cOUT_BYTE(cmd,IDE_COMMAND_REG);
cmd1235drivers/block/ide.cdrive->name, (rq->cmd==READ)?"read":"writ", 
cmd1254drivers/block/ide.cdrive->name, (rq->cmd==READ)?"read":"writ", cyl,
cmd1258drivers/block/ide.cif (rq->cmd == READ) {
cmd1267drivers/block/ide.cif (rq->cmd == WRITE) {
cmd1290drivers/block/ide.cif (rq->cmd == IDE_DRIVE_CMD) {
cmd1310drivers/block/ide.cprintk("%s: bad command: %d\n", drive->name, rq->cmd);
cmd1631drivers/block/ide.crq.cmd = IDE_DRIVE_CMD;
cmd1771drivers/block/ide.cunsigned int cmd, unsigned long arg)
cmd1782drivers/block/ide.cswitch (cmd) {
cmd1859drivers/block/ide.cswitch (cmd) {
cmd1932drivers/block/ide.creturn ide_cdrom_ioctl(drive, inode, file, cmd, arg);
cmd1980drivers/block/ide.cstatic inline void do_identify (ide_drive_t *drive, byte cmd)
cmd2005drivers/block/ide.cif (cmd == WIN_PIDENTIFY) {
cmd2018drivers/block/ide.cif (cmd == WIN_PIDENTIFY) {
cmd2132drivers/block/ide.cstatic int try_to_identify (ide_drive_t *drive, byte cmd)
cmd2151drivers/block/ide.cOUT_BYTE(cmd,IDE_COMMAND_REG);    /* ask drive for ID */
cmd2152drivers/block/ide.ctimeout = ((cmd == WIN_IDENTIFY) ? WAIT_WORSTCASE : WAIT_PIDENTIFY) / 2;
cmd2166drivers/block/ide.cdo_identify(drive, cmd); /* drive returned ID */
cmd2196drivers/block/ide.cstatic int do_probe (ide_drive_t *drive, byte cmd)
cmd2201drivers/block/ide.cif ((drive->media == cdrom) && (cmd == WIN_IDENTIFY))
cmd2208drivers/block/ide.c(cmd == WIN_IDENTIFY) ? "ATA" : "ATAPI");
cmd2222drivers/block/ide.c|| drive->present || cmd == WIN_PIDENTIFY)
cmd2224drivers/block/ide.cif ((rc = try_to_identify(drive,cmd)))   /* send cmd and wait */
cmd2225drivers/block/ide.crc = try_to_identify(drive,cmd); /* failed: try again */
cmd112drivers/block/ll_rw_blk.cplug->cmd = -1;
cmd132drivers/block/ll_rw_blk.cif (req && req->rq_status == RQ_INACTIVE && req->cmd == -1) {
cmd357drivers/block/ll_rw_blk.creq->cmd == rw &&
cmd371drivers/block/ll_rw_blk.creq->cmd == rw &&
cmd404drivers/block/ll_rw_blk.creq->cmd = rw;
cmd438drivers/block/ll_rw_blk.creq->cmd = rw;
cmd570drivers/block/ll_rw_blk.creq[j]->cmd = rw;
cmd48drivers/block/ramdisk.cif (CURRENT-> cmd == WRITE) {
cmd52drivers/block/ramdisk.c} else if (CURRENT->cmd == READ) {
cmd225drivers/block/xd.cswitch (CURRENT->cmd) {
cmd229drivers/block/xd.ccode = xd_readwrite(CURRENT->cmd,CURRENT_DEV,CURRENT->buffer,block,count);
cmd240drivers/block/xd.cstatic int xd_ioctl (struct inode *inode,struct file *file,u_int cmd,u_long arg)
cmd246drivers/block/xd.cswitch (cmd) {
cmd188drivers/cdrom/aztcd.c(CURRENT && MAJOR(CURRENT -> rq_dev) == MAJOR_NR && CURRENT -> cmd == READ \
cmd259drivers/cdrom/aztcd.cstatic int  aztSendCmd(int cmd);
cmd260drivers/cdrom/aztcd.cstatic int  sendAztCmd(int cmd, struct azt_Play_msf *params);
cmd399drivers/cdrom/aztcd.cstatic int aztSendCmd(int cmd)
cmd404drivers/cdrom/aztcd.cprintk("aztcd: Executing command %x\n",cmd);
cmd406drivers/cdrom/aztcd.caztCmd=cmd;
cmd415drivers/cdrom/aztcd.c{ outb((unsigned char) cmd,CMD_PORT);
cmd423drivers/cdrom/aztcd.cprintk("### Error 1 aztcd: aztSendCmd %x  Error Code %x\n",cmd,data);
cmd427drivers/cdrom/aztcd.c{ printk("### Error 2 aztcd: aztSendCmd %x \n",cmd);
cmd436drivers/cdrom/aztcd.cstatic int sendAztCmd(int cmd, struct azt_Play_msf *params)
cmd446drivers/cdrom/aztcd.c{ aztSendCmd(cmd);
cmd460drivers/cdrom/aztcd.cprintk("### Error 1 aztcd: sendAztCmd %x  Error Code %x\n",cmd,data);
cmd464drivers/cdrom/aztcd.c{ printk("### Error 2 aztcd: sendAztCmd %x\n ",cmd);
cmd607drivers/cdrom/aztcd.cstatic int aztcd_ioctl(struct inode *ip, struct file *fp, unsigned int cmd, unsigned long arg)
cmd619drivers/cdrom/aztcd.cprintk("aztcd: starting aztcd_ioctl - Command:%x   Time: %li\n",cmd, jiffies);
cmd628drivers/cdrom/aztcd.cswitch (cmd)
cmd802drivers/cdrom/aztcd.cprintk("aztcd: exiting aztcd_ioctl - Error 1 - Command:%x\n",cmd);
cmd809drivers/cdrom/aztcd.cprintk("aztcd: exiting aztcd_ioctl - Error 2 - Command:%x\n",cmd);
cmd817drivers/cdrom/aztcd.cprintk("aztcd: exiting aztcd_ioctl - Error 3 - Command:%x\n",cmd);
cmd903drivers/cdrom/aztcd.cif (cmd==CDROMREADRAW)
cmd944drivers/cdrom/aztcd.cprintk("aztcd: exiting aztcd_ioctl Command:%x  Time:%li\n",cmd,jiffies);
cmd238drivers/cdrom/cdu31a.cstatic void do_sony_cd_cmd(unsigned char cmd,
cmd518drivers/cdrom/cdu31a.cwrite_cmd(unsigned char cmd)
cmd521drivers/cdrom/cdu31a.coutb(cmd, sony_cd_cmd_reg);
cmd820drivers/cdrom/cdu31a.cdo_sony_cd_cmd(unsigned char cmd,
cmd888drivers/cdrom/cdu31a.cwrite_cmd(cmd);
cmd1580drivers/cdrom/cdu31a.cswitch(CURRENT->cmd)
cmd2359drivers/cdrom/cdu31a.cunsigned char cmd,
cmd2365drivers/cdrom/cdu31a.cdo_sony_cd_cmd(cmd, params, num_params, result_buffer, result_size);
cmd2379drivers/cdrom/cdu31a.cunsigned int  cmd,
cmd2393drivers/cdrom/cdu31a.cswitch (cmd)
cmd644drivers/cdrom/cm206.cif (CURRENT->cmd != READ) {
cmd645drivers/cdrom/cm206.cdebug(("Non-read command %d on cdrom\n", CURRENT->cmd));
cmd886drivers/cdrom/cm206.cunsigned int cmd, unsigned long arg)
cmd888drivers/cdrom/cm206.cswitch (cmd) {
cmd927drivers/cdrom/cm206.cswitch (cmd) {
cmd1009drivers/cdrom/cm206.celse return -cmd;
cmd1022drivers/cdrom/cm206.cdebug(("Unknown ioctl call 0x%x\n", cmd));
cmd202drivers/cdrom/gscd.cstatic int gscd_ioctl (struct inode *ip, struct file *fp, unsigned int cmd, unsigned long arg)
cmd208drivers/cdrom/gscd.cswitch (cmd)
cmd274drivers/cdrom/gscd.cif (CURRENT -> cmd != READ)
cmd276drivers/cdrom/gscd.cprintk("GSCD: bad cmd %d\n", CURRENT -> cmd);
cmd317drivers/cdrom/gscd.cchar   cmd[] = { CMD_READ, 0x80, 0,0,0, 0,1 }; /* cmd mode M-S-F secth sectl */
cmd340drivers/cdrom/gscd.ccmd[2] = gscdcmd.start.min;
cmd341drivers/cdrom/gscd.ccmd[3] = gscdcmd.start.sec;
cmd342drivers/cdrom/gscd.ccmd[4] = gscdcmd.start.frame;
cmd345drivers/cdrom/gscd.cprintk ("GSCD: read msf %d:%d:%d\n", cmd[2], cmd[3], cmd[4] ); 
cmd347drivers/cdrom/gscd.ccmd_out ( TYPE_DATA, (char *)&cmd, (char *)&gscd_buf[0], 1 );
cmd519drivers/cdrom/gscd.cvoid cmd_out ( int cmd_type, char * cmd, char * respo_buf, int respo_count )
cmd575drivers/cdrom/gscd.ccmd_write_cmd (cmd);
cmd142drivers/cdrom/mcd.c(CURRENT && MAJOR(CURRENT -> rq_dev) == MAJOR_NR && CURRENT -> cmd == READ \
cmd197drivers/cdrom/mcd.cstatic void sendMcdCmd(int cmd, struct mcd_Play_msf *params);
cmd336drivers/cdrom/mcd.cmcd_ioctl(struct inode *ip, struct file *fp, unsigned int cmd,
cmd363drivers/cdrom/mcd.cswitch (cmd)
cmd1372drivers/cdrom/mcd.csendMcdCmd(int cmd, struct mcd_Play_msf *params)
cmd1374drivers/cdrom/mcd.coutb(cmd, MCDPORT(0));
cmd234drivers/cdrom/mcdx.cconst unsigned char* cmd, size_t, void *buffer,
cmd270drivers/cdrom/mcdx.cunsigned int cmd, unsigned long arg)
cmd277drivers/cdrom/mcdx.cswitch (cmd) {
cmd518drivers/cdrom/mcdx.cWARN(("ioctl(): unknown request 0x%04x\n", cmd));
cmd556drivers/cdrom/mcdx.cswitch (CURRENT->cmd) {
cmd839drivers/cdrom/mcdx.cconst unsigned char *cmd, size_t cmdlen,
cmd866drivers/cdrom/mcdx.ctries, timeout, size, (unsigned char) cmd[0]));
cmd867drivers/cdrom/mcdx.cfor (i = 1; i < cmdlen; i++) printk(" 0x%02x", cmd[i]);
cmd879drivers/cdrom/mcdx.coutsb((unsigned int) stuffp->wreg_data, cmd, cmdlen);
cmd885drivers/cdrom/mcdx.ccmd[0], tries - 1, tries == 2 ? "y" : "ies"));
cmd895drivers/cdrom/mcdx.cWARN(("command error %02x (%d)\n", cmd[0], cmdlen));
cmd915drivers/cdrom/mcdx.ccmd[0], tries - 1, tries == 2 ? "y" : "ies"));
cmd1278drivers/cdrom/mcdx.cstatic unsigned char cmd[] = {
cmd1284drivers/cdrom/mcdx.ccmd[0] = stuffp->readcmd;
cmd1313drivers/cdrom/mcdx.ccmd[1] = pending.minute;
cmd1314drivers/cdrom/mcdx.ccmd[2] = pending.second;
cmd1315drivers/cdrom/mcdx.ccmd[3] = pending.frame;
cmd1319drivers/cdrom/mcdx.ccmd[6] = (unsigned char) (stuffp->off_requested - stuffp->pending) / 4;
cmd1321drivers/cdrom/mcdx.coutsb((unsigned int) stuffp->wreg_data, cmd, sizeof cmd);
cmd1456drivers/cdrom/mcdx.cunsigned char cmd[7] = {
cmd1460drivers/cdrom/mcdx.ccmd[0] = stuffp->playcmd;
cmd1462drivers/cdrom/mcdx.ccmd[1] = msf->cdmsf_min0;
cmd1463drivers/cdrom/mcdx.ccmd[2] = msf->cdmsf_sec0;
cmd1464drivers/cdrom/mcdx.ccmd[3] = msf->cdmsf_frame0;
cmd1465drivers/cdrom/mcdx.ccmd[4] = msf->cdmsf_min1;
cmd1466drivers/cdrom/mcdx.ccmd[5] = msf->cdmsf_sec1;
cmd1467drivers/cdrom/mcdx.ccmd[6] = msf->cdmsf_frame1;
cmd1471drivers/cdrom/mcdx.ccmd[0], cmd[1], cmd[2], cmd[3],
cmd1472drivers/cdrom/mcdx.ccmd[4], cmd[5], cmd[6])); 
cmd1474drivers/cdrom/mcdx.coutsb((unsigned int) stuffp->wreg_data, cmd, sizeof cmd);
cmd1605drivers/cdrom/mcdx.cchar cmd[2];
cmd1610drivers/cdrom/mcdx.cif (-1 == (ans = mcdx_talk(stuffp, "\xc2", 1, cmd, sizeof(cmd), 5*HZ, tries)))
cmd1614drivers/cdrom/mcdx.ccase TOC: cmd[1] |= 0x04; break;
cmd1615drivers/cdrom/mcdx.ccase DATA: cmd[1] &= ~0x04; break;
cmd1616drivers/cdrom/mcdx.ccase RAW: cmd[1] |= 0x40; break;
cmd1617drivers/cdrom/mcdx.ccase COOKED: cmd[1] &= ~0x40; break;
cmd1620drivers/cdrom/mcdx.ccmd[0] = 0x50;
cmd1621drivers/cdrom/mcdx.creturn mcdx_talk(stuffp, cmd, 2, NULL, 0, 5*HZ, tries);
cmd1628drivers/cdrom/mcdx.cunsigned char cmd[2] = { 0xa0 };
cmd1631drivers/cdrom/mcdx.ccase MODE0: cmd[1] = 0x00; break;
cmd1632drivers/cdrom/mcdx.ccase MODE1: cmd[1] = 0x01; break;
cmd1633drivers/cdrom/mcdx.ccase MODE2: cmd[1] = 0x02; break;
cmd1636drivers/cdrom/mcdx.creturn mcdx_talk(stuffp, cmd, 2, NULL, 0, 5*HZ, tries);
cmd1642drivers/cdrom/mcdx.cchar cmd[4];
cmd1646drivers/cdrom/mcdx.ccmd[0] = 0x90;
cmd1648drivers/cdrom/mcdx.ccmd[1] = 0x10;    /* irq enable */
cmd1649drivers/cdrom/mcdx.ccmd[2] = 0x05;    /* pre, err irq enable */
cmd1651drivers/cdrom/mcdx.cif (-1 == mcdx_talk(stuffp, cmd, 3, NULL, 0, 1*HZ, tries))
cmd1654drivers/cdrom/mcdx.ccmd[1] = 0x02;    /* dma select */
cmd1655drivers/cdrom/mcdx.ccmd[2] = 0x00;    /* no dma */
cmd1657drivers/cdrom/mcdx.creturn mcdx_talk(stuffp, cmd, 3, NULL, 0, 1*HZ, tries);
cmd1688drivers/cdrom/mcdx.cchar cmd[2] = { 0xfe };
cmd1690drivers/cdrom/mcdx.ccmd[1] = lock ? 0x01 : 0x00;
cmd1691drivers/cdrom/mcdx.creturn mcdx_talk(stuffp, cmd, sizeof(cmd), NULL, 0, 5*HZ, tries);
cmd229drivers/cdrom/optcd.cstatic int optSendCmd(int cmd) {
cmd232drivers/cdrom/optcd.cprintk("optcd: executing command 0x%02x\n", cmd);
cmd235drivers/cdrom/optcd.coutb(cmd, COMIN_PORT);    /* Send command code */
cmd362drivers/cdrom/optcd.cinline static int optCmd(int cmd) {
cmd363drivers/cdrom/optcd.cint ack = optSendCmd(cmd);
cmd366drivers/cdrom/optcd.cif (cmd < COMFETCH)    /* Quick response command */
cmd373drivers/cdrom/optcd.cinline static int optPlayCmd(int cmd, struct opt_Play_msf *params) {
cmd374drivers/cdrom/optcd.cint ack = optSendCmd(cmd);
cmd384drivers/cdrom/optcd.cinline static int optReadCmd(int cmd, struct opt_Play_msf *params) {
cmd385drivers/cdrom/optcd.cint ack = optSendCmd(cmd);
cmd1036drivers/cdrom/optcd.cunsigned int cmd, unsigned long arg) {
cmd1040drivers/cdrom/optcd.cprintk("optcd: starting opt_ioctl, command 0x%x\n", cmd);
cmd1049drivers/cdrom/optcd.cswitch (cmd) {
cmd3795drivers/cdrom/sbpcd.cstatic int sbpcd_ioctl(struct inode *inode, struct file *file, u_int cmd,
cmd3801drivers/cdrom/sbpcd.cMINOR(inode->i_rdev), cmd, arg);
cmd3822drivers/cdrom/sbpcd.cmsg(DBG_IO2,"ioctl: device %d, request %04X\n",i,cmd);
cmd3823drivers/cdrom/sbpcd.cswitch (cmd)     /* Sun-compatible */
cmd4338drivers/cdrom/sbpcd.cmsg(DBG_IOC,"ioctl: unknown function request %04X\n", cmd);
cmd4379drivers/cdrom/sbpcd.cif (CURRENT->cmd != READ)
cmd4381drivers/cdrom/sbpcd.cmsg(DBG_INF, "bad cmd %d\n", CURRENT->cmd);
cmd254drivers/cdrom/sjcd.cstatic void sjcd_send_cmd( unsigned char cmd ){
cmd256drivers/cdrom/sjcd.cprintk( "sjcd: send_cmd( 0x%x )\n", cmd );
cmd258drivers/cdrom/sjcd.coutb( cmd, SJCDPORT( 0 ) );
cmd267drivers/cdrom/sjcd.cstatic void sjcd_send_1_cmd( unsigned char cmd, unsigned char a ){
cmd269drivers/cdrom/sjcd.cprintk( "sjcd: send_1_cmd( 0x%x, 0x%x )\n", cmd, a );
cmd271drivers/cdrom/sjcd.coutb( cmd, SJCDPORT( 0 ) );
cmd281drivers/cdrom/sjcd.cstatic void sjcd_send_4_cmd( unsigned char cmd, unsigned char a,
cmd284drivers/cdrom/sjcd.cprintk( "sjcd: send_4_cmd( 0x%x )\n", cmd );
cmd286drivers/cdrom/sjcd.coutb( cmd, SJCDPORT( 0 ) );
cmd299drivers/cdrom/sjcd.cstatic void sjcd_send_6_cmd( unsigned char cmd, struct sjcd_play_msf *pms ){
cmd301drivers/cdrom/sjcd.cprintk( "sjcd: send_long_cmd( 0x%x )\n", cmd );
cmd303drivers/cdrom/sjcd.coutb( cmd, SJCDPORT( 0 ) );
cmd714drivers/cdrom/sjcd.cunsigned int cmd, unsigned long arg ){
cmd725drivers/cdrom/sjcd.cswitch( cmd ){
cmd981drivers/cdrom/sjcd.cCURRENT->cmd == READ && CURRENT->sector != -1 )
cmd195drivers/cdrom/sonycd535.cstatic int do_sony_cmd(Byte * cmd, int nCmd, Byte status[2],
cmd425drivers/cdrom/sonycd535.cByte cmd;
cmd485drivers/cdrom/sonycd535.ccmd = SONY535_SPIN_UP;
cmd486drivers/cdrom/sonycd535.cdo_sony_cmd(&cmd, 1, e_status, NULL, 0, 0);
cmd526drivers/cdrom/sonycd535.cdo_sony_cmd(Byte * cmd, int n_cmd, Byte status[2],
cmd533drivers/cdrom/sonycd535.coutb(cmd[i], command_reg);
cmd547drivers/cdrom/sonycd535.c*cmd, status[0], status[1]);
cmd690drivers/cdrom/sonycd535.cByte cmd;
cmd693drivers/cdrom/sonycd535.ccmd = SONY535_REQUEST_DRIVE_STATUS_1;
cmd694drivers/cdrom/sonycd535.cif (do_sony_cmd(&cmd, 1, status, NULL, 0, 0) != 0)
cmd700drivers/cdrom/sonycd535.ccmd = SONY535_SPIN_UP;
cmd701drivers/cdrom/sonycd535.creturn do_sony_cmd(&cmd, 1, status, NULL, 0, 0);
cmd791drivers/cdrom/sonycd535.cByte cmd[2];
cmd812drivers/cdrom/sonycd535.cswitch (CURRENT->cmd) {
cmd899drivers/cdrom/sonycd535.ccmd[0] = SONY535_SPIN_UP;
cmd900drivers/cdrom/sonycd535.cdo_sony_cmd(cmd, 1, status, NULL, 0, 0);
cmd976drivers/cdrom/sonycd535.cByte cmd = SONY535_REQUEST_SUB_Q_DATA;
cmd983drivers/cdrom/sonycd535.cif ((dsc_status = do_sony_cmd(&cmd, 1, status, (Byte *) last_sony_subcode,
cmd1071drivers/cdrom/sonycd535.cunsigned int cmd,
cmd1091drivers/cdrom/sonycd535.cswitch (cmd) {
cmd476drivers/char/cyclades.cwrite_cy_cmd(u_char *base_addr, u_char cmd, int index)
cmd497drivers/char/cyclades.cbase_addr[CyCCR<<index] = cmd;
cmd1887drivers/char/cyclades.cset_modem_info(struct cyclades_port * info, unsigned int cmd,
cmd1903drivers/char/cyclades.cswitch (cmd) {
cmd2114drivers/char/cyclades.cunsigned int cmd, unsigned long arg)
cmd2121drivers/char/cyclades.cprintk("cy_ioctl ttyC%d, cmd = %x arg = %lx\n", info->line, cmd, arg); /* */
cmd2124drivers/char/cyclades.cswitch (cmd) {
cmd2200drivers/char/cyclades.cret_val = set_modem_info(info, cmd, (unsigned int *) arg);
cmd589drivers/char/istallion.cstatic int  stli_ioctl(struct tty_struct *tty, struct file *file, unsigned int cmd, unsigned long arg);
cmd605drivers/char/istallion.cstatic int  stli_memioctl(struct inode *ip, struct file *fp, unsigned int cmd, unsigned long arg);
cmd615drivers/char/istallion.cstatic int  stli_cmdwait(stlibrd_t *brdp, stliport_t *portp, unsigned long cmd, void *arg, int size, int copyback);
cmd616drivers/char/istallion.cstatic void  stli_sendcmd(stlibrd_t *brdp, stliport_t *portp, unsigned long cmd, void *arg, int size, int copyback);
cmd1231drivers/char/istallion.cstatic int stli_cmdwait(stlibrd_t *brdp, stliport_t *portp, unsigned long cmd, void *arg, int size, int copyback)
cmd1236drivers/char/istallion.cprintk("stli_cmdwait(brdp=%x,portp=%x,cmd=%x,arg=%x,size=%d,copyback=%d)\n", (int) brdp, (int) portp, (int) cmd, (int) arg, size, copyback);
cmd1249drivers/char/istallion.cstli_sendcmd(brdp, portp, cmd, arg, size, copyback);
cmd1787drivers/char/istallion.cstatic int stli_ioctl(struct tty_struct *tty, struct file *file, unsigned int cmd, unsigned long arg)
cmd1795drivers/char/istallion.cprintk("stli_ioctl(tty=%x,file=%x,cmd=%x,arg=%x)\n", (int) tty, (int) file, cmd, (int) arg);
cmd1809drivers/char/istallion.cswitch (cmd) {
cmd2195drivers/char/istallion.cstatic void stli_sendcmd(stlibrd_t *brdp, stliport_t *portp, unsigned long cmd, void *arg, int size, int copyback)
cmd2203drivers/char/istallion.cprintk("stli_sendcmd(brdp=%x,portp=%x,cmd=%x,arg=%x,size=%d,copyback=%d)\n", (int) brdp, (int) portp, (int) cmd, (int) arg, size, copyback);
cmd2207drivers/char/istallion.cprintk("STALLION: command already busy, cmd=%x!\n", (int) cmd);
cmd2223drivers/char/istallion.ccp->cmd = cmd;
cmd2312drivers/char/istallion.cint  cmd;
cmd2316drivers/char/istallion.ccmd = A_SETSIGNALSF;
cmd2318drivers/char/istallion.ccmd = A_SETSIGNALSFTX;
cmd2320drivers/char/istallion.ccmd = A_SETSIGNALSFRX;
cmd2322drivers/char/istallion.ccmd = A_SETSIGNALS;
cmd2328drivers/char/istallion.ccp->cmd = cmd;
cmd2331drivers/char/istallion.ccmd = ((test_bit(ST_DOFLUSHTX, &portp->state)) ? FLUSHTX : 0);
cmd2332drivers/char/istallion.ccmd |= ((test_bit(ST_DOFLUSHRX, &portp->state)) ? FLUSHRX : 0);
cmd2335drivers/char/istallion.cmemcpy((void *) &(cp->args[0]), (void *) &cmd, sizeof(int));
cmd2337drivers/char/istallion.ccp->cmd = A_FLUSH;
cmd2406drivers/char/istallion.cif ((cp->cmd == 0) && (rc != 0)) {
cmd3928drivers/char/istallion.cstatic int stli_memioctl(struct inode *ip, struct file *fp, unsigned int cmd, unsigned long arg)
cmd3934drivers/char/istallion.cprintk("stli_memioctl(ip=%x,fp=%x,cmd=%x,arg=%x)\n", (int) ip, (int) fp, cmd, (int) arg);
cmd3946drivers/char/istallion.cswitch (cmd) {
cmd392drivers/char/lp.cunsigned int cmd, unsigned long arg)
cmd398drivers/char/lp.cprintk(KERN_DEBUG "lp%d ioctl, cmd: 0x%x, arg: 0x%x\n", minor, cmd, arg);
cmd404drivers/char/lp.cswitch ( cmd ) {
cmd243drivers/char/random.cunsigned int cmd, unsigned long arg);
cmd726drivers/char/random.cunsigned int cmd, unsigned long arg)
cmd731drivers/char/random.cswitch (cmd) {
cmd167drivers/char/scc.cstatic int scc_ioctl(struct tty_struct *tty, struct file *file, unsigned int cmd, unsigned long arg);
cmd1357drivers/char/scc.ckiss_set_param(struct scc_channel *scc,char cmd, unsigned int val)
cmd1363drivers/char/scc.cswitch(cmd){
cmd1829drivers/char/scc.cscc_ioctl(struct tty_struct *tty, struct file * file, unsigned int cmd, unsigned long arg)
cmd1850drivers/char/scc.cif (cmd == TIOCSCCINI)
cmd1866drivers/char/scc.cif (cmd == TIOCCHANINI)
cmd1915drivers/char/scc.cswitch(cmd){
cmd1937drivers/char/scc.cswitch (cmd) {
cmd1597drivers/char/serial.cstatic int set_modem_info(struct async_struct * info, unsigned int cmd,
cmd1607drivers/char/serial.cswitch (cmd) {
cmd1841drivers/char/serial.cunsigned int cmd, unsigned long arg)
cmd1850drivers/char/serial.cif ((cmd != TIOCGSERIAL) && (cmd != TIOCSSERIAL) &&
cmd1851drivers/char/serial.c(cmd != TIOCSERCONFIG) && (cmd != TIOCSERGWILD)  &&
cmd1852drivers/char/serial.c(cmd != TIOCSERSWILD) && (cmd != TIOCSERGSTRUCT)) {
cmd1857drivers/char/serial.cswitch (cmd) {
cmd1895drivers/char/serial.creturn set_modem_info(info, cmd, (unsigned int *) arg);
cmd465drivers/char/stallion.cstatic int  stl_ioctl(struct tty_struct *tty, struct file *file, unsigned int cmd, unsigned long arg);
cmd1164drivers/char/stallion.cstatic int stl_ioctl(struct tty_struct *tty, struct file *file, unsigned int cmd, unsigned long arg)
cmd1170drivers/char/stallion.cprintk("stl_ioctl(tty=%x,file=%x,cmd=%x,arg=%x)\n", (int) tty, (int) file, cmd, (int) arg);
cmd1181drivers/char/stallion.cswitch (cmd) {
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) {
cmd104drivers/char/tty_io.cunsigned int cmd, unsigned long arg);
cmd307drivers/char/tty_io.cunsigned int cmd, unsigned long arg)
cmd1338drivers/char/tty_io.cunsigned int cmd, unsigned long arg)
cmd1358drivers/char/tty_io.cswitch (cmd) {
cmd1560drivers/char/tty_io.ccmd, arg);
cmd1566drivers/char/tty_io.ccmd, arg);
cmd375drivers/char/tty_ioctl.cunsigned int cmd, unsigned long arg)
cmd387drivers/char/tty_ioctl.cswitch (cmd) {
cmd544drivers/char/tty_ioctl.ctty->driver.ioctl(tty, file, cmd, arg);
cmd186drivers/char/vt.cunsigned int cmd, unsigned long arg)
cmd208drivers/char/vt.cswitch (cmd) {
cmd248drivers/char/vt.creturn sys_ioperm(arg, 1, (cmd == KDADDIO)) ? -ENXIO : 0;
cmd253drivers/char/vt.c(cmd == KDENABIO)) ? -ENXIO : 0;
cmd105drivers/net/apricot.cstruct i596_cmd cmd;
cmd113drivers/net/apricot.cunsigned short cmd;
cmd126drivers/net/apricot.cstruct i596_cmd *cmd;
cmd189drivers/net/apricot.cstatic void i596_add_cmd(struct device *dev, struct i596_cmd *cmd);
cmd218drivers/net/apricot.crfd->cmd = CMD_EOL;
cmd222drivers/net/apricot.crfd->cmd = 0x0000;
cmd273drivers/net/apricot.clp->cmd_head = lp->scb.cmd = (struct i596_cmd *) I596_NULL;
cmd375drivers/net/apricot.clp->rx_tail->cmd = 0;
cmd379drivers/net/apricot.clp->rx_tail->cmd = CMD_EOL;
cmd440drivers/net/apricot.clp->scb.cmd = lp->cmd_head;
cmd484drivers/net/apricot.cstatic void i596_add_cmd(struct device *dev, struct i596_cmd *cmd)
cmd493drivers/net/apricot.ccmd->status = 0;
cmd494drivers/net/apricot.ccmd->command |= (CMD_EOL|CMD_INTR);
cmd495drivers/net/apricot.ccmd->next = (struct i596_cmd *) I596_NULL;
cmd500drivers/net/apricot.clp->cmd_tail->next = cmd;
cmd503drivers/net/apricot.clp->cmd_head = cmd;
cmd512drivers/net/apricot.clp->scb.cmd = cmd;
cmd516drivers/net/apricot.clp->cmd_tail = cmd;
cmd519drivers/net/apricot.clp->cmd_head = lp->scb.cmd;
cmd641drivers/net/apricot.ctx_cmd->cmd.command = CMD_FLEX|CmdTx;
cmd743drivers/net/apricot.clp->scb.cmd = (struct i596_cmd *) I596_NULL;
cmd875drivers/net/apricot.clp->scb.cmd = lp->cmd_head;
cmd968drivers/net/apricot.cstruct i596_cmd *cmd;
cmd974drivers/net/apricot.ccmd = (struct i596_cmd *) kmalloc(sizeof(struct i596_cmd)+2+num_addrs*6, GFP_ATOMIC);
cmd975drivers/net/apricot.cif (cmd == NULL)
cmd981drivers/net/apricot.ccmd->command = CmdMulticastList;
cmd982drivers/net/apricot.c*((unsigned short *) (cmd + 1)) = num_addrs * 6;
cmd983drivers/net/apricot.cmemcpy (((char *)(cmd + 1))+2, addrs, num_addrs * 6);
cmd984drivers/net/apricot.cprint_eth (((char *)(cmd + 1)) + 2);
cmd986drivers/net/apricot.ci596_add_cmd(dev, cmd);
cmd132drivers/net/atp.cstatic unsigned short eeprom_op(short ioaddr, unsigned int cmd);
cmd293drivers/net/atp.cstatic unsigned short eeprom_op(short ioaddr, unsigned int cmd)
cmd299drivers/net/atp.cchar outval = test_bit(num_bits, &cmd) ? EE_DATA_WRITE : 0;
cmd403drivers/net/de4x5.cstatic int     de4x5_ioctl(struct device *dev, struct ifreq *rq, int cmd);
cmd2499drivers/net/de4x5.cstatic int de4x5_ioctl(struct device *dev, struct ifreq *rq, int cmd)
cmd2512drivers/net/de4x5.cswitch(ioc->cmd) {
cmd624drivers/net/de4x5.hunsigned short cmd;                /* Command to run */
cmd287drivers/net/de600.c#define de600_put_command(cmd) ( \
cmd290drivers/net/de600.coutb_p(((rx_page | cmd) << 4)   | COMMAND            , DATA_PORT), \
cmd291drivers/net/de600.coutb_p(((rx_page | cmd) & 0xf0) | COMMAND | HI_NIBBLE, DATA_PORT))
cmd272drivers/net/de620.cde620_send_command(struct device *dev, byte cmd)
cmd275drivers/net/de620.cif (cmd == W_DUMMY)
cmd278drivers/net/de620.coutb(cmd, DATA_PORT);
cmd364drivers/net/depca.cstatic int    depca_ioctl(struct device *dev, struct ifreq *rq, int cmd);
cmd1652drivers/net/depca.cstatic int depca_ioctl(struct device *dev, struct ifreq *rq, int cmd)
cmd1664drivers/net/depca.cswitch(ioc->cmd) {
cmd163drivers/net/depca.hunsigned short cmd;                /* Command to run */
cmd144drivers/net/eql.cstatic int eql_ioctl(struct device *dev, struct ifreq *ifr, int cmd); /*  */
cmd327drivers/net/eql.ceql_ioctl(struct device *dev, struct ifreq *ifr, int cmd)
cmd329drivers/net/eql.cif(!suser() && cmd!=EQL_GETMASTRCFG && cmd!=EQL_GETSLAVECFG)
cmd331drivers/net/eql.cswitch (cmd)
cmd776drivers/net/eth16i.cshort cmd = ( (command & (1 << i)) ? DI_1 : DI_0 );
cmd777drivers/net/eth16i.coutb(cmd, ioaddr + EEPROM_DATA_REG);
cmd294drivers/net/ewrk3.cstatic int ewrk3_ioctl(struct device *dev, struct ifreq *rq, int cmd);
cmd1605drivers/net/ewrk3.cstatic int ewrk3_ioctl(struct device *dev, struct ifreq *rq, int cmd)
cmd1617drivers/net/ewrk3.cswitch(ioc->cmd) {
cmd294drivers/net/ewrk3.hunsigned short cmd;                /* Command to run */
cmd143drivers/net/ni52.cif(!p->scb->cmd) break; \
cmd480drivers/net/ni52.cp->scb->cmd = CUC_START; /* cmd.-unit start */
cmd506drivers/net/ni52.cp->scb->cmd = CUC_START; /* cmd.-unit start */
cmd530drivers/net/ni52.cp->scb->cmd = CUC_START; /* cmd.-unit start */
cmd545drivers/net/ni52.cp->scb->cmd = p->scb->status & STAT_MASK;
cmd565drivers/net/ni52.cp->scb->cmd = p->scb->status & STAT_MASK;
cmd623drivers/net/ni52.cp->scb->cmd = CUC_START;
cmd668drivers/net/ni52.cp->scb->cmd = CUC_START;
cmd744drivers/net/ni52.cp->scb->cmd = stat;
cmd766drivers/net/ni52.cp->scb->cmd = RUC_RESUME;
cmd776drivers/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 */
cmd154drivers/net/pi2.cstatic int pi_ioctl(struct device *dev, struct ifreq *ifr, int cmd);
cmd241drivers/net/pi2.cint cmd;
cmd250drivers/net/pi2.ccmd = lp->base + CTL;
cmd256drivers/net/pi2.cwrtscc(lp->cardbase, cmd, R1, WT_FN_RDYFN | WT_RDY_RT | INT_ERR_Rx | EXT_INT_ENAB);
cmd272drivers/net/pi2.cwrtscc(lp->cardbase, cmd, R0, RES_Rx_CRC);
cmd275drivers/net/pi2.cwrtscc(lp->cardbase, cmd, R1,
cmd345drivers/net/pi2.cint cmd;
cmd351drivers/net/pi2.ccmd = CTL + lp->base;
cmd367drivers/net/pi2.cwrtscc(lp->cardbase, cmd, R0, RES_EXT_INT);
cmd368drivers/net/pi2.cwrtscc(lp->cardbase, cmd, R0, RES_EXT_INT);
cmd369drivers/net/pi2.cif ((rdscc(lp->cardbase, cmd, R0) & DCD) != 0) {
cmd373drivers/net/pi2.cwrtscc(lp->cardbase, cmd, R15, CTSIE | DCDIE);
cmd384drivers/net/pi2.cwrtscc(lp->cardbase, cmd, R5, TxCRC_ENAB | RTS | Tx8);
cmd400drivers/net/pi2.cint cmd;
cmd411drivers/net/pi2.ccmd = lp->base + CTL;
cmd438drivers/net/pi2.cwrtscc(lp->cardbase, cmd, R1, WT_FN_RDYFN | EXT_INT_ENAB);
cmd455drivers/net/pi2.cwrtscc(lp->cardbase, cmd, R0, RES_Tx_CRC | RES_Tx_P);
cmd458drivers/net/pi2.cwrtscc(lp->cardbase, cmd, R15, TxUIE);
cmd461drivers/net/pi2.cwrtscc(lp->cardbase, cmd, R1, WT_RDY_ENAB | WT_FN_RDYFN | EXT_INT_ENAB);
cmd464drivers/net/pi2.cwrtscc(lp->cardbase, cmd, R0, RES_EOM_L);
cmd474drivers/net/pi2.cwrtscc(lp->cardbase, cmd, R0, RES_EXT_INT);
cmd475drivers/net/pi2.cwrtscc(lp->cardbase, cmd, R0, RES_EXT_INT);
cmd476drivers/net/pi2.cif ((rdscc(lp->cardbase, cmd, R0) & DCD) != 0) {
cmd491drivers/net/pi2.cwrtscc(lp->cardbase, cmd, R5, TxCRC_ENAB | RTS | Tx8);
cmd507drivers/net/pi2.cint cmd;
cmd517drivers/net/pi2.ccmd = lp->base + CTL;
cmd519drivers/net/pi2.crse = rdscc(lp->cardbase, cmd, R1);  /* Get special condition bits from R1 */
cmd583drivers/net/pi2.cint cmd;
cmd592drivers/net/pi2.ccmd = CTL + lp->base;
cmd594drivers/net/pi2.crse = rdscc(lp->cardbase, cmd, R1);  /* get status byte from R1 */
cmd596drivers/net/pi2.cif ((rdscc(lp->cardbase, cmd, R0)) & Rx_CH_AV) {
cmd618drivers/net/pi2.c*lp->rcp++ = rdscc(lp->cardbase, cmd, R8);  /* char to rcv buff */
cmd622drivers/net/pi2.c(void) rdscc(lp->cardbase, cmd, R8);
cmd623drivers/net/pi2.cwrtscc(lp->cardbase, cmd, R0, ERR_RES);  /* reset err latch */
cmd677drivers/net/pi2.cint cmd;
cmd682drivers/net/pi2.ccmd = CTL + lp->base;
cmd708drivers/net/pi2.cwrtscc(lp->cardbase, cmd, R0, RES_EXT_INT);
cmd709drivers/net/pi2.cwrtscc(lp->cardbase, cmd, R0, RES_EXT_INT);
cmd710drivers/net/pi2.cif ((rdscc(lp->cardbase, cmd, R0) & DCD) != 0) {
cmd714drivers/net/pi2.cwrtscc(lp->cardbase, cmd, R15, CTSIE | DCDIE);
cmd735drivers/net/pi2.cwrtscc(lp->cardbase, cmd, R8, c);
cmd741drivers/net/pi2.cif ((rdscc(lp->cardbase, cmd, R0) & 0x40)) {
cmd746drivers/net/pi2.cwrtscc(lp->cardbase, cmd, R0, SEND_ABORT);
cmd755drivers/net/pi2.cwrtscc(lp->cardbase, cmd, R10, CRCPS | NRZI);
cmd757drivers/net/pi2.cwrtscc(lp->cardbase, cmd, R10, CRCPS);
cmd759drivers/net/pi2.cwrtscc(lp->cardbase, cmd, R0, RES_Tx_P);  /* reset Tx Int Pend */
cmd778drivers/net/pi2.cint cmd;
cmd781drivers/net/pi2.ccmd = CTL + lp->base;
cmd784drivers/net/pi2.cst = rdscc(lp->cardbase, cmd, R0);  /* Fetch status */
cmd786drivers/net/pi2.cwrtscc(lp->cardbase, cmd, R0, RES_EXT_INT);
cmd793drivers/net/pi2.cwrtscc(lp->cardbase, cmd, R0, SEND_ABORT);
cmd821drivers/net/pi2.cwrtscc(lp->cardbase, cmd, R0, RES_Tx_CRC);  /* reset for next frame */
cmd825drivers/net/pi2.cwrtscc(lp->cardbase, cmd, R10, CRCPS | NRZI | ABUNDER);
cmd827drivers/net/pi2.cwrtscc(lp->cardbase, cmd, R10, CRCPS | ABUNDER);
cmd830drivers/net/pi2.cwrtscc(lp->cardbase, cmd, R8, c);  /* First char out now */
cmd831drivers/net/pi2.cwrtscc(lp->cardbase, cmd, R0, RES_EOM_L);  /* Reset end of message latch */
cmd839drivers/net/pi2.cwhile((rdscc(lp->cardbase, cmd, R0) & 0x04) == 0)
cmd841drivers/net/pi2.cwrtscc(lp->cardbase, cmd, R8, c);
cmd847drivers/net/pi2.cwrtscc(lp->cardbase, cmd, R15, TxUIE);  /* allow Underrun int only */
cmd848drivers/net/pi2.cwrtscc(lp->cardbase, cmd, R0, RES_EXT_INT);
cmd849drivers/net/pi2.cwrtscc(lp->cardbase, cmd, R1, TxINT_ENAB | EXT_INT_ENAB);  /* Tx/Ext ints */
cmd859drivers/net/pi2.cwrtscc(lp->cardbase, cmd, R0, RES_EXT_INT);
cmd860drivers/net/pi2.cwrtscc(lp->cardbase, cmd, R0, RES_EXT_INT);
cmd861drivers/net/pi2.cif ((rdscc(lp->cardbase, cmd, R0) & DCD) != 0) {
cmd865drivers/net/pi2.cwrtscc(lp->cardbase, cmd, R15, CTSIE | DCDIE);
cmd886drivers/net/pi2.cwrtscc(lp->cardbase, cmd, R0, RES_Tx_CRC);  /* reset for next frame */
cmd890drivers/net/pi2.cwrtscc(lp->cardbase, cmd, R10, CRCPS | NRZI | ABUNDER);
cmd892drivers/net/pi2.cwrtscc(lp->cardbase, cmd, R10, CRCPS | ABUNDER);
cmd895drivers/net/pi2.cwrtscc(lp->cardbase, cmd, R8, c);  /* First char out now */
cmd896drivers/net/pi2.cwrtscc(lp->cardbase, cmd, R0, RES_EOM_L);  /* Reset end of message latch */
cmd904drivers/net/pi2.cwhile((rdscc(lp->cardbase, cmd, R0) & 0x04) == 0)
cmd906drivers/net/pi2.cwrtscc(lp->cardbase, cmd, R8, c);
cmd912drivers/net/pi2.cwrtscc(lp->cardbase, cmd, R15, TxUIE);  /* allow Underrun int only */
cmd913drivers/net/pi2.cwrtscc(lp->cardbase, cmd, R0, RES_EXT_INT);
cmd915drivers/net/pi2.cwrtscc(lp->cardbase, cmd, R1, TxINT_ENAB | EXT_INT_ENAB);
cmd928drivers/net/pi2.c(void) rdscc(lp->cardbase, cmd, R8);
cmd929drivers/net/pi2.c(void) rdscc(lp->cardbase, cmd, R8);
cmd930drivers/net/pi2.c(void) rdscc(lp->cardbase, cmd, R8);
cmd1002drivers/net/pi2.cint cmd;
cmd1006drivers/net/pi2.ccmd = CTL + lp->base;
cmd1011drivers/net/pi2.cwrtscc(lp->cardbase, cmd, R15, 0);
cmd1012drivers/net/pi2.cwrtscc(lp->cardbase, cmd, R3, Rx8);  /* Rx off */
cmd1014drivers/net/pi2.cif (cmd & 2) {    /* if channel a */
cmd1016drivers/net/pi2.cwrtscc(lp->cardbase, cmd, R1, WT_FN_RDYFN | EXT_INT_ENAB);
cmd1018drivers/net/pi2.cwrtscc(lp->cardbase, cmd, R1, 0);  /* No interrupts */
cmd1025drivers/net/pi2.cwrtscc(lp->cardbase, cmd, R12, tc & 0xFF);  /* lower byte */
cmd1026drivers/net/pi2.cwrtscc(lp->cardbase, cmd, R13, (tc >> 8) & 0xFF);  /* upper byte */
cmd1029drivers/net/pi2.cwrtscc(lp->cardbase, cmd, R5, TxCRC_ENAB | RTS | TxENAB | Tx8 | DTR);
cmd1033drivers/net/pi2.cwrtscc(lp->cardbase, cmd, R5, Tx8 | DTR);  /*  TX off */
cmd1039drivers/net/pi2.cwrtscc(lp->cardbase, cmd, R14, BRSRC);
cmd1043drivers/net/pi2.cwrtscc(lp->cardbase, cmd, R12, tc & 0xFF);  /* lower byte */
cmd1044drivers/net/pi2.cwrtscc(lp->cardbase, cmd, R13, (tc >> 8) & 0xFF);  /* upper byte */
cmd1046drivers/net/pi2.cwrtscc(lp->cardbase, cmd, R14, BRSRC | SEARCH);
cmd1048drivers/net/pi2.cwrtscc(lp->cardbase, cmd, R14, BRSRC | BRENABL);
cmd1052drivers/net/pi2.cwrtscc(lp->cardbase, cmd, R3, Rx8);  /* Make sure rx is off */
cmd1053drivers/net/pi2.cwrtscc(lp->cardbase, cmd, R0, ERR_RES);  /* reset err latch */
cmd1054drivers/net/pi2.cdummy = rdscc(lp->cardbase, cmd, R1);  /* get status byte from R1 */
cmd1055drivers/net/pi2.c(void) rdscc(lp->cardbase, cmd, R8);
cmd1056drivers/net/pi2.c(void) rdscc(lp->cardbase, cmd, R8);
cmd1058drivers/net/pi2.c(void) rdscc(lp->cardbase, cmd, R8);
cmd1061drivers/net/pi2.cwrtscc(lp->cardbase, cmd, R3, RxENABLE | Rx8);
cmd1064drivers/net/pi2.cif (cmd & 2) {    /* if channel a */
cmd1070drivers/net/pi2.cwrtscc(lp->cardbase, cmd, R1, (INT_ALL_Rx | EXT_INT_ENAB));
cmd1072drivers/net/pi2.cwrtscc(lp->cardbase, cmd, R15, BRKIE);  /* allow ABORT int */
cmd1097drivers/net/pi2.cregister int cmd;
cmd1101drivers/net/pi2.ccmd = CTL + lp->base;
cmd1105drivers/net/pi2.cswitch (cmd & CHANA) {
cmd1107drivers/net/pi2.cwrtscc(lp->cardbase, cmd, R9, CHRA);  /* Reset channel A */
cmd1108drivers/net/pi2.cwrtscc(lp->cardbase, cmd, R2, 0xff);  /* Initialize interrupt vector */
cmd1111drivers/net/pi2.cwrtscc(lp->cardbase, cmd, R9, CHRB);  /* Reset channel B */
cmd1116drivers/net/pi2.cwrtscc(lp->cardbase, cmd, R1, 0);
cmd1119drivers/net/pi2.cwrtscc(lp->cardbase, cmd, R15, 0);
cmd1122drivers/net/pi2.cwrtscc(lp->cardbase, cmd, R4, SDLC | X1CLK);
cmd1126drivers/net/pi2.cwrtscc(lp->cardbase, cmd, R10, CRCPS | NRZI);
cmd1129drivers/net/pi2.cwrtscc(lp->cardbase, cmd, R11, TCBR | RCDPLL | TRxCDP | TRxCOI);
cmd1132drivers/net/pi2.cwrtscc(lp->cardbase, cmd, R11, TCDPLL | RCDPLL | TRxCBR | TRxCOI);
cmd1134drivers/net/pi2.cwrtscc(lp->cardbase, cmd, R10, CRCPS);
cmd1136drivers/net/pi2.cwrtscc(lp->cardbase, cmd, R11, TCTRxCP);
cmd1140drivers/net/pi2.cwrtscc(lp->cardbase, cmd, R6, 0);
cmd1143drivers/net/pi2.cwrtscc(lp->cardbase, cmd, R7, FLAG);
cmd1148drivers/net/pi2.cwrtscc(lp->cardbase, cmd, R5, Tx8 | DTR);
cmd1151drivers/net/pi2.cwrtscc(lp->cardbase, cmd, R3, Rx8);  /* 8 bits/char */
cmd1154drivers/net/pi2.cwrtscc(lp->cardbase, cmd, R14, BRSRC);  /* BRG off, keep Pclk source */
cmd1165drivers/net/pi2.cwrtscc(lp->cardbase, cmd, R12, tc & 0xFF);  /* lower byte */
cmd1166drivers/net/pi2.cwrtscc(lp->cardbase, cmd, R13, (tc >> 8) & 0xFF);  /* upper byte */
cmd1173drivers/net/pi2.cwrtscc(lp->cardbase, cmd, R14, BRSRC | SSBR);
cmd1176drivers/net/pi2.cwrtscc(lp->cardbase, cmd, R14, BRSRC | SSRTxC);
cmd1178drivers/net/pi2.cwrtscc(lp->cardbase, cmd, R14, BRSRC | SEARCH);  /* SEARCH mode, keep BRG src */
cmd1179drivers/net/pi2.cwrtscc(lp->cardbase, cmd, R14, BRSRC | BRENABL);  /* Enable the BRG */
cmd1181drivers/net/pi2.cif (!(cmd & 2))    /* if channel b */
cmd1182drivers/net/pi2.cwrtscc(lp->cardbase, cmd, R1, (INT_ALL_Rx | EXT_INT_ENAB));
cmd1184drivers/net/pi2.cwrtscc(lp->cardbase, cmd, R15, BRKIE);  /* ABORT int */
cmd1187drivers/net/pi2.cwrtscc(lp->cardbase, cmd, R3, RxENABLE | RxCRC_ENAB | Rx8);
cmd1595drivers/net/pi2.cstatic int pi_ioctl(struct device *dev, struct ifreq *ifr, int cmd)
cmd1605drivers/net/pi2.cif(cmd!=SIOCDEVPRIVATE)
cmd1610drivers/net/pi2.cswitch (rq.cmd) {
cmd73drivers/net/pi2.hint cmd;
cmd152drivers/net/plip.cstatic int plip_ioctl(struct device *dev, struct ifreq *ifr, int cmd);
cmd1036drivers/net/plip.cplip_ioctl(struct device *dev, struct ifreq *rq, int cmd)
cmd188drivers/net/ppp.cstatic int ppp_dev_ioctl (struct device *dev, struct ifreq *ifr, int cmd);
cmd2854drivers/net/ppp.cppp_dev_ioctl (struct device *dev, struct ifreq *ifr, int cmd)
cmd2861drivers/net/ppp.cswitch (cmd) {
cmd1009drivers/net/slip.cslip_ioctl(struct tty_struct *tty, void *file, int cmd, void *arg)
cmd1020drivers/net/slip.cswitch(cmd) {
cmd1091drivers/net/slip.creturn n_tty_ioctl(tty, (struct file *) file, cmd, (unsigned long) arg);
cmd224drivers/net/wavelan.h#define PIOM(cmd,piono)    ((u_short)cmd << 10 << (piono * 2))
cmd691drivers/pci/pci.cunsigned char cmd, tmp, hdr_type = 0;
cmd751drivers/pci/pci.c&cmd);
cmd753drivers/pci/pci.ccmd | PCI_COMMAND_MASTER);
cmd758drivers/pci/pci.ccmd);
cmd186drivers/scsi/53c7,8xx.cstatic void abnormal_finished (struct NCR53c7x0_cmd *cmd, int result);
cmd193drivers/scsi/53c7,8xx.c*cmd);
cmd194drivers/scsi/53c7,8xx.cstatic void intr_dma (struct Scsi_Host *host, struct NCR53c7x0_cmd *cmd);
cmd199drivers/scsi/53c7,8xx.cstatic void NCR53c8xx_dsa_fixup (struct NCR53c7x0_cmd *cmd);
cmd202drivers/scsi/53c7,8xx.cNCR53c7x0_cmd *cmd);
cmd1311drivers/scsi/53c7,8xx.cunsigned char cmd[6];
cmd1316drivers/scsi/53c7,8xx.ccmd[0] = INQUIRY;
cmd1317drivers/scsi/53c7,8xx.ccmd[1] = cmd[2] = cmd[3] = cmd[5] = 0;
cmd1318drivers/scsi/53c7,8xx.ccmd[4] = sizeof(data); 
cmd1323drivers/scsi/53c7,8xx.cdsa[5] = virt_to_bus(&cmd);
cmd1402drivers/scsi/53c7,8xx.cstatic void NCR53c8xx_dsa_fixup (struct NCR53c7x0_cmd *cmd) {
cmd1403drivers/scsi/53c7,8xx.cScsi_Cmnd *c = cmd->cmd;
cmd1409drivers/scsi/53c7,8xx.cmemcpy (cmd->dsa, hostdata->script + (hostdata->E_dsa_code_template / 4),
cmd1412drivers/scsi/53c7,8xx.cpatch_abs_32 (cmd->dsa, Ent_dsa_code_template / sizeof(u32),
cmd1413drivers/scsi/53c7,8xx.cdsa_temp_jump_resume, virt_to_bus(cmd->dsa) + 
cmd1415drivers/scsi/53c7,8xx.cpatch_abs_rwri_data (cmd->dsa, Ent_dsa_code_template / sizeof(u32),
cmd1417drivers/scsi/53c7,8xx.cpatch_abs_32 (cmd->dsa, Ent_dsa_code_template / sizeof(u32),
cmd1418drivers/scsi/53c7,8xx.cdsa_temp_dsa_next, virt_to_bus(cmd->dsa) + A_dsa_next);
cmd1419drivers/scsi/53c7,8xx.cpatch_abs_32 (cmd->dsa, Ent_dsa_code_template / sizeof(u32),
cmd1421drivers/scsi/53c7,8xx.cpatch_abs_rwri_data (cmd->dsa, Ent_dsa_code_template / sizeof(u32),
cmd1440drivers/scsi/53c7,8xx.cstatic void abnormal_finished (struct NCR53c7x0_cmd *cmd, int result) {
cmd1441drivers/scsi/53c7,8xx.cScsi_Cmnd *c = cmd->cmd;
cmd1455drivers/scsi/53c7,8xx.csearch && ((char*)bus_to_virt(search) + hostdata->dsa_start) != (char *) cmd->dsa;
cmd1463drivers/scsi/53c7,8xx.cif (cmd->prev)
cmd1464drivers/scsi/53c7,8xx.ccmd->prev->next = cmd->next;
cmd1466drivers/scsi/53c7,8xx.cif (cmd->next)
cmd1467drivers/scsi/53c7,8xx.ccmd->next->prev = cmd->prev;
cmd1469drivers/scsi/53c7,8xx.cif (hostdata->running_list == cmd)
cmd1470drivers/scsi/53c7,8xx.chostdata->running_list = cmd->next;
cmd1472drivers/scsi/53c7,8xx.ccmd->next = hostdata->free;
cmd1473drivers/scsi/53c7,8xx.chostdata->free = cmd;
cmd1495drivers/scsi/53c7,8xx.cNCR53c7x0_cmd *cmd) {
cmd1499drivers/scsi/53c7,8xx.cScsi_Cmnd *c = cmd ? cmd->cmd : NULL;
cmd1690drivers/scsi/53c7,8xx.cNCR53c7x0_cmd *cmd) {
cmd1692drivers/scsi/53c7,8xx.cScsi_Cmnd *c = cmd ? cmd->cmd : NULL;
cmd1706drivers/scsi/53c7,8xx.cif (cmd) 
cmd1729drivers/scsi/53c7,8xx.cif (cmd) {
cmd1731drivers/scsi/53c7,8xx.chost->host_no, c->target, (cmd->flags & CMD_FLAG_SDTR) ? "accepting" :
cmd1741drivers/scsi/53c7,8xx.cif (cmd->flags & CMD_FLAG_SDTR) {
cmd1742drivers/scsi/53c7,8xx.ccmd->flags &= ~CMD_FLAG_SDTR; 
cmd1751drivers/scsi/53c7,8xx.ccmd->flags |= CMD_FLAG_DID_SDTR;
cmd1758drivers/scsi/53c7,8xx.cpatch_dsa_32 (cmd->dsa, dsa_msgout_other, 0, 5);
cmd1759drivers/scsi/53c7,8xx.cpatch_dsa_32 (cmd->dsa, dsa_msgout_other, 1, 
cmd1843drivers/scsi/53c7,8xx.cpatch_dsa_32 (cmd->dsa, dsa_msgout, 0, 1);
cmd1850drivers/scsi/53c7,8xx.cpatch_dsa_32 (cmd->dsa, dsa_cmdout, 0, 6);
cmd1865drivers/scsi/53c7,8xx.cpatch_dsa_32 (cmd->dsa, dsa_dataout, 0, hostdata->E_other_transfer);
cmd1866drivers/scsi/53c7,8xx.cpatch_dsa_32 (cmd->dsa, dsa_datain, 0, virt_to_bus(cmd->data_transfer_start));
cmd1867drivers/scsi/53c7,8xx.ccmd->data_transfer_start[0] = (((DCMD_TYPE_BMI | DCMD_BMI_OP_MOVE_I | 
cmd1869drivers/scsi/53c7,8xx.ccmd->data_transfer_start[1] = virt_to_bus(c->sense_buffer);
cmd1871drivers/scsi/53c7,8xx.ccmd->data_transfer_start[2] = ((DCMD_TYPE_TCI | DCMD_TCI_OP_JUMP) 
cmd1873drivers/scsi/53c7,8xx.ccmd->data_transfer_start[3] = hostdata->E_other_transfer;
cmd1882drivers/scsi/53c7,8xx.ccmd->cmd->result = 0xffff;    
cmd1897drivers/scsi/53c7,8xx.cif (cmd)
cmd1898drivers/scsi/53c7,8xx.cabnormal_finished (cmd, DID_ERROR << 16);
cmd2356drivers/scsi/53c7,8xx.ccreate_cmd (Scsi_Cmnd *cmd) {
cmd2358drivers/scsi/53c7,8xx.cstruct Scsi_Host *host = cmd->host;
cmd2374drivers/scsi/53c7,8xx.cNCR53c7x0_local_setup(cmd->host);
cmd2389drivers/scsi/53c7,8xx.c!(hostdata->cmd_allocated[cmd->target] & (1 << cmd->lun))) {
cmd2437drivers/scsi/53c7,8xx.cswitch (cmd->cmnd[0]) {
cmd2445drivers/scsi/53c7,8xx.cdatain = 2 * (cmd->use_sg ? cmd->use_sg : 1) + 3;
cmd2454drivers/scsi/53c7,8xx.cprint_command(cmd->cmnd);
cmd2458drivers/scsi/53c7,8xx.ccmd->use_sg);
cmd2461drivers/scsi/53c7,8xx.cdataout = 2 * (cmd->use_sg ? cmd->use_sg : 1) + 3;
cmd2479drivers/scsi/53c7,8xx.cdatain = dataout = 2 * (cmd->use_sg ? cmd->use_sg : 1) + 3;
cmd2503drivers/scsi/53c7,8xx.ctmp->cmd = cmd;
cmd2532drivers/scsi/53c7,8xx.cpatch_dsa_32(tmp->dsa, dsa_cmnd, 0, virt_to_bus(cmd));
cmd2533drivers/scsi/53c7,8xx.cpatch_dsa_32(tmp->dsa, dsa_select, 0, hostdata->sync[cmd->target].
cmd2541drivers/scsi/53c7,8xx.ctmp->select[0] = IDENTIFY (1, cmd->lun);
cmd2543drivers/scsi/53c7,8xx.ctmp->select[0] = IDENTIFY (0, cmd->lun);
cmd2546drivers/scsi/53c7,8xx.cpatch_dsa_32(tmp->dsa, dsa_cmdout, 0, cmd->cmd_len);
cmd2547drivers/scsi/53c7,8xx.cpatch_dsa_32(tmp->dsa, dsa_cmdout, 1, virt_to_bus(cmd->cmnd));
cmd2557drivers/scsi/53c7,8xx.cpatch_dsa_32(tmp->dsa, dsa_msgin, 1, virt_to_bus(&cmd->result) + 1);
cmd2559drivers/scsi/53c7,8xx.cpatch_dsa_32(tmp->dsa, dsa_status, 1, virt_to_bus(&cmd->result));
cmd2600drivers/scsi/53c7,8xx.cfor (i = 0; cmd->use_sg ? (i < cmd->use_sg) : !i; cmd_datain += 4, 
cmd2602drivers/scsi/53c7,8xx.cu32 buf = cmd->use_sg ?
cmd2603drivers/scsi/53c7,8xx.cvirt_to_bus(((struct scatterlist *)cmd->buffer)[i].address) :
cmd2604drivers/scsi/53c7,8xx.cvirt_to_bus(cmd->request_buffer);
cmd2605drivers/scsi/53c7,8xx.cu32 count = cmd->use_sg ?
cmd2606drivers/scsi/53c7,8xx.c((struct scatterlist *)cmd->buffer)[i].length :
cmd2607drivers/scsi/53c7,8xx.ccmd->request_bufflen;
cmd2697drivers/scsi/53c7,8xx.cint NCR53c7xx_queue_command (Scsi_Cmnd *cmd, void (* done)(Scsi_Cmnd *)) {
cmd2700drivers/scsi/53c7,8xx.cstruct Scsi_Host *host = cmd->host;
cmd2709drivers/scsi/53c7,8xx.c!(hostdata->debug_lun_limit[cmd->target] & (1 << cmd->lun)))) ||
cmd2710drivers/scsi/53c7,8xx.ccmd->target > 7) {
cmd2712drivers/scsi/53c7,8xx.ccmd->target, cmd->lun);
cmd2713drivers/scsi/53c7,8xx.ccmd->result = (DID_BAD_TARGET << 16);
cmd2714drivers/scsi/53c7,8xx.cdone(cmd);
cmd2721drivers/scsi/53c7,8xx.ccmd->result = (DID_BAD_TARGET << 16);
cmd2722drivers/scsi/53c7,8xx.cdone(cmd);
cmd2729drivers/scsi/53c7,8xx.cswitch (cmd->cmnd[0]) {
cmd2734drivers/scsi/53c7,8xx.ccmd->result = (DID_BAD_TARGET << 16);
cmd2735drivers/scsi/53c7,8xx.cdone(cmd);
cmd2740drivers/scsi/53c7,8xx.ccmd->scsi_done = done;
cmd2741drivers/scsi/53c7,8xx.ccmd->result = 0xffff;    /* The NCR will overwrite message
cmd2744drivers/scsi/53c7,8xx.ccmd->host_scribble = (unsigned char *) tmp = create_cmd (cmd);
cmd2781drivers/scsi/53c7,8xx.ctarget_was_busy = hostdata->busy[cmd->target][cmd->lun]
cmd2888drivers/scsi/53c7,8xx.cstatic void intr_scsi (struct Scsi_Host *host, struct NCR53c7x0_cmd *cmd) {
cmd2920drivers/scsi/53c7,8xx.cif (cmd) {
cmd2922drivers/scsi/53c7,8xx.chost->host_no, cmd->cmd->target, cmd->cmd->lun);
cmd2923drivers/scsi/53c7,8xx.cprint_command (cmd->cmd->cmnd);
cmd2943drivers/scsi/53c7,8xx.c} else if (cmd) {
cmd2944drivers/scsi/53c7,8xx.cabnormal_finished(cmd, DID_BAD_TARGET << 16);
cmd2954drivers/scsi/53c7,8xx.cif (cmd) {
cmd2956drivers/scsi/53c7,8xx.chost->host_no, cmd->cmd->target, cmd->cmd->lun);
cmd2957drivers/scsi/53c7,8xx.cabnormal_finished(cmd, DID_ERROR << 16);
cmd2967drivers/scsi/53c7,8xx.cif (cmd && cmd->cmd) {
cmd2969drivers/scsi/53c7,8xx.chost->host_no, cmd->cmd->target, cmd->cmd->lun);
cmd2970drivers/scsi/53c7,8xx.cabnormal_finished (cmd, DID_PARITY << 16); 
cmd2996drivers/scsi/53c7,8xx.cintr_phase_mismatch (host, cmd);
cmd3052drivers/scsi/53c7,8xx.cstruct NCR53c7x0_cmd *cmd,      /* command which halted */
cmd3127drivers/scsi/53c7,8xx.c&(hostdata->running_list), cmd = 
cmd3128drivers/scsi/53c7,8xx.c(struct NCR53c7x0_cmd *) hostdata->running_list; cmd ;
cmd3129drivers/scsi/53c7,8xx.ccmd_prev_ptr = (struct NCR53c7x0_cmd **) &(cmd->next), 
cmd3130drivers/scsi/53c7,8xx.ccmd = (struct NCR53c7x0_cmd *) cmd->next) {
cmd3133drivers/scsi/53c7,8xx.cif (!cmd) {
cmd3138drivers/scsi/53c7,8xx.cif (!(tmp = cmd->cmd)) {
cmd3145drivers/scsi/53c7,8xx.chost->host_no, cmd->cmd->result);
cmd3156drivers/scsi/53c7,8xx.cif (cmd->prev)
cmd3157drivers/scsi/53c7,8xx.ccmd->prev->next = cmd->next;
cmd3159drivers/scsi/53c7,8xx.c*cmd_prev_ptr = (struct NCR53c7x0_cmd *) cmd->next;
cmd3168drivers/scsi/53c7,8xx.ccmd->next = hostdata->free;
cmd3169drivers/scsi/53c7,8xx.chostdata->free = cmd;
cmd3210drivers/scsi/53c7,8xx.ccmd = (struct NCR53c7x0_cmd *) hostdata->current_cmd;
cmd3213drivers/scsi/53c7,8xx.cfor (cmd = (struct NCR53c7x0_cmd *) 
cmd3214drivers/scsi/53c7,8xx.chostdata->running_list; cmd &&
cmd3216drivers/scsi/53c7,8xx.ccmd->dsa;
cmd3217drivers/scsi/53c7,8xx.ccmd = (struct NCR53c7x0_cmd *)(cmd->next));
cmd3220drivers/scsi/53c7,8xx.cif (cmd) {
cmd3222drivers/scsi/53c7,8xx.chost->host_no, cmd->cmd->pid, (int) cmd->cmd->target,
cmd3223drivers/scsi/53c7,8xx.c(int) cmd->cmd->lun);
cmd3224drivers/scsi/53c7,8xx.cprint_command (cmd->cmd->cmnd);
cmd3233drivers/scsi/53c7,8xx.cintr_scsi (host, cmd);
cmd3239drivers/scsi/53c7,8xx.cintr_dma (host, cmd);
cmd3347drivers/scsi/53c7,8xx.c*cmd) {
cmd3356drivers/scsi/53c7,8xx.cif (!cmd) {
cmd3417drivers/scsi/53c7,8xx.cif (dsp >= cmd->data_transfer_start && dsp < cmd->data_transfer_end) {
cmd3505drivers/scsi/53c7,8xx.cstatic void intr_dma (struct Scsi_Host *host, struct NCR53c7x0_cmd *cmd) {
cmd3620drivers/scsi/53c7,8xx.c} else if (cmd) 
cmd3621drivers/scsi/53c7,8xx.cabnormal_finished (cmd, DID_BAD_TARGET << 16);
cmd3674drivers/scsi/53c7,8xx.cswitch ((tmp = hostdata->dstat_sir_intr (host, cmd))) {
cmd3687drivers/scsi/53c7,8xx.cintr_break (host, cmd);
cmd3762drivers/scsi/53c7,8xx.cint NCR53c7xx_abort (Scsi_Cmnd *cmd) {
cmd3763drivers/scsi/53c7,8xx.cstruct Scsi_Host *host = cmd->host;
cmd3783drivers/scsi/53c7,8xx.ccurr && curr->cmd != cmd; prev = (volatile struct NCR53c7x0_cmd **)
cmd3795drivers/scsi/53c7,8xx.ccmd->result = 0;
cmd3796drivers/scsi/53c7,8xx.ccmd->scsi_done(cmd);
cmd3808drivers/scsi/53c7,8xx.ccurr && curr->cmd != cmd; prev = (volatile struct NCR53c7x0_cmd **) 
cmd3814drivers/scsi/53c7,8xx.ccmd->host->host_no);
cmd3824drivers/scsi/53c7,8xx.ccurr = (struct NCR53c7x0_cmd *) cmd->host_scribble;
cmd3828drivers/scsi/53c7,8xx.cif (((cmd->result & 0xff00) == 0xff00) ||
cmd3829drivers/scsi/53c7,8xx.c((cmd->result & 0xff) == 0xff)) {
cmd3835drivers/scsi/53c7,8xx.ccmd->scsi_done(cmd);
cmd3852drivers/scsi/53c7,8xx.cNCR53c7xx_reset (Scsi_Cmnd *cmd) {
cmd3858drivers/scsi/53c7,8xx.cstruct Scsi_Host *host = cmd->host;
cmd3872drivers/scsi/53c7,8xx.ctmp = c->cmd;
cmd3876drivers/scsi/53c7,8xx.cif (tmp == cmd)
cmd3882drivers/scsi/53c7,8xx.cc = (struct NCR53c7x0_cmd *) cmd->host_scribble;
cmd3887drivers/scsi/53c7,8xx.ccmd->result = DID_RESET << 16;
cmd3888drivers/scsi/53c7,8xx.ccmd->scsi_done(cmd);
cmd966drivers/scsi/53c7,8xx.hScsi_Cmnd *cmd;      /* Associated Scsi_Cmnd 
cmd1101drivers/scsi/53c7,8xx.hvoid (* dsa_fixup)(struct NCR53c7x0_cmd *cmd);
cmd1111drivers/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);
cmd517drivers/scsi/aha1542.cunchar *cmd = (unchar *) SCpnt->cmnd;
cmd536drivers/scsi/aha1542.cif(*cmd == REQUEST_SENSE){
cmd548drivers/scsi/aha1542.cif (*cmd == READ_10 || *cmd == WRITE_10)
cmd549drivers/scsi/aha1542.ci = xscsi2int(cmd+2);
cmd550drivers/scsi/aha1542.celse if (*cmd == READ_6 || *cmd == WRITE_6)
cmd551drivers/scsi/aha1542.ci = scsi2int(cmd+2);
cmd555drivers/scsi/aha1542.cprintk("aha1542_queuecommand: dev %d cmd %02x pos %d len %d ", target, *cmd, i, bufflen);
cmd557drivers/scsi/aha1542.cprintk("aha1542_command: dev %d cmd %02x pos %d len %d ", target, *cmd, i, bufflen);
cmd560drivers/scsi/aha1542.cfor (i = 0; i < SCpnt->cmd_len; i++) printk("%02x ", cmd[i]);
cmd562drivers/scsi/aha1542.cif (*cmd == WRITE_10 || *cmd == WRITE_6)
cmd600drivers/scsi/aha1542.cif (*cmd == READ_10 || *cmd == READ_6)
cmd602drivers/scsi/aha1542.celse if (*cmd == WRITE_10 || *cmd == WRITE_6)
cmd605drivers/scsi/aha1542.cmemcpy(ccb[mbo].cdb, cmd, ccb[mbo].cdblen);
cmd703drivers/scsi/aha1542.cunchar cmd[5] = {CMD_MBINIT, AHA1542_MAILBOXES, 0, 0, 0};
cmd713drivers/scsi/aha1542.cany2scsi((cmd+2), mb);
cmd714drivers/scsi/aha1542.caha1542_out(bse, cmd, 5);
cmd1042drivers/scsi/aha1542.cstatic unchar cmd[] = {  READ_CAPACITY, 0, 0, 0, 0, 0, 0, 0, 0, 0};
cmd1047drivers/scsi/aha1542.cif (!aha1542_command(i, cmd, buf, sizeof(buf))) {
cmd1057drivers/scsi/aha1542.cunsigned char cmd[10];
cmd1060drivers/scsi/aha1542.ccmd[0] = READ_10;
cmd1061drivers/scsi/aha1542.ccmd[1] = 0;
cmd1062drivers/scsi/aha1542.cxany2scsi(cmd+2, i);
cmd1063drivers/scsi/aha1542.ccmd[6] = 0;
cmd1064drivers/scsi/aha1542.ccmd[7] = 0;
cmd1065drivers/scsi/aha1542.ccmd[8] = 1;
cmd1066drivers/scsi/aha1542.ccmd[9] = 0;
cmd1067drivers/scsi/aha1542.caha1542_command(0, cmd, buffer, 512);
cmd255drivers/scsi/aha1740.cunchar *cmd = (unchar *) SCpnt->cmnd;
cmd264drivers/scsi/aha1740.cif(*cmd == REQUEST_SENSE)
cmd276drivers/scsi/aha1740.cif (*cmd == READ_10 || *cmd == WRITE_10)
cmd277drivers/scsi/aha1740.ci = xscsi2int(cmd+2);
cmd278drivers/scsi/aha1740.celse if (*cmd == READ_6 || *cmd == WRITE_6)
cmd279drivers/scsi/aha1740.ci = scsi2int(cmd+2);
cmd282drivers/scsi/aha1740.cprintk("aha1740_queuecommand: dev %d cmd %02x pos %d len %d ", target, *cmd, i, bufflen);
cmd284drivers/scsi/aha1740.cfor (i = 0; i < SCpnt->cmd_len; i++) printk("%02x ", cmd[i]);
cmd317drivers/scsi/aha1740.cif (*cmd == READ_10 || *cmd == READ_6)
cmd319drivers/scsi/aha1740.celse if (*cmd == WRITE_10 || *cmd == WRITE_6)
cmd322drivers/scsi/aha1740.cmemcpy(ecb[ecbno].cdb, cmd, ecb[ecbno].cdblen);
cmd794drivers/scsi/aic7xxx.c#define aic7xxx_error(cmd)  ((cmd)->SCp.Status)
cmd799drivers/scsi/aic7xxx.c#define aic7xxx_status(cmd)  ((cmd)->SCp.sent_command)
cmd804drivers/scsi/aic7xxx.c#define aic7xxx_position(cmd)  ((cmd)->SCp.have_data_in)
cmd907drivers/scsi/aic7xxx.cScsi_Cmnd          *cmd;  /* Scsi_Cmnd for this scb */
cmd1183drivers/scsi/aic7xxx.c(unsigned long) scb->next, (unsigned long) scb->cmd, scb->state,
cmd1503drivers/scsi/aic7xxx.caic7xxx_length(Scsi_Cmnd *cmd, int sg_last)
cmd1509drivers/scsi/aic7xxx.csegments = cmd->use_sg - sg_last;
cmd1510drivers/scsi/aic7xxx.csg = (struct scatterlist *) cmd->buffer;
cmd1512drivers/scsi/aic7xxx.cif (cmd->use_sg)
cmd1514drivers/scsi/aic7xxx.cfor (i = length = 0; (i < cmd->use_sg) && (i < segments); i++)
cmd1521drivers/scsi/aic7xxx.clength = cmd->request_bufflen;
cmd1694drivers/scsi/aic7xxx.cScsi_Cmnd *cmd = scb->cmd;
cmd1720drivers/scsi/aic7xxx.cscb->cmd = NULL;
cmd1724drivers/scsi/aic7xxx.ccmd->scsi_done(cmd);
cmd1864drivers/scsi/aic7xxx.cscb->cmd->result = (DID_RESET << 16);
cmd1910drivers/scsi/aic7xxx.cscb->cmd->result = (DID_RESET << 16);
cmd1974drivers/scsi/aic7xxx.cscb->cmd->result = (DID_RESET << 16);
cmd2121drivers/scsi/aic7xxx.cScsi_Cmnd *cmd;
cmd2239drivers/scsi/aic7xxx.cscb->cmd->device->tagged_supported = 0;
cmd2240drivers/scsi/aic7xxx.cscb->cmd->device->tagged_queue = 0;
cmd2443drivers/scsi/aic7xxx.cif ((scb->state != SCB_ACTIVE) || (scb->cmd == NULL))
cmd2447drivers/scsi/aic7xxx.cintstat, scb_index, scb->state, (unsigned int) scb->cmd);
cmd2451drivers/scsi/aic7xxx.ccmd = scb->cmd;
cmd2453drivers/scsi/aic7xxx.caic7xxx_status(cmd) = scb->target_status;
cmd2455drivers/scsi/aic7xxx.ccmd->result |= scb->target_status;
cmd2464drivers/scsi/aic7xxx.cif ((aic7xxx_error(cmd) == 0) && !(cmd->flags & WAS_SENSE))
cmd2474drivers/scsi/aic7xxx.ccmd->flags |= WAS_SENSE;
cmd2478drivers/scsi/aic7xxx.cscb->sense_cmd[1] = (cmd->lun << 5);
cmd2479drivers/scsi/aic7xxx.cscb->sense_cmd[4] = sizeof(cmd->sense_buffer);
cmd2481drivers/scsi/aic7xxx.cscb->sense_sg.address = (char *) &cmd->sense_buffer;
cmd2482drivers/scsi/aic7xxx.cscb->sense_sg.length = sizeof(cmd->sense_buffer);
cmd2484drivers/scsi/aic7xxx.ccmd->cmd_len = COMMAND_SIZE(cmd->cmnd[0]);
cmd2529drivers/scsi/aic7xxx.ccmd->flags |= ASKED_FOR_SENSE;
cmd2535drivers/scsi/aic7xxx.cif (!aic7xxx_error(cmd))
cmd2537drivers/scsi/aic7xxx.caic7xxx_error(cmd) = DID_BUS_BUSY;
cmd2543drivers/scsi/aic7xxx.cif (!aic7xxx_error(cmd))
cmd2545drivers/scsi/aic7xxx.caic7xxx_error(cmd) = DID_RETRY_COMMAND;
cmd2552drivers/scsi/aic7xxx.cif (!aic7xxx_error(cmd))
cmd2554drivers/scsi/aic7xxx.caic7xxx_error(cmd) = DID_RETRY_COMMAND;
cmd2564drivers/scsi/aic7xxx.cif ((scb->state != SCB_ACTIVE) || (scb->cmd == NULL))
cmd2568drivers/scsi/aic7xxx.cintstat, scb_index, scb->state, (unsigned int) scb->cmd);
cmd2572drivers/scsi/aic7xxx.ccmd = scb->cmd;
cmd2577drivers/scsi/aic7xxx.cif (!(cmd->flags & WAS_SENSE))
cmd2585drivers/scsi/aic7xxx.cactual = aic7xxx_length(cmd, scb->residual_SG_segment_count);
cmd2591drivers/scsi/aic7xxx.cif (actual < cmd->underflow)
cmd2595drivers/scsi/aic7xxx.ccmd->target, cmd->underflow, actual, inb(SCBARRAY(base + 18)));
cmd2596drivers/scsi/aic7xxx.caic7xxx_error(cmd) = DID_RETRY_COMMAND;
cmd2597drivers/scsi/aic7xxx.caic7xxx_status(cmd) = scb->target_status;
cmd2606drivers/scsi/aic7xxx.cif ((scb->state != SCB_ACTIVE) || (scb->cmd == NULL))
cmd2610drivers/scsi/aic7xxx.cintstat, scb_index, scb->state, (unsigned int) scb->cmd);
cmd2614drivers/scsi/aic7xxx.ccmd = scb->cmd;
cmd2621drivers/scsi/aic7xxx.cchannel, scsi_id, cmd->lun & 0x07);
cmd2623drivers/scsi/aic7xxx.ccmd->result = (DID_RETRY_COMMAND << 16);
cmd2631drivers/scsi/aic7xxx.cif ((scb->state != SCB_ACTIVE) || (scb->cmd == NULL))
cmd2635drivers/scsi/aic7xxx.cintstat, scb_index, scb->state, (unsigned int) scb->cmd);
cmd2698drivers/scsi/aic7xxx.cif ((scb->state != SCB_ACTIVE) || (scb->cmd == NULL))
cmd2714drivers/scsi/aic7xxx.ccmd = scb->cmd;
cmd2725drivers/scsi/aic7xxx.cunsigned char target_mask = (1 << (cmd->target & 0x07));
cmd2733drivers/scsi/aic7xxx.ccmd->result = (DID_TIME_OUT << 16);
cmd2787drivers/scsi/aic7xxx.cscb->position, scb->state, (unsigned int) scb->cmd);
cmd2800drivers/scsi/aic7xxx.ccmd->target,
cmd2801drivers/scsi/aic7xxx.ccmd->channel & 0x01,
cmd2802drivers/scsi/aic7xxx.ccmd->lun & 0x07);
cmd2803drivers/scsi/aic7xxx.caic7xxx_error(cmd) = DID_PARITY;
cmd2846drivers/scsi/aic7xxx.cif ((scb->state != SCB_ACTIVE) || (scb->cmd == NULL))
cmd2852drivers/scsi/aic7xxx.cscb->state, (unsigned int) scb->cmd, scb->position);
cmd2856drivers/scsi/aic7xxx.ccmd = scb->cmd;
cmd2858drivers/scsi/aic7xxx.ccmd->result = (aic7xxx_error(cmd) << 16) | aic7xxx_status(cmd);
cmd2859drivers/scsi/aic7xxx.cif ((cmd->flags & WAS_SENSE) && !(cmd->flags & ASKED_FOR_SENSE))
cmd2864drivers/scsi/aic7xxx.ccmd->flags &= ASKED_FOR_SENSE;
cmd2868drivers/scsi/aic7xxx.cscb->state, (unsigned int) scb->cmd, (unsigned int) p->free_scb);
cmd2888drivers/scsi/aic7xxx.cscb->state, (unsigned int) scb->cmd, (unsigned int) p->free_scb);
cmd2896drivers/scsi/aic7xxx.cactual = aic7xxx_length(cmd, 0);
cmd2897drivers/scsi/aic7xxx.cif (((cmd->flags & WAS_SENSE) == 0) && (actual > 0))
cmd2903drivers/scsi/aic7xxx.csp = &p->stats[cmd->channel & 0x01][cmd->target & 0x0F][cmd->lun & 0x07];
cmd2906drivers/scsi/aic7xxx.cif (cmd->request.cmd == WRITE)
cmd3618drivers/scsi/aic7xxx.cp->scb_array[i].cmd = NULL;
cmd4095drivers/scsi/aic7xxx.cScsi_Cmnd *cmd,
cmd4107drivers/scsi/aic7xxx.cif (cmd->device->tagged_supported)
cmd4109drivers/scsi/aic7xxx.cif (cmd->device->tagged_queue == 0)
cmd4112drivers/scsi/aic7xxx.c"channel %d\n", cmd->target, cmd->channel);
cmd4113drivers/scsi/aic7xxx.ccmd->device->tagged_queue = 1;
cmd4114drivers/scsi/aic7xxx.ccmd->device->current_tag = 1;  /* enable tagging */
cmd4116drivers/scsi/aic7xxx.ccmd->tag = cmd->device->current_tag;
cmd4117drivers/scsi/aic7xxx.ccmd->device->current_tag++;
cmd4121drivers/scsi/aic7xxx.cmask = (0x01 << (cmd->target | (cmd->channel << 3)));
cmd4131drivers/scsi/aic7xxx.cprintk("Sending WDTR request to target %d.\n", cmd->target);
cmd4141drivers/scsi/aic7xxx.cprintk("Sending SDTR request to target %d.\n", cmd->target);
cmd4148drivers/scsi/aic7xxx.ccmd->target, cmd->cmnd[0], cmd->cmd_len, p->needwdtr, mask);
cmd4150drivers/scsi/aic7xxx.cscb->target_channel_lun = ((cmd->target << 4) & 0xF0) |
cmd4151drivers/scsi/aic7xxx.c((cmd->channel & 0x01) << 3) | (cmd->lun & 0x07);
cmd4164drivers/scsi/aic7xxx.caddr = cmd->cmnd;
cmd4165drivers/scsi/aic7xxx.cscb->SCSI_cmd_length = cmd->cmd_len;
cmd4168drivers/scsi/aic7xxx.cif (cmd->use_sg)
cmd4172drivers/scsi/aic7xxx.ccmd->use_sg, length);
cmd4174drivers/scsi/aic7xxx.cscb->SG_segment_count = cmd->use_sg;
cmd4175drivers/scsi/aic7xxx.cmemcpy(scb->SG_list_pointer, &cmd->request_buffer,
cmd4177drivers/scsi/aic7xxx.cmemcpy(&sg, &cmd->request_buffer, sizeof(sg));
cmd4187drivers/scsi/aic7xxx.c(unsigned long) cmd->request_buffer, cmd->request_bufflen);
cmd4189drivers/scsi/aic7xxx.cif (cmd->request_bufflen == 0)
cmd4204drivers/scsi/aic7xxx.cscb->sg.address = (char *) cmd->request_buffer;
cmd4205drivers/scsi/aic7xxx.cscb->sg.length = cmd->request_bufflen;
cmd4211drivers/scsi/aic7xxx.cmemcpy(scb->data_pointer, &cmd->request_buffer, sizeof(scb->data_pointer));
cmd4224drivers/scsi/aic7xxx.caic7xxx_queue(Scsi_Cmnd *cmd, void (*fn)(Scsi_Cmnd *))
cmd4231drivers/scsi/aic7xxx.cp = (struct aic7xxx_host *) cmd->host->hostdata;
cmd4236drivers/scsi/aic7xxx.cif (!p->a_scanned && (cmd->channel == 0))
cmd4243drivers/scsi/aic7xxx.cif (!p->b_scanned && (cmd->channel == 1))
cmd4252drivers/scsi/aic7xxx.ccmd->cmnd[0], cmd->cmd_len, cmd->target, cmd->channel,
cmd4253drivers/scsi/aic7xxx.ccmd->lun & 0x07);
cmd4322drivers/scsi/aic7xxx.cscb->cmd = cmd;
cmd4323drivers/scsi/aic7xxx.caic7xxx_position(cmd) = scb->position;
cmd4332drivers/scsi/aic7xxx.caic7xxx_buildscb(p, cmd, scb);
cmd4340drivers/scsi/aic7xxx.cscb->position, (unsigned int) scb->cmd,
cmd4365drivers/scsi/aic7xxx.ccmd->scsi_done = fn;
cmd4366drivers/scsi/aic7xxx.caic7xxx_error(cmd) = DID_OK;
cmd4367drivers/scsi/aic7xxx.caic7xxx_status(cmd) = 0;
cmd4369drivers/scsi/aic7xxx.ccmd->result = 0;
cmd4370drivers/scsi/aic7xxx.cmemset(&cmd->sense_buffer, 0, sizeof(cmd->sense_buffer));
cmd4375drivers/scsi/aic7xxx.c(long) cmd, (long) scb->cmd, scb->position);
cmd4521drivers/scsi/aic7xxx.caic7xxx_abort(Scsi_Cmnd *cmd)
cmd4527drivers/scsi/aic7xxx.cp = (struct aic7xxx_host *) cmd->host->hostdata;
cmd4528drivers/scsi/aic7xxx.cscb = &(p->scb_array[aic7xxx_position(cmd)]);
cmd4550drivers/scsi/aic7xxx.caic7xxx_reset(Scsi_Cmnd *cmd)
cmd4552drivers/scsi/aic7xxx.creturn (aic7xxx_abort(cmd));
cmd579drivers/scsi/buslogic.cunsigned char *cmd = (unsigned char *)scpnt->cmnd;
cmd599drivers/scsi/buslogic.cif (*cmd == REQUEST_SENSE) {
cmd616drivers/scsi/buslogic.cif (*cmd == READ_10 || *cmd == WRITE_10
cmd617drivers/scsi/buslogic.c|| *cmd == READ_6 || *cmd == WRITE_6)
cmd618drivers/scsi/buslogic.ci = *(int *)(cmd + 2);
cmd622drivers/scsi/buslogic.ctarget, *cmd, i, bufflen);
cmd626drivers/scsi/buslogic.cprintk(" %02X", cmd[i]);
cmd628drivers/scsi/buslogic.cif (*cmd == WRITE_10 || *cmd == WRITE_6)
cmd683drivers/scsi/buslogic.cif (*cmd == READ_10 || *cmd == READ_6)
cmd685drivers/scsi/buslogic.celse if (*cmd == WRITE_10 || *cmd == WRITE_6)
cmd688drivers/scsi/buslogic.cmemcpy(ccb->cdb, cmd, ccb->cdblen);
cmd811drivers/scsi/buslogic.cunsigned char cmd, count;
cmd813drivers/scsi/buslogic.c} cmd = { CMD_INITEXTMB, BUSLOGIC_MAILBOXES, mb };
cmd821drivers/scsi/buslogic.cif (buslogic_out(base, (unsigned char *)&cmd, sizeof cmd))
cmd1286drivers/scsi/buslogic.cunsigned char cmd[]
cmd1296drivers/scsi/buslogic.cif (!buslogic_command(i, cmd, buf, sizeof buf)) {
cmd1307drivers/scsi/buslogic.ccmd[0] = READ_10;
cmd1308drivers/scsi/buslogic.ccmd[1] = 0;
cmd1309drivers/scsi/buslogic.cxany2scsi(cmd + 2, i);
cmd1310drivers/scsi/buslogic.ccmd[6] = 0;
cmd1311drivers/scsi/buslogic.ccmd[7] = 0;
cmd1312drivers/scsi/buslogic.ccmd[8] = 1;
cmd1313drivers/scsi/buslogic.ccmd[9] = 0;
cmd1314drivers/scsi/buslogic.cbuslogic_command(0, cmd, buffer, sizeof buffer);
cmd562drivers/scsi/constants.cvoid print_Scsi_Cmnd (Scsi_Cmnd *cmd) {
cmd564drivers/scsi/constants.ccmd->host->host_no, 
cmd565drivers/scsi/constants.ccmd->target, 
cmd566drivers/scsi/constants.ccmd->lun);
cmd568drivers/scsi/constants.cprint_command (cmd->cmnd);
cmd337drivers/scsi/eata.cstatic inline unchar do_dma (ushort iobase, unsigned int addr, unchar cmd) {
cmd348drivers/scsi/eata.coutb(cmd, iobase + REG_CMD);
cmd158drivers/scsi/eata_dma.cScsi_Cmnd *cmd;
cmd186drivers/scsi/eata_dma.ccmd = cp->cmd;
cmd187drivers/scsi/eata_dma.cbase = (uint) cmd->host->base;
cmd216drivers/scsi/eata_dma.cirq, base, cmd->pid, cmd->target, cmd->lun, 
cmd222drivers/scsi/eata_dma.c&& cmd->device->type == TYPE_DISK
cmd223drivers/scsi/eata_dma.c&& (HD(cmd)->t_state[cp->cp_channel][cp->cp_id] == RESET))
cmd226drivers/scsi/eata_dma.cHD(cmd)->t_state[cp->cp_channel][cp->cp_id] = OK;
cmd227drivers/scsi/eata_dma.cif(HD(cmd)->do_latency == TRUE && cp->timestamp) {
cmd231drivers/scsi/eata_dma.cif(HD(cmd)->writes_lat[cp->sizeindex][1] > time)
cmd232drivers/scsi/eata_dma.cHD(cmd)->writes_lat[cp->sizeindex][1] = time;
cmd233drivers/scsi/eata_dma.cif(HD(cmd)->writes_lat[cp->sizeindex][2] < time)
cmd234drivers/scsi/eata_dma.cHD(cmd)->writes_lat[cp->sizeindex][2] = time;
cmd235drivers/scsi/eata_dma.cHD(cmd)->writes_lat[cp->sizeindex][3] += time;
cmd236drivers/scsi/eata_dma.cHD(cmd)->writes_lat[cp->sizeindex][0]++;
cmd238drivers/scsi/eata_dma.cif(HD(cmd)->reads_lat[cp->sizeindex][1] > time)
cmd239drivers/scsi/eata_dma.cHD(cmd)->reads_lat[cp->sizeindex][1] = time;
cmd240drivers/scsi/eata_dma.cif(HD(cmd)->reads_lat[cp->sizeindex][2] < time)
cmd241drivers/scsi/eata_dma.cHD(cmd)->reads_lat[cp->sizeindex][2] = time;
cmd242drivers/scsi/eata_dma.cHD(cmd)->reads_lat[cp->sizeindex][3] += time;
cmd243drivers/scsi/eata_dma.cHD(cmd)->reads_lat[cp->sizeindex][0]++;
cmd248drivers/scsi/eata_dma.c&& cmd->device->type == TYPE_DISK
cmd249drivers/scsi/eata_dma.c&& (cmd->sense_buffer[2] & 0xf) == RECOVERED_ERROR)
cmd253drivers/scsi/eata_dma.cHD(cmd)->t_timeout[cp->cp_channel][cp->cp_id] = OK;
cmd259drivers/scsi/eata_dma.cif (HD(cmd)->t_timeout[cp->cp_channel][cp->cp_id] > 1)
cmd263drivers/scsi/eata_dma.cHD(cmd)->t_timeout[cp->cp_channel][cp->cp_id]++;
cmd268drivers/scsi/eata_dma.cif (cmd->device->type != TYPE_TAPE)
cmd274drivers/scsi/eata_dma.cHD(cmd)->t_state[cp->cp_channel][i] = RESET;
cmd288drivers/scsi/eata_dma.ccmd->result = result | (scsi_stat << 1); 
cmd292drivers/scsi/eata_dma.c|| cmd->scsi_done == NULL || cmd->device->id == 7) 
cmd296drivers/scsi/eata_dma.cx, cmd->device->channel, cmd->device->id, cmd->device->lun,
cmd297drivers/scsi/eata_dma.ccmd->pid, eata_stat, hba_stat, scsi_stat, 
cmd298drivers/scsi/eata_dma.ccmd->sense_buffer[2] & 0xf, cmd->result); 
cmd303drivers/scsi/eata_dma.ccmd->scsi_done(cmd);
cmd347drivers/scsi/eata_dma.cint eata_queue(Scsi_Cmnd * cmd, void (* done) (Scsi_Cmnd *))
cmd361drivers/scsi/eata_dma.chd = HD(cmd);
cmd362drivers/scsi/eata_dma.csh = cmd->host;
cmd405drivers/scsi/eata_dma.ccmd->pid, cmd->target, cmd->lun, y));
cmd413drivers/scsi/eata_dma.cif (cmd->cmnd[0] == WRITE_6 || cmd->cmnd[0] == WRITE_10 || 
cmd414drivers/scsi/eata_dma.ccmd->cmnd[0] == WRITE_12 || cmd->cmnd[0] == READ_6 || 
cmd415drivers/scsi/eata_dma.ccmd->cmnd[0] == READ_10 || cmd->cmnd[0] == READ_12) {
cmd418drivers/scsi/eata_dma.cswitch(cmd->cmnd[0]) {
cmd421drivers/scsi/eata_dma.cx = cmd->cmnd[4]/2; 
cmd425drivers/scsi/eata_dma.csho = (short *) &cmd->cmnd[7];
cmd430drivers/scsi/eata_dma.clon = (long *) &cmd->cmnd[6];
cmd438drivers/scsi/eata_dma.cif (cmd->cmnd[0] ==  WRITE_6 || cmd->cmnd[0] == WRITE_10 || 
cmd439drivers/scsi/eata_dma.ccmd->cmnd[0] ==  WRITE_12){
cmd444drivers/scsi/eata_dma.ccmd->scsi_done = (void *)done;
cmd446drivers/scsi/eata_dma.cswitch (cmd->cmnd[0]) {
cmd468drivers/scsi/eata_dma.cif (cmd->target == sh->this_id) 
cmd471drivers/scsi/eata_dma.cif (cmd->use_sg) {
cmd481drivers/scsi/eata_dma.ccp->cp_datalen = htonl(cmd->use_sg * sizeof(struct eata_sg_list));
cmd482drivers/scsi/eata_dma.csl=(struct scatterlist *)cmd->request_buffer;
cmd483drivers/scsi/eata_dma.cfor(i = 0; i < cmd->use_sg; i++, sl++){
cmd489drivers/scsi/eata_dma.ccp->cp_datalen = htonl(cmd->request_bufflen);
cmd490drivers/scsi/eata_dma.ccp->cp_dataDMA = htonl(virt_to_bus(cmd->request_buffer));
cmd494drivers/scsi/eata_dma.ccp->cp_reqDMA = htonl(virt_to_bus(cmd->sense_buffer));
cmd495drivers/scsi/eata_dma.ccp->reqlen = sizeof(cmd->sense_buffer);
cmd497drivers/scsi/eata_dma.ccp->cp_id = cmd->target;
cmd498drivers/scsi/eata_dma.ccp->cp_channel = cmd->channel;
cmd499drivers/scsi/eata_dma.ccp->cp_lun = cmd->lun;
cmd502drivers/scsi/eata_dma.cmemcpy(cp->cp_cdb, cmd->cmnd, cmd->cmd_len);
cmd508drivers/scsi/eata_dma.ccp->cmd = cmd;
cmd509drivers/scsi/eata_dma.ccmd->host_scribble = (char *)&hd->ccb[y];  
cmd512drivers/scsi/eata_dma.ccmd->result = DID_BUS_BUSY << 16;
cmd515drivers/scsi/eata_dma.c"returning DID_BUS_BUSY\n",cmd->target, cmd->pid));
cmd516drivers/scsi/eata_dma.cdone(cmd);
cmd522drivers/scsi/eata_dma.c"slot %d irq %d\n", (s32)sh->base, cmd->pid, 
cmd523drivers/scsi/eata_dma.ccmd->target, cmd->lun, y, sh->irq));
cmd530drivers/scsi/eata_dma.cint eata_abort(Scsi_Cmnd * cmd)
cmd539drivers/scsi/eata_dma.c" reason %x\n", cmd->pid, cmd->target, cmd->lun, 
cmd540drivers/scsi/eata_dma.ccmd->abort_reason));
cmd544drivers/scsi/eata_dma.cwhile (inb((u32)(cmd->host->base) + HA_RAUXSTAT) & HA_ABUSY)
cmd551drivers/scsi/eata_dma.cif (CD(cmd)->status == USED) {
cmd556drivers/scsi/eata_dma.cif (CD(cmd)->status == FREE) {
cmd561drivers/scsi/eata_dma.cif (CD(cmd)->status == RESET) {
cmd567drivers/scsi/eata_dma.cif (CD(cmd)->status == LOCKED) {
cmd577drivers/scsi/eata_dma.cint eata_reset(Scsi_Cmnd * cmd)
cmd590drivers/scsi/eata_dma.c" reason %x\n", cmd->pid, cmd->target, cmd->lun, 
cmd591drivers/scsi/eata_dma.ccmd->abort_reason));
cmd593drivers/scsi/eata_dma.cif (HD(cmd)->state == RESET) {
cmd600drivers/scsi/eata_dma.cwhile (inb((u32)(cmd->host->base) + HA_RAUXSTAT) & HA_ABUSY)
cmd610drivers/scsi/eata_dma.cHD(cmd)->t_state[x][z] = RESET;
cmd611drivers/scsi/eata_dma.cHD(cmd)->t_timeout[x][z] = NO_TIMEOUT;
cmd615drivers/scsi/eata_dma.cfor (x = 0; x < cmd->host->can_queue; x++) {
cmd616drivers/scsi/eata_dma.cif (HD(cmd)->ccb[x].status == FREE)
cmd619drivers/scsi/eata_dma.cif (HD(cmd)->ccb[x].status == LOCKED) {
cmd620drivers/scsi/eata_dma.cHD(cmd)->ccb[x].status = FREE;
cmd625drivers/scsi/eata_dma.csp = HD(cmd)->ccb[x].cmd;
cmd626drivers/scsi/eata_dma.cHD(cmd)->ccb[x].status = RESET;
cmd634drivers/scsi/eata_dma.cif (sp == cmd)
cmd639drivers/scsi/eata_dma.cinb((u32) (cmd->host->base) + HA_RSTATUS);  /* This might cause trouble */
cmd640drivers/scsi/eata_dma.ceata_send_command(0, (u32) cmd->host->base, EATA_CMD_RESET);
cmd643drivers/scsi/eata_dma.cHD(cmd)->state = RESET;
cmd658drivers/scsi/eata_dma.cfor (x = 0; x < cmd->host->can_queue; x++) {
cmd661drivers/scsi/eata_dma.cif (HD(cmd)->ccb[x].status != RESET)
cmd664drivers/scsi/eata_dma.csp = HD(cmd)->ccb[x].cmd;
cmd668drivers/scsi/eata_dma.cHD(cmd)->ccb[x].status = LOCKED;
cmd678drivers/scsi/eata_dma.cHD(cmd)->state = FALSE;
cmd92drivers/scsi/eata_generic.h#define HD(cmd)   ((hostdata *)&(cmd->host->hostdata))
cmd93drivers/scsi/eata_generic.h#define CD(cmd)   ((struct eata_ccb *)(cmd->host_scribble))
cmd315drivers/scsi/eata_generic.hScsi_Cmnd *cmd;        /* address of cmd        */
cmd130drivers/scsi/eata_pio.cScsi_Cmnd *cmd;
cmd154drivers/scsi/eata_pio.ccmd = cp->cmd;
cmd155drivers/scsi/eata_pio.cbase = (uint) cmd->host->base;
cmd164drivers/scsi/eata_pio.cwhile ((cmd->SCp.Status)&&((z>0)||(odd)))
cmd168drivers/scsi/eata_pio.c*(cmd->SCp.ptr)=zwickel>>8; 
cmd169drivers/scsi/eata_pio.cIncStat(&cmd->SCp,1);
cmd172drivers/scsi/eata_pio.cx=min(z,cmd->SCp.this_residual/2);
cmd173drivers/scsi/eata_pio.cinsw(base+HA_RDATA,cmd->SCp.ptr,x);
cmd175drivers/scsi/eata_pio.cIncStat(&cmd->SCp,2*x);
cmd176drivers/scsi/eata_pio.cif ((z>0)&&(cmd->SCp.this_residual==1))
cmd179drivers/scsi/eata_pio.c*(cmd->SCp.ptr)=zwickel&0xff;
cmd180drivers/scsi/eata_pio.cIncStat(&cmd->SCp,1); z--; 
cmd192drivers/scsi/eata_pio.cwhile ((cmd->SCp.Status)&&((z>0)||(odd)))
cmd196drivers/scsi/eata_pio.czwickel+=*(cmd->SCp.ptr)<<8; 
cmd197drivers/scsi/eata_pio.cIncStat(&cmd->SCp,1);
cmd202drivers/scsi/eata_pio.cx=min(z,cmd->SCp.this_residual/2);
cmd203drivers/scsi/eata_pio.coutsw(base+HA_RDATA,cmd->SCp.ptr,x);
cmd205drivers/scsi/eata_pio.cIncStat(&cmd->SCp,2*x);
cmd206drivers/scsi/eata_pio.cif ((z>0)&&(cmd->SCp.this_residual==1))
cmd208drivers/scsi/eata_pio.czwickel=*(cmd->SCp.ptr); 
cmd210drivers/scsi/eata_pio.cIncStat(&cmd->SCp,1); 
cmd233drivers/scsi/eata_pio.ccmd->result=(DID_OK<<16); 
cmd237drivers/scsi/eata_pio.ccmd->result=(DID_OK<<16)+0x02;
cmd238drivers/scsi/eata_pio.celse cmd->result=(DID_NO_CONNECT<<16);
cmd251drivers/scsi/eata_pio.cprintk("stat: %#.2x, result: %#.8x\n", stat, cmd->result); 
cmd258drivers/scsi/eata_pio.ccmd->scsi_done(cmd);
cmd279drivers/scsi/eata_pio.cint eata_pio_queue(Scsi_Cmnd * cmd, void (*done) (Scsi_Cmnd *))
cmd294drivers/scsi/eata_pio.chd = HD(cmd);
cmd295drivers/scsi/eata_pio.csh = cmd->host;
cmd316drivers/scsi/eata_pio.cmemset(cmd->sense_buffer, 0, sizeof(cmd->sense_buffer));
cmd321drivers/scsi/eata_pio.ccmd->pid, cmd->target, cmd->lun, y));
cmd324drivers/scsi/eata_pio.ccmd->scsi_done = (void *)done;
cmd326drivers/scsi/eata_pio.cswitch (cmd->cmnd[0]) {
cmd345drivers/scsi/eata_pio.ccp->Interpret = (cmd->target == hd->hostid);
cmd346drivers/scsi/eata_pio.ccp->cp_datalen = htonl((ulong)cmd->request_bufflen);
cmd351drivers/scsi/eata_pio.ccp->cp_id = cmd->target;
cmd352drivers/scsi/eata_pio.ccp->cp_lun = cmd->lun;
cmd355drivers/scsi/eata_pio.cmemcpy(cp->cp_cdb, cmd->cmnd, COMMAND_SIZE(*cmd->cmnd));
cmd360drivers/scsi/eata_pio.ccp->cmd = cmd;
cmd361drivers/scsi/eata_pio.ccmd->host_scribble = (char *)&hd->ccb[y];   
cmd363drivers/scsi/eata_pio.cif (cmd->use_sg == 0)
cmd365drivers/scsi/eata_pio.ccmd->SCp.buffers_residual=1;
cmd366drivers/scsi/eata_pio.ccmd->SCp.ptr = cmd->request_buffer;
cmd367drivers/scsi/eata_pio.ccmd->SCp.this_residual = cmd->request_bufflen;
cmd368drivers/scsi/eata_pio.ccmd->SCp.buffer = NULL;
cmd370drivers/scsi/eata_pio.ccmd->SCp.buffer = cmd->request_buffer;
cmd371drivers/scsi/eata_pio.ccmd->SCp.buffers_residual = cmd->use_sg;
cmd372drivers/scsi/eata_pio.ccmd->SCp.ptr = cmd->SCp.buffer->address;
cmd373drivers/scsi/eata_pio.ccmd->SCp.this_residual = cmd->SCp.buffer->length;
cmd375drivers/scsi/eata_pio.ccmd->SCp.Status = (cmd->SCp.this_residual != 0);  /* TRUE as long as bytes 
cmd380drivers/scsi/eata_pio.ccmd->result = DID_BUS_BUSY << 16;
cmd382drivers/scsi/eata_pio.c"DID_BUS_BUSY, done.\n", cmd->target, cmd->pid);
cmd383drivers/scsi/eata_pio.cdone(cmd);
cmd394drivers/scsi/eata_pio.c"slot %d irq %d\n", (long)sh->base, cmd->pid, 
cmd395drivers/scsi/eata_pio.ccmd->target, cmd->lun, y, sh->irq));
cmd402drivers/scsi/eata_pio.cint eata_pio_abort(Scsi_Cmnd * cmd)
cmd411drivers/scsi/eata_pio.c" reason %x\n", cmd->pid, cmd->target, cmd->lun, 
cmd412drivers/scsi/eata_pio.ccmd->abort_reason));
cmd416drivers/scsi/eata_pio.cwhile (inb((uint)(cmd->host->base) + HA_RAUXSTAT) & HA_ABUSY)
cmd423drivers/scsi/eata_pio.cif (CD(cmd)->status == FREE) {
cmd428drivers/scsi/eata_pio.cif (CD(cmd)->status == USED) {
cmd433drivers/scsi/eata_pio.cif (CD(cmd)->status == RESET) {
cmd439drivers/scsi/eata_pio.cif (CD(cmd)->status == LOCKED) {
cmd449drivers/scsi/eata_pio.cint eata_pio_reset(Scsi_Cmnd * cmd)
cmd460drivers/scsi/eata_pio.c"reason %x\n", cmd->pid, cmd->target, cmd->lun, 
cmd461drivers/scsi/eata_pio.ccmd->abort_reason));
cmd463drivers/scsi/eata_pio.cif (HD(cmd)->state == RESET) {
cmd471drivers/scsi/eata_pio.cHD(cmd)->t_state[0][z] = RESET;
cmd472drivers/scsi/eata_pio.cHD(cmd)->t_timeout[0][z] = NO_TIMEOUT;
cmd477drivers/scsi/eata_pio.cfor (x = 0; x < cmd->host->can_queue; x++) {
cmd479drivers/scsi/eata_pio.cif (HD(cmd)->ccb[x].status == FREE) 
cmd482drivers/scsi/eata_pio.csp = HD(cmd)->ccb[x].cmd;
cmd483drivers/scsi/eata_pio.cHD(cmd)->ccb[x].status = RESET;
cmd493drivers/scsi/eata_pio.coutb((uint) cmd->host->base+HA_WCOMMAND, EATA_CMD_RESET);
cmd496drivers/scsi/eata_pio.cHD(cmd)->state = RESET;
cmd504drivers/scsi/eata_pio.cfor (x = 0; x < cmd->host->can_queue; x++) {
cmd507drivers/scsi/eata_pio.cif (HD(cmd)->ccb[x].status != RESET)
cmd510drivers/scsi/eata_pio.csp = HD(cmd)->ccb[x].cmd;
cmd515drivers/scsi/eata_pio.cHD(cmd)->ccb[x].status = FREE;
cmd522drivers/scsi/eata_pio.cHD(cmd)->state = FALSE;
cmd421drivers/scsi/in2000.cunchar *cmd = (unchar *) SCpnt->cmnd;
cmd436drivers/scsi/in2000.cif ( *cmd == TEST_UNIT_READY )
cmd442drivers/scsi/in2000.cif (*cmd == READ_10 || *cmd == WRITE_10) {
cmd443drivers/scsi/in2000.ci = xscsi2int((cmd+1));
cmd444drivers/scsi/in2000.c} else if (*cmd == READ_6 || *cmd == WRITE_6) {
cmd445drivers/scsi/in2000.ci = scsi2int((cmd+1));
cmd452drivers/scsi/in2000.cfor (i = 0; i < SCpnt->cmd_len; i++) printk("%02x ", cmd[i]);
cmd456drivers/scsi/in2000.cif (*cmd == WRITE_10 || *cmd == WRITE_6)
cmd520drivers/scsi/in2000.coutb(cmd[loop],INDATA);
cmd295drivers/scsi/qlogic.cstatic void  ql_icmd(Scsi_Cmnd * cmd)
cmd329drivers/scsi/qlogic.coutb(cmd->target, qbase + 4);
cmd331drivers/scsi/qlogic.cfor (i = 0; i < cmd->cmd_len; i++)
cmd332drivers/scsi/qlogic.coutb(cmd->cmnd[i], qbase + 2);
cmd333drivers/scsi/qlogic.cqlcmd = cmd;
cmd339drivers/scsi/qlogic.cstatic unsigned int  ql_pcmd(Scsi_Cmnd * cmd)
cmd376drivers/scsi/qlogic.creqlen = cmd->request_bufflen;
cmd386drivers/scsi/qlogic.cif (!cmd->use_sg)
cmd387drivers/scsi/qlogic.cql_pdma(phase, cmd->request_buffer, cmd->request_bufflen);
cmd389drivers/scsi/qlogic.csgcount = cmd->use_sg;
cmd390drivers/scsi/qlogic.csglist = cmd->request_buffer;
cmd474drivers/scsi/qlogic.cstatic void  qlidone(Scsi_Cmnd * cmd) {};    /* null function */
cmd478drivers/scsi/qlogic.cint  qlogic_command(Scsi_Cmnd * cmd)
cmd483drivers/scsi/qlogic.cqlogic_queuecommand(cmd, qlidone);
cmd485drivers/scsi/qlogic.creturn cmd->result;
cmd489drivers/scsi/qlogic.cif (cmd->target == qinitid)
cmd491drivers/scsi/qlogic.cql_icmd(cmd);
cmd494drivers/scsi/qlogic.creturn ql_pcmd(cmd);
cmd501drivers/scsi/qlogic.cint  qlogic_queuecommand(Scsi_Cmnd * cmd, void (*done) (Scsi_Cmnd *))
cmd503drivers/scsi/qlogic.cif(cmd->target == qinitid) {
cmd504drivers/scsi/qlogic.ccmd->result = DID_BAD_TARGET << 16;
cmd505drivers/scsi/qlogic.cdone(cmd);
cmd509drivers/scsi/qlogic.ccmd->scsi_done = done;
cmd513drivers/scsi/qlogic.cql_icmd(cmd);
cmd517drivers/scsi/qlogic.cint  qlogic_queuecommand(Scsi_Cmnd * cmd, void (*done) (Scsi_Cmnd *))
cmd650drivers/scsi/qlogic.cint  qlogic_abort(Scsi_Cmnd * cmd)
cmd659drivers/scsi/qlogic.cint  qlogic_reset(Scsi_Cmnd * cmd)
cmd3052drivers/scsi/scsi.creq->cmd,
cmd103drivers/scsi/scsi_debug.cif (SCpnt->request.cmd != RW) panic ("Wrong  operation");       \
cmd178drivers/scsi/scsi_debug.cunchar *cmd = (unchar *) SCpnt->cmnd;
cmd212drivers/scsi/scsi_debug.cswitch(*cmd){
cmd230drivers/scsi/scsi_debug.cif(cmd[4]) printk("Medium removal inhibited...");
cmd268drivers/scsi/scsi_debug.cif ((*cmd) == READ_10)
cmd269drivers/scsi/scsi_debug.cblock = cmd[5] + (cmd[4] << 8) + (cmd[3] << 16) + (cmd[2] << 24); 
cmd271drivers/scsi/scsi_debug.cblock = cmd[3] + (cmd[2] << 8) + ((cmd[1] & 0x1f) << 16);
cmd349drivers/scsi/scsi_debug.cmemcpy(buff+sizeof(target), cmd, 24);
cmd381drivers/scsi/scsi_debug.cif ((*cmd) == WRITE_10)
cmd382drivers/scsi/scsi_debug.cblock = cmd[5] + (cmd[4] << 8) + (cmd[3] << 16) + (cmd[2] << 24); 
cmd384drivers/scsi/scsi_debug.cblock = cmd[3] + (cmd[2] << 8) + ((cmd[1] & 0x1f) << 16);
cmd403drivers/scsi/scsi_debug.cprintk("Unknown command %d\n",*cmd);
cmd104drivers/scsi/scsi_ioctl.cstatic int ioctl_internal_command(Scsi_Device *dev, char * cmd)
cmd113drivers/scsi/scsi_ioctl.cscsi_do_cmd(SCpnt,  cmd, NULL,  0,
cmd122drivers/scsi/scsi_ioctl.cif(cmd[0] == ALLOW_MEDIUM_REMOVAL) dev->lockable = 0;
cmd164drivers/scsi/scsi_ioctl.cchar cmd[12];
cmd224drivers/scsi/scsi_ioctl.cmemcpy_fromfs ((void *) cmd,  cmd_in,  cmdlen);
cmd236drivers/scsi/scsi_ioctl.ccmd[1] = ( cmd[1] & 0x1f ) | (dev->lun << 5);
cmd245drivers/scsi/scsi_ioctl.cscsi_do_cmd(SCpnt,  cmd,  buf, needed,  scsi_ioctl_done,  MAX_TIMEOUT, 
cmd282drivers/scsi/scsi_ioctl.cprintk("%02x ", cmd[i]);
cmd300drivers/scsi/scsi_ioctl.cint scsi_ioctl (Scsi_Device *dev, int cmd, void *arg)
cmd308drivers/scsi/scsi_ioctl.cswitch (cmd) {
cmd370drivers/scsi/scsi_ioctl.cint kernel_scsi_ioctl (Scsi_Device *dev, int cmd, void *arg) {
cmd375drivers/scsi/scsi_ioctl.ctmp = scsi_ioctl (dev, cmd, arg);
cmd16drivers/scsi/scsi_ioctl.hextern int scsi_ioctl (Scsi_Device *dev, int cmd, void *arg);
cmd17drivers/scsi/scsi_ioctl.hextern int kernel_scsi_ioctl (Scsi_Device *dev, int cmd, void *arg);
cmd249drivers/scsi/sd.cif (SCpnt->request.cmd == READ)
cmd264drivers/scsi/sd.cif (SCpnt->request.cmd == READ)
cmd509drivers/scsi/sd.cunsigned char cmd[10];
cmd576drivers/scsi/sd.cswitch (SCpnt->request.cmd)
cmd584drivers/scsi/sd.ccmd[0] = WRITE_6;
cmd587drivers/scsi/sd.ccmd[0] = READ_6;
cmd590drivers/scsi/sd.cpanic ("Unknown sd command %d\n", SCpnt->request.cmd);
cmd808drivers/scsi/sd.cif (SCpnt->request.cmd == WRITE)
cmd830drivers/scsi/sd.cif (SCpnt->request.cmd == WRITE)
cmd837drivers/scsi/sd.c(SCpnt->request.cmd == WRITE) ? "writing" : "reading",
cmd841drivers/scsi/sd.ccmd[1] = (SCpnt->lun << 5) & 0xe0;
cmd860drivers/scsi/sd.ccmd[0] += READ_10 - READ_6 ;
cmd861drivers/scsi/sd.ccmd[2] = (unsigned char) (block >> 24) & 0xff;
cmd862drivers/scsi/sd.ccmd[3] = (unsigned char) (block >> 16) & 0xff;
cmd863drivers/scsi/sd.ccmd[4] = (unsigned char) (block >> 8) & 0xff;
cmd864drivers/scsi/sd.ccmd[5] = (unsigned char) block & 0xff;
cmd865drivers/scsi/sd.ccmd[6] = cmd[9] = 0;
cmd866drivers/scsi/sd.ccmd[7] = (unsigned char) (this_count >> 8) & 0xff;
cmd867drivers/scsi/sd.ccmd[8] = (unsigned char) this_count & 0xff;
cmd874drivers/scsi/sd.ccmd[1] |= (unsigned char) ((block >> 16) & 0x1f);
cmd875drivers/scsi/sd.ccmd[2] = (unsigned char) ((block >> 8) & 0xff);
cmd876drivers/scsi/sd.ccmd[3] = (unsigned char) block & 0xff;
cmd877drivers/scsi/sd.ccmd[4] = (unsigned char) this_count;
cmd878drivers/scsi/sd.ccmd[5] = 0;
cmd889drivers/scsi/sd.cscsi_do_cmd (SCpnt, (void *) cmd, buff, 
cmd954drivers/scsi/sd.cunsigned char cmd[10];
cmd976drivers/scsi/sd.ccmd[0] = TEST_UNIT_READY;
cmd977drivers/scsi/sd.ccmd[1] = (rscsi_disks[i].device->lun << 5) & 0xe0;
cmd978drivers/scsi/sd.cmemset ((void *) &cmd[2], 0, 8);
cmd989drivers/scsi/sd.c(void *) cmd, (void *) buffer,
cmd1009drivers/scsi/sd.ccmd[0] = START_STOP;
cmd1010drivers/scsi/sd.ccmd[1] = (rscsi_disks[i].device->lun << 5) & 0xe0;
cmd1011drivers/scsi/sd.ccmd[1] |= 1;  /* Return immediately */
cmd1012drivers/scsi/sd.cmemset ((void *) &cmd[2], 0, 8);
cmd1013drivers/scsi/sd.ccmd[4] = 1; /* Start spin cycle */
cmd1024drivers/scsi/sd.c(void *) cmd, (void *) buffer,
cmd1049drivers/scsi/sd.ccmd[0] = READ_CAPACITY;
cmd1050drivers/scsi/sd.ccmd[1] = (rscsi_disks[i].device->lun << 5) & 0xe0;
cmd1051drivers/scsi/sd.cmemset ((void *) &cmd[2], 0, 8);
cmd1063drivers/scsi/sd.c(void *) cmd, (void *) buffer,
cmd1188drivers/scsi/sd.cmemset ((void *) &cmd[0], 0, 8);
cmd1189drivers/scsi/sd.ccmd[0] = MODE_SENSE;
cmd1190drivers/scsi/sd.ccmd[1] = (rscsi_disks[i].device->lun << 5) & 0xe0;
cmd1191drivers/scsi/sd.ccmd[2] = 1;   /* page code 1 ?? */
cmd1192drivers/scsi/sd.ccmd[4] = 12;
cmd1203drivers/scsi/sd.c(void *) cmd, (void *) buffer,
cmd22drivers/scsi/sd_ioctl.cint sd_ioctl(struct inode * inode, struct file * file, unsigned int cmd, unsigned long arg)
cmd30drivers/scsi/sd_ioctl.cswitch (cmd) {
cmd73drivers/scsi/sd_ioctl.creturn scsi_ioctl(rscsi_disks[MINOR(dev) >> 4].device , cmd, (void *) arg);
cmd1611drivers/scsi/seagate.cunsigned char buf[256 + sizeof(int) * 2], cmd[6], *data, *page;
cmd1626drivers/scsi/seagate.ccmd[0] = MODE_SENSE;
cmd1627drivers/scsi/seagate.ccmd[1] = (disk->device->lun << 5) & 0xe5;
cmd1628drivers/scsi/seagate.ccmd[2] = 0x04; /* Read page 4, rigid disk geometry page current values */
cmd1629drivers/scsi/seagate.ccmd[3] = 0;
cmd1630drivers/scsi/seagate.ccmd[4] = 255;
cmd1631drivers/scsi/seagate.ccmd[5] = 0;
cmd1641drivers/scsi/seagate.cmemcpy (data, cmd, 6);
cmd1653drivers/scsi/seagate.ccmd[2] = 0x03; /* Read page 3, format page current values */
cmd1654drivers/scsi/seagate.cmemcpy (data, cmd, 6);
cmd321drivers/scsi/sr.cunsigned char   *cmd;       /* the scsi-command */
cmd350drivers/scsi/sr.ccmd = rec = &buf[8];
cmd361drivers/scsi/sr.ccmd[0] = 0xde;
cmd362drivers/scsi/sr.ccmd[1] = 0x03;
cmd363drivers/scsi/sr.ccmd[2] = 0xb0;
cmd397drivers/scsi/sr.ccmd[0] = 0xc7;
cmd398drivers/scsi/sr.ccmd[1] = 3;
cmd433drivers/scsi/sr.ccmd[0] = 0x1a;
cmd434drivers/scsi/sr.ccmd[2] = 1;
cmd435drivers/scsi/sr.ccmd[4] = 12;
cmd454drivers/scsi/sr.ccmd[0] = 0x15;
cmd455drivers/scsi/sr.ccmd[1] = (1 << 4);
cmd456drivers/scsi/sr.ccmd[4] = 12;
cmd457drivers/scsi/sr.csend = &cmd[6];                 /* this is a 6-Byte command          */
cmd479drivers/scsi/sr.ccmd[0] = 0x43; /* Read TOC */
cmd480drivers/scsi/sr.ccmd[8] = 0x0c;
cmd481drivers/scsi/sr.ccmd[9] = 0x40;
cmd643drivers/scsi/sr.cunsigned char cmd[10], *buffer, tries;
cmd684drivers/scsi/sr.cswitch (SCpnt->request.cmd)
cmd691drivers/scsi/sr.ccmd[0] = READ_6;
cmd694drivers/scsi/sr.cpanic ("Unknown sr command %d\n", SCpnt->request.cmd);
cmd697drivers/scsi/sr.ccmd[1] = (SCpnt->lun << 5) & 0xe0;
cmd872drivers/scsi/sr.ccmd[0] += READ_10 - READ_6 ;
cmd873drivers/scsi/sr.ccmd[2] = (unsigned char) (block >> 24) & 0xff;
cmd874drivers/scsi/sr.ccmd[3] = (unsigned char) (block >> 16) & 0xff;
cmd875drivers/scsi/sr.ccmd[4] = (unsigned char) (block >> 8) & 0xff;
cmd876drivers/scsi/sr.ccmd[5] = (unsigned char) block & 0xff;
cmd877drivers/scsi/sr.ccmd[6] = cmd[9] = 0;
cmd878drivers/scsi/sr.ccmd[7] = (unsigned char) (realcount >> 8) & 0xff;
cmd879drivers/scsi/sr.ccmd[8] = (unsigned char) realcount & 0xff;
cmd889drivers/scsi/sr.ccmd[1] |= (unsigned char) ((block >> 16) & 0x1f);
cmd890drivers/scsi/sr.ccmd[2] = (unsigned char) ((block >> 8) & 0xff);
cmd891drivers/scsi/sr.ccmd[3] = (unsigned char) block & 0xff;
cmd892drivers/scsi/sr.ccmd[4] = (unsigned char) realcount;
cmd893drivers/scsi/sr.ccmd[5] = 0;
cmd902drivers/scsi/sr.cfor(i=0; i<12; i++) printk("%2.2x ", cmd[i]);
cmd921drivers/scsi/sr.cscsi_do_cmd (SCpnt, (void *) cmd, buffer, 
cmd976drivers/scsi/sr.cunsigned char cmd[10];
cmd986drivers/scsi/sr.ccmd[0] = READ_CAPACITY;
cmd987drivers/scsi/sr.ccmd[1] = (scsi_CDs[i].device->lun << 5) & 0xe0;
cmd988drivers/scsi/sr.cmemset ((void *) &cmd[2], 0, 8);
cmd999drivers/scsi/sr.c(void *) cmd, (void *) buffer,
cmd87drivers/scsi/sr_ioctl.cint sr_ioctl(struct inode * inode, struct file * file, unsigned int cmd, unsigned long arg)
cmd99drivers/scsi/sr_ioctl.cswitch (cmd) 
cmd468drivers/scsi/sr_ioctl.creturn scsi_ioctl(scsi_CDs[target].device,cmd,(void *) arg);
cmd222drivers/scsi/st.cst_do_scsi(Scsi_Cmnd *SCpnt, Scsi_Tape *STp, unsigned char *cmd, int bytes,
cmd231drivers/scsi/st.ccmd[1] |= (SCpnt->lun << 5) & 0xe0;
cmd237drivers/scsi/st.cscsi_do_cmd(SCpnt, (void *)cmd, (STp->buffer)->b_data, bytes,
cmd288drivers/scsi/st.cunsigned char cmd[10];
cmd290drivers/scsi/st.ccmd[0] = SPACE;
cmd291drivers/scsi/st.ccmd[1] = 0x01; /* Space FileMarks */
cmd292drivers/scsi/st.ccmd[2] = cmd[3] = cmd[4] = 0xff;  /* -1 filemarks */
cmd293drivers/scsi/st.ccmd[5] = 0;
cmd295drivers/scsi/st.cSCpnt = st_do_scsi(NULL, STp, cmd, 0, ST_TIMEOUT, MAX_RETRIES);
cmd317drivers/scsi/st.cunsigned char cmd[10];
cmd349drivers/scsi/st.cmemset(cmd, 0, 10);
cmd350drivers/scsi/st.ccmd[0] = WRITE_6;
cmd351drivers/scsi/st.ccmd[1] = 1;
cmd353drivers/scsi/st.ccmd[2] = blks >> 16;
cmd354drivers/scsi/st.ccmd[3] = blks >> 8;
cmd355drivers/scsi/st.ccmd[4] = blks;
cmd357drivers/scsi/st.cSCpnt = st_do_scsi(NULL, STp, cmd, transfer, ST_TIMEOUT, MAX_WRITE_RETRIES);
cmd444drivers/scsi/st.cunsigned char cmd[10];
cmd488drivers/scsi/st.cmemset ((void *) &cmd[0], 0, 10);
cmd489drivers/scsi/st.ccmd[0] = TEST_UNIT_READY;
cmd491drivers/scsi/st.cSCpnt = st_do_scsi(NULL, STp, cmd, 0, ST_LONG_TIMEOUT, MAX_READY_RETRIES);
cmd498drivers/scsi/st.cmemset ((void *) &cmd[0], 0, 10);
cmd499drivers/scsi/st.ccmd[0] = TEST_UNIT_READY;
cmd501drivers/scsi/st.cSCpnt = st_do_scsi(SCpnt, STp, cmd, 0, ST_LONG_TIMEOUT, MAX_READY_RETRIES);
cmd531drivers/scsi/st.cmemset ((void *) &cmd[0], 0, 10);
cmd532drivers/scsi/st.ccmd[0] = READ_BLOCK_LIMITS;
cmd534drivers/scsi/st.cSCpnt = st_do_scsi(SCpnt, STp, cmd, 6, ST_TIMEOUT, MAX_READY_RETRIES);
cmd555drivers/scsi/st.cmemset ((void *) &cmd[0], 0, 10);
cmd556drivers/scsi/st.ccmd[0] = MODE_SENSE;
cmd557drivers/scsi/st.ccmd[4] = 12;
cmd559drivers/scsi/st.cSCpnt = st_do_scsi(SCpnt, STp, cmd, 12, ST_TIMEOUT, MAX_READY_RETRIES);
cmd646drivers/scsi/st.cstatic unsigned char cmd[10];
cmd671drivers/scsi/st.cmemset(cmd, 0, 10);
cmd672drivers/scsi/st.ccmd[0] = WRITE_FILEMARKS;
cmd673drivers/scsi/st.ccmd[4] = 1 + STp->two_fm;
cmd675drivers/scsi/st.cSCpnt = st_do_scsi(NULL, STp, cmd, 0, ST_TIMEOUT, MAX_WRITE_RETRIES);
cmd694drivers/scsi/st.cprintk("st%d: Buffer flushed, %d EOF(s) written\n", dev, cmd[4]);
cmd733drivers/scsi/st.cstatic unsigned char cmd[10];
cmd814drivers/scsi/st.cmemset(cmd, 0, 10);
cmd815drivers/scsi/st.ccmd[0] = WRITE_6;
cmd816drivers/scsi/st.ccmd[1] = (STp->block_size != 0);
cmd844drivers/scsi/st.ccmd[2] = blks >> 16;
cmd845drivers/scsi/st.ccmd[3] = blks >> 8;
cmd846drivers/scsi/st.ccmd[4] = blks;
cmd848drivers/scsi/st.cSCpnt = st_do_scsi(SCpnt, STp, cmd, transfer, ST_TIMEOUT, MAX_WRITE_RETRIES);
cmd957drivers/scsi/st.ccmd[2] = blks >> 16;
cmd958drivers/scsi/st.ccmd[3] = blks >> 8;
cmd959drivers/scsi/st.ccmd[4] = blks;
cmd969drivers/scsi/st.c(void *) cmd, (STp->buffer)->b_data,
cmd987drivers/scsi/st.cstatic unsigned char cmd[10];
cmd1040drivers/scsi/st.cmemset(cmd, 0, 10);
cmd1041drivers/scsi/st.ccmd[0] = READ_6;
cmd1042drivers/scsi/st.ccmd[1] = (STp->block_size != 0);
cmd1058drivers/scsi/st.ccmd[2] = blks >> 16;
cmd1059drivers/scsi/st.ccmd[3] = blks >> 8;
cmd1060drivers/scsi/st.ccmd[4] = blks;
cmd1062drivers/scsi/st.cSCpnt = st_do_scsi(SCpnt, STp, cmd, bytes, ST_TIMEOUT, MAX_RETRIES);
cmd1275drivers/scsi/st.cunsigned char cmd[10];
cmd1288drivers/scsi/st.cmemset(cmd, 0, 10);
cmd1293drivers/scsi/st.ccmd[0] = SPACE;
cmd1294drivers/scsi/st.ccmd[1] = 0x01; /* Space FileMarks */
cmd1295drivers/scsi/st.ccmd[2] = (arg >> 16);
cmd1296drivers/scsi/st.ccmd[3] = (arg >> 8);
cmd1297drivers/scsi/st.ccmd[4] = arg;
cmd1301drivers/scsi/st.ccmd[2] * 65536 + cmd[3] * 256 + cmd[4]);
cmd1310drivers/scsi/st.ccmd[0] = SPACE;
cmd1311drivers/scsi/st.ccmd[1] = 0x01; /* Space FileMarks */
cmd1313drivers/scsi/st.ccmd[2] = (ltmp >> 16);
cmd1314drivers/scsi/st.ccmd[3] = (ltmp >> 8);
cmd1315drivers/scsi/st.ccmd[4] = ltmp;
cmd1318drivers/scsi/st.cif (cmd[2] & 0x80)
cmd1320drivers/scsi/st.cltmp = ltmp | (cmd[2] << 16) | (cmd[3] << 8) | cmd[4];
cmd1330drivers/scsi/st.ccmd[0] = SPACE;
cmd1331drivers/scsi/st.ccmd[1] = 0x00; /* Space Blocks */
cmd1332drivers/scsi/st.ccmd[2] = (arg >> 16);
cmd1333drivers/scsi/st.ccmd[3] = (arg >> 8);
cmd1334drivers/scsi/st.ccmd[4] = arg;
cmd1338drivers/scsi/st.ccmd[2] * 65536 + cmd[3] * 256 + cmd[4]);
cmd1345drivers/scsi/st.ccmd[0] = SPACE;
cmd1346drivers/scsi/st.ccmd[1] = 0x00; /* Space Blocks */
cmd1348drivers/scsi/st.ccmd[2] = (ltmp >> 16);
cmd1349drivers/scsi/st.ccmd[3] = (ltmp >> 8);
cmd1350drivers/scsi/st.ccmd[4] = ltmp;
cmd1353drivers/scsi/st.cif (cmd[2] & 0x80)
cmd1355drivers/scsi/st.cltmp = ltmp | (cmd[2] << 16) | (cmd[3] << 8) | cmd[4];
cmd1364drivers/scsi/st.ccmd[0] = SPACE;
cmd1365drivers/scsi/st.ccmd[1] = 0x04; /* Space Setmarks */
cmd1366drivers/scsi/st.ccmd[2] = (arg >> 16);
cmd1367drivers/scsi/st.ccmd[3] = (arg >> 8);
cmd1368drivers/scsi/st.ccmd[4] = arg;
cmd1372drivers/scsi/st.ccmd[2] * 65536 + cmd[3] * 256 + cmd[4]);
cmd1380drivers/scsi/st.ccmd[0] = SPACE;
cmd1381drivers/scsi/st.ccmd[1] = 0x04; /* Space Setmarks */
cmd1383drivers/scsi/st.ccmd[2] = (ltmp >> 16);
cmd1384drivers/scsi/st.ccmd[3] = (ltmp >> 8);
cmd1385drivers/scsi/st.ccmd[4] = ltmp;
cmd1388drivers/scsi/st.cif (cmd[2] & 0x80)
cmd1390drivers/scsi/st.cltmp = ltmp | (cmd[2] << 16) | (cmd[3] << 8) | cmd[4];
cmd1403drivers/scsi/st.ccmd[0] = WRITE_FILEMARKS;
cmd1405drivers/scsi/st.ccmd[1] = 2;
cmd1406drivers/scsi/st.ccmd[2] = (arg >> 16);
cmd1407drivers/scsi/st.ccmd[3] = (arg >> 8);
cmd1408drivers/scsi/st.ccmd[4] = arg;
cmd1414drivers/scsi/st.ccmd[2] * 65536 + cmd[3] * 256 + cmd[4]);
cmd1417drivers/scsi/st.ccmd[2] * 65536 + cmd[3] * 256 + cmd[4]);
cmd1426drivers/scsi/st.ccmd[0] = REZERO_UNIT;
cmd1428drivers/scsi/st.ccmd[1] = 1;  /* Don't wait for completion */
cmd1438drivers/scsi/st.ccmd[0] = START_STOP;
cmd1440drivers/scsi/st.ccmd[1] = 1;  /* Don't wait for completion */
cmd1457drivers/scsi/st.ccmd[0] = START_STOP;
cmd1459drivers/scsi/st.ccmd[1] = 1;  /* Don't wait for completion */
cmd1462drivers/scsi/st.ccmd[4] = 3;
cmd1483drivers/scsi/st.ccmd[0] = SPACE;
cmd1484drivers/scsi/st.ccmd[1] = 3;
cmd1495drivers/scsi/st.ccmd[0] = ERASE;
cmd1496drivers/scsi/st.ccmd[1] = 1;  /* To the end of tape */
cmd1498drivers/scsi/st.ccmd[1] |= 2;  /* Don't wait for completion */
cmd1510drivers/scsi/st.ccmd[0] = ALLOW_MEDIUM_REMOVAL;
cmd1511drivers/scsi/st.ccmd[4] = SCSI_REMOVAL_PREVENT;
cmd1518drivers/scsi/st.ccmd[0] = ALLOW_MEDIUM_REMOVAL;
cmd1519drivers/scsi/st.ccmd[4] = SCSI_REMOVAL_ALLOW;
cmd1527drivers/scsi/st.ccmd[0] = START_STOP;
cmd1529drivers/scsi/st.ccmd[4] |= 1;
cmd1531drivers/scsi/st.ccmd[1] |= 2;  /* Don't wait for completion */
cmd1539drivers/scsi/st.ccmd[0] = QFA_SEEK_BLOCK;
cmd1540drivers/scsi/st.ccmd[2] = (arg >> 16);
cmd1541drivers/scsi/st.ccmd[3] = (arg >> 8);
cmd1542drivers/scsi/st.ccmd[4] = arg;
cmd1543drivers/scsi/st.ccmd[5] = 0;
cmd1546drivers/scsi/st.ccmd[0] = SEEK_10;
cmd1547drivers/scsi/st.ccmd[1] = 4;
cmd1548drivers/scsi/st.ccmd[3] = (arg >> 24);
cmd1549drivers/scsi/st.ccmd[4] = (arg >> 16);
cmd1550drivers/scsi/st.ccmd[5] = (arg >> 8);
cmd1551drivers/scsi/st.ccmd[6] = arg;
cmd1554drivers/scsi/st.ccmd[1] |= 1;  /* Don't wait for completion */
cmd1576drivers/scsi/st.ccmd[0] = MODE_SELECT;
cmd1577drivers/scsi/st.ccmd[4] = datalen = 12;
cmd1619drivers/scsi/st.cSCpnt = st_do_scsi(NULL, STp, cmd, datalen, timeout, MAX_RETRIES);
cmd578drivers/scsi/wd7000.cstatic inline int command_out(Adapter *host, unchar *cmd, int len)
cmd583drivers/scsi/wd7000.coutb(*cmd, host->iobase+ASC_COMMAND);
cmd586drivers/scsi/wd7000.ccmd++;
cmd118drivers/sound/ad1848.cstatic int      ad1848_ioctl (int dev, unsigned int cmd, ioctl_arg arg, int local);
cmd454drivers/sound/ad1848.cad1848_mixer_ioctl (int dev, unsigned int cmd, ioctl_arg arg)
cmd467drivers/sound/ad1848.cif (((cmd >> 8) & 0xff) == 'M')
cmd469drivers/sound/ad1848.cif (cmd & IOC_IN)
cmd470drivers/sound/ad1848.cswitch (cmd & 0xff)
cmd477drivers/sound/ad1848.creturn snd_ioctl_return ((int *) arg, ad1848_mixer_set (devc, cmd & 0xff, get_fs_long ((long *) arg)));
cmd480drivers/sound/ad1848.cswitch (cmd & 0xff)  /*
cmd506drivers/sound/ad1848.creturn snd_ioctl_return ((int *) arg, ad1848_mixer_get (devc, cmd & 0xff));
cmd772drivers/sound/ad1848.cad1848_ioctl (int dev, unsigned int cmd, ioctl_arg arg, int local)
cmd776drivers/sound/ad1848.cswitch (cmd)
cmd414drivers/sound/aedsp16.cWriteDSPCommand (int port, int cmd)
cmd427drivers/sound/aedsp16.coutb (cmd, port + DSP_COMMAND);
cmd433drivers/sound/aedsp16.cprintk ("[aedsp16] DSP Command (0x%x) timeout.\n", cmd);
cmd359drivers/sound/audio.cunsigned int cmd, ioctl_arg arg)
cmd364drivers/sound/audio.cif (((cmd >> 8) & 0xff) == 'C')
cmd367drivers/sound/audio.creturn audio_devs[dev]->coproc->ioctl (audio_devs[dev]->coproc->devc, cmd, arg, 0);
cmd374drivers/sound/audio.cswitch (cmd)
cmd383drivers/sound/audio.creturn DMAbuf_ioctl (dev, cmd, arg, 0);
cmd399drivers/sound/audio.creturn DMAbuf_ioctl (dev, cmd, arg, 0);
cmd416drivers/sound/audio.cint             err = DMAbuf_ioctl (dev, cmd, (ioctl_arg) & info, 1);
cmd432drivers/sound/audio.cint             err = DMAbuf_ioctl (dev, cmd, (ioctl_arg) & info, 1);
cmd471drivers/sound/audio.creturn DMAbuf_ioctl (dev, cmd, arg, 0);
cmd1724drivers/sound/configure.cchar            cmd[200];
cmd1726drivers/sound/configure.csprintf (cmd, "cp local.h %s", oldconf);
cmd1729drivers/sound/configure.cif (system (cmd) != 0)
cmd1730drivers/sound/configure.cperror (cmd);
cmd133drivers/sound/dev_table.hint (*ioctl) (void *devc, unsigned int cmd, ioctl_arg arg, int local);
cmd154drivers/sound/dev_table.hint (*ioctl) (int dev, unsigned int cmd, ioctl_arg arg, int local);
cmd177drivers/sound/dev_table.hint (*ioctl) (int dev, unsigned int cmd, ioctl_arg arg);
cmd188drivers/sound/dev_table.hint (*ioctl) (int dev, unsigned int cmd, ioctl_arg arg);
cmd232drivers/sound/dev_table.hint (*ioctl) (int dev, unsigned int cmd, ioctl_arg arg);
cmd258drivers/sound/dev_table.hint (*ioctl) (int dev, unsigned int cmd, ioctl_arg arg);
cmd672drivers/sound/dmabuf.cDMAbuf_ioctl (int dev, unsigned int cmd, ioctl_arg arg, int local)
cmd677drivers/sound/dmabuf.cswitch (cmd)
cmd739drivers/sound/dmabuf.cif (cmd == SNDCTL_DSP_GETISPACE && audio_devs[dev]->flags & DMA_DUPLEX)
cmd748drivers/sound/dmabuf.cif (cmd == SNDCTL_DSP_GETISPACE)
cmd778drivers/sound/dmabuf.cif (cmd == SNDCTL_DSP_GETISPACE && dmap->qlen)
cmd860drivers/sound/dmabuf.creturn audio_devs[dev]->ioctl (dev, cmd, arg, local);
cmd1470drivers/sound/dmabuf.cDMAbuf_ioctl (int dev, unsigned int cmd, ioctl_arg arg, int local)
cmd199drivers/sound/gus_midi.cgus_midi_ioctl (int dev, unsigned cmd, ioctl_arg arg)
cmd892drivers/sound/gus_wave.cunsigned int cmd, ioctl_arg arg)
cmd895drivers/sound/gus_wave.cswitch (cmd)
cmd1776drivers/sound/gus_wave.cint             voice, cmd;
cmd1780drivers/sound/gus_wave.ccmd = event[2];
cmd1787drivers/sound/gus_wave.c(cmd != _GUS_VOICESAMPLE) && (cmd != _GUS_VOICE_POS))
cmd1790drivers/sound/gus_wave.cswitch (cmd)
cmd1988drivers/sound/gus_wave.cgus_sampling_ioctl (int dev, unsigned int cmd, ioctl_arg arg, int local)
cmd1990drivers/sound/gus_wave.cswitch (cmd)
cmd2826drivers/sound/gus_wave.cgus_default_mixer_ioctl (int dev, unsigned int cmd, ioctl_arg arg)
cmd2830drivers/sound/gus_wave.cif (((cmd >> 8) & 0xff) == 'M')
cmd2832drivers/sound/gus_wave.cif (cmd & IOC_IN)
cmd2833drivers/sound/gus_wave.cswitch (cmd & 0xff)
cmd2904drivers/sound/gus_wave.cswitch (cmd & 0xff)  /*
cmd133drivers/sound/ics2101.cics2101_mixer_ioctl (int dev, unsigned int cmd, ioctl_arg arg)
cmd135drivers/sound/ics2101.cif (((cmd >> 8) & 0xff) == 'M')
cmd137drivers/sound/ics2101.cif (cmd & IOC_IN)
cmd138drivers/sound/ics2101.cswitch (cmd & 0xff)
cmd141drivers/sound/ics2101.creturn gus_default_mixer_ioctl (dev, cmd, arg);
cmd168drivers/sound/ics2101.cswitch (cmd & 0xff)  /*
cmd174drivers/sound/ics2101.creturn gus_default_mixer_ioctl (dev, cmd, arg);
cmd294drivers/sound/mad16_sb_midi.cmad16_sb_midi_ioctl (int dev, unsigned cmd, ioctl_arg arg)
cmd51drivers/sound/midi_synth.c#define STORE(cmd)
cmd53drivers/sound/midi_synth.c#define STORE(cmd) \
cmd57drivers/sound/midi_synth.ccmd; \
cmd282drivers/sound/midi_synth.cunsigned int cmd, ioctl_arg arg)
cmd288drivers/sound/midi_synth.cswitch (cmd)
cmd2drivers/sound/midi_synth.hunsigned int cmd, ioctl_arg arg);
cmd469drivers/sound/midibuf.cunsigned int cmd, ioctl_arg arg)
cmd475drivers/sound/midibuf.cif (((cmd >> 8) & 0xff) == 'C')
cmd478drivers/sound/midibuf.creturn midi_devs[dev]->coproc->ioctl (midi_devs[dev]->coproc->devc, cmd, arg, 0);
cmd485drivers/sound/midibuf.cswitch (cmd)
cmd499drivers/sound/midibuf.creturn midi_devs[dev]->ioctl (dev, cmd, arg);
cmd97drivers/sound/mpu401.c#define write_command(devc, cmd)  outb( cmd,  COMDPORT(devc->base))
cmd157drivers/sound/mpu401.c#define STORE(cmd)
cmd159drivers/sound/mpu401.c#define STORE(cmd) \
cmd163drivers/sound/mpu401.ccmd; \
cmd600drivers/sound/mpu401.cmpu401_command (int dev, mpu_command_rec * cmd)
cmd632drivers/sound/mpu401.cprintk ("MPU-401: Command (0x%x) timeout\n", (int) cmd->cmd);
cmd645drivers/sound/mpu401.cwrite_command (devc, cmd->cmd);
cmd667drivers/sound/mpu401.cif (cmd->nr_args)
cmd668drivers/sound/mpu401.cfor (i = 0; i < cmd->nr_args; i++)
cmd672drivers/sound/mpu401.cif (!mpu401_out (dev, cmd->data[i]))
cmd675drivers/sound/mpu401.cprintk ("MPU: Command (0x%x), parm send failed.\n", (int) cmd->cmd);
cmd681drivers/sound/mpu401.ccmd->data[0] = 0;
cmd683drivers/sound/mpu401.cif (cmd->nr_returns)
cmd684drivers/sound/mpu401.cfor (i = 0; i < cmd->nr_returns; i++)
cmd690drivers/sound/mpu401.ccmd->data[i] = read_data (devc);
cmd708drivers/sound/mpu401.cmpu_cmd (int dev, int cmd, int data)
cmd714drivers/sound/mpu401.crec.cmd = cmd & 0xff;
cmd715drivers/sound/mpu401.crec.nr_args = ((cmd & 0xf0) == 0xE0);
cmd716drivers/sound/mpu401.crec.nr_returns = ((cmd & 0xf0) == 0xA0);
cmd774drivers/sound/mpu401.cmpu401_ioctl (int dev, unsigned cmd, ioctl_arg arg)
cmd780drivers/sound/mpu401.cswitch (cmd)
cmd832drivers/sound/mpu401.cunsigned int cmd, ioctl_arg arg)
cmd844drivers/sound/mpu401.cswitch (cmd)
cmd124drivers/sound/opl3.cunsigned int cmd, ioctl_arg arg)
cmd126drivers/sound/opl3.cswitch (cmd)
cmd220drivers/sound/pas2_midi.cpas_midi_ioctl (int dev, unsigned cmd, ioctl_arg arg)
cmd261drivers/sound/pas2_mixer.cpas_mixer_ioctl (int dev, unsigned int cmd, ioctl_arg arg)
cmd263drivers/sound/pas2_mixer.cTRACE (printk ("pas2_mixer.c: int pas_mixer_ioctl(unsigned int cmd = %X, unsigned int arg = %X)\n", cmd, arg));
cmd265drivers/sound/pas2_mixer.cif (((cmd >> 8) & 0xff) == 'M')
cmd267drivers/sound/pas2_mixer.cif (cmd & IOC_IN)
cmd268drivers/sound/pas2_mixer.creturn snd_ioctl_return ((int *) arg, pas_mixer_set (cmd & 0xff, get_fs_long ((long *) arg)));
cmd274drivers/sound/pas2_mixer.cswitch (cmd & 0xff)
cmd314drivers/sound/pas2_mixer.creturn snd_ioctl_return ((int *) arg, levels[cmd & 0xff]);
cmd157drivers/sound/pas2_pcm.cpas_pcm_ioctl (int dev, unsigned int cmd, ioctl_arg arg, int local)
cmd159drivers/sound/pas2_pcm.cTRACE (printk ("pas2_pcm.c: static int pas_pcm_ioctl(unsigned int cmd = %X, unsigned int arg = %X)\n", cmd, arg));
cmd161drivers/sound/pas2_pcm.cswitch (cmd)
cmd497drivers/sound/pss.cpss_coproc_ioctl (void *dev_info, unsigned int cmd, ioctl_arg arg, int local)
cmd501drivers/sound/pss.cswitch (cmd)
cmd64drivers/sound/sb16_dsp.cstatic int      sb16_dsp_ioctl (int dev, unsigned int cmd, ioctl_arg arg, int local);
cmd154drivers/sound/sb16_dsp.csb16_dsp_ioctl (int dev, unsigned int cmd, ioctl_arg arg, int local)
cmd156drivers/sound/sb16_dsp.cswitch (cmd)
cmd47drivers/sound/sb16_midi.c#define sb16midi_cmd(cmd)    outb( cmd,  COMDPORT)
cmd160drivers/sound/sb16_midi.csb16midi_ioctl (int dev, unsigned cmd, ioctl_arg arg)
cmd734drivers/sound/sb_dsp.csb_dsp_ioctl (int dev, unsigned int cmd, ioctl_arg arg, int local)
cmd736drivers/sound/sb_dsp.cswitch (cmd)
cmd195drivers/sound/sb_midi.csb_midi_ioctl (int dev, unsigned cmd, ioctl_arg arg)
cmd448drivers/sound/sb_mixer.csb_mixer_ioctl (int dev, unsigned int cmd, ioctl_arg arg)
cmd450drivers/sound/sb_mixer.cif (((cmd >> 8) & 0xff) == 'M')
cmd452drivers/sound/sb_mixer.cif (cmd & IOC_IN)
cmd453drivers/sound/sb_mixer.cswitch (cmd & 0xff)
cmd461drivers/sound/sb_mixer.creturn snd_ioctl_return ((int *) arg, sb_mixer_set (cmd & 0xff, get_fs_long ((long *) arg)));
cmd464drivers/sound/sb_mixer.cswitch (cmd & 0xff)  /*
cmd493drivers/sound/sb_mixer.creturn snd_ioctl_return ((int *) arg, sb_mixer_get (cmd & 0xff));
cmd534drivers/sound/sequencer.cunsigned char   cmd = event[2];
cmd552drivers/sound/sequencer.cif (cmd == MIDI_NOTEON && parm == 0)
cmd554drivers/sound/sequencer.ccmd = MIDI_NOTEOFF;
cmd559drivers/sound/sequencer.cswitch (cmd)
cmd616drivers/sound/sequencer.cunsigned char   cmd = event[2];
cmd630drivers/sound/sequencer.cswitch (cmd)
cmd713drivers/sound/sequencer.cunsigned char   cmd = event[1];
cmd741drivers/sound/sequencer.cswitch (cmd)
cmd816drivers/sound/sequencer.cunsigned char   cmd = event[1];
cmd819drivers/sound/sequencer.cswitch (cmd)
cmd1555drivers/sound/sequencer.cunsigned int cmd, ioctl_arg arg)
cmd1562drivers/sound/sequencer.cswitch (cmd)
cmd1576drivers/sound/sequencer.creturn tmr->ioctl (tmr_no, cmd, arg);
cmd1678drivers/sound/sequencer.creturn tmr->ioctl (tmr_no, cmd, arg);
cmd1704drivers/sound/sequencer.cerr = synth_devs[dev]->ioctl (dev, cmd, arg);
cmd1727drivers/sound/sequencer.creturn snd_ioctl_return ((int *) arg, synth_devs[dev]->ioctl (dev, cmd, arg));
cmd1741drivers/sound/sequencer.csynth_devs[dev]->ioctl (dev, cmd, arg);
cmd1760drivers/sound/sequencer.creturn synth_devs[dev]->ioctl (dev, cmd, arg);
cmd1916drivers/sound/sequencer.creturn synth_devs[0]->ioctl (0, cmd, arg);
cmd11drivers/sound/sound_calls.hint DMAbuf_ioctl(int dev, unsigned int cmd, ioctl_arg arg, int local);
cmd31drivers/sound/sound_calls.hunsigned int cmd, ioctl_arg arg);
cmd46drivers/sound/sound_calls.hunsigned int cmd, ioctl_arg arg);
cmd66drivers/sound/sound_calls.hunsigned int cmd, ioctl_arg arg);
cmd95drivers/sound/sound_calls.hunsigned int cmd, ioctl_arg arg);
cmd175drivers/sound/sound_calls.hint gus_default_mixer_ioctl (int dev, unsigned int cmd, ioctl_arg arg);
cmd244drivers/sound/sound_calls.hunsigned int cmd, ioctl_arg arg);
cmd518drivers/sound/sound_switch.cunsigned int cmd, ioctl_arg arg)
cmd520drivers/sound/sound_switch.cDEB (printk ("sound_ioctl_sw(dev=%d, cmd=0x%x, arg=0x%x)\n", dev, cmd, arg));
cmd522drivers/sound/sound_switch.cif (((cmd >> 8) & 0xff) == 'M' && num_mixers > 0)  /* Mixer ioctl */
cmd537drivers/sound/sound_switch.creturn mixer_devs[mixdev]->ioctl (mixdev, cmd, arg);
cmd542drivers/sound/sound_switch.creturn mixer_devs[0]->ioctl (0, cmd, arg);
cmd559drivers/sound/sound_switch.creturn mixer_devs[dev]->ioctl (dev, cmd, arg);
cmd565drivers/sound/sound_switch.creturn sequencer_ioctl (dev, file, cmd, arg);
cmd573drivers/sound/sound_switch.creturn audio_ioctl (dev, file, cmd, arg);
cmd579drivers/sound/sound_switch.creturn MIDIbuf_ioctl (dev, file, cmd, arg);
cmd134drivers/sound/sound_timer.cunsigned char   cmd = event[1];
cmd137drivers/sound/sound_timer.cswitch (cmd)
cmd207drivers/sound/sound_timer.cunsigned int cmd, ioctl_arg arg)
cmd209drivers/sound/sound_timer.cswitch (cmd)
cmd165drivers/sound/soundcard.cunsigned int cmd, unsigned long arg)
cmd173drivers/sound/soundcard.cif (cmd & IOC_INOUT)
cmd180drivers/sound/soundcard.clen = (cmd & IOCSIZE_MASK) >> IOCSIZE_SHIFT;
cmd182drivers/sound/soundcard.cif (cmd & IOC_IN)
cmd188drivers/sound/soundcard.cif (cmd & IOC_OUT)
cmd196drivers/sound/soundcard.cerr = sound_ioctl_sw (dev, &files[dev], cmd, (caddr_t) arg);
cmd230drivers/sound/sscape.chost_command1 (struct sscape_info *devc, int cmd)
cmd234drivers/sound/sscape.cbuf[0] = (unsigned char) (cmd & 0xff);
cmd240drivers/sound/sscape.chost_command2 (struct sscape_info *devc, int cmd, int parm1)
cmd244drivers/sound/sscape.cbuf[0] = (unsigned char) (cmd & 0xff);
cmd251drivers/sound/sscape.chost_command3 (struct sscape_info *devc, int cmd, int parm1, int parm2)
cmd255drivers/sound/sscape.cbuf[0] = (unsigned char) (cmd & 0xff);
cmd669drivers/sound/sscape.csscape_coproc_ioctl (void *dev_info, unsigned int cmd, ioctl_arg arg, int local)
cmd672drivers/sound/sscape.cswitch (cmd)
cmd776drivers/sound/sscape.csscape_audio_ioctl (int dev, unsigned int cmd, ioctl_arg arg, int local)
cmd780drivers/sound/sscape.cswitch (cmd)
cmd135drivers/sound/sys_timer.cunsigned char   cmd = event[1];
cmd138drivers/sound/sys_timer.cswitch (cmd)
cmd205drivers/sound/sys_timer.cunsigned int cmd, ioctl_arg arg)
cmd207drivers/sound/sys_timer.cswitch (cmd)
cmd48drivers/sound/uart6850.c#define uart6850_cmd(cmd)  outb( cmd,  COMDPORT)
cmd231drivers/sound/uart6850.cuart6850_ioctl (int dev, unsigned cmd, ioctl_arg 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 long 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);
cmd72fs/locks.cunsigned int cmd);
cmd98fs/locks.casmlinkage int sys_flock(unsigned int fd, unsigned int cmd)
cmd106fs/locks.cif (!flock_make_lock(filp, &file_lock, cmd))
cmd112fs/locks.creturn (flock_lock_file(filp, &file_lock, cmd & LOCK_UN ? 0 : cmd & LOCK_NB ? 0 : 1));
cmd161fs/locks.cint fcntl_setlk(unsigned int fd, unsigned int cmd, struct flock *l)
cmd201fs/locks.creturn (posix_lock_file(filp, &file_lock, cmd == F_SETLKW));
cmd287fs/locks.cunsigned int cmd)
cmd292fs/locks.cswitch (cmd & ~LOCK_NB) {
cmd135fs/pipe.cunsigned int cmd, unsigned long arg)
cmd139fs/pipe.cswitch (cmd) {
cmd18fs/smbfs/ioctl.cunsigned int cmd, unsigned long arg)
cmd22fs/smbfs/ioctl.cswitch (cmd) {
cmd58fs/umsdos/ioctl.cunsigned int cmd,
cmd73fs/umsdos/ioctl.c|| cmd == UMSDOS_GETVERSION){
cmd95fs/umsdos/ioctl.cPRINTK (("ioctl %d ",cmd));
cmd96fs/umsdos/ioctl.cif (cmd == UMSDOS_GETVERSION){
cmd110fs/umsdos/ioctl.c}else if (cmd == UMSDOS_READDIR_DOS){
cmd123fs/umsdos/ioctl.c}else if (cmd == UMSDOS_READDIR_EMD){
cmd166fs/umsdos/ioctl.c}else if (cmd == UMSDOS_INIT_EMD){
cmd189fs/umsdos/ioctl.cif (cmd == UMSDOS_CREAT_EMD){
cmd206fs/umsdos/ioctl.c}else if (cmd == UMSDOS_RENAME_DOS){
cmd221fs/umsdos/ioctl.c}else if (cmd == UMSDOS_UNLINK_EMD){
cmd239fs/umsdos/ioctl.c}else if (cmd == UMSDOS_UNLINK_DOS){
cmd250fs/umsdos/ioctl.c}else if (cmd == UMSDOS_RMDIR_DOS){
cmd261fs/umsdos/ioctl.c}else if (cmd == UMSDOS_STAT_DOS){
cmd285fs/umsdos/ioctl.c}else if (cmd == UMSDOS_DOS_SETUP){
cmd33include/asm-i386/ioctl.h#define IOC_SIZE(cmd)  (((cmd) & IOCSIZE_MASK) >> IOCSIZE_SHIFT)
cmd34include/asm-i386/ioctl.h#define IOCBASECMD(cmd)  ((cmd) & ~IOCPARM_MASK)
cmd35include/asm-i386/ioctl.h#define IOCGROUP(cmd)  (((cmd) >> 8) & 0xFF)
cmd21include/linux/blk.h((s1)->cmd < (s2)->cmd || ((s1)->cmd == (s2)->cmd && \
cmd23include/linux/blkdev.hint cmd;    /* READ or WRITE */
cmd421include/linux/cdk.hunsigned long  cmd;
cmd350include/linux/fd.hunsigned char cmd[16];
cmd122include/linux/mroute.hextern int ipmr_ioctl(struct sock *sk, int cmd, unsigned long arg);
cmd74include/linux/msg.hasmlinkage int sys_msgctl (int msqid, int cmd, struct msqid_ds *buf);
cmd107include/linux/net.hint  (*ioctl)  (struct socket *sock, unsigned int cmd,
cmd115include/linux/net.hint  (*fcntl)  (struct socket *sock, unsigned int cmd,
cmd167include/linux/netdevice.hint        (*do_ioctl)(struct device *dev, struct ifreq *ifr, int cmd);
cmd222include/linux/netdevice.hextern int    dev_ioctl(unsigned int cmd, void *);
cmd174include/linux/optcd.h&& CURRENT -> cmd == READ && CURRENT -> sector != -1)
cmd108include/linux/sem.hasmlinkage int sys_semctl (int semid, int semnum, int cmd, union semun arg);
cmd65include/linux/shm.hasmlinkage int sys_shmctl (int shmid, int cmd, struct shmid_ds *buf);
cmd116include/linux/smb_fs.hunsigned int cmd, unsigned long arg);
cmd543include/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;\
cmd114include/linux/xd.hstatic int xd_ioctl (struct inode *inode,struct file *file,unsigned int cmd,unsigned long arg);
cmd14include/net/arp.hextern int  arp_ioctl(unsigned int cmd, void *arg);
cmd32include/net/icmp.hextern int  icmp_ioctl(struct sock *sk, int cmd,
cmd85include/net/ip.hextern int    ip_ioctl(struct sock *sk, int cmd, unsigned long arg);
cmd5include/net/rarp.hextern int rarp_ioctl(unsigned int cmd, void *arg);
cmd52include/net/route.hextern int    ip_rt_ioctl(unsigned int cmd, void *arg);
cmd305include/net/sock.hint      (*ioctl)(struct sock *sk, int cmd,
cmd134include/net/tcp.hextern int  tcp_ioctl(struct sock *sk, int cmd, unsigned long arg);
cmd49include/net/udp.hextern int  udp_ioctl(struct sock *sk, int cmd, unsigned long arg);
cmd319ipc/msg.casmlinkage int 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.casmlinkage int 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.casmlinkage int 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) {
cmd75ipc/util.casmlinkage int sys_semctl (int semid, int semnum, int cmd, union semun arg)
cmd96ipc/util.casmlinkage int sys_msgctl (int msqid, int cmd, struct msqid_ds *buf)
cmd116ipc/util.casmlinkage int sys_shmctl (int shmid, int cmd, struct shmid_ds *buf)
cmd6net/802/llc.cint llc_rx_adm(struct sock *sk,struct sk_buff *skb, int type, int cmd, int pf, int nr, int ns)
cmd10net/802/llc.cif(cmd==DISC)
cmd12net/802/llc.celse if(cmd==SABM)
cmd36net/802/llc.cint llc_rx_setup(struct sock *sk, struct sk_buff *skb, int type, int cmd, int pf, int nr, int ns)
cmd40net/802/llc.cif(cmd==SABM)
cmd46net/802/llc.cif(cmd==DISC)
cmd55net/802/llc.cif(cmd==UA && pf==sk->llc.p_flag)
cmd62net/802/llc.cif(cmd==DM)
cmd70net/802/llc.cint llc_rx_reset(struct sock *sk, struct sk_buff *skb, int type, int cmd, int pf, int nr, int ns)
cmd74net/802/llc.cif(cmd==SABM)
cmd80net/802/llc.celse if(cmd==DISC)
cmd92net/802/llc.cif(cmd==UA)
cmd105net/802/llc.cif(cmd==DM)
cmd114net/802/llc.cint llc_rx_d_conn(struct sock *sk, struct sk_buff *skb, int type, int cmd, int pf, int nr, int ns)
cmd118net/802/llc.cif(cmd==SABM)
cmd123net/802/llc.celse if(cmd==DISC)
cmd133net/802/llc.cif(cmd==UA && pf==sk->llc.p_flag)
cmd139net/802/llc.cif(cmd==DM)
cmd150net/802/llc.cint llc_rx_error(struct sock *sk, struct sk_buff *skb, int type, int cmd, int pf, int nr, int ns)
cmd154net/802/llc.cif(cmd==SABM)
cmd164net/802/llc.celse if(cmd==DISC)
cmd175net/802/llc.cif(cmd==DM)
cmd181net/802/llc.cif(cmd==FRMR)
cmd199net/802/llc.cint llc_rx_nr_shared(struct sock *sk, struct sk_buff *skb, int type, int cmd, int pf, int nr, int ns)
cmd203net/802/llc.cif(cmd==SABM)
cmd212net/802/llc.celse if(cmd==DISC)
cmd222net/802/llc.celse if(cmd==ILLEGAL)
cmd239net/802/llc.cif(cmd==FRMR)
cmd248net/802/llc.celse if(cmd==DM)
cmd258net/802/llc.celse if(cmd==UA)
cmd270net/802/llc.celse if(cmd==ILLEGAL)
cmd288net/802/llc.cint llc_rx_normal(struct sock *sk, struct sk_buff *skb, int type, int cmd, int pf, int nr, int ns)
cmd290net/802/llc.cif(llc_rx_nr_shared(sk, skb, type, cmd, pf, nr, ns))
cmd292net/802/llc.cif(cmd==I)
cmd368net/802/llc.celse if(cmd==RR||cmd==RNR)
cmd378net/802/llc.cif(cmd==RR)
cmd386net/802/llc.celse if(type==cmd && pf)
cmd388net/802/llc.cif(cmd==RR)
cmd401net/802/llc.cif(cmd==RR)
cmd407net/802/llc.celse if(cmd==REJ)
cmd685net/appletalk/ddp.cint atif_ioctl(int cmd, void *arg)
cmd693net/appletalk/ddp.cint ro=(cmd==SIOCSIFADDR);
cmd710net/appletalk/ddp.cswitch(cmd)
cmd815net/appletalk/ddp.cstatic int atrtr_ioctl(unsigned int cmd, void *arg)
cmd825net/appletalk/ddp.cswitch(cmd)
cmd951net/appletalk/ddp.cstatic int atalk_fcntl(struct socket *sock, unsigned int cmd, unsigned long arg)
cmd954net/appletalk/ddp.cswitch(cmd)
cmd1761net/appletalk/ddp.cstatic int atalk_ioctl(struct socket *sock,unsigned int cmd, unsigned long arg)
cmd1767net/appletalk/ddp.cswitch(cmd)
cmd1804net/appletalk/ddp.creturn(atrtr_ioctl(cmd,(void *)arg));
cmd1811net/appletalk/ddp.creturn atif_ioctl(cmd,(void *)arg);
cmd1825net/appletalk/ddp.creturn(dev_ioctl(cmd,(void *) arg));
cmd468net/ax25/af_ax25.cstatic int ax25_uid_ioctl(int cmd, struct sockaddr_ax25 *sax)
cmd472net/ax25/af_ax25.cswitch (cmd) {
cmd683net/ax25/af_ax25.cstatic int ax25_fcntl(struct socket *sock, unsigned int cmd, unsigned long arg)
cmd685net/ax25/af_ax25.cswitch(cmd)
cmd1912net/ax25/af_ax25.cstatic int ax25_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg)
cmd1918net/ax25/af_ax25.cswitch (cmd) {
cmd1959net/ax25/af_ax25.creturn ax25_uid_ioctl(cmd, &sax25);
cmd1975net/ax25/af_ax25.creturn ax25_dev_ioctl(cmd, (void *)arg);
cmd1981net/ax25/af_ax25.creturn ax25_rt_ioctl(cmd, (void *)arg);
cmd1996net/ax25/af_ax25.creturn(dev_ioctl(cmd, (void *)arg));
cmd167net/ax25/ax25_route.cint ax25_rt_ioctl(unsigned int cmd, void *arg)
cmd175net/ax25/ax25_route.cswitch (cmd) {
cmd515net/ax25/ax25_route.cint ax25_dev_ioctl(unsigned int cmd, void *arg)
cmd522net/ax25/ax25_route.cswitch (cmd) {
cmd1256net/core/dev.cint dev_ioctl(unsigned int cmd, void *arg)
cmd1258net/core/dev.cswitch(cmd) 
cmd1280net/core/dev.creturn dev_ifsioc(arg, cmd);
cmd1300net/core/dev.creturn dev_ifsioc(arg, cmd);
cmd1310net/core/dev.cif((cmd >= SIOCDEVPRIVATE) &&
cmd1311net/core/dev.c(cmd <= (SIOCDEVPRIVATE + 15))) {
cmd1312net/core/dev.creturn dev_ifsioc(arg, cmd);
cmd429net/ipv4/af_inet.cstatic int inet_fcntl(struct socket *sock, unsigned int cmd, unsigned long arg)
cmd435net/ipv4/af_inet.cswitch(cmd) 
cmd1199net/ipv4/af_inet.cstatic int inet_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg)
cmd1205net/ipv4/af_inet.cswitch(cmd) 
cmd1235net/ipv4/af_inet.creturn(ip_rt_ioctl(cmd,(void *) arg));
cmd1239net/ipv4/af_inet.creturn(arp_ioctl(cmd,(void *) arg));
cmd1244net/ipv4/af_inet.creturn(rarp_ioctl_hook(cmd,(void *) arg));
cmd1271net/ipv4/af_inet.creturn(dev_ioctl(cmd,(void *) arg));
cmd1274net/ipv4/af_inet.cif ((cmd >= SIOCDEVPRIVATE) &&
cmd1275net/ipv4/af_inet.c(cmd <= (SIOCDEVPRIVATE + 15)))
cmd1276net/ipv4/af_inet.creturn(dev_ioctl(cmd,(void *) arg));
cmd1280net/ipv4/af_inet.creturn(sk->prot->ioctl(sk, cmd, arg));
cmd1391net/ipv4/arp.cint arp_ioctl(unsigned int cmd, void *arg)
cmd1397net/ipv4/arp.cswitch(cmd)
cmd176net/ipv4/ip_input.cint ip_ioctl(struct sock *sk, int cmd, unsigned long arg)
cmd178net/ipv4/ip_input.cswitch(cmd)
cmd594net/ipv4/ipmr.cint ipmr_ioctl(struct sock *sk, int cmd, unsigned long arg)
cmd601net/ipv4/ipmr.cswitch(cmd)
cmd436net/ipv4/rarp.cint rarp_ioctl(unsigned int cmd, void *arg)
cmd442net/ipv4/rarp.cswitch(cmd)
cmd708net/ipv4/route.cint ip_rt_ioctl(unsigned int cmd, void *arg)
cmd713net/ipv4/route.cswitch(cmd) 
cmd723net/ipv4/route.creturn (cmd == SIOCDELRT) ? rt_kill(&rt) : rt_new(&rt);
cmd1245net/ipv4/tcp.cint tcp_ioctl(struct sock *sk, int cmd, unsigned long arg)
cmd1248net/ipv4/tcp.cswitch(cmd) 
cmd438net/ipv4/udp.cint udp_ioctl(struct sock *sk, int cmd, unsigned long arg)
cmd441net/ipv4/udp.cswitch(cmd) 
cmd861net/ipx/af_ipx.cipxitf_ioctl(unsigned int cmd, void *arg)
cmd864net/ipx/af_ipx.cswitch(cmd)
cmd1113net/ipx/af_ipx.cstatic int ipxrtr_ioctl(unsigned int cmd, void *arg)
cmd1135net/ipx/af_ipx.cswitch(cmd)
cmd1317net/ipx/af_ipx.cstatic int ipx_fcntl(struct socket *sock, unsigned int cmd, unsigned long arg)
cmd1319net/ipx/af_ipx.cswitch(cmd)
cmd1835net/ipx/af_ipx.cstatic int ipx_ioctl(struct socket *sock,unsigned int cmd, unsigned long arg)
cmd1841net/ipx/af_ipx.cswitch(cmd)
cmd1868net/ipx/af_ipx.creturn(ipxrtr_ioctl(cmd,(void *)arg));
cmd1875net/ipx/af_ipx.creturn(ipxitf_ioctl(cmd,(void *)arg));
cmd1903net/ipx/af_ipx.creturn(dev_ioctl(cmd,(void *) arg));
cmd143net/netlink.cunsigned int cmd, unsigned long arg)
cmd150net/netlink.cswitch ( cmd ) {
cmd287net/netrom/af_netrom.cstatic int nr_fcntl(struct socket *sock, unsigned int cmd, unsigned long arg)
cmd289net/netrom/af_netrom.cswitch(cmd)
cmd1193net/netrom/af_netrom.cstatic int nr_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg)
cmd1199net/netrom/af_netrom.cswitch (cmd) {
cmd1249net/netrom/af_netrom.creturn nr_rt_ioctl(cmd, (void *)arg);
cmd1274net/netrom/af_netrom.creturn dev_ioctl(cmd, (void *)arg);
cmd565net/netrom/nr_route.cint nr_rt_ioctl(unsigned int cmd, void *arg)
cmd572net/netrom/nr_route.cswitch (cmd) {
cmd83net/socket.cunsigned int cmd, unsigned long arg);
cmd389net/socket.cint sock_ioctl(struct inode *inode, struct file *file, unsigned int cmd,
cmd394net/socket.creturn(sock->ops->ioctl(sock, cmd, arg));
cmd1156net/socket.cint sock_fcntl(struct file *filp, unsigned int cmd, unsigned long arg)
cmd1162net/socket.creturn(sock->ops->fcntl(sock, cmd, arg));
cmd209net/unix/af_unix.cstatic int unix_fcntl(struct socket *sock, unsigned int cmd, unsigned long arg)
cmd934net/unix/af_unix.cstatic int unix_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg)
cmd940net/unix/af_unix.cswitch(cmd)