tag | line | file | source code |
cmd | 29 | drivers/block/blk.h | int cmd; /* READ or WRITE */ |
cmd | 47 | drivers/block/blk.h | ((s1)->cmd < (s2)->cmd || ((s1)->cmd == (s2)->cmd && \ |
cmd | 174 | drivers/block/cdu31a.c | static void do_sony_cd_cmd(unsigned char cmd, |
cmd | 424 | drivers/block/cdu31a.c | write_cmd(unsigned char cmd) |
cmd | 427 | drivers/block/cdu31a.c | outb(cmd, sony_cd_cmd_reg); |
cmd | 904 | drivers/block/cdu31a.c | do_sony_cd_cmd(unsigned char cmd, |
cmd | 965 | drivers/block/cdu31a.c | write_cmd(cmd); |
cmd | 1189 | drivers/block/cdu31a.c | switch(CURRENT->cmd) |
cmd | 1452 | drivers/block/cdu31a.c | unsigned int cmd, |
cmd | 1472 | drivers/block/cdu31a.c | switch (cmd) |
cmd | 1172 | drivers/block/floppy.c | if (CURRENT->cmd == READ) |
cmd | 1174 | drivers/block/floppy.c | else if (CURRENT->cmd == WRITE) |
cmd | 1226 | drivers/block/floppy.c | static int fd_ioctl(struct inode *inode, struct file *filp, unsigned int cmd, |
cmd | 1232 | drivers/block/floppy.c | switch (cmd) { |
cmd | 1236 | drivers/block/floppy.c | switch (cmd) { |
cmd | 1248 | drivers/block/floppy.c | cmd = FDCLRPRM; |
cmd | 1305 | drivers/block/floppy.c | switch (cmd) { |
cmd | 1318 | drivers/block/floppy.c | if (cmd == FDDEFPRM) |
cmd | 188 | drivers/block/hd.c | unsigned int head,unsigned int cyl,unsigned int cmd, |
cmd | 217 | drivers/block/hd.c | outb_p(cmd,++port); |
cmd | 720 | drivers/block/hd.c | if (CURRENT->cmd == READ) { |
cmd | 721 | drivers/block/hd.c | unsigned int cmd = mult_count[dev] > 1 ? WIN_MULTREAD : WIN_READ; |
cmd | 722 | drivers/block/hd.c | hd_out(dev,nsect,sec,head,cyl,cmd,&read_intr); |
cmd | 732 | drivers/block/hd.c | if (CURRENT->cmd == WRITE) { |
cmd | 768 | drivers/block/hd.c | unsigned int cmd, unsigned long arg) |
cmd | 778 | drivers/block/hd.c | switch (cmd) { |
cmd | 237 | drivers/block/ll_rw_blk.c | req->cmd == rw && |
cmd | 251 | drivers/block/ll_rw_blk.c | req->cmd == rw && |
cmd | 289 | drivers/block/ll_rw_blk.c | req->cmd = rw; |
cmd | 322 | drivers/block/ll_rw_blk.c | req->cmd = rw; |
cmd | 457 | drivers/block/ll_rw_blk.c | req->cmd = rw; |
cmd | 87 | drivers/block/mcd.c | (CURRENT && MAJOR(CURRENT -> dev) == MAJOR_NR && CURRENT -> cmd == READ \ |
cmd | 139 | drivers/block/mcd.c | static void sendMcdCmd(int cmd, struct mcd_Play_msf *params); |
cmd | 239 | drivers/block/mcd.c | mcd_ioctl(struct inode *ip, struct file *fp, unsigned int cmd, |
cmd | 268 | drivers/block/mcd.c | switch (cmd) |
cmd | 1261 | drivers/block/mcd.c | sendMcdCmd(int cmd, struct mcd_Play_msf *params) |
cmd | 1263 | drivers/block/mcd.c | outb(cmd, MCDPORT(0)); |
cmd | 45 | drivers/block/ramdisk.c | if (CURRENT-> cmd == WRITE) { |
cmd | 49 | drivers/block/ramdisk.c | } else if (CURRENT->cmd == READ) { |
cmd | 2385 | drivers/block/sbpcd.c | static int sbpcd_ioctl(struct inode *inode, struct file *file, u_int cmd, |
cmd | 2391 | drivers/block/sbpcd.c | MINOR(inode->i_rdev), cmd, arg)); |
cmd | 2410 | drivers/block/sbpcd.c | DPRINTF((DBG_IO2,"SBPCD: ioctl: device %d, request %04X\n",i,cmd)); |
cmd | 2411 | drivers/block/sbpcd.c | switch (cmd) /* Sun-compatible */ |
cmd | 2851 | drivers/block/sbpcd.c | DPRINTF((DBG_IOC,"SBPCD: ioctl: unknown function request %04X\n", cmd)); |
cmd | 2903 | drivers/block/sbpcd.c | if (CURRENT->cmd != READ) |
cmd | 2905 | drivers/block/sbpcd.c | printk("SBPCD: bad cmd %d\n", CURRENT->cmd); |
cmd | 221 | drivers/block/xd.c | switch (CURRENT->cmd) { |
cmd | 225 | drivers/block/xd.c | code = xd_readwrite(CURRENT->cmd,CURRENT_DEV,CURRENT->buffer,block,count); |
cmd | 236 | drivers/block/xd.c | static int xd_ioctl (struct inode *inode,struct file *file,u_int cmd,u_long arg) |
cmd | 242 | drivers/block/xd.c | switch (cmd) { |
cmd | 333 | drivers/char/lp.c | unsigned int cmd, unsigned long arg) |
cmd | 339 | drivers/char/lp.c | printk("lp%d ioctl, cmd: 0x%x, arg: 0x%x\n", minor, cmd, arg); |
cmd | 345 | drivers/char/lp.c | switch ( cmd ) { |
cmd | 1490 | drivers/char/serial.c | static int set_modem_info(struct async_struct * info, unsigned int cmd, |
cmd | 1495 | drivers/char/serial.c | switch (cmd) { |
cmd | 1618 | drivers/char/serial.c | unsigned int cmd, unsigned long arg) |
cmd | 1627 | drivers/char/serial.c | switch (cmd) { |
cmd | 1665 | drivers/char/serial.c | return set_modem_info(info, cmd, (unsigned int *) arg); |
cmd | 587 | drivers/char/tpqic02.c | static int notify_cmd(char cmd, short ignore_ex) |
cmd | 591 | drivers/char/tpqic02.c | outb_p(cmd, QIC_CMD_PORT); /* output the command */ |
cmd | 726 | drivers/char/tpqic02.c | static int send_qic02_cmd(int cmd, time_t timeout, int ignore_ex) |
cmd | 745 | drivers/char/tpqic02.c | status_cmd_pending = cmd; |
cmd | 747 | drivers/char/tpqic02.c | stat = notify_cmd(cmd, ignore_ex); /* tell drive new command was loaded, */ |
cmd | 749 | drivers/char/tpqic02.c | if (cmd == QCMDV_SEEK_BLK) { |
cmd | 893 | drivers/char/tpqic02.c | static void finish_rw(int cmd); |
cmd | 994 | drivers/char/tpqic02.c | static int ll_do_qic_cmd(int cmd, time_t timeout) |
cmd | 1011 | drivers/char/tpqic02.c | printk(TPQIC_NAME ": ll_do_qic_cmd(%x, %ld) failed\n", cmd, timeout); |
cmd | 1021 | drivers/char/tpqic02.c | stat = send_qic02_cmd(cmd, timeout, 0); /* (checks for exceptions) */ |
cmd | 1023 | drivers/char/tpqic02.c | if (cmd==QCMD_RD_FM) { |
cmd | 1029 | drivers/char/tpqic02.c | } else if (cmd==QCMD_WRT_FM) { |
cmd | 1032 | drivers/char/tpqic02.c | } else if ((cmd==QCMD_REWIND) || (cmd==QCMD_ERASE) || (cmd==QCMD_RETEN)) { |
cmd | 1047 | drivers/char/tpqic02.c | printk(TPQIC_NAME ": Exception persist in ll_do_qic_cmd[1](%x, %ld)", cmd, timeout); |
cmd | 1065 | drivers/char/tpqic02.c | if (tp_sense((cmd==QCMD_SEEK_EOD ? /*****************************/ |
cmd | 1068 | drivers/char/tpqic02.c | printk(TPQIC_NAME ": Exception persist in ll_do_qic_cmd[2](%x, %ld)\n", cmd, timeout); |
cmd | 1069 | drivers/char/tpqic02.c | if (cmd!=QCMD_RD_FM) |
cmd | 1076 | drivers/char/tpqic02.c | printk(TPQIC_NAME ": ll_do_qic_cmd %x: wait failed, stat == 0x%x\n", cmd, stat); |
cmd | 1108 | drivers/char/tpqic02.c | static void terminate_read(int cmd) |
cmd | 1112 | drivers/char/tpqic02.c | if (cmd != QCMD_RD_FM) { |
cmd | 1129 | drivers/char/tpqic02.c | static void terminate_write(int cmd) |
cmd | 1136 | drivers/char/tpqic02.c | if (cmd != QCMD_WRT_FM) { |
cmd | 1153 | drivers/char/tpqic02.c | static void finish_rw(int cmd) |
cmd | 1159 | drivers/char/tpqic02.c | terminate_read(cmd); |
cmd | 1160 | drivers/char/tpqic02.c | terminate_write(cmd); |
cmd | 1168 | drivers/char/tpqic02.c | static int do_qic_cmd(int cmd, time_t timeout) |
cmd | 1173 | drivers/char/tpqic02.c | finish_rw(cmd); |
cmd | 1183 | drivers/char/tpqic02.c | if (cmd==QCMD_REWIND) /* don't wind beyond BOT ;-) */ |
cmd | 1187 | drivers/char/tpqic02.c | return ll_do_qic_cmd(cmd, timeout); |
cmd | 1195 | drivers/char/tpqic02.c | static int do_ioctl_cmd(int cmd) |
cmd | 1205 | drivers/char/tpqic02.c | switch (cmd) { |
cmd | 98 | drivers/char/tty_io.c | unsigned int cmd, unsigned long arg); |
cmd | 269 | drivers/char/tty_io.c | unsigned int cmd, unsigned long arg) |
cmd | 1223 | drivers/char/tty_io.c | unsigned int cmd, unsigned long arg) |
cmd | 1243 | drivers/char/tty_io.c | switch (cmd) { |
cmd | 1405 | drivers/char/tty_io.c | cmd, arg); |
cmd | 1411 | drivers/char/tty_io.c | cmd, arg); |
cmd | 201 | drivers/char/tty_ioctl.c | unsigned int cmd, unsigned long arg) |
cmd | 212 | drivers/char/tty_ioctl.c | switch (cmd) { |
cmd | 228 | drivers/char/tty_ioctl.c | if (cmd == TCSETSF || cmd == TCSETSW) { |
cmd | 229 | drivers/char/tty_ioctl.c | if (cmd == TCSETSF && |
cmd | 244 | drivers/char/tty_ioctl.c | if (cmd == TCSETAF || cmd == TCSETAW) { |
cmd | 245 | drivers/char/tty_ioctl.c | if (cmd == TCSETAF && |
cmd | 363 | drivers/char/tty_ioctl.c | tty->driver.ioctl(tty, file, cmd, arg); |
cmd | 119 | drivers/char/vt.c | unsigned int cmd, unsigned long arg) |
cmd | 132 | drivers/char/vt.c | switch (cmd) { |
cmd | 168 | drivers/char/vt.c | return sys_ioperm(arg, 1, (cmd == KDADDIO)) ? -ENXIO : 0; |
cmd | 173 | drivers/char/vt.c | (cmd == KDENABIO)) ? -ENXIO : 0; |
cmd | 103 | drivers/net/apricot.c | struct i596_cmd cmd; |
cmd | 111 | drivers/net/apricot.c | unsigned short cmd; |
cmd | 124 | drivers/net/apricot.c | struct i596_cmd *cmd; |
cmd | 190 | drivers/net/apricot.c | static void i596_add_cmd(struct device *dev, struct i596_cmd *cmd); |
cmd | 219 | drivers/net/apricot.c | lp->rx[i].cmd = CMD_EOL; |
cmd | 224 | drivers/net/apricot.c | lp->rx[i].cmd = 0x0000; |
cmd | 269 | drivers/net/apricot.c | lp->cmd_head = lp->scb.cmd = (struct i596_cmd *) -1; |
cmd | 351 | drivers/net/apricot.c | lp->rx_tail->cmd=0; |
cmd | 355 | drivers/net/apricot.c | lp->rx_tail->cmd=CMD_EOL; |
cmd | 365 | drivers/net/apricot.c | static void i596_add_cmd(struct device *dev, struct i596_cmd *cmd) |
cmd | 374 | drivers/net/apricot.c | cmd->status = 0; |
cmd | 375 | drivers/net/apricot.c | cmd->command |= (CMD_EOL|CMD_INTR); |
cmd | 376 | drivers/net/apricot.c | cmd->next = (struct i596_cmd *) -1; |
cmd | 381 | drivers/net/apricot.c | lp->cmd_tail->next = cmd; |
cmd | 384 | drivers/net/apricot.c | lp->cmd_head=cmd; |
cmd | 393 | drivers/net/apricot.c | lp->scb.cmd = cmd; |
cmd | 397 | drivers/net/apricot.c | lp->cmd_tail=cmd; |
cmd | 400 | drivers/net/apricot.c | lp->cmd_head=lp->scb.cmd; |
cmd | 482 | drivers/net/apricot.c | lp->scb.cmd = lp->cmd_head; |
cmd | 586 | drivers/net/apricot.c | tx_cmd->cmd.command = CMD_FLEX|CmdTx; |
cmd | 807 | drivers/net/apricot.c | lp->scb.cmd = lp->cmd_head; |
cmd | 890 | drivers/net/apricot.c | struct i596_cmd *cmd; |
cmd | 896 | drivers/net/apricot.c | cmd = (struct i596_cmd *) kmalloc(sizeof(struct i596_cmd)+2+num_addrs*6, GFP_ATOMIC); |
cmd | 897 | drivers/net/apricot.c | if (cmd == NULL) |
cmd | 903 | drivers/net/apricot.c | cmd->command = CmdMulticastList; |
cmd | 904 | drivers/net/apricot.c | *((unsigned short *) (cmd + 1)) = num_addrs * 6; |
cmd | 905 | drivers/net/apricot.c | memcpy (((char *)(cmd + 1))+2, addrs, num_addrs * 6); |
cmd | 906 | drivers/net/apricot.c | print_eth (((char *)(cmd + 1)) + 2); |
cmd | 908 | drivers/net/apricot.c | i596_add_cmd(dev, cmd); |
cmd | 135 | drivers/net/atp.c | static unsigned short eeprom_op(short ioaddr, unsigned int cmd); |
cmd | 288 | drivers/net/atp.c | static unsigned short eeprom_op(short ioaddr, unsigned int cmd) |
cmd | 294 | drivers/net/atp.c | char outval = test_bit(num_bits, &cmd) ? EE_DATA_WRITE : 0; |
cmd | 287 | drivers/net/de600.c | #define de600_put_command(cmd) ( \ |
cmd | 290 | drivers/net/de600.c | outb_p(((rx_page | cmd) << 4) | COMMAND , DATA_PORT), \ |
cmd | 291 | drivers/net/de600.c | outb_p(((rx_page | cmd) & 0xf0) | COMMAND | HI_NIBBLE, DATA_PORT)) |
cmd | 239 | drivers/net/de620.c | de620_send_command(byte cmd) |
cmd | 242 | drivers/net/de620.c | if (cmd == W_DUMMY) |
cmd | 245 | drivers/net/de620.c | outb(cmd, DATA_PORT); |
cmd | 942 | drivers/net/slip.c | slip_ioctl(struct tty_struct *tty, void *file, int cmd, void *arg) |
cmd | 952 | drivers/net/slip.c | switch(cmd) { |
cmd | 989 | drivers/net/slip.c | return n_tty_ioctl(tty, file, cmd, (unsigned long) arg); |
cmd | 293 | drivers/scsi/NCR5380.c | static __inline__ void initialize_SCp(Scsi_Cmnd *cmd) { |
cmd | 299 | drivers/scsi/NCR5380.c | if (cmd->use_sg) { |
cmd | 300 | drivers/scsi/NCR5380.c | cmd->SCp.buffer = (struct scatterlist *) cmd->buffer; |
cmd | 301 | drivers/scsi/NCR5380.c | cmd->SCp.buffers_residual = cmd->use_sg - 1; |
cmd | 302 | drivers/scsi/NCR5380.c | cmd->SCp.ptr = (char *) cmd->SCp.buffer->address; |
cmd | 303 | drivers/scsi/NCR5380.c | cmd->SCp.this_residual = cmd->SCp.buffer->length; |
cmd | 305 | drivers/scsi/NCR5380.c | cmd->SCp.buffer = NULL; |
cmd | 306 | drivers/scsi/NCR5380.c | cmd->SCp.buffers_residual = 0; |
cmd | 307 | drivers/scsi/NCR5380.c | cmd->SCp.ptr = (char *) cmd->request_buffer; |
cmd | 308 | drivers/scsi/NCR5380.c | cmd->SCp.this_residual = cmd->request_bufflen; |
cmd | 493 | drivers/scsi/NCR5380.c | static int should_disconnect (unsigned char cmd) { |
cmd | 494 | drivers/scsi/NCR5380.c | switch (cmd) { |
cmd | 775 | drivers/scsi/NCR5380.c | int NCR5380_queue_command (Scsi_Cmnd *cmd, void (*done)(Scsi_Cmnd *)) { |
cmd | 777 | drivers/scsi/NCR5380.c | cmd->host->hostdata; |
cmd | 781 | drivers/scsi/NCR5380.c | switch (cmd->cmnd[0]) { |
cmd | 786 | drivers/scsi/NCR5380.c | cmd->result = (DID_ERROR << 16); |
cmd | 787 | drivers/scsi/NCR5380.c | done(cmd); |
cmd | 798 | drivers/scsi/NCR5380.c | cmd->host_scribble = NULL; |
cmd | 799 | drivers/scsi/NCR5380.c | cmd->scsi_done = done; |
cmd | 801 | drivers/scsi/NCR5380.c | cmd->result = 0; |
cmd | 812 | drivers/scsi/NCR5380.c | if (!(hostdata->issue_queue) || (cmd->cmnd[0] == REQUEST_SENSE)) { |
cmd | 813 | drivers/scsi/NCR5380.c | cmd->host_scribble = (unsigned char *) hostdata->issue_queue; |
cmd | 814 | drivers/scsi/NCR5380.c | hostdata->issue_queue = cmd; |
cmd | 818 | drivers/scsi/NCR5380.c | tmp->host_scribble = (unsigned char *) cmd; |
cmd | 822 | drivers/scsi/NCR5380.c | (cmd->cmnd[0] == REQUEST_SENSE) ? "head" : "tail"); |
cmd | 1078 | drivers/scsi/NCR5380.c | static int NCR5380_select (struct Scsi_Host *instance, Scsi_Cmnd *cmd, |
cmd | 1164 | drivers/scsi/NCR5380.c | NCR5380_write(OUTPUT_DATA_REG, (hostdata->id_mask | (1 << cmd->target))); |
cmd | 1203 | drivers/scsi/NCR5380.c | printk("scsi%d : selecting target %d\n", instance->host_no, cmd->target); |
cmd | 1225 | drivers/scsi/NCR5380.c | cmd->result = DID_BAD_TARGET << 16; |
cmd | 1226 | drivers/scsi/NCR5380.c | cmd->scsi_done(cmd); |
cmd | 1255 | drivers/scsi/NCR5380.c | instance->host_no, cmd->target); |
cmd | 1257 | drivers/scsi/NCR5380.c | tmp[0] = IDENTIFY(((instance->irq == IRQ_NONE) ? 0 : 1), cmd->lun); |
cmd | 1259 | drivers/scsi/NCR5380.c | if (cmd->device->tagged_queue && (tag != TAG_NONE)) { |
cmd | 1263 | drivers/scsi/NCR5380.c | if (cmd->device->current_tag == 0) |
cmd | 1264 | drivers/scsi/NCR5380.c | cmd->device->current_tag = 1; |
cmd | 1266 | drivers/scsi/NCR5380.c | cmd->tag = cmd->device->current_tag; |
cmd | 1267 | drivers/scsi/NCR5380.c | cmd->device->current_tag++; |
cmd | 1269 | drivers/scsi/NCR5380.c | cmd->tag = (unsigned char) tag; |
cmd | 1271 | drivers/scsi/NCR5380.c | tmp[2] = cmd->tag; |
cmd | 1278 | drivers/scsi/NCR5380.c | cmd->tag=0; |
cmd | 1289 | drivers/scsi/NCR5380.c | hostdata->connected = cmd; |
cmd | 1291 | drivers/scsi/NCR5380.c | if (!cmd->device->tagged_queue) |
cmd | 1293 | drivers/scsi/NCR5380.c | hostdata->busy[cmd->target] |= (1 << cmd->lun); |
cmd | 1295 | drivers/scsi/NCR5380.c | initialize_SCp(cmd); |
cmd | 1744 | drivers/scsi/NCR5380.c | Scsi_Cmnd *cmd = (Scsi_Cmnd *) hostdata->connected; |
cmd | 1773 | drivers/scsi/NCR5380.c | if (!cmd->SCp.this_residual && cmd->SCp.buffers_residual) { |
cmd | 1774 | drivers/scsi/NCR5380.c | ++cmd->SCp.buffer; |
cmd | 1775 | drivers/scsi/NCR5380.c | --cmd->SCp.buffers_residual; |
cmd | 1776 | drivers/scsi/NCR5380.c | cmd->SCp.this_residual = cmd->SCp.buffer->length; |
cmd | 1777 | drivers/scsi/NCR5380.c | cmd->SCp.ptr = cmd->SCp.buffer->address; |
cmd | 1780 | drivers/scsi/NCR5380.c | instance->host_no, cmd->SCp.this_residual, |
cmd | 1781 | drivers/scsi/NCR5380.c | cmd->SCp.buffers_residual); |
cmd | 1797 | drivers/scsi/NCR5380.c | if (!cmd->device->borken && |
cmd | 1798 | drivers/scsi/NCR5380.c | (transfersize = NCR5380_dma_xfer_len(instance, cmd)) != 0) { |
cmd | 1800 | drivers/scsi/NCR5380.c | if (!cmd->device->borken && |
cmd | 1801 | drivers/scsi/NCR5380.c | (transfersize = cmd->transfersize) && |
cmd | 1802 | drivers/scsi/NCR5380.c | cmd->SCp.this_residual && !(cmd->SCp.this_residual % |
cmd | 1807 | drivers/scsi/NCR5380.c | &len, (unsigned char **) &cmd->SCp.ptr)) { |
cmd | 1813 | drivers/scsi/NCR5380.c | instance->host_no, cmd->target, cmd->lun); |
cmd | 1814 | drivers/scsi/NCR5380.c | cmd->device->borken = 1; |
cmd | 1819 | drivers/scsi/NCR5380.c | cmd->SCp.this_residual -= transfersize - len; |
cmd | 1823 | drivers/scsi/NCR5380.c | (int *) &cmd->SCp.this_residual, (unsigned char **) |
cmd | 1824 | drivers/scsi/NCR5380.c | &cmd->SCp.ptr); |
cmd | 1836 | drivers/scsi/NCR5380.c | cmd->SCp.Message = tmp; |
cmd | 1854 | drivers/scsi/NCR5380.c | instance->host_no, cmd->target, cmd->lun); |
cmd | 1862 | drivers/scsi/NCR5380.c | if (!cmd->next_link) { |
cmd | 1864 | drivers/scsi/NCR5380.c | instance->host_no, cmd->target, cmd->lun); |
cmd | 1871 | drivers/scsi/NCR5380.c | initialize_SCp(cmd->next_link); |
cmd | 1873 | drivers/scsi/NCR5380.c | cmd->next_link->tag = cmd->tag; |
cmd | 1874 | drivers/scsi/NCR5380.c | cmd->result = cmd->SCp.Status | (cmd->SCp.Message << 8); |
cmd | 1877 | drivers/scsi/NCR5380.c | instance->host_no, cmd->target, cmd->lun); |
cmd | 1879 | drivers/scsi/NCR5380.c | cmd->scsi_done(cmd); |
cmd | 1880 | drivers/scsi/NCR5380.c | cmd = hostdata->connected; |
cmd | 1888 | drivers/scsi/NCR5380.c | instance->host_no, cmd->target, cmd->lun); |
cmd | 1890 | drivers/scsi/NCR5380.c | hostdata->busy[cmd->target] &= ~(1 << cmd->lun); |
cmd | 1908 | drivers/scsi/NCR5380.c | if (cmd->cmnd[0] != REQUEST_SENSE) |
cmd | 1909 | drivers/scsi/NCR5380.c | cmd->result = cmd->SCp.Status | (cmd->SCp.Message << 8); |
cmd | 1910 | drivers/scsi/NCR5380.c | else if (cmd->SCp.Status != GOOD) |
cmd | 1911 | drivers/scsi/NCR5380.c | cmd->result = (cmd->result & 0x00ffff) | (DID_ERROR << 16); |
cmd | 1914 | drivers/scsi/NCR5380.c | if ((cmd->cmnd[0] != REQUEST_SENSE) && |
cmd | 1915 | drivers/scsi/NCR5380.c | (cmd->SCp.Status == CHECK_CONDITION)) { |
cmd | 1920 | drivers/scsi/NCR5380.c | cmd->cmnd[0] = REQUEST_SENSE; |
cmd | 1921 | drivers/scsi/NCR5380.c | cmd->cmnd[1] &= 0xe0; |
cmd | 1922 | drivers/scsi/NCR5380.c | cmd->cmnd[2] = 0; |
cmd | 1923 | drivers/scsi/NCR5380.c | cmd->cmnd[3] = 0; |
cmd | 1924 | drivers/scsi/NCR5380.c | cmd->cmnd[4] = sizeof(cmd->sense_buffer); |
cmd | 1925 | drivers/scsi/NCR5380.c | cmd->cmnd[5] = 0; |
cmd | 1927 | drivers/scsi/NCR5380.c | cmd->SCp.buffer = NULL; |
cmd | 1928 | drivers/scsi/NCR5380.c | cmd->SCp.buffers_residual = 0; |
cmd | 1929 | drivers/scsi/NCR5380.c | cmd->SCp.ptr = (char *) cmd->sense_buffer; |
cmd | 1930 | drivers/scsi/NCR5380.c | cmd->SCp.this_residual = sizeof(cmd->sense_buffer); |
cmd | 1933 | drivers/scsi/NCR5380.c | cmd->host_scribble = (unsigned char *) |
cmd | 1935 | drivers/scsi/NCR5380.c | hostdata->issue_queue = (Scsi_Cmnd *) cmd; |
cmd | 1942 | drivers/scsi/NCR5380.c | cmd->scsi_done(cmd); |
cmd | 1954 | drivers/scsi/NCR5380.c | cmd->device->tagged_queue = 0; |
cmd | 1955 | drivers/scsi/NCR5380.c | hostdata->busy[cmd->target] |= (1 << cmd->lun); |
cmd | 1961 | drivers/scsi/NCR5380.c | cmd->device->disconnect = 1; |
cmd | 1963 | drivers/scsi/NCR5380.c | cmd->host_scribble = (unsigned char *) |
cmd | 1966 | drivers/scsi/NCR5380.c | hostdata->disconnected_queue = cmd; |
cmd | 1971 | drivers/scsi/NCR5380.c | cmd->target, cmd->lun); |
cmd | 2019 | drivers/scsi/NCR5380.c | hostdata->busy[cmd->target] &= ~(1 << cmd->lun); |
cmd | 2021 | drivers/scsi/NCR5380.c | cmd->result = DID_ERROR << 16; |
cmd | 2022 | drivers/scsi/NCR5380.c | cmd->scsi_done(cmd); |
cmd | 2029 | drivers/scsi/NCR5380.c | len = COMMAND_SIZE(cmd->cmnd[0]); |
cmd | 2030 | drivers/scsi/NCR5380.c | data = cmd->cmnd; |
cmd | 2039 | drivers/scsi/NCR5380.c | if (!disconnect && should_disconnect(cmd->cmnd[0])) { |
cmd | 2054 | drivers/scsi/NCR5380.c | cmd->SCp.Status = tmp; |
cmd | 2215 | drivers/scsi/NCR5380.c | instance->host_no, cmd->target, cmd->lun, cmd->tag); |
cmd | 2288 | drivers/scsi/NCR5380.c | int NCR5380_abort (Scsi_Cmnd *cmd) { |
cmd | 2290 | drivers/scsi/NCR5380.c | struct Scsi_Host *instance = cmd->host; |
cmd | 2313 | drivers/scsi/NCR5380.c | if (cmd == tmp) { |
cmd | 2372 | drivers/scsi/NCR5380.c | if (cmd == tmp) { |
cmd | 2378 | drivers/scsi/NCR5380.c | if (NCR5380_select (instance, cmd, (int) cmd->tag)) |
cmd | 2397 | drivers/scsi/NCR5380.c | if (cmd == tmp) { |
cmd | 2436 | drivers/scsi/NCR5380.c | int NCR5380_reset (Scsi_Cmnd *cmd) { |
cmd | 2438 | drivers/scsi/NCR5380.c | NCR5380_setup(cmd->host); |
cmd | 252 | drivers/scsi/NCR5380.h | int NCR5380_abort (Scsi_Cmnd *cmd); |
cmd | 256 | drivers/scsi/NCR5380.h | int NCR5380_reset (Scsi_Cmnd *cmd); |
cmd | 260 | drivers/scsi/NCR5380.h | int NCR5380_queue_command (Scsi_Cmnd *cmd, void (*done)(Scsi_Cmnd *)); |
cmd | 264 | drivers/scsi/NCR5380.h | static int NCR5380_select (struct Scsi_Host *instance, Scsi_Cmnd *cmd, int tag); |
cmd | 440 | drivers/scsi/aha1542.c | unchar *cmd = (unchar *) SCpnt->cmnd; |
cmd | 458 | drivers/scsi/aha1542.c | if(*cmd == REQUEST_SENSE){ |
cmd | 470 | drivers/scsi/aha1542.c | if (*cmd == READ_10 || *cmd == WRITE_10) |
cmd | 471 | drivers/scsi/aha1542.c | i = xscsi2int(cmd+2); |
cmd | 472 | drivers/scsi/aha1542.c | else if (*cmd == READ_6 || *cmd == WRITE_6) |
cmd | 473 | drivers/scsi/aha1542.c | i = scsi2int(cmd+2); |
cmd | 477 | drivers/scsi/aha1542.c | printk("aha1542_queuecommand: dev %d cmd %02x pos %d len %d ", target, *cmd, i, bufflen); |
cmd | 479 | drivers/scsi/aha1542.c | printk("aha1542_command: dev %d cmd %02x pos %d len %d ", target, *cmd, i, bufflen); |
cmd | 482 | drivers/scsi/aha1542.c | for (i = 0; i < (COMMAND_SIZE(*cmd)); i++) printk("%02x ", cmd[i]); |
cmd | 484 | drivers/scsi/aha1542.c | if (*cmd == WRITE_10 || *cmd == WRITE_6) |
cmd | 518 | drivers/scsi/aha1542.c | ccb[mbo].cdblen = COMMAND_SIZE(*cmd); /* SCSI Command Descriptor Block Length */ |
cmd | 521 | drivers/scsi/aha1542.c | if (*cmd == READ_10 || *cmd == READ_6) |
cmd | 523 | drivers/scsi/aha1542.c | else if (*cmd == WRITE_10 || *cmd == WRITE_6) |
cmd | 526 | drivers/scsi/aha1542.c | memcpy(ccb[mbo].cdb, cmd, ccb[mbo].cdblen); |
cmd | 623 | drivers/scsi/aha1542.c | unchar cmd[5] = {CMD_MBINIT, AHA1542_MAILBOXES, 0, 0, 0}; |
cmd | 633 | drivers/scsi/aha1542.c | any2scsi((cmd+2), mb); |
cmd | 634 | drivers/scsi/aha1542.c | aha1542_out(bse, cmd, 5); |
cmd | 871 | drivers/scsi/aha1542.c | static unchar cmd[] = { READ_CAPACITY, 0, 0, 0, 0, 0, 0, 0, 0, 0}; |
cmd | 876 | drivers/scsi/aha1542.c | if (!aha1542_command(i, cmd, buf, sizeof(buf))) { |
cmd | 886 | drivers/scsi/aha1542.c | unsigned char cmd[10]; |
cmd | 889 | drivers/scsi/aha1542.c | cmd[0] = READ_10; |
cmd | 890 | drivers/scsi/aha1542.c | cmd[1] = 0; |
cmd | 891 | drivers/scsi/aha1542.c | xany2scsi(cmd+2, i); |
cmd | 892 | drivers/scsi/aha1542.c | cmd[6] = 0; |
cmd | 893 | drivers/scsi/aha1542.c | cmd[7] = 0; |
cmd | 894 | drivers/scsi/aha1542.c | cmd[8] = 1; |
cmd | 895 | drivers/scsi/aha1542.c | cmd[9] = 0; |
cmd | 896 | drivers/scsi/aha1542.c | aha1542_command(0, cmd, buffer, 512); |
cmd | 242 | drivers/scsi/aha1740.c | unchar *cmd = (unchar *) SCpnt->cmnd; |
cmd | 250 | drivers/scsi/aha1740.c | if(*cmd == REQUEST_SENSE) |
cmd | 262 | drivers/scsi/aha1740.c | if (*cmd == READ_10 || *cmd == WRITE_10) |
cmd | 263 | drivers/scsi/aha1740.c | i = xscsi2int(cmd+2); |
cmd | 264 | drivers/scsi/aha1740.c | else if (*cmd == READ_6 || *cmd == WRITE_6) |
cmd | 265 | drivers/scsi/aha1740.c | i = scsi2int(cmd+2); |
cmd | 268 | drivers/scsi/aha1740.c | printk("aha1740_queuecommand: dev %d cmd %02x pos %d len %d ", target, *cmd, i, bufflen); |
cmd | 270 | drivers/scsi/aha1740.c | for (i = 0; i < (COMMAND_SIZE(*cmd)); i++) printk("%02x ", cmd[i]); |
cmd | 299 | drivers/scsi/aha1740.c | ecb[ecbno].cdblen = COMMAND_SIZE(*cmd); /* SCSI Command Descriptor Block Length */ |
cmd | 302 | drivers/scsi/aha1740.c | if (*cmd == READ_10 || *cmd == READ_6) |
cmd | 304 | drivers/scsi/aha1740.c | else if (*cmd == WRITE_10 || *cmd == WRITE_6) |
cmd | 307 | drivers/scsi/aha1740.c | memcpy(ecb[ecbno].cdb, cmd, ecb[ecbno].cdblen); |
cmd | 540 | drivers/scsi/buslogic.c | unsigned char *cmd = (unsigned char *)SCpnt->cmnd; |
cmd | 557 | drivers/scsi/buslogic.c | if (*cmd == REQUEST_SENSE) { |
cmd | 573 | drivers/scsi/buslogic.c | if (*cmd == READ_10 || *cmd == WRITE_10) |
cmd | 574 | drivers/scsi/buslogic.c | i = xscsi2int(cmd + 2); |
cmd | 575 | drivers/scsi/buslogic.c | else if (*cmd == READ_6 || *cmd == WRITE_6) |
cmd | 576 | drivers/scsi/buslogic.c | i = scsi2int(cmd + 2); |
cmd | 580 | drivers/scsi/buslogic.c | target, *cmd, i, bufflen); |
cmd | 583 | drivers/scsi/buslogic.c | for (i = 0; i < (COMMAND_SIZE(*cmd)); i++) |
cmd | 584 | drivers/scsi/buslogic.c | printk(" %02X", cmd[i]); |
cmd | 586 | drivers/scsi/buslogic.c | if (*cmd == WRITE_10 || *cmd == WRITE_6) |
cmd | 635 | drivers/scsi/buslogic.c | ccb[mbo].cdblen = COMMAND_SIZE(*cmd); /* SCSI Command Descriptor |
cmd | 639 | drivers/scsi/buslogic.c | if (*cmd == READ_10 || *cmd == READ_6) |
cmd | 641 | drivers/scsi/buslogic.c | else if (*cmd == WRITE_10 || *cmd == WRITE_6) |
cmd | 644 | drivers/scsi/buslogic.c | memcpy(ccb[mbo].cdb, cmd, ccb[mbo].cdblen); |
cmd | 753 | drivers/scsi/buslogic.c | unsigned char cmd, count; |
cmd | 755 | drivers/scsi/buslogic.c | } cmd = { CMD_INITEXTMB, BUSLOGIC_MAILBOXES, mb }; |
cmd | 764 | drivers/scsi/buslogic.c | if (buslogic_out(base, (unsigned char *)&cmd, sizeof cmd)) |
cmd | 1049 | drivers/scsi/buslogic.c | unsigned char cmd[] |
cmd | 1059 | drivers/scsi/buslogic.c | if (!buslogic_command(i, cmd, buf, sizeof buf)) { |
cmd | 1071 | drivers/scsi/buslogic.c | cmd[0] = READ_10; |
cmd | 1072 | drivers/scsi/buslogic.c | cmd[1] = 0; |
cmd | 1073 | drivers/scsi/buslogic.c | xany2scsi(cmd + 2, i); |
cmd | 1074 | drivers/scsi/buslogic.c | cmd[6] = 0; |
cmd | 1075 | drivers/scsi/buslogic.c | cmd[7] = 0; |
cmd | 1076 | drivers/scsi/buslogic.c | cmd[8] = 1; |
cmd | 1077 | drivers/scsi/buslogic.c | cmd[9] = 0; |
cmd | 1078 | drivers/scsi/buslogic.c | buslogic_command(0, cmd, buffer, sizeof buffer); |
cmd | 1955 | drivers/scsi/scsi.c | req->cmd, |
cmd | 90 | drivers/scsi/scsi_debug.c | if (SCpnt->request.cmd != RW) panic ("Wrong operation"); \ |
cmd | 157 | drivers/scsi/scsi_debug.c | unchar *cmd = (unchar *) SCpnt->cmnd; |
cmd | 181 | drivers/scsi/scsi_debug.c | switch(*cmd){ |
cmd | 198 | drivers/scsi/scsi_debug.c | if(cmd[4]) printk("Medium removal inhibited..."); |
cmd | 236 | drivers/scsi/scsi_debug.c | if ((*cmd) == READ_10) |
cmd | 237 | drivers/scsi/scsi_debug.c | block = cmd[5] + (cmd[4] << 8) + (cmd[3] << 16) + (cmd[2] << 24); |
cmd | 239 | drivers/scsi/scsi_debug.c | block = cmd[3] + (cmd[2] << 8) + ((cmd[1] & 0x1f) << 16); |
cmd | 315 | drivers/scsi/scsi_debug.c | memcpy(buff+sizeof(target), cmd, 24); |
cmd | 347 | drivers/scsi/scsi_debug.c | if ((*cmd) == WRITE_10) |
cmd | 348 | drivers/scsi/scsi_debug.c | block = cmd[5] + (cmd[4] << 8) + (cmd[3] << 16) + (cmd[2] << 24); |
cmd | 350 | drivers/scsi/scsi_debug.c | block = cmd[3] + (cmd[2] << 8) + ((cmd[1] & 0x1f) << 16); |
cmd | 369 | drivers/scsi/scsi_debug.c | printk("Unknown command %d\n",*cmd); |
cmd | 85 | drivers/scsi/scsi_ioctl.c | static int ioctl_internal_command(Scsi_Device *dev, char * cmd) |
cmd | 91 | drivers/scsi/scsi_ioctl.c | scsi_do_cmd(SCpnt, cmd, NULL, 0, |
cmd | 106 | drivers/scsi/scsi_ioctl.c | if(cmd[0] == ALLOW_MEDIUM_REMOVAL) dev->lockable = 0; |
cmd | 143 | drivers/scsi/scsi_ioctl.c | char cmd[12]; |
cmd | 169 | drivers/scsi/scsi_ioctl.c | memcpy_fromfs ((void *) cmd, cmd_in, cmdlen = COMMAND_SIZE (opcode)); |
cmd | 172 | drivers/scsi/scsi_ioctl.c | cmd[1] = ( cmd[1] & 0x1f ) | (dev->lun << 5); |
cmd | 178 | drivers/scsi/scsi_ioctl.c | scsi_do_cmd(SCpnt, cmd, buf, needed, scsi_ioctl_done, MAX_TIMEOUT, |
cmd | 217 | drivers/scsi/scsi_ioctl.c | printk("%02x ", cmd[i]); |
cmd | 235 | drivers/scsi/scsi_ioctl.c | int scsi_ioctl (Scsi_Device *dev, int cmd, void *arg) |
cmd | 242 | drivers/scsi/scsi_ioctl.c | switch (cmd) { |
cmd | 298 | drivers/scsi/scsi_ioctl.c | int kernel_scsi_ioctl (Scsi_Device *dev, int cmd, void *arg) { |
cmd | 303 | drivers/scsi/scsi_ioctl.c | tmp = scsi_ioctl (dev, cmd, arg); |
cmd | 16 | drivers/scsi/scsi_ioctl.h | extern int scsi_ioctl (Scsi_Device *dev, int cmd, void *arg); |
cmd | 17 | drivers/scsi/scsi_ioctl.h | extern int kernel_scsi_ioctl (Scsi_Device *dev, int cmd, void *arg); |
cmd | 179 | drivers/scsi/sd.c | if (SCpnt->request.cmd == READ) |
cmd | 191 | drivers/scsi/sd.c | if (SCpnt->request.cmd == READ) |
cmd | 392 | drivers/scsi/sd.c | unsigned char cmd[10]; |
cmd | 436 | drivers/scsi/sd.c | switch (SCpnt->request.cmd) |
cmd | 444 | drivers/scsi/sd.c | cmd[0] = WRITE_6; |
cmd | 447 | drivers/scsi/sd.c | cmd[0] = READ_6; |
cmd | 450 | drivers/scsi/sd.c | panic ("Unknown sd command %d\n", SCpnt->request.cmd); |
cmd | 654 | drivers/scsi/sd.c | if (SCpnt->request.cmd == WRITE) |
cmd | 676 | drivers/scsi/sd.c | if (SCpnt->request.cmd == WRITE) |
cmd | 682 | drivers/scsi/sd.c | (SCpnt->request.cmd == WRITE) ? "writing" : "reading", |
cmd | 686 | drivers/scsi/sd.c | cmd[1] = (SCpnt->lun << 5) & 0xe0; |
cmd | 705 | drivers/scsi/sd.c | cmd[0] += READ_10 - READ_6 ; |
cmd | 706 | drivers/scsi/sd.c | cmd[2] = (unsigned char) (block >> 24) & 0xff; |
cmd | 707 | drivers/scsi/sd.c | cmd[3] = (unsigned char) (block >> 16) & 0xff; |
cmd | 708 | drivers/scsi/sd.c | cmd[4] = (unsigned char) (block >> 8) & 0xff; |
cmd | 709 | drivers/scsi/sd.c | cmd[5] = (unsigned char) block & 0xff; |
cmd | 710 | drivers/scsi/sd.c | cmd[6] = cmd[9] = 0; |
cmd | 711 | drivers/scsi/sd.c | cmd[7] = (unsigned char) (this_count >> 8) & 0xff; |
cmd | 712 | drivers/scsi/sd.c | cmd[8] = (unsigned char) this_count & 0xff; |
cmd | 719 | drivers/scsi/sd.c | cmd[1] |= (unsigned char) ((block >> 16) & 0x1f); |
cmd | 720 | drivers/scsi/sd.c | cmd[2] = (unsigned char) ((block >> 8) & 0xff); |
cmd | 721 | drivers/scsi/sd.c | cmd[3] = (unsigned char) block & 0xff; |
cmd | 722 | drivers/scsi/sd.c | cmd[4] = (unsigned char) this_count; |
cmd | 723 | drivers/scsi/sd.c | cmd[5] = 0; |
cmd | 734 | drivers/scsi/sd.c | scsi_do_cmd (SCpnt, (void *) cmd, buff, |
cmd | 790 | drivers/scsi/sd.c | unsigned char cmd[10]; |
cmd | 808 | drivers/scsi/sd.c | cmd[0] = TEST_UNIT_READY; |
cmd | 809 | drivers/scsi/sd.c | cmd[1] = (rscsi_disks[i].device->lun << 5) & 0xe0; |
cmd | 810 | drivers/scsi/sd.c | memset ((void *) &cmd[2], 0, 8); |
cmd | 816 | drivers/scsi/sd.c | (void *) cmd, (void *) buffer, |
cmd | 831 | drivers/scsi/sd.c | cmd[0] = START_STOP; |
cmd | 832 | drivers/scsi/sd.c | cmd[1] = (rscsi_disks[i].device->lun << 5) & 0xe0; |
cmd | 833 | drivers/scsi/sd.c | cmd[1] |= 1; /* Return immediately */ |
cmd | 834 | drivers/scsi/sd.c | memset ((void *) &cmd[2], 0, 8); |
cmd | 835 | drivers/scsi/sd.c | cmd[4] = 1; /* Start spin cycle */ |
cmd | 841 | drivers/scsi/sd.c | (void *) cmd, (void *) buffer, |
cmd | 866 | drivers/scsi/sd.c | cmd[0] = READ_CAPACITY; |
cmd | 867 | drivers/scsi/sd.c | cmd[1] = (rscsi_disks[i].device->lun << 5) & 0xe0; |
cmd | 868 | drivers/scsi/sd.c | memset ((void *) &cmd[2], 0, 8); |
cmd | 875 | drivers/scsi/sd.c | (void *) cmd, (void *) buffer, |
cmd | 17 | drivers/scsi/sd_ioctl.c | int sd_ioctl(struct inode * inode, struct file * file, unsigned int cmd, unsigned long arg) |
cmd | 25 | drivers/scsi/sd_ioctl.c | switch (cmd) { |
cmd | 72 | drivers/scsi/sd_ioctl.c | return scsi_ioctl(rscsi_disks[MINOR(dev) >> 4].device , cmd, (void *) arg); |
cmd | 1600 | drivers/scsi/seagate.c | unsigned char buf[256 + sizeof(int) * 2], cmd[6], *data, *page; |
cmd | 1615 | drivers/scsi/seagate.c | cmd[0] = MODE_SENSE; |
cmd | 1616 | drivers/scsi/seagate.c | cmd[1] = (disk->device->lun << 5) & 0xe5; |
cmd | 1617 | drivers/scsi/seagate.c | cmd[2] = 0x04; /* Read page 4, rigid disk geometry page current values */ |
cmd | 1618 | drivers/scsi/seagate.c | cmd[3] = 0; |
cmd | 1619 | drivers/scsi/seagate.c | cmd[4] = 255; |
cmd | 1620 | drivers/scsi/seagate.c | cmd[5] = 0; |
cmd | 1630 | drivers/scsi/seagate.c | memcpy (data, cmd, 6); |
cmd | 1642 | drivers/scsi/seagate.c | cmd[2] = 0x03; /* Read page 3, format page current values */ |
cmd | 1643 | drivers/scsi/seagate.c | memcpy (data, cmd, 6); |
cmd | 358 | drivers/scsi/sr.c | unsigned char cmd[10], *buffer, tries; |
cmd | 401 | drivers/scsi/sr.c | switch (SCpnt->request.cmd) |
cmd | 408 | drivers/scsi/sr.c | cmd[0] = READ_6; |
cmd | 411 | drivers/scsi/sr.c | panic ("Unknown sr command %d\n", SCpnt->request.cmd); |
cmd | 414 | drivers/scsi/sr.c | cmd[1] = (SCpnt->lun << 5) & 0xe0; |
cmd | 588 | drivers/scsi/sr.c | cmd[0] += READ_10 - READ_6 ; |
cmd | 589 | drivers/scsi/sr.c | cmd[2] = (unsigned char) (block >> 24) & 0xff; |
cmd | 590 | drivers/scsi/sr.c | cmd[3] = (unsigned char) (block >> 16) & 0xff; |
cmd | 591 | drivers/scsi/sr.c | cmd[4] = (unsigned char) (block >> 8) & 0xff; |
cmd | 592 | drivers/scsi/sr.c | cmd[5] = (unsigned char) block & 0xff; |
cmd | 593 | drivers/scsi/sr.c | cmd[6] = cmd[9] = 0; |
cmd | 594 | drivers/scsi/sr.c | cmd[7] = (unsigned char) (realcount >> 8) & 0xff; |
cmd | 595 | drivers/scsi/sr.c | cmd[8] = (unsigned char) realcount & 0xff; |
cmd | 605 | drivers/scsi/sr.c | cmd[1] |= (unsigned char) ((block >> 16) & 0x1f); |
cmd | 606 | drivers/scsi/sr.c | cmd[2] = (unsigned char) ((block >> 8) & 0xff); |
cmd | 607 | drivers/scsi/sr.c | cmd[3] = (unsigned char) block & 0xff; |
cmd | 608 | drivers/scsi/sr.c | cmd[4] = (unsigned char) realcount; |
cmd | 609 | drivers/scsi/sr.c | cmd[5] = 0; |
cmd | 618 | drivers/scsi/sr.c | for(i=0; i<12; i++) printk("%2.2x ", cmd[i]); |
cmd | 624 | drivers/scsi/sr.c | scsi_do_cmd (SCpnt, (void *) cmd, buffer, |
cmd | 652 | drivers/scsi/sr.c | unsigned char cmd[10]; |
cmd | 661 | drivers/scsi/sr.c | cmd[0] = READ_CAPACITY; |
cmd | 662 | drivers/scsi/sr.c | cmd[1] = (scsi_CDs[i].device->lun << 5) & 0xe0; |
cmd | 663 | drivers/scsi/sr.c | memset ((void *) &cmd[2], 0, 8); |
cmd | 669 | drivers/scsi/sr.c | (void *) cmd, (void *) buffer, |
cmd | 19 | drivers/scsi/sr_ioctl.c | extern int scsi_ioctl (Scsi_Device *dev, int cmd, void *arg); |
cmd | 91 | drivers/scsi/sr_ioctl.c | int sr_ioctl(struct inode * inode, struct file * file, unsigned int cmd, unsigned long arg) |
cmd | 101 | drivers/scsi/sr_ioctl.c | switch (cmd) |
cmd | 394 | drivers/scsi/sr_ioctl.c | return scsi_ioctl(scsi_CDs[target].device,cmd,(void *) arg); |
cmd | 226 | drivers/scsi/st.c | unsigned char cmd[10]; |
cmd | 228 | drivers/scsi/st.c | cmd[0] = SPACE; |
cmd | 229 | drivers/scsi/st.c | cmd[1] = 0x01; /* Space FileMarks */ |
cmd | 230 | drivers/scsi/st.c | cmd[2] = cmd[3] = cmd[4] = 0xff; /* -1 filemarks */ |
cmd | 231 | drivers/scsi/st.c | cmd[5] = 0; |
cmd | 237 | drivers/scsi/st.c | (void *) cmd, (void *) (STp->buffer)->b_data, 0, |
cmd | 258 | drivers/scsi/st.c | unsigned char cmd[10]; |
cmd | 290 | drivers/scsi/st.c | memset(cmd, 0, 10); |
cmd | 291 | drivers/scsi/st.c | cmd[0] = WRITE_6; |
cmd | 292 | drivers/scsi/st.c | cmd[1] = 1; |
cmd | 294 | drivers/scsi/st.c | cmd[2] = blks >> 16; |
cmd | 295 | drivers/scsi/st.c | cmd[3] = blks >> 8; |
cmd | 296 | drivers/scsi/st.c | cmd[4] = blks; |
cmd | 299 | drivers/scsi/st.c | (void *) cmd, (STp->buffer)->b_data, transfer, |
cmd | 379 | drivers/scsi/st.c | unsigned char cmd[10]; |
cmd | 421 | drivers/scsi/st.c | memset ((void *) &cmd[0], 0, 10); |
cmd | 422 | drivers/scsi/st.c | cmd[0] = TEST_UNIT_READY; |
cmd | 425 | drivers/scsi/st.c | (void *) cmd, (void *) (STp->buffer)->b_data, |
cmd | 435 | drivers/scsi/st.c | memset ((void *) &cmd[0], 0, 10); |
cmd | 436 | drivers/scsi/st.c | cmd[0] = TEST_UNIT_READY; |
cmd | 439 | drivers/scsi/st.c | (void *) cmd, (void *) (STp->buffer)->b_data, |
cmd | 463 | drivers/scsi/st.c | memset ((void *) &cmd[0], 0, 10); |
cmd | 464 | drivers/scsi/st.c | cmd[0] = READ_BLOCK_LIMITS; |
cmd | 467 | drivers/scsi/st.c | (void *) cmd, (void *) (STp->buffer)->b_data, |
cmd | 492 | drivers/scsi/st.c | memset ((void *) &cmd[0], 0, 10); |
cmd | 493 | drivers/scsi/st.c | cmd[0] = MODE_SENSE; |
cmd | 494 | drivers/scsi/st.c | cmd[4] = 12; |
cmd | 497 | drivers/scsi/st.c | (void *) cmd, (void *) (STp->buffer)->b_data, |
cmd | 581 | drivers/scsi/st.c | static unsigned char cmd[10]; |
cmd | 603 | drivers/scsi/st.c | memset(cmd, 0, 10); |
cmd | 604 | drivers/scsi/st.c | cmd[0] = WRITE_FILEMARKS; |
cmd | 605 | drivers/scsi/st.c | cmd[4] = 1 + STp->two_fm; |
cmd | 608 | drivers/scsi/st.c | (void *) cmd, (void *) (STp->buffer)->b_data, |
cmd | 629 | drivers/scsi/st.c | printk("st%d: Buffer flushed, %d EOF(s) written\n", dev, cmd[4]); |
cmd | 658 | drivers/scsi/st.c | static unsigned char cmd[10]; |
cmd | 725 | drivers/scsi/st.c | memset(cmd, 0, 10); |
cmd | 726 | drivers/scsi/st.c | cmd[0] = WRITE_6; |
cmd | 727 | drivers/scsi/st.c | cmd[1] = (STp->block_size != 0); |
cmd | 753 | drivers/scsi/st.c | cmd[2] = blks >> 16; |
cmd | 754 | drivers/scsi/st.c | cmd[3] = blks >> 8; |
cmd | 755 | drivers/scsi/st.c | cmd[4] = blks; |
cmd | 759 | drivers/scsi/st.c | (void *) cmd, (STp->buffer)->b_data, transfer, |
cmd | 863 | drivers/scsi/st.c | cmd[2] = blks >> 16; |
cmd | 864 | drivers/scsi/st.c | cmd[3] = blks >> 8; |
cmd | 865 | drivers/scsi/st.c | cmd[4] = blks; |
cmd | 870 | drivers/scsi/st.c | (void *) cmd, (STp->buffer)->b_data, |
cmd | 888 | drivers/scsi/st.c | static unsigned char cmd[10]; |
cmd | 935 | drivers/scsi/st.c | memset(cmd, 0, 10); |
cmd | 936 | drivers/scsi/st.c | cmd[0] = READ_6; |
cmd | 937 | drivers/scsi/st.c | cmd[1] = (STp->block_size != 0); |
cmd | 953 | drivers/scsi/st.c | cmd[2] = blks >> 16; |
cmd | 954 | drivers/scsi/st.c | cmd[3] = blks >> 8; |
cmd | 955 | drivers/scsi/st.c | cmd[4] = blks; |
cmd | 960 | drivers/scsi/st.c | (void *) cmd, (STp->buffer)->b_data, |
cmd | 1169 | drivers/scsi/st.c | unsigned char cmd[10]; |
cmd | 1179 | drivers/scsi/st.c | memset(cmd, 0, 10); |
cmd | 1184 | drivers/scsi/st.c | cmd[0] = SPACE; |
cmd | 1185 | drivers/scsi/st.c | cmd[1] = 0x01; /* Space FileMarks */ |
cmd | 1186 | drivers/scsi/st.c | cmd[2] = (arg >> 16); |
cmd | 1187 | drivers/scsi/st.c | cmd[3] = (arg >> 8); |
cmd | 1188 | drivers/scsi/st.c | cmd[4] = arg; |
cmd | 1192 | drivers/scsi/st.c | cmd[2] * 65536 + cmd[3] * 256 + cmd[4]); |
cmd | 1199 | drivers/scsi/st.c | cmd[0] = SPACE; |
cmd | 1200 | drivers/scsi/st.c | cmd[1] = 0x01; /* Space FileMarks */ |
cmd | 1202 | drivers/scsi/st.c | cmd[2] = (ltmp >> 16); |
cmd | 1203 | drivers/scsi/st.c | cmd[3] = (ltmp >> 8); |
cmd | 1204 | drivers/scsi/st.c | cmd[4] = ltmp; |
cmd | 1207 | drivers/scsi/st.c | if (cmd[2] & 0x80) |
cmd | 1209 | drivers/scsi/st.c | ltmp = ltmp | (cmd[2] << 16) | (cmd[3] << 8) | cmd[4]; |
cmd | 1217 | drivers/scsi/st.c | cmd[0] = SPACE; |
cmd | 1218 | drivers/scsi/st.c | cmd[1] = 0x00; /* Space Blocks */ |
cmd | 1219 | drivers/scsi/st.c | cmd[2] = (arg >> 16); |
cmd | 1220 | drivers/scsi/st.c | cmd[3] = (arg >> 8); |
cmd | 1221 | drivers/scsi/st.c | cmd[4] = arg; |
cmd | 1225 | drivers/scsi/st.c | cmd[2] * 65536 + cmd[3] * 256 + cmd[4]); |
cmd | 1231 | drivers/scsi/st.c | cmd[0] = SPACE; |
cmd | 1232 | drivers/scsi/st.c | cmd[1] = 0x00; /* Space Blocks */ |
cmd | 1234 | drivers/scsi/st.c | cmd[2] = (ltmp >> 16); |
cmd | 1235 | drivers/scsi/st.c | cmd[3] = (ltmp >> 8); |
cmd | 1236 | drivers/scsi/st.c | cmd[4] = ltmp; |
cmd | 1239 | drivers/scsi/st.c | if (cmd[2] & 0x80) |
cmd | 1241 | drivers/scsi/st.c | ltmp = ltmp | (cmd[2] << 16) | (cmd[3] << 8) | cmd[4]; |
cmd | 1251 | drivers/scsi/st.c | cmd[0] = WRITE_FILEMARKS; |
cmd | 1252 | drivers/scsi/st.c | cmd[2] = (arg >> 16); |
cmd | 1253 | drivers/scsi/st.c | cmd[3] = (arg >> 8); |
cmd | 1254 | drivers/scsi/st.c | cmd[4] = arg; |
cmd | 1259 | drivers/scsi/st.c | cmd[2] * 65536 + cmd[3] * 256 + cmd[4]); |
cmd | 1265 | drivers/scsi/st.c | cmd[0] = REZERO_UNIT; |
cmd | 1267 | drivers/scsi/st.c | cmd[1] = 1; /* Don't wait for completion */ |
cmd | 1277 | drivers/scsi/st.c | cmd[0] = START_STOP; |
cmd | 1279 | drivers/scsi/st.c | cmd[1] = 1; /* Don't wait for completion */ |
cmd | 1296 | drivers/scsi/st.c | cmd[0] = START_STOP; |
cmd | 1298 | drivers/scsi/st.c | cmd[1] = 1; /* Don't wait for completion */ |
cmd | 1301 | drivers/scsi/st.c | cmd[4] = 3; |
cmd | 1316 | drivers/scsi/st.c | cmd[0] = SPACE; |
cmd | 1317 | drivers/scsi/st.c | cmd[1] = 3; |
cmd | 1327 | drivers/scsi/st.c | cmd[0] = ERASE; |
cmd | 1328 | drivers/scsi/st.c | cmd[1] = 1; /* To the end of tape */ |
cmd | 1337 | drivers/scsi/st.c | cmd[0] = QFA_SEEK_BLOCK; |
cmd | 1338 | drivers/scsi/st.c | cmd[2] = (arg >> 16); |
cmd | 1339 | drivers/scsi/st.c | cmd[3] = (arg >> 8); |
cmd | 1340 | drivers/scsi/st.c | cmd[4] = arg; |
cmd | 1341 | drivers/scsi/st.c | cmd[5] = 0; |
cmd | 1344 | drivers/scsi/st.c | cmd[0] = SEEK_10; |
cmd | 1345 | drivers/scsi/st.c | cmd[1] = 4; |
cmd | 1346 | drivers/scsi/st.c | cmd[3] = (arg >> 24); |
cmd | 1347 | drivers/scsi/st.c | cmd[4] = (arg >> 16); |
cmd | 1348 | drivers/scsi/st.c | cmd[5] = (arg >> 8); |
cmd | 1349 | drivers/scsi/st.c | cmd[6] = arg; |
cmd | 1352 | drivers/scsi/st.c | cmd[1] |= 1; /* Don't wait for completion */ |
cmd | 1373 | drivers/scsi/st.c | cmd[0] = MODE_SELECT; |
cmd | 1374 | drivers/scsi/st.c | cmd[4] = datalen = 12; |
cmd | 1420 | drivers/scsi/st.c | (void *) cmd, (void *) (STp->buffer)->b_data, datalen, |
cmd | 1511 | drivers/scsi/st.c | int i, cmd, result; |
cmd | 1527 | drivers/scsi/st.c | cmd = cmd_in & IOCCMD_MASK; |
cmd | 1528 | drivers/scsi/st.c | if (cmd == (MTIOCTOP & IOCCMD_MASK)) { |
cmd | 1551 | drivers/scsi/st.c | else if (cmd == (MTIOCGET & IOCCMD_MASK)) { |
cmd | 1581 | drivers/scsi/st.c | else if (cmd == (MTIOCPOS & IOCCMD_MASK)) { |
cmd | 568 | drivers/scsi/wd7000.c | static inline int command_out(Adapter *host, unchar *cmd, int len) |
cmd | 573 | drivers/scsi/wd7000.c | outb(*cmd, host->iobase+ASC_COMMAND); |
cmd | 576 | drivers/scsi/wd7000.c | cmd++; |
cmd | 89 | drivers/sound/ad1848.c | static int ad1848_ioctl (int dev, unsigned int cmd, unsigned int arg, int local); |
cmd | 409 | drivers/sound/ad1848.c | ad1848_ioctl (int dev, unsigned int cmd, unsigned int arg, int local) |
cmd | 413 | drivers/sound/ad1848.c | switch (cmd) |
cmd | 322 | drivers/sound/audio.c | unsigned int cmd, unsigned int arg) |
cmd | 327 | drivers/sound/audio.c | switch (cmd) |
cmd | 336 | drivers/sound/audio.c | return DMAbuf_ioctl (dev, cmd, arg, 0); |
cmd | 351 | drivers/sound/audio.c | return DMAbuf_ioctl (dev, cmd, arg, 0); |
cmd | 362 | drivers/sound/audio.c | return DMAbuf_ioctl (dev, cmd, arg, 0); |
cmd | 405 | drivers/sound/audio.c | unsigned int cmd, unsigned int arg) |
cmd | 124 | drivers/sound/dev_table.h | int (*ioctl) (int dev, unsigned int cmd, unsigned int arg, int local); |
cmd | 139 | drivers/sound/dev_table.h | int (*ioctl) (int dev, unsigned int cmd, unsigned int arg); |
cmd | 150 | drivers/sound/dev_table.h | int (*ioctl) (int dev, unsigned int cmd, unsigned int arg); |
cmd | 178 | drivers/sound/dev_table.h | int (*ioctl) (int dev, unsigned int cmd, unsigned int arg); |
cmd | 196 | drivers/sound/dev_table.h | int (*ioctl) (int dev, unsigned int cmd, unsigned int arg); |
cmd | 391 | drivers/sound/dmabuf.c | DMAbuf_ioctl (int dev, unsigned int cmd, unsigned int arg, int local) |
cmd | 395 | drivers/sound/dmabuf.c | switch (cmd) |
cmd | 482 | drivers/sound/dmabuf.c | return audio_devs[dev]->ioctl (dev, cmd, arg, local); |
cmd | 915 | drivers/sound/dmabuf.c | DMAbuf_ioctl (int dev, unsigned int cmd, unsigned int arg, int local) |
cmd | 195 | drivers/sound/gus_midi.c | gus_midi_ioctl (int dev, unsigned cmd, unsigned arg) |
cmd | 840 | drivers/sound/gus_wave.c | unsigned int cmd, unsigned int arg) |
cmd | 843 | drivers/sound/gus_wave.c | switch (cmd) |
cmd | 1723 | drivers/sound/gus_wave.c | int voice, cmd; |
cmd | 1727 | drivers/sound/gus_wave.c | cmd = event[2]; |
cmd | 1734 | drivers/sound/gus_wave.c | (cmd != _GUS_VOICESAMPLE) && (cmd != _GUS_VOICE_POS)) |
cmd | 1737 | drivers/sound/gus_wave.c | switch (cmd) |
cmd | 1907 | drivers/sound/gus_wave.c | gus_sampling_ioctl (int dev, unsigned int cmd, unsigned int arg, int local) |
cmd | 1909 | drivers/sound/gus_wave.c | switch (cmd) |
cmd | 2703 | drivers/sound/gus_wave.c | gus_default_mixer_ioctl (int dev, unsigned int cmd, unsigned int arg) |
cmd | 2707 | drivers/sound/gus_wave.c | if (((cmd >> 8) & 0xff) == 'M') |
cmd | 2709 | drivers/sound/gus_wave.c | if (cmd & IOC_IN) |
cmd | 2710 | drivers/sound/gus_wave.c | switch (cmd & 0xff) |
cmd | 2781 | drivers/sound/gus_wave.c | switch (cmd & 0xff) /* |
cmd | 135 | drivers/sound/ics2101.c | ics2101_mixer_ioctl (int dev, unsigned int cmd, unsigned int arg) |
cmd | 137 | drivers/sound/ics2101.c | if (((cmd >> 8) & 0xff) == 'M') |
cmd | 139 | drivers/sound/ics2101.c | if (cmd & IOC_IN) |
cmd | 140 | drivers/sound/ics2101.c | switch (cmd & 0xff) |
cmd | 143 | drivers/sound/ics2101.c | return gus_default_mixer_ioctl (dev, cmd, arg); |
cmd | 170 | drivers/sound/ics2101.c | switch (cmd & 0xff) /* |
cmd | 176 | drivers/sound/ics2101.c | return gus_default_mixer_ioctl (dev, cmd, arg); |
cmd | 103 | drivers/sound/midi_synth.c | unsigned int cmd, unsigned int arg) |
cmd | 109 | drivers/sound/midi_synth.c | switch (cmd) |
cmd | 2 | drivers/sound/midi_synth.h | unsigned int cmd, unsigned int arg); |
cmd | 376 | drivers/sound/midibuf.c | unsigned int cmd, unsigned int arg) |
cmd | 382 | drivers/sound/midibuf.c | switch (cmd) |
cmd | 396 | drivers/sound/midibuf.c | return midi_devs[dev]->ioctl (dev, cmd, arg); |
cmd | 88 | drivers/sound/mpu401.c | #define write_command(base, cmd) OUTB(cmd, COMDPORT(base)) |
cmd | 144 | drivers/sound/mpu401.c | #define STORE(cmd) \ |
cmd | 149 | drivers/sound/mpu401.c | cmd; \ |
cmd | 608 | drivers/sound/mpu401.c | mpu401_command (int dev, mpu_command_rec * cmd) |
cmd | 641 | drivers/sound/mpu401.c | printk ("MPU-401: Command (0x%x) timeout\n", (int) cmd->cmd); |
cmd | 646 | drivers/sound/mpu401.c | write_command (devc->base, cmd->cmd); |
cmd | 656 | drivers/sound/mpu401.c | printk ("MPU: No ACK to command (0x%x)\n", (int) cmd->cmd); |
cmd | 660 | drivers/sound/mpu401.c | if (cmd->nr_args) |
cmd | 661 | drivers/sound/mpu401.c | for (i = 0; i < cmd->nr_args; i++) |
cmd | 665 | drivers/sound/mpu401.c | if (!mpu401_out (dev, cmd->data[i])) |
cmd | 668 | drivers/sound/mpu401.c | printk ("MPU: Command (0x%x), parm send failed.\n", (int) cmd->cmd); |
cmd | 674 | drivers/sound/mpu401.c | cmd->data[0] = 0; |
cmd | 676 | drivers/sound/mpu401.c | if (cmd->nr_returns) |
cmd | 677 | drivers/sound/mpu401.c | for (i = 0; i < cmd->nr_returns; i++) |
cmd | 683 | drivers/sound/mpu401.c | cmd->data[i] = read_data (devc->base); |
cmd | 690 | drivers/sound/mpu401.c | printk ("MPU: No response(%d) to command (0x%x)\n", i, (int) cmd->cmd); |
cmd | 701 | drivers/sound/mpu401.c | exec_cmd (int dev, int cmd, int data) |
cmd | 707 | drivers/sound/mpu401.c | rec.cmd = cmd & 0xff; |
cmd | 708 | drivers/sound/mpu401.c | rec.nr_args = ((cmd & 0xf0) == 0xE0); |
cmd | 709 | drivers/sound/mpu401.c | rec.nr_returns = ((cmd & 0xf0) == 0xA0); |
cmd | 762 | drivers/sound/mpu401.c | mpu401_ioctl (int dev, unsigned cmd, unsigned arg) |
cmd | 768 | drivers/sound/mpu401.c | switch (cmd) |
cmd | 820 | drivers/sound/mpu401.c | unsigned int cmd, unsigned int arg) |
cmd | 832 | drivers/sound/mpu401.c | switch (cmd) |
cmd | 133 | drivers/sound/opl3.c | unsigned int cmd, unsigned int arg) |
cmd | 135 | drivers/sound/opl3.c | switch (cmd) |
cmd | 217 | drivers/sound/pas2_midi.c | pas_midi_ioctl (int dev, unsigned cmd, unsigned arg) |
cmd | 319 | drivers/sound/pas2_mixer.c | pas_mixer_ioctl (int dev, unsigned int cmd, unsigned int arg) |
cmd | 321 | drivers/sound/pas2_mixer.c | TRACE (printk ("pas2_mixer.c: int pas_mixer_ioctl(unsigned int cmd = %X, unsigned int arg = %X)\n", cmd, arg)); |
cmd | 323 | drivers/sound/pas2_mixer.c | if (((cmd >> 8) & 0xff) == 'M') |
cmd | 325 | drivers/sound/pas2_mixer.c | if (cmd & IOC_IN) |
cmd | 326 | drivers/sound/pas2_mixer.c | return IOCTL_OUT (arg, pas_mixer_set (cmd & 0xff, IOCTL_IN (arg))); |
cmd | 332 | drivers/sound/pas2_mixer.c | switch (cmd & 0xff) |
cmd | 376 | drivers/sound/pas2_mixer.c | return IOCTL_OUT (arg, levels[cmd & 0xff]); |
cmd | 156 | drivers/sound/pas2_pcm.c | pas_pcm_ioctl (int dev, unsigned int cmd, unsigned int arg, int local) |
cmd | 158 | drivers/sound/pas2_pcm.c | TRACE (printk ("pas2_pcm.c: static int pas_pcm_ioctl(unsigned int cmd = %X, unsigned int arg = %X)\n", cmd, arg)); |
cmd | 160 | drivers/sound/pas2_pcm.c | switch (cmd) |
cmd | 844 | drivers/sound/pss.c | unsigned int cmd, unsigned int arg) |
cmd | 846 | drivers/sound/pss.c | DEB (printk ("pss_ioctl dev=%d cmd=%x\n", dev, cmd)); |
cmd | 852 | drivers/sound/pss.c | switch (cmd) |
cmd | 73 | drivers/sound/sb16_dsp.c | static int sb16_dsp_ioctl (int dev, unsigned int cmd, unsigned int arg, int local); |
cmd | 159 | drivers/sound/sb16_dsp.c | sb16_dsp_ioctl (int dev, unsigned int cmd, unsigned int arg, int local) |
cmd | 161 | drivers/sound/sb16_dsp.c | switch (cmd) |
cmd | 45 | drivers/sound/sb16_midi.c | #define sb16midi_cmd(cmd) OUTB(cmd, COMDPORT) |
cmd | 157 | drivers/sound/sb16_midi.c | sb16midi_ioctl (int dev, unsigned cmd, unsigned arg) |
cmd | 647 | drivers/sound/sb_dsp.c | sb_dsp_ioctl (int dev, unsigned int cmd, unsigned int arg, int local) |
cmd | 649 | drivers/sound/sb_dsp.c | switch (cmd) |
cmd | 192 | drivers/sound/sb_midi.c | sb_midi_ioctl (int dev, unsigned cmd, unsigned arg) |
cmd | 328 | drivers/sound/sb_mixer.c | sb_mixer_ioctl (int dev, unsigned int cmd, unsigned int arg) |
cmd | 330 | drivers/sound/sb_mixer.c | if (((cmd >> 8) & 0xff) == 'M') |
cmd | 332 | drivers/sound/sb_mixer.c | if (cmd & IOC_IN) |
cmd | 333 | drivers/sound/sb_mixer.c | switch (cmd & 0xff) |
cmd | 340 | drivers/sound/sb_mixer.c | return IOCTL_OUT (arg, sb_mixer_set (cmd & 0xff, IOCTL_IN (arg))); |
cmd | 343 | drivers/sound/sb_mixer.c | switch (cmd & 0xff) /* |
cmd | 370 | drivers/sound/sb_mixer.c | return IOCTL_OUT (arg, sb_mixer_get (cmd & 0xff)); |
cmd | 472 | drivers/sound/sequencer.c | unsigned char cmd = event[2]; |
cmd | 489 | drivers/sound/sequencer.c | if (cmd == MIDI_NOTEON && parm == 0) |
cmd | 491 | drivers/sound/sequencer.c | cmd = MIDI_NOTEOFF; |
cmd | 495 | drivers/sound/sequencer.c | switch (cmd) |
cmd | 536 | drivers/sound/sequencer.c | unsigned char cmd = event[2]; |
cmd | 550 | drivers/sound/sequencer.c | switch (cmd) |
cmd | 615 | drivers/sound/sequencer.c | unsigned char cmd = event[1]; |
cmd | 639 | drivers/sound/sequencer.c | switch (cmd) |
cmd | 1324 | drivers/sound/sequencer.c | unsigned int cmd, unsigned int arg) |
cmd | 1331 | drivers/sound/sequencer.c | switch (cmd) |
cmd | 1345 | drivers/sound/sequencer.c | return tmr->ioctl (tmr_no, cmd, arg); |
cmd | 1447 | drivers/sound/sequencer.c | return tmr->ioctl (tmr_no, cmd, arg); |
cmd | 1466 | drivers/sound/sequencer.c | return synth_devs[dev]->ioctl (dev, cmd, arg); |
cmd | 1487 | drivers/sound/sequencer.c | return IOCTL_OUT (arg, synth_devs[dev]->ioctl (dev, cmd, arg)); |
cmd | 1501 | drivers/sound/sequencer.c | synth_devs[dev]->ioctl (dev, cmd, arg); |
cmd | 1520 | drivers/sound/sequencer.c | return synth_devs[dev]->ioctl (dev, cmd, arg); |
cmd | 1652 | drivers/sound/sequencer.c | return synth_devs[0]->ioctl (0, cmd, arg); |
cmd | 1836 | drivers/sound/sequencer.c | unsigned int cmd, unsigned int arg) |
cmd | 11 | drivers/sound/sound_calls.h | int DMAbuf_ioctl(int dev, unsigned int cmd, unsigned int arg, int local); |
cmd | 29 | drivers/sound/sound_calls.h | unsigned int cmd, unsigned int arg); |
cmd | 42 | drivers/sound/sound_calls.h | unsigned int cmd, unsigned int arg); |
cmd | 64 | drivers/sound/sound_calls.h | unsigned int cmd, unsigned int arg); |
cmd | 114 | drivers/sound/sound_calls.h | unsigned int cmd, unsigned long arg); |
cmd | 192 | drivers/sound/sound_calls.h | int gus_default_mixer_ioctl (int dev, unsigned int cmd, unsigned int arg); |
cmd | 241 | drivers/sound/sound_calls.h | unsigned int cmd, unsigned int arg); |
cmd | 471 | drivers/sound/sound_switch.c | unsigned int cmd, unsigned long arg) |
cmd | 473 | drivers/sound/sound_switch.c | DEB (printk ("sound_ioctl_sw(dev=%d, cmd=0x%x, arg=0x%x)\n", dev, cmd, arg)); |
cmd | 476 | drivers/sound/sound_switch.c | if ((cmd >> 8) & 0xff == 'M') /* |
cmd | 479 | drivers/sound/sound_switch.c | return mixer_devs[0]->ioctl (0, cmd, arg); |
cmd | 494 | drivers/sound/sound_switch.c | return mixer_devs[dev]->ioctl (dev, cmd, arg); |
cmd | 499 | drivers/sound/sound_switch.c | return sequencer_ioctl (dev, file, cmd, arg); |
cmd | 505 | drivers/sound/sound_switch.c | return audio_ioctl (dev, file, cmd, arg); |
cmd | 510 | drivers/sound/sound_switch.c | return MIDIbuf_ioctl (dev, file, cmd, arg); |
cmd | 516 | drivers/sound/sound_switch.c | return pss_ioctl (dev, file, cmd, arg); |
cmd | 175 | drivers/sound/sound_timer.c | unsigned char cmd = event[1]; |
cmd | 178 | drivers/sound/sound_timer.c | switch (cmd) |
cmd | 248 | drivers/sound/sound_timer.c | unsigned int cmd, unsigned int arg) |
cmd | 250 | drivers/sound/sound_timer.c | switch (cmd) |
cmd | 120 | drivers/sound/soundcard.c | unsigned int cmd, unsigned long arg) |
cmd | 127 | drivers/sound/soundcard.c | return sound_ioctl_sw (dev, &files[dev], cmd, arg); |
cmd | 129 | drivers/sound/sys_timer.c | unsigned char cmd = event[1]; |
cmd | 132 | drivers/sound/sys_timer.c | switch (cmd) |
cmd | 199 | drivers/sound/sys_timer.c | unsigned int cmd, unsigned int arg) |
cmd | 201 | drivers/sound/sys_timer.c | switch (cmd) |
cmd | 48 | drivers/sound/uart6850.c | #define uart6850_cmd(cmd) OUTB(cmd, COMDPORT) |
cmd | 220 | drivers/sound/uart6850.c | uart6850_ioctl (int dev, unsigned cmd, unsigned arg) |
cmd | 17 | fs/ext2/ioctl.c | int ext2_ioctl (struct inode * inode, struct file * filp, unsigned int cmd, |
cmd | 22 | fs/ext2/ioctl.c | ext2_debug ("cmd = %u, arg = %lu\n", cmd, arg); |
cmd | 24 | fs/ext2/ioctl.c | switch (cmd) { |
cmd | 18 | fs/fcntl.c | extern int sock_fcntl (struct file *, unsigned int cmd, unsigned long arg); |
cmd | 66 | fs/fcntl.c | asmlinkage int sys_fcntl(unsigned int fd, unsigned int cmd, unsigned long arg) |
cmd | 72 | fs/fcntl.c | switch (cmd) { |
cmd | 99 | fs/fcntl.c | return fcntl_setlk(fd, cmd, (struct flock *) arg); |
cmd | 101 | fs/fcntl.c | return fcntl_setlk(fd, cmd, (struct flock *) arg); |
cmd | 120 | fs/fcntl.c | return (sock_fcntl (filp, cmd, arg)); |
cmd | 16 | fs/ioctl.c | static int file_ioctl(struct file *filp,unsigned int cmd,unsigned long arg) |
cmd | 21 | fs/ioctl.c | switch (cmd) { |
cmd | 52 | fs/ioctl.c | return filp->f_op->ioctl(filp->f_inode, filp, cmd,arg); |
cmd | 57 | fs/ioctl.c | asmlinkage int sys_ioctl(unsigned int fd, unsigned int cmd, unsigned long arg) |
cmd | 64 | fs/ioctl.c | switch (cmd) { |
cmd | 92 | fs/ioctl.c | return file_ioctl(filp,cmd,arg); |
cmd | 95 | fs/ioctl.c | return filp->f_op->ioctl(filp->f_inode, filp, cmd,arg); |
cmd | 94 | fs/locks.c | int fcntl_setlk(unsigned int fd, unsigned int cmd, struct flock *l) |
cmd | 150 | fs/locks.c | if (cmd == F_SETLKW) { |
cmd | 134 | fs/pipe.c | unsigned int cmd, unsigned long arg) |
cmd | 138 | fs/pipe.c | switch (cmd) { |
cmd | 105 | include/linux/net.h | int (*ioctl) (struct socket *sock, unsigned int cmd, |
cmd | 121 | include/linux/net.h | int (*fcntl) (struct socket *sock, unsigned int cmd, |
cmd | 192 | include/linux/netdevice.h | extern int dev_ioctl(unsigned int cmd, void *); |
cmd | 521 | include/linux/soundcard.h | unsigned char cmd; |
cmd | 303 | include/linux/tty.h | unsigned int cmd, unsigned long arg); |
cmd | 323 | include/linux/tty.h | unsigned int cmd, unsigned long arg); |
cmd | 133 | include/linux/tty_driver.h | unsigned int cmd, unsigned long arg); |
cmd | 27 | include/linux/tty_ldisc.h | unsigned int cmd, unsigned long arg); |
cmd | 93 | include/linux/ultrasound.h | #define _GUS_CMD(chn, voice, cmd, p1, p2) \ |
cmd | 95 | include/linux/ultrasound.h | _seqbuf[_seqbufptr+1] = (chn); _seqbuf[_seqbufptr+2] = cmd;\ |
cmd | 115 | include/linux/xd.h | static int xd_ioctl (struct inode *inode,struct file *file,unsigned int cmd,unsigned long arg); |
cmd | 319 | ipc/msg.c | int sys_msgctl (int msqid, int cmd, struct msqid_ds *buf) |
cmd | 325 | ipc/msg.c | if (msqid < 0 || cmd < 0) |
cmd | 327 | ipc/msg.c | switch (cmd) { |
cmd | 342 | ipc/msg.c | if (cmd == MSG_INFO) { |
cmd | 391 | ipc/msg.c | switch (cmd) { |
cmd | 402 | ipc/msg.c | if (cmd == IPC_RMID) { |
cmd | 151 | ipc/sem.c | int sys_semctl (int semid, int semnum, int cmd, void *arg) |
cmd | 161 | ipc/sem.c | if (semid < 0 || semnum < 0 || cmd < 0) |
cmd | 164 | ipc/sem.c | switch (cmd) { |
cmd | 181 | ipc/sem.c | if (cmd == SEM_INFO) { |
cmd | 222 | ipc/sem.c | switch (cmd) { |
cmd | 230 | ipc/sem.c | switch (cmd) { |
cmd | 286 | ipc/sem.c | switch (cmd) { |
cmd | 196 | ipc/shm.c | int sys_shmctl (int shmid, int cmd, struct shmid_ds *buf) |
cmd | 202 | ipc/shm.c | if (cmd < 0 || shmid < 0) |
cmd | 204 | ipc/shm.c | if (cmd == IPC_SET) { |
cmd | 213 | ipc/shm.c | switch (cmd) { /* replace with proc interface ? */ |
cmd | 272 | ipc/shm.c | switch (cmd) { |
cmd | 24 | ipc/util.c | extern int sys_semctl (int semid, int semnum, int cmd, void *arg); |
cmd | 29 | ipc/util.c | extern int sys_msgctl (int msqid, int cmd, struct msqid_ds *buf); |
cmd | 30 | ipc/util.c | extern int sys_shmctl (int shmid, int cmd, struct shmid_ds *buf); |
cmd | 345 | net/inet/af_inet.c | static int inet_fcntl(struct socket *sock, unsigned int cmd, unsigned long arg) |
cmd | 351 | net/inet/af_inet.c | switch(cmd) |
cmd | 1152 | net/inet/af_inet.c | static int inet_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) |
cmd | 1157 | net/inet/af_inet.c | switch(cmd) |
cmd | 1183 | net/inet/af_inet.c | return(ip_rt_ioctl(cmd,(void *) arg)); |
cmd | 1187 | net/inet/af_inet.c | return(arp_ioctl(cmd,(void *) arg)); |
cmd | 1192 | net/inet/af_inet.c | return(rarp_ioctl(cmd,(void *) arg)); |
cmd | 1220 | net/inet/af_inet.c | return(dev_ioctl(cmd,(void *) arg)); |
cmd | 1225 | net/inet/af_inet.c | return(sk->prot->ioctl(sk, cmd, arg)); |
cmd | 1129 | net/inet/arp.c | int arp_ioctl(unsigned int cmd, void *arg) |
cmd | 1135 | net/inet/arp.c | switch(cmd) |
cmd | 13 | net/inet/arp.h | extern int arp_ioctl(unsigned int cmd, void *arg); |
cmd | 1361 | net/inet/dev.c | int dev_ioctl(unsigned int cmd, void *arg) |
cmd | 1363 | net/inet/dev.c | switch(cmd) |
cmd | 1391 | net/inet/dev.c | return dev_ifsioc(arg, cmd); |
cmd | 1410 | net/inet/dev.c | return dev_ifsioc(arg, cmd); |
cmd | 697 | net/inet/icmp.c | int icmp_ioctl(struct sock *sk, int cmd, unsigned long arg) |
cmd | 699 | net/inet/icmp.c | switch(cmd) |
cmd | 35 | net/inet/icmp.h | extern int icmp_ioctl(struct sock *sk, int cmd, |
cmd | 108 | net/inet/ip.c | int ip_ioctl(struct sock *sk, int cmd, unsigned long arg) |
cmd | 110 | net/inet/ip.c | switch(cmd) |
cmd | 69 | net/inet/ip.h | extern int ip_ioctl(struct sock *sk, int cmd, |
cmd | 405 | net/inet/ipx.c | static int ipxrtr_ioctl(unsigned int cmd, void *arg) |
cmd | 408 | net/inet/ipx.c | switch(cmd) |
cmd | 465 | net/inet/ipx.c | static int ipx_fcntl(struct socket *sock, unsigned int cmd, unsigned long arg) |
cmd | 468 | net/inet/ipx.c | switch(cmd) |
cmd | 1209 | net/inet/ipx.c | static int ipx_ioctl(struct socket *sock,unsigned int cmd, unsigned long arg) |
cmd | 1215 | net/inet/ipx.c | switch(cmd) |
cmd | 1240 | net/inet/ipx.c | return(ipxrtr_ioctl(cmd,(void *)arg)); |
cmd | 1274 | net/inet/ipx.c | return(dev_ioctl(cmd,(void *) arg)); |
cmd | 407 | net/inet/rarp.c | int rarp_ioctl(unsigned int cmd, void *arg) |
cmd | 413 | net/inet/rarp.c | switch(cmd) |
cmd | 5 | net/inet/rarp.h | extern int rarp_ioctl(unsigned int cmd, void *arg); |
cmd | 628 | net/inet/route.c | int ip_rt_ioctl(unsigned int cmd, void *arg) |
cmd | 633 | net/inet/route.c | switch(cmd) |
cmd | 642 | net/inet/route.c | return (cmd == SIOCDELRTOLD) ? rt_kill(&rt) : rt_new(&rt); |
cmd | 652 | net/inet/route.c | return (cmd == SIOCDELRT) ? rt_kill(&rt) : rt_new(&rt); |
cmd | 51 | net/inet/route.h | extern int ip_rt_ioctl(unsigned int cmd, void *arg); |
cmd | 223 | net/inet/sock.h | int (*ioctl)(struct sock *sk, int cmd, |
cmd | 464 | net/inet/tcp.c | int tcp_ioctl(struct sock *sk, int cmd, unsigned long arg) |
cmd | 467 | net/inet/tcp.c | switch(cmd) |
cmd | 124 | net/inet/tcp.h | extern int tcp_ioctl(struct sock *sk, int cmd, unsigned long arg); |
cmd | 403 | net/inet/udp.c | int udp_ioctl(struct sock *sk, int cmd, unsigned long arg) |
cmd | 406 | net/inet/udp.c | switch(cmd) |
cmd | 47 | net/inet/udp.h | extern int udp_ioctl(struct sock *sk, int cmd, unsigned long arg); |
cmd | 63 | net/socket.c | unsigned int cmd, unsigned long arg); |
cmd | 435 | net/socket.c | int sock_ioctl(struct inode *inode, struct file *file, unsigned int cmd, |
cmd | 445 | net/socket.c | return(sock->ops->ioctl(sock, cmd, arg)); |
cmd | 1100 | net/socket.c | int sock_fcntl(struct file *filp, unsigned int cmd, unsigned long arg) |
cmd | 1106 | net/socket.c | return(sock->ops->fcntl(sock, cmd, arg)); |
cmd | 78 | net/unix/sock.c | static int unix_proto_ioctl(struct socket *sock, unsigned int cmd, |
cmd | 819 | net/unix/sock.c | static int unix_proto_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) |
cmd | 827 | net/unix/sock.c | switch(cmd) |