Searched defs:SCpnt (Results 26 - 43 of 43) sorted by relevance

12

/drivers/scsi/
H A D3w-9xxx.c1739 static int twa_scsi_eh_reset(struct scsi_cmnd *SCpnt) argument
1744 tw_dev = (TW_Device_Extension *)SCpnt->device->host->hostdata;
1748 sdev_printk(KERN_WARNING, SCpnt->device,
1750 TW_DRIVER, 0x2c, SCpnt->cmnd[0]);
1768 static int twa_scsi_queue_lck(struct scsi_cmnd *SCpnt, void (*done)(struct scsi_cmnd *)) argument
1771 TW_Device_Extension *tw_dev = (TW_Device_Extension *)SCpnt->device->host->hostdata;
1780 if ((SCpnt->device->lun != 0) && (tw_dev->tw_compat_info.working_srl < TW_FW_SRL_LUNS_SUPPORTED)) {
1781 SCpnt->result = (DID_BAD_TARGET << 16);
1782 done(SCpnt);
1788 SCpnt
[all...]
H A D3w-sas.c1475 static int twl_scsi_eh_reset(struct scsi_cmnd *SCpnt) argument
1480 tw_dev = (TW_Device_Extension *)SCpnt->device->host->hostdata;
1484 sdev_printk(KERN_WARNING, SCpnt->device,
1486 TW_DRIVER, 0x2c, SCpnt->cmnd[0]);
1504 static int twl_scsi_queue_lck(struct scsi_cmnd *SCpnt, void (*done)(struct scsi_cmnd *)) argument
1507 TW_Device_Extension *tw_dev = (TW_Device_Extension *)SCpnt->device->host->hostdata;
1516 SCpnt->scsi_done = done;
1522 tw_dev->srb[request_id] = SCpnt;
1525 SCpnt->SCp.phase = TW_PHASE_INITIAL;
1531 SCpnt
[all...]
H A DBusLogic.c2787 static int BusLogic_host_reset(struct scsi_cmnd * SCpnt) argument
2789 struct BusLogic_HostAdapter *HostAdapter = (struct BusLogic_HostAdapter *) SCpnt->device->host->hostdata;
2791 unsigned int id = SCpnt->device->id;
2795 spin_lock_irq(SCpnt->device->host->host_lock);
2800 spin_unlock_irq(SCpnt->device->host->host_lock);
H A Dfd_mcs.c1074 static int fd_mcs_queue_lck(Scsi_Cmnd * SCpnt, void (*done) (Scsi_Cmnd *)) argument
1076 struct Scsi_Host *shpnt = SCpnt->device->host;
1083 SCpnt->target, *(unsigned char *) SCpnt->cmnd,
1084 scsi_sg_count(SCpnt), scsi_bufflen(SCpnt));
1089 SCpnt->scsi_done = done; /* Save this for the done function */
1090 current_SC = SCpnt;
1127 static void fd_mcs_print_info(Scsi_Cmnd * SCpnt) argument
1132 struct Scsi_Host *shpnt = SCpnt
1198 fd_mcs_abort(Scsi_Cmnd * SCpnt) argument
1234 fd_mcs_bus_reset(Scsi_Cmnd * SCpnt) argument
[all...]
H A Dnsp32.c368 static void nsp32_build_identify(struct scsi_cmnd *SCpnt) argument
370 nsp32_hw_data *data = (nsp32_hw_data *)SCpnt->device->host->hostdata;
379 data->msgoutbuf[pos] = IDENTIFY(mode, SCpnt->device->lun); pos++;
387 static void nsp32_build_sdtr(struct scsi_cmnd *SCpnt, argument
391 nsp32_hw_data *data = (nsp32_hw_data *)SCpnt->device->host->hostdata;
406 static void nsp32_build_nop(struct scsi_cmnd *SCpnt) argument
408 nsp32_hw_data *data = (nsp32_hw_data *)SCpnt->device->host->hostdata;
424 static void nsp32_build_reject(struct scsi_cmnd *SCpnt) argument
426 nsp32_hw_data *data = (nsp32_hw_data *)SCpnt->device->host->hostdata;
437 static void nsp32_start_timer(struct scsi_cmnd *SCpnt, in
455 nsp32_selection_autopara(struct scsi_cmnd *SCpnt) argument
586 nsp32_selection_autoscsi(struct scsi_cmnd *SCpnt) argument
761 nsp32_arbitration(struct scsi_cmnd *SCpnt, unsigned int base) argument
810 nsp32_reselection(struct scsi_cmnd *SCpnt, unsigned char newlun) argument
864 nsp32_setup_sg_table(struct scsi_cmnd *SCpnt) argument
910 nsp32_queuecommand_lck(struct scsi_cmnd *SCpnt, void (*done)(struct scsi_cmnd *)) argument
1165 struct scsi_cmnd *SCpnt = data->CurrentSC; local
1553 nsp32_scsi_done(struct scsi_cmnd *SCpnt) argument
1591 nsp32_busfree_occur(struct scsi_cmnd *SCpnt, unsigned short execph) argument
1749 nsp32_adjust_busfree(struct scsi_cmnd *SCpnt, unsigned int s_sacklen) argument
1822 nsp32_msgout_occur(struct scsi_cmnd *SCpnt) argument
1898 nsp32_restart_autoscsi(struct scsi_cmnd *SCpnt, unsigned short command) argument
1964 nsp32_msgin_occur(struct scsi_cmnd *SCpnt, unsigned long irq_status, unsigned short execph) argument
2261 nsp32_analyze_sdtr(struct scsi_cmnd *SCpnt) argument
2851 nsp32_eh_abort(struct scsi_cmnd *SCpnt) argument
2879 nsp32_eh_bus_reset(struct scsi_cmnd *SCpnt) argument
2939 nsp32_eh_host_reset(struct scsi_cmnd *SCpnt) argument
[all...]
H A Dsd.c669 * @SCpnt: pointer to mid-level's per scsi command structure that
676 struct scsi_cmnd *SCpnt; local
706 SCpnt = rq->special;
713 SCSI_LOG_HLQUEUE(1, scmd_printk(KERN_INFO, SCpnt,
721 SCSI_LOG_HLQUEUE(2, scmd_printk(KERN_INFO, SCpnt,
724 SCSI_LOG_HLQUEUE(2, scmd_printk(KERN_INFO, SCpnt,
725 "Retry with 0x%p\n", SCpnt));
755 SCSI_LOG_HLQUEUE(2, scmd_printk(KERN_INFO, SCpnt, "block=%llu\n",
771 scmd_printk(KERN_ERR, SCpnt,
781 scmd_printk(KERN_ERR, SCpnt,
1456 sd_done(struct scsi_cmnd *SCpnt) argument
[all...]
H A Dsym53c416.c736 static int sym53c416_queuecommand_lck(Scsi_Cmnd *SCpnt, void (*done)(Scsi_Cmnd *)) argument
743 base = SCpnt->device->host->io_port;
744 current_command = SCpnt; /* set current command */
751 outb(scmd_id(SCpnt), base + DEST_BUS_ID); /* Set scsi id target */
754 for(i = 0; i < SCpnt->cmd_len; i++)
755 outb(SCpnt->cmnd[i], base + SCSI_FIFO);
765 static int sym53c416_host_reset(Scsi_Cmnd *SCpnt) argument
775 base = SCpnt->device->host->io_port;
H A Du14-34f.c66 * + Use SCpnt->sc_data_direction if set.
579 struct scsi_cmnd *SCpnt; member in struct:mscp
1118 struct scsi_cmnd *SCpnt; local
1120 cpp = &HD(j)->cp[i]; SCpnt = cpp->SCpnt;
1121 pci_dir = SCpnt->sc_data_direction;
1123 if (SCpnt->sense_buffer)
1124 cpp->sense_addr = H2DEV(pci_map_single(HD(j)->pdev, SCpnt->sense_buffer,
1129 if (scsi_bufflen(SCpnt)) {
1130 count = scsi_dma_map(SCpnt);
1156 struct scsi_cmnd *SCpnt; local
1177 struct scsi_cmnd *SCpnt; local
1213 struct scsi_cmnd *SCpnt; local
1250 u14_34f_queuecommand_lck(struct scsi_cmnd *SCpnt, void (*done)(struct scsi_cmnd *)) argument
1399 struct scsi_cmnd *SCpnt; local
1580 struct scsi_cmnd *SCpnt; local
1680 struct scsi_cmnd *SCpnt; local
1720 struct scsi_cmnd *SCpnt; local
[all...]
H A Dwd7000.c465 struct scsi_cmnd *SCpnt;/* scsi_cmnd using this SCB */ member in struct:scb
888 scbs[i].SCpnt = NULL;
891 scbs[MAX_SCBS - 1].SCpnt = NULL;
1006 struct scsi_cmnd *SCpnt; local
1064 SCpnt = scb->SCpnt;
1065 if (--(SCpnt->SCp.phase) <= 0) { /* all scbs are done */
1069 SCpnt->result = errstatus;
1073 SCpnt->scsi_done(SCpnt);
1084 wd7000_queuecommand_lck(struct scsi_cmnd *SCpnt, void (*done)(struct scsi_cmnd *)) argument
1587 wd7000_host_reset(struct scsi_cmnd *SCpnt) argument
[all...]
H A Daha152x.c620 #define SCDATA(SCpnt) ((struct aha152x_scdata *) (SCpnt)->host_scribble)
621 #define SCNEXT(SCpnt) SCDATA(SCpnt)->next
622 #define SCSEM(SCpnt) SCDATA(SCpnt)->done
983 static int aha152x_internal_queue(Scsi_Cmnd *SCpnt, struct completion *complete, argument
986 struct Scsi_Host *shpnt = SCpnt->device->host;
992 CMDINFO(SCpnt), SCpnt, SCpn
1067 aha152x_queue_lck(Scsi_Cmnd *SCpnt, void (*done)(Scsi_Cmnd *)) argument
1088 reset_done(Scsi_Cmnd *SCpnt) argument
1105 aha152x_abort(Scsi_Cmnd *SCpnt) argument
1154 aha152x_device_reset(Scsi_Cmnd * SCpnt) argument
1288 aha152x_bus_reset(Scsi_Cmnd *SCpnt) argument
1350 aha152x_host_reset(Scsi_Cmnd *SCpnt) argument
[all...]
H A Deata.c87 * + Use SCpnt->sc_data_direction if set.
806 struct scsi_cmnd *SCpnt; member in struct:mscp
1616 struct scsi_cmnd *SCpnt; local
1619 SCpnt = cpp->SCpnt;
1620 pci_dir = SCpnt->sc_data_direction;
1622 if (SCpnt->sense_buffer)
1624 H2DEV(pci_map_single(ha->pdev, SCpnt->sense_buffer,
1629 if (!scsi_sg_count(SCpnt)) {
1634 count = pci_map_sg(ha->pdev, scsi_sglist(SCpnt), scsi_sg_coun
1655 struct scsi_cmnd *SCpnt; local
1681 struct scsi_cmnd *SCpnt; local
1722 struct scsi_cmnd *SCpnt; local
1760 eata2x_queuecommand_lck(struct scsi_cmnd *SCpnt, void (*done) (struct scsi_cmnd *)) argument
1915 struct scsi_cmnd *SCpnt; local
2113 struct scsi_cmnd *SCpnt; local
2253 struct scsi_cmnd *SCpnt; local
2298 struct scsi_cmnd *SCpnt; local
[all...]
H A Dnsp32.h497 struct scsi_cmnd *SCpnt; /* Current Handling struct scsi_cmnd */ member in struct:_nsp32_lunt
H A Dscsi_debug.c405 static int check_readiness(struct scsi_cmnd * SCpnt, int reset_only, argument
1717 static int prot_verify_read(struct scsi_cmnd *SCpnt, sector_t start_sec, argument
1787 scsi_for_each_prot_sg(SCpnt, psgl, scsi_prot_sg_count(SCpnt), i) {
1808 static int resp_read(struct scsi_cmnd *SCpnt, unsigned long long lba, argument
1834 scsi_set_resid(SCpnt, scsi_bufflen(SCpnt));
1839 if (scsi_debug_dix && scsi_prot_sg_count(SCpnt)) {
1840 int prot_ret = prot_verify_read(SCpnt, lba, num, ei_lba);
1849 ret = do_device_access(SCpnt, devi
1875 prot_verify_write(struct scsi_cmnd *SCpnt, sector_t start_sec, unsigned int sectors, u32 ei_lba) argument
2068 resp_write(struct scsi_cmnd *SCpnt, unsigned long long lba, unsigned int num, struct sdebug_dev_info *devip, u32 ei_lba) argument
2515 scsi_debug_abort(struct scsi_cmnd * SCpnt) argument
2546 scsi_debug_device_reset(struct scsi_cmnd * SCpnt) argument
2561 scsi_debug_bus_reset(struct scsi_cmnd * SCpnt) argument
2583 scsi_debug_host_reset(struct scsi_cmnd * SCpnt) argument
3584 scsi_debug_queuecommand_lck(struct scsi_cmnd *SCpnt, done_funct_t done) argument
[all...]
/drivers/scsi/arm/
H A Dacornscsi.c395 host->SCpnt = NULL;
573 if (host->SCpnt)
574 return '0' + host->SCpnt->device->id;
711 struct scsi_cmnd *SCpnt; local
714 SCpnt = host->origSCpnt;
718 if (!SCpnt) {
719 SCpnt = queue_remove_exclude(&host->queues.issue, host->busyluns);
720 if (!SCpnt)
726 if (host->scsi.disconnectable && host->SCpnt) {
727 queue_add_cmd_tail(&host->queues.disconnected, host->SCpnt);
803 struct scsi_cmnd *SCpnt = *SCpntp; local
1317 struct scsi_cmnd *SCpnt = host->SCpnt; local
1692 struct scsi_cmnd *SCpnt = host->SCpnt; local
2513 acornscsi_queuecmd_lck(struct scsi_cmnd *SCpnt, void (*done)(struct scsi_cmnd *)) argument
2577 struct scsi_cmnd *SCpnt = *SCpntp1; local
2598 acornscsi_do_abort(AS_Host *host, struct scsi_cmnd *SCpnt) argument
2690 acornscsi_abort(struct scsi_cmnd *SCpnt) argument
2770 acornscsi_bus_reset(struct scsi_cmnd *SCpnt) argument
[all...]
H A Dacornscsi.h279 struct scsi_cmnd *SCpnt; /* currently processing command */ member in struct:acornscsi_hostdata
H A Dfas216.c191 printk(" { magic_start=%lX host=%p SCpnt=%p origSCpnt=%p\n",
192 info->magic_start, info->host, info->SCpnt,
284 if (info->SCpnt)
285 return '0' + info->SCpnt->device->id;
300 struct scsi_cmnd *SCpnt, char *fmt, ...)
308 fas216_do_log(info, '0' + SCpnt->device->id, fmt, args);
312 __scsi_print_command(SCpnt->cmnd);
517 struct fas216_device *dev = &info->device[info->SCpnt->device->id];
600 fas216_set_sync(info, info->SCpnt->device->id);
613 fas216_set_sync(info, info->SCpnt
299 fas216_log_command(FAS216_Info *info, int level, struct scsi_cmnd *SCpnt, char *fmt, ...) argument
1664 __fas216_start_command(FAS216_Info *info, struct scsi_cmnd *SCpnt) argument
1756 fas216_start_command(FAS216_Info *info, struct scsi_cmnd *SCpnt) argument
1810 fas216_allocate_tag(FAS216_Info *info, struct scsi_cmnd *SCpnt) argument
1844 fas216_do_bus_device_reset(FAS216_Info *info, struct scsi_cmnd *SCpnt) argument
1893 struct scsi_cmnd *SCpnt = NULL; local
1981 fas216_devicereset_done(FAS216_Info *info, struct scsi_cmnd *SCpnt, unsigned int result) argument
1999 fas216_rq_sns_done(FAS216_Info *info, struct scsi_cmnd *SCpnt, unsigned int result) argument
2034 fas216_std_done(FAS216_Info *info, struct scsi_cmnd *SCpnt, unsigned int result) argument
2137 struct scsi_cmnd *SCpnt; local
2201 fas216_queue_command_lck(struct scsi_cmnd *SCpnt, void (*done)(struct scsi_cmnd *)) argument
2251 fas216_internal_done(struct scsi_cmnd *SCpnt) argument
2268 fas216_noqueue_command_lck(struct scsi_cmnd *SCpnt, void (*done)(struct scsi_cmnd *)) argument
2350 fas216_find_command(FAS216_Info *info, struct scsi_cmnd *SCpnt) argument
2418 fas216_eh_abort(struct scsi_cmnd *SCpnt) argument
2475 fas216_eh_device_reset(struct scsi_cmnd *SCpnt) argument
2556 fas216_eh_bus_reset(struct scsi_cmnd *SCpnt) argument
2656 fas216_eh_host_reset(struct scsi_cmnd *SCpnt) argument
[all...]
H A Dfas216.h219 struct scsi_cmnd *SCpnt; /* currently processing command */ member in struct:__anon4145
330 /* Function: int fas216_queue_command(struct Scsi_Host *h, struct scsi_cmnd *SCpnt)
333 * : SCpnt - Command to queue
336 extern int fas216_queue_command(struct Scsi_Host *h, struct scsi_cmnd *SCpnt);
338 /* Function: int fas216_noqueue_command(struct Scsi_Host *h, struct scsi_cmnd *SCpnt)
341 * : SCpnt - Command to queue
365 /* Function: int fas216_eh_abort(struct scsi_cmnd *SCpnt)
367 * Params : SCpnt - command to abort
370 extern int fas216_eh_abort(struct scsi_cmnd *SCpnt);
372 /* Function: int fas216_eh_device_reset(struct scsi_cmnd *SCpnt)
[all...]
/drivers/message/fusion/
H A Dmptsas.c1899 mptsas_qcmd_lck(struct scsi_cmnd *SCpnt, void (*done)(struct scsi_cmnd *)) argument
1903 VirtDevice *vdevice = SCpnt->device->hostdata;
1906 SCpnt->result = DID_NO_CONNECT << 16;
1907 done(SCpnt);
1911 hd = shost_priv(SCpnt->device->host);
1918 scsi_print_command(SCpnt);
1920 return mptscsih_qcmd(SCpnt,done);

Completed in 271 milliseconds

12