Home
last modified time | relevance | path

Searched refs:Scsi_Cmnd (Results 1 – 25 of 34) sorted by relevance

12

/linux-3.4.99/drivers/scsi/
Daha1542.h136 static int aha1542_bus_reset(Scsi_Cmnd * SCpnt);
137 static int aha1542_dev_reset(Scsi_Cmnd * SCpnt);
138 static int aha1542_host_reset(Scsi_Cmnd * SCpnt);
140 static int aha1542_old_abort(Scsi_Cmnd * SCpnt);
141 static int aha1542_old_reset(Scsi_Cmnd *, unsigned int);
DNCR5380.c291 static __inline__ void initialize_SCp(Scsi_Cmnd * cmd) in initialize_SCp()
701 char *lprint_Scsi_Cmnd(Scsi_Cmnd * cmd, char *pos, char *buffer, int length);
712 Scsi_Cmnd *ptr; in NCR5380_proc_info()
758 pos = lprint_Scsi_Cmnd((Scsi_Cmnd *) hostdata->connected, pos, buffer, length); in NCR5380_proc_info()
760 for (ptr = (Scsi_Cmnd *) hostdata->issue_queue; ptr; ptr = (Scsi_Cmnd *) ptr->host_scribble) in NCR5380_proc_info()
764 for (ptr = (Scsi_Cmnd *) hostdata->disconnected_queue; ptr; ptr = (Scsi_Cmnd *) ptr->host_scribble) in NCR5380_proc_info()
776 static char *lprint_Scsi_Cmnd(Scsi_Cmnd * cmd, char *pos, char *buffer, int length) in lprint_Scsi_Cmnd()
954 static int NCR5380_queue_command_lck(Scsi_Cmnd * cmd, void (*done) (Scsi_Cmnd *)) in NCR5380_queue_command_lck() argument
958 Scsi_Cmnd *tmp; in NCR5380_queue_command_lck()
1011 …for (tmp = (Scsi_Cmnd *) hostdata->issue_queue; tmp->host_scribble; tmp = (Scsi_Cmnd *) tmp->host_… in NCR5380_queue_command_lck()
[all …]
DNCR5380.h267 volatile Scsi_Cmnd *connected; /* currently connected command */
268 volatile Scsi_Cmnd *issue_queue; /* waiting to be issued */
269 volatile Scsi_Cmnd *disconnected_queue; /* waiting for reconnect */
277 volatile Scsi_Cmnd *selecting;
314 static int NCR5380_abort(Scsi_Cmnd * cmd);
315 static int NCR5380_bus_reset(Scsi_Cmnd * cmd);
321 static int NCR5380_select(struct Scsi_Host *instance, Scsi_Cmnd * cmd, int tag);
Din2000.c257 static int is_dir_out(Scsi_Cmnd * cmd) in is_dir_out()
336 static int in2000_queuecommand_lck(Scsi_Cmnd * cmd, void (*done) (Scsi_Cmnd *)) in in2000_queuecommand_lck() argument
340 Scsi_Cmnd *tmp; in in2000_queuecommand_lck()
419 …for (tmp = (Scsi_Cmnd *) hostdata->input_Q; tmp->host_scribble; tmp = (Scsi_Cmnd *) tmp->host_scri… in in2000_queuecommand_lck()
448 Scsi_Cmnd *cmd, *prev; in DEF_SCSI_QCMD()
471 cmd = (Scsi_Cmnd *) hostdata->input_Q; in DEF_SCSI_QCMD()
477 cmd = (Scsi_Cmnd *) cmd->host_scribble; in DEF_SCSI_QCMD()
494 hostdata->input_Q = (Scsi_Cmnd *) cmd->host_scribble; in DEF_SCSI_QCMD()
543 for (prev = (Scsi_Cmnd *) hostdata->input_Q; prev; prev = (Scsi_Cmnd *) prev->host_scribble) { in DEF_SCSI_QCMD()
545 for (prev = (Scsi_Cmnd *) hostdata->input_Q; prev; prev = (Scsi_Cmnd *) prev->host_scribble) in DEF_SCSI_QCMD()
[all …]
Datari_NCR5380.c275 #define NEXT(cmd) ((Scsi_Cmnd *)(cmd)->host_scribble)
277 #define NEXTADDR(cmd) ((Scsi_Cmnd **)&(cmd)->host_scribble)
362 static int is_lun_busy(Scsi_Cmnd *cmd, int should_be_tagged) in is_lun_busy()
386 static void cmd_get_tag(Scsi_Cmnd *cmd, int should_be_tagged) in cmd_get_tag()
417 static void cmd_free_tag(Scsi_Cmnd *cmd) in cmd_free_tag()
470 static void merge_contiguous_buffers(Scsi_Cmnd *cmd) in merge_contiguous_buffers()
507 static inline void initialize_SCp(Scsi_Cmnd *cmd) in initialize_SCp()
763 static char *lprint_Scsi_Cmnd(Scsi_Cmnd *cmd, char *pos, char *buffer, int length);
770 Scsi_Cmnd *ptr; in NCR5380_proc_info()
794 pos = lprint_Scsi_Cmnd((Scsi_Cmnd *) hostdata->connected, in NCR5380_proc_info()
[all …]
Din2000.h286 volatile Scsi_Cmnd *input_Q; /* commands waiting to be started */
287 volatile Scsi_Cmnd *selecting; /* trying to select this command */
288 volatile Scsi_Cmnd *connected; /* currently connected command */
289 volatile Scsi_Cmnd *disconnected_Q;/* commands waiting for reconnect */
400 static int in2000_abort(Scsi_Cmnd *);
404 static int in2000_bus_reset(Scsi_Cmnd *);
Daha152x.c473 Scsi_Cmnd *issue_SC;
476 Scsi_Cmnd *current_SC;
479 Scsi_Cmnd *disconnected_SC;
482 Scsi_Cmnd *done_SC;
569 Scsi_Cmnd *next; /* next sc in queue */
693 static void show_command(Scsi_Cmnd * ptr);
702 static inline void append_SC(Scsi_Cmnd **SC, Scsi_Cmnd *new_SC) in append_SC()
704 Scsi_Cmnd *end; in append_SC()
716 static inline Scsi_Cmnd *remove_first_SC(Scsi_Cmnd ** SC) in remove_first_SC()
718 Scsi_Cmnd *ptr; in remove_first_SC()
[all …]
Ddtc.h35 static int dtc_abort(Scsi_Cmnd *);
40 static int dtc_bus_reset(Scsi_Cmnd *);
Dpas16.h117 static int pas16_abort(Scsi_Cmnd *);
122 static int pas16_bus_reset(Scsi_Cmnd *);
Dg_NCR5380.h46 static int generic_NCR5380_abort(Scsi_Cmnd *);
50 static int generic_NCR5380_bus_reset(Scsi_Cmnd *);
Daha1542.c133 Scsi_Cmnd *SCint[AHA1542_MAILBOXES];
402 void (*my_done) (Scsi_Cmnd *) = NULL; in aha1542_intr_handle()
406 Scsi_Cmnd *SCtmp; in aha1542_intr_handle()
560 static int aha1542_queuecommand_lck(Scsi_Cmnd * SCpnt, void (*done) (Scsi_Cmnd *)) in aha1542_queuecommand_lck() argument
1288 static int aha1542_dev_reset(Scsi_Cmnd * SCpnt) in aha1542_dev_reset()
1366 Scsi_Cmnd *SCtmp; in aha1542_dev_reset()
1380 static int aha1542_bus_reset(Scsi_Cmnd * SCpnt) in aha1542_bus_reset()
1416 Scsi_Cmnd *SCtmp; in aha1542_bus_reset()
1444 static int aha1542_host_reset(Scsi_Cmnd * SCpnt) in aha1542_host_reset()
1485 Scsi_Cmnd *SCtmp; in aha1542_host_reset()
[all …]
Dmegaraid.h228 Scsi_Cmnd *cmd;
991 static scb_t * mega_build_cmd(adapter_t *, Scsi_Cmnd *, int *);
1000 static int megaraid_abort(Scsi_Cmnd *);
1001 static int megaraid_reset(Scsi_Cmnd *);
1002 static int megaraid_abort_and_reset(adapter_t *, Scsi_Cmnd *, int);
1049 Scsi_Cmnd *, int, int);
1051 scb_t *, Scsi_Cmnd *, int, int);
1059 static void mega_internal_done(Scsi_Cmnd *);
Dg_NCR5380.c777 static int sprint_Scsi_Cmnd(char *buffer, int len, Scsi_Cmnd * cmd) in sprint_Scsi_Cmnd()
810 Scsi_Cmnd *ptr; in generic_NCR5380_proc_info()
889 len += sprint_Scsi_Cmnd(buffer, len, (Scsi_Cmnd *) hostdata->connected); in generic_NCR5380_proc_info()
894 for (ptr = (Scsi_Cmnd *) hostdata->issue_queue; ptr; ptr = (Scsi_Cmnd *) ptr->host_scribble) in generic_NCR5380_proc_info()
899 for (ptr = (Scsi_Cmnd *) hostdata->disconnected_queue; ptr; ptr = (Scsi_Cmnd *) ptr->host_scribble) in generic_NCR5380_proc_info()
Daha1740.h137 Scsi_Cmnd *SCpnt; /* Link to the SCSI Command Block */
138 void (*done) (Scsi_Cmnd *); /* Completion Function */
Dscsi_typedefs.h2 typedef struct scsi_cmnd Scsi_Cmnd; typedef
Datari_scsi.c192 static int falcon_classify_cmd(Scsi_Cmnd *cmd);
194 Scsi_Cmnd *cmd, int write_flag);
782 int atari_scsi_bus_reset(Scsi_Cmnd *cmd) in atari_scsi_bus_reset()
942 static int falcon_classify_cmd(Scsi_Cmnd *cmd) in falcon_classify_cmd()
974 Scsi_Cmnd *cmd, int write_flag) in atari_dma_xfer_len()
Dsym53c416.h29 static int sym53c416_host_reset(Scsi_Cmnd *);
Daha1740.c229 void (*my_done)(Scsi_Cmnd *); in aha1740_intr_handle()
233 Scsi_Cmnd *SCtmp; in aha1740_intr_handle()
333 static int aha1740_queuecommand_lck(Scsi_Cmnd * SCpnt, void (*done)(Scsi_Cmnd *)) in aha1740_queuecommand_lck() argument
542 static int aha1740_eh_abort_handler (Scsi_Cmnd *dummy) in aha1740_eh_abort_handler()
Dfd_mcs.c187 Scsi_Cmnd *_current_SC;
1074 static int fd_mcs_queue_lck(Scsi_Cmnd * SCpnt, void (*done) (Scsi_Cmnd *)) in fd_mcs_queue_lck() argument
1127 static void fd_mcs_print_info(Scsi_Cmnd * SCpnt) in DEF_SCSI_QCMD()
1198 static int fd_mcs_abort(Scsi_Cmnd * SCpnt) in fd_mcs_abort()
1234 static int fd_mcs_bus_reset(Scsi_Cmnd * SCpnt) { in fd_mcs_bus_reset()
Dibmmca.c42 static int ibmmca_abort (Scsi_Cmnd *);
43 static int ibmmca_host_reset (Scsi_Cmnd *);
317 Scsi_Cmnd *cmd; /* SCSI-command that is currently in progress */
478 static void internal_done(Scsi_Cmnd * cmd);
505 Scsi_Cmnd *cmd; in interrupt_handler()
728 static void internal_done(Scsi_Cmnd * cmd) in internal_done()
1693 static int ibmmca_queuecommand_lck(Scsi_Cmnd * cmd, void (*done) (Scsi_Cmnd *)) in ibmmca_queuecommand_lck() argument
2000 static int __ibmmca_abort(Scsi_Cmnd * cmd) in DEF_SCSI_QCMD()
2008 void (*saved_done) (Scsi_Cmnd *); in DEF_SCSI_QCMD()
2094 static int ibmmca_abort(Scsi_Cmnd * cmd) in ibmmca_abort()
[all …]
Dgdth.h173 #define UNUSED_CMND ((Scsi_Cmnd *)-1)
174 #define INTERNAL_CMND ((Scsi_Cmnd *)-2)
175 #define SCREEN_CMND ((Scsi_Cmnd *)-3)
881 Scsi_Cmnd *req_first; /* top of request queue */
910 Scsi_Cmnd *cmnd; /* pending request */
Dgdth.c149 Scsi_Cmnd *scp);
153 static void gdth_putq(gdth_ha_str *ha, Scsi_Cmnd *scp, u8 priority);
155 static int gdth_fill_raw_cmd(gdth_ha_str *ha, Scsi_Cmnd *scp, u8 b);
156 static int gdth_special_cmd(gdth_ha_str *ha, Scsi_Cmnd *scp);
164 static void gdth_copy_internal_data(gdth_ha_str *ha, Scsi_Cmnd *scp,
166 static int gdth_internal_cache_cmd(gdth_ha_str *ha, Scsi_Cmnd *scp);
167 static int gdth_fill_cache_cmd(gdth_ha_str *ha, Scsi_Cmnd *scp, u16 hdrive);
449 Scsi_Cmnd *scp; in __gdth_execute()
1993 static void gdth_putq(gdth_ha_str *ha, Scsi_Cmnd *scp, u8 priority) in gdth_putq()
1996 register Scsi_Cmnd *pscp; in gdth_putq()
[all …]
DNCR53c406a.c204 static Scsi_Cmnd *current_SC;
696 static int NCR53c406a_queue_lck(Scsi_Cmnd * SCpnt, void (*done) (Scsi_Cmnd *)) in NCR53c406a_queue_lck() argument
731 static int NCR53c406a_host_reset(Scsi_Cmnd * SCpnt) in DEF_SCSI_QCMD()
Dsym53c416.c227 static Scsi_Cmnd *current_command = NULL;
736 static int sym53c416_queuecommand_lck(Scsi_Cmnd *SCpnt, void (*done)(Scsi_Cmnd *)) in sym53c416_queuecommand_lck() argument
765 static int sym53c416_host_reset(Scsi_Cmnd *SCpnt) in DEF_SCSI_QCMD()
Dmegaraid.c372 megaraid_queue_lck(Scsi_Cmnd *scmd, void (*done)(Scsi_Cmnd *)) in megaraid_queue_lck() argument
426 mega_allocate_scb(adapter_t *adapter, Scsi_Cmnd *cmd) in DEF_SCSI_QCMD()
458 mega_get_ldrv_num(adapter_t *adapter, Scsi_Cmnd *cmd, int channel) in mega_get_ldrv_num()
521 mega_build_cmd(adapter_t *adapter, Scsi_Cmnd *cmd, int *busy) in mega_build_cmd()
959 mega_prepare_passthru(adapter_t *adapter, scb_t *scb, Scsi_Cmnd *cmd, in mega_prepare_passthru()
1023 mega_prepare_extpassthru(adapter_t *adapter, scb_t *scb, Scsi_Cmnd *cmd, in mega_prepare_extpassthru()
1425 Scsi_Cmnd *cmd = NULL; in mega_cmd_done()
1677 Scsi_Cmnd *cmd; in mega_rundoneq()
1684 cmd = list_entry(spos, Scsi_Cmnd, SCp); in mega_rundoneq()
1747 Scsi_Cmnd *cmd; in mega_build_sglist()
[all …]

12