Lines Matching defs:command
28 * command line options are:
515 u16 command;
613 /* special command to controller BIOS */
724 /* special command to controller BIOS */
756 pci_read_config_word(pdev, PCI_COMMAND, &command);
757 command |= 6;
758 pci_write_config_word(pdev, PCI_COMMAND, command);
839 /* special command to controller BIOS */
1002 /* set offset and service, copy command to DPMEM */
1095 /* make command */
1100 TRACE(("GDT: No free command index found\n"));
1534 /* command queueing/sending functions */
1790 printk("GDT-HA %d: Unknown SCSI command 0x%x to cache service !\n",
1865 printk("GDT-HA %d: SCSI command with no buffers but data transfer expected!\n",
1899 a flush using the ALLOW_MEDIUM_REMOVAL command */
1993 /* search free command index */
1995 TRACE(("GDT: No free command index found\n"));
1998 /* if it's the first command, set command semaphore */
2002 /* fill command */
2100 /* evaluate command size, check space */
2132 /* copy command */
2156 /* search free command index */
2158 TRACE(("GDT: No free command index found\n"));
2161 /* if it's the first command, set command semaphore */
2166 /* fill command */
2174 /* evaluate command size */
2180 /* evaluate command size */
2263 /* evaluate command size */
2271 /* evaluate command size */
2289 /* copy command */
2306 /* search free command index */
2308 TRACE(("GDT: No free command index found\n"));
2312 /* if it's the first command, set command semaphore */
2316 /* evaluate command size, check space */
2322 TRACE2(("cache command %d\n",cmdp->OpCode));
2330 TRACE2(("raw command %d\n",cmdp->OpCode));
2351 /* copy command */
2525 writeb(0, &dp6_ptr->u.ic.Cmd_Index);/* reset command index */
2605 TRACE2(("gdth_interrupt() index to unused command (%d)\n",IStatus));
2615 TRACE(("gdth_interrupt() answer to internal command\n"));
3210 * We don't really honor the command timeout, but we try to
3211 * honor 6 times of the actual command timeout! So reset the
3212 * timer if this is less than 6th timeout on this command!
3242 /* clear command tab */
3478 gen->command.u.cache64.BlockCnt = gen->command.u.cache.BlockCnt;
3479 gen->command.u.cache64.BlockNo = gen->command.u.cache.BlockNo;
3480 gen->command.u.cache64.DeviceNo = gen->command.u.cache.DeviceNo;
3483 gen->command.u.cache64.DestAddr = (u64)-1;
3484 gen->command.u.cache64.sg_canz = 1;
3485 gen->command.u.cache64.sg_lst[0].sg_ptr = paddr;
3486 gen->command.u.cache64.sg_lst[0].sg_len = gen->data_len;
3487 gen->command.u.cache64.sg_lst[1].sg_len = 0;
3489 gen->command.u.cache64.DestAddr = paddr;
3490 gen->command.u.cache64.sg_canz = 0;
3494 gen->command.u.cache.DestAddr = 0xffffffff;
3495 gen->command.u.cache.sg_canz = 1;
3496 gen->command.u.cache.sg_lst[0].sg_ptr = (u32)paddr;
3497 gen->command.u.cache.sg_lst[0].sg_len = gen->data_len;
3498 gen->command.u.cache.sg_lst[1].sg_len = 0;
3500 gen->command.u.cache.DestAddr = paddr;
3501 gen->command.u.cache.sg_canz = 0;
3513 gen->command.u.raw64.sense_len = gen->command.u.raw.sense_len;
3514 gen->command.u.raw64.bus = gen->command.u.raw.bus;
3515 gen->command.u.raw64.lun = gen->command.u.raw.lun;
3516 gen->command.u.raw64.target = gen->command.u.raw.target;
3517 memcpy(cmd, gen->command.u.raw.cmd, 16);
3518 memcpy(gen->command.u.raw64.cmd, cmd, 16);
3519 gen->command.u.raw64.clen = gen->command.u.raw.clen;
3520 gen->command.u.raw64.sdlen = gen->command.u.raw.sdlen;
3521 gen->command.u.raw64.direction = gen->command.u.raw.direction;
3525 gen->command.u.raw64.sdata = (u64)-1;
3526 gen->command.u.raw64.sg_ranz = 1;
3527 gen->command.u.raw64.sg_lst[0].sg_ptr = paddr;
3528 gen->command.u.raw64.sg_lst[0].sg_len = gen->data_len;
3529 gen->command.u.raw64.sg_lst[1].sg_len = 0;
3531 gen->command.u.raw64.sdata = paddr;
3532 gen->command.u.raw64.sg_ranz = 0;
3535 gen->command.u.raw64.sense_data = paddr + gen->data_len;
3538 gen->command.u.raw.sdata = 0xffffffff;
3539 gen->command.u.raw.sg_ranz = 1;
3540 gen->command.u.raw.sg_lst[0].sg_ptr = (u32)paddr;
3541 gen->command.u.raw.sg_lst[0].sg_len = gen->data_len;
3542 gen->command.u.raw.sg_lst[1].sg_len = 0;
3544 gen->command.u.raw.sdata = paddr;
3545 gen->command.u.raw.sg_ranz = 0;
3548 gen->command.u.raw.sense_data = (u32)paddr + gen->data_len;
3585 if (gen.command.OpCode == GDT_IOCTL)
3586 gen.command.u.ioctl.p_param = paddr;
3587 else if (gen.command.Service == CACHESERVICE)
3589 else if (gen.command.Service == SCSIRAWSERVICE)
3595 rval = __gdth_execute(ha->sdev, &gen.command, cmnd, gen.timeout,
4195 " command line !\n");