Home
last modified time | relevance | path

Searched defs:SCpnt (Results 1 – 25 of 66) sorted by relevance

123

/linux-2.4.37.9/drivers/scsi/
Dscsi_error.c164 void scsi_times_out(Scsi_Cmnd * SCpnt) in scsi_times_out()
269 void scsi_eh_times_out(Scsi_Cmnd * SCpnt) in scsi_eh_times_out()
296 void scsi_eh_done(Scsi_Cmnd * SCpnt) in scsi_eh_done()
337 void scsi_eh_action_done(Scsi_Cmnd * SCpnt, int answer) in scsi_eh_action_done()
355 int scsi_sense_valid(Scsi_Cmnd * SCpnt) in scsi_sense_valid()
374 STATIC int scsi_eh_retry_command(Scsi_Cmnd * SCpnt) in scsi_eh_retry_command()
407 STATIC int scsi_request_sense(Scsi_Cmnd * SCpnt) in scsi_request_sense()
486 STATIC int scsi_test_unit_ready(Scsi_Cmnd * SCpnt) in scsi_test_unit_ready()
577 STATIC void scsi_send_eh_cmnd(Scsi_Cmnd * SCpnt, int timeout) in scsi_send_eh_cmnd()
693 STATIC int scsi_unit_is_ready(Scsi_Cmnd * SCpnt) in scsi_unit_is_ready()
[all …]
Dscsi_obsolete.c146 void scsi_old_times_out(Scsi_Cmnd * SCpnt) in scsi_old_times_out()
215 static void scsi_request_sense(Scsi_Cmnd * SCpnt) in scsi_request_sense()
249 static int check_sense(Scsi_Cmnd * SCpnt) in check_sense()
330 void scsi_old_done(Scsi_Cmnd * SCpnt) in scsi_old_done()
728 static int scsi_abort(Scsi_Cmnd * SCpnt, int why) in scsi_abort()
833 Scsi_Cmnd *SCpnt; in scsi_mark_host_reset() local
847 Scsi_Cmnd *SCpnt; in scsi_mark_bus_reset() local
858 static int scsi_reset(Scsi_Cmnd * SCpnt, unsigned int reset_flags) in scsi_reset()
1122 scsi_old_reset(Scsi_Cmnd *SCpnt, unsigned int flag) in scsi_old_reset()
Dscsi.c105 #define CDB_SIZE(SCpnt) ((((SCpnt->cmnd[0] >> 5) & 7) < 6) ? \ argument
232 static void scsi_wait_done(Scsi_Cmnd * SCpnt) in scsi_wait_done()
356 Scsi_Cmnd *SCpnt = NULL; in scsi_allocate_device() local
521 inline void __scsi_release_command(Scsi_Cmnd * SCpnt) in __scsi_release_command()
594 void scsi_release_command(Scsi_Cmnd * SCpnt) in scsi_release_command()
622 int scsi_dispatch_cmd(Scsi_Cmnd * SCpnt) in scsi_dispatch_cmd()
924 void scsi_init_cmd_from_req(Scsi_Cmnd * SCpnt, Scsi_Request * SRpnt) in scsi_init_cmd_from_req()
1012 void scsi_do_cmd(Scsi_Cmnd * SCpnt, const void *cmnd, in scsi_do_cmd() argument
1125 void scsi_done(Scsi_Cmnd * SCpnt) in scsi_done()
1226 Scsi_Cmnd *SCpnt; in scsi_bottom_half_handler() local
[all …]
Dscsi_lib.c119 int scsi_insert_special_cmd(Scsi_Cmnd * SCpnt, int at_head) in scsi_insert_special_cmd()
168 int scsi_init_cmd_errh(Scsi_Cmnd * SCpnt) in scsi_init_cmd_errh()
246 void scsi_queue_next_request(request_queue_t * q, Scsi_Cmnd * SCpnt) in scsi_queue_next_request()
357 static Scsi_Cmnd *__scsi_end_request(Scsi_Cmnd * SCpnt, in __scsi_end_request()
472 Scsi_Cmnd *scsi_end_request(Scsi_Cmnd * SCpnt, int uptodate, int sectors) in scsi_end_request()
494 static void scsi_release_buffers(Scsi_Cmnd * SCpnt) in scsi_release_buffers()
549 void scsi_io_completion(Scsi_Cmnd * SCpnt, int good_sectors, in scsi_io_completion()
850 Scsi_Cmnd *SCpnt; in scsi_request_fn() local
Dpci2000.c79 Scsi_Cmnd *SCpnt; member
163 static void OpDone (Scsi_Cmnd *SCpnt, ULONG status) in OpDone()
202 static int BuildSgList (Scsi_Cmnd *SCpnt, PADAPTER2000 padapter, PDEV2000 pdev) in BuildSgList()
269 Scsi_Cmnd *SCpnt; in Irq_Handler() local
414 int Pci2000_QueueCommand (Scsi_Cmnd *SCpnt, void (*done)(Scsi_Cmnd *)) in Pci2000_QueueCommand() argument
626 static void internal_done (Scsi_Cmnd * SCpnt) in internal_done()
640 int Pci2000_Command (Scsi_Cmnd *SCpnt) in Pci2000_Command()
781 int Pci2000_Abort (Scsi_Cmnd *SCpnt) in Pci2000_Abort()
801 int Pci2000_Reset (Scsi_Cmnd *SCpnt, unsigned int reset_flags) in Pci2000_Reset()
Dpluto.c61 static void __init pluto_detect_done(Scsi_Cmnd *SCpnt) in pluto_detect_done()
66 static void __init pluto_detect_scsi_done(Scsi_Cmnd *SCpnt) in pluto_detect_scsi_done()
127 Scsi_Cmnd *SCpnt; in pluto_detect() local
198 Scsi_Cmnd *SCpnt; in pluto_detect() local
318 static int pluto_encode_addr(Scsi_Cmnd *SCpnt, u16 *addr, fc_channel *fc, fcp_cmnd *fcmd) in pluto_encode_addr()
Dnsp32.c409 static void nsp32_build_identify(Scsi_Cmnd *SCpnt) in nsp32_build_identify()
428 static void nsp32_build_sdtr(Scsi_Cmnd *SCpnt, in nsp32_build_sdtr()
447 static void nsp32_build_nop(Scsi_Cmnd *SCpnt) in nsp32_build_nop()
465 static void nsp32_build_reject(Scsi_Cmnd *SCpnt) in nsp32_build_reject()
495 static unsigned long nsp32_msgout_register(Scsi_Cmnd *SCpnt) in nsp32_msgout_register()
536 static int nsp32_selection_autopara(Scsi_Cmnd *SCpnt) in nsp32_selection_autopara()
649 static int nsp32_selection_autoscsi(Scsi_Cmnd *SCpnt) in nsp32_selection_autoscsi()
806 static int nsp32_arbitration(Scsi_Cmnd *SCpnt, unsigned int base) in nsp32_arbitration()
855 static int nsp32_reselection(Scsi_Cmnd *SCpnt, unsigned char newlun) in nsp32_reselection()
909 static int nsp32_setup_sg_table(Scsi_Cmnd *SCpnt) in nsp32_setup_sg_table()
[all …]
Dpsi240i.c94 Scsi_Cmnd *SCpnt; member
260 Scsi_Cmnd *SCpnt; in Irq_Handler() local
389 int Psi240i_QueueCommand (Scsi_Cmnd *SCpnt, void (*done)(Scsi_Cmnd *)) in Psi240i_QueueCommand() argument
495 static void internal_done(Scsi_Cmnd * SCpnt) in internal_done()
509 int Psi240i_Command (Scsi_Cmnd *SCpnt) in Psi240i_Command()
665 int Psi240i_Abort (Scsi_Cmnd *SCpnt) in Psi240i_Abort()
685 int Psi240i_Reset (Scsi_Cmnd *SCpnt, unsigned int reset_flags) in Psi240i_Reset()
Daha1542.c65 static void BAD_SG_DMA(Scsi_Cmnd * SCpnt, in BAD_SG_DMA()
595 static int aha1542_queuecommand(Scsi_Cmnd * SCpnt, void (*done) (Scsi_Cmnd *)) in aha1542_queuecommand() argument
772 static void internal_done(Scsi_Cmnd * SCpnt) in internal_done()
777 static int aha1542_command(Scsi_Cmnd * SCpnt) in aha1542_command()
1345 static int aha1542_abort(Scsi_Cmnd * SCpnt) in aha1542_abort()
1363 static int aha1542_dev_reset(Scsi_Cmnd * SCpnt) in aha1542_dev_reset()
1457 static int aha1542_bus_reset(Scsi_Cmnd * SCpnt) in aha1542_bus_reset()
1521 static int aha1542_host_reset(Scsi_Cmnd * SCpnt) in aha1542_host_reset()
1594 static int aha1542_old_abort(Scsi_Cmnd * SCpnt) in aha1542_old_abort()
1667 static int aha1542_old_reset(Scsi_Cmnd * SCpnt, unsigned int reset_flags) in aha1542_old_reset()
Daha1740.c305 int aha1740_queuecommand(Scsi_Cmnd * SCpnt, void (*done)(Scsi_Cmnd *)) in aha1740_queuecommand() argument
481 static void internal_done(Scsi_Cmnd * SCpnt) in internal_done()
486 int aha1740_command(Scsi_Cmnd * SCpnt) in aha1740_command()
577 int aha1740_abort(Scsi_Cmnd * SCpnt) in aha1740_abort()
587 int aha1740_reset(Scsi_Cmnd * SCpnt, unsigned int ignored) in aha1740_reset()
Dini9100u.c458 static void i91uBuildSCB(HCS * pHCB, SCB * pSCB, Scsi_Cmnd * SCpnt) in i91uBuildSCB()
520 int i91u_queue(Scsi_Cmnd * SCpnt, void (*done) (Scsi_Cmnd *)) in i91u_queue() argument
547 int i91u_command(Scsi_Cmnd * SCpnt) in i91u_command()
557 int i91u_abort(Scsi_Cmnd * SCpnt) in i91u_abort()
569 int i91u_reset(Scsi_Cmnd * SCpnt, unsigned int reset_flags) in i91u_reset()
Dinia100.c470 static void inia100BuildSCB(ORC_HCS * pHCB, ORC_SCB * pSCB, Scsi_Cmnd * SCpnt) in inia100BuildSCB()
534 int inia100_queue(Scsi_Cmnd * SCpnt, void (*done) (Scsi_Cmnd *)) in inia100_queue() argument
565 int inia100_command(Scsi_Cmnd * SCpnt) in inia100_command()
579 int inia100_abort(Scsi_Cmnd * SCpnt) in inia100_abort()
595 int inia100_reset(Scsi_Cmnd * SCpnt, unsigned int reset_flags) in inia100_reset()
Du14-34f.c522 Scsi_Cmnd *SCpnt; member
1034 Scsi_Cmnd *SCpnt; in map_dma() local
1077 Scsi_Cmnd *SCpnt; in unmap_dma() local
1099 Scsi_Cmnd *SCpnt; in sync_dma() local
1135 Scsi_Cmnd *SCpnt; in scsi_to_dev_dir() local
1172 static inline int do_qcomm(Scsi_Cmnd *SCpnt, void (*done)(Scsi_Cmnd *)) { in do_qcomm() argument
1253 int u14_34f_queuecommand(Scsi_Cmnd *SCpnt, void (*done)(Scsi_Cmnd *)) { in u14_34f_queuecommand() argument
1342 Scsi_Cmnd *SCpnt; in do_reset() local
1526 Scsi_Cmnd *SCpnt; in reorder() local
1624 Scsi_Cmnd *SCpnt; in flush_dev() local
[all …]
Dscsi_debug.c169 int scsi_debug_queuecommand(Scsi_Cmnd * SCpnt, done_funct_t done) in scsi_debug_queuecommand()
387 static int check_reset(Scsi_Cmnd * SCpnt, struct sdebug_dev_info * devip) in check_reset()
646 static int resp_read(Scsi_Cmnd * SCpnt, int upper_blk, int block, int num, in resp_read()
695 static int resp_write(Scsi_Cmnd * SCpnt, int upper_blk, int block, int num, in resp_write()
882 static int scsi_debug_abort(Scsi_Cmnd * SCpnt) in scsi_debug_abort()
904 static int scsi_debug_device_reset(Scsi_Cmnd * SCpnt) in scsi_debug_device_reset()
923 static int scsi_debug_bus_reset(Scsi_Cmnd * SCpnt) in scsi_debug_bus_reset()
941 static int scsi_debug_host_reset(Scsi_Cmnd * SCpnt) in scsi_debug_host_reset()
Dpci2220i.c145 Scsi_Cmnd *SCpnt; member
725 Scsi_Cmnd *SCpnt = padapter->SCpnt; in OpDone() local
840 void Atapi2Scsi (PADAPTER2220I padapter, Scsi_Cmnd *SCpnt) in Atapi2Scsi()
874 static void Scsi2Atapi (PADAPTER2220I padapter, Scsi_Cmnd *SCpnt) in Scsi2Atapi()
947 static int AtapiRequestSense (PADAPTER2220I padapter, POUR_DEVICE pdev, Scsi_Cmnd *SCpnt, UCHAR pas… in AtapiRequestSense()
1589 Scsi_Cmnd *SCpnt; in Irq_Handler() local
2045 int Pci2220i_QueueCommand (Scsi_Cmnd *SCpnt, void (*done)(Scsi_Cmnd *)) in Pci2220i_QueueCommand() argument
2310 static void internal_done(Scsi_Cmnd *SCpnt) in internal_done()
2324 int Pci2220i_Command (Scsi_Cmnd *SCpnt) in Pci2220i_Command()
2796 int Pci2220i_Abort (Scsi_Cmnd *SCpnt) in Pci2220i_Abort()
[all …]
Dsr.c194 static void rw_intr(Scsi_Cmnd * SCpnt) in rw_intr()
284 static int sr_scatter_pad(Scsi_Cmnd *SCpnt, int s_size) in sr_scatter_pad()
386 static int sr_init_command(Scsi_Cmnd * SCpnt) in sr_init_command()
/linux-2.4.37.9/drivers/acorn/scsi/
Dqueue.c32 Scsi_Cmnd *SCpnt; member
107 int __queue_add(Queue_t *queue, Scsi_Cmnd *SCpnt, int head) in __queue_add()
168 Scsi_Cmnd *SCpnt = NULL; in queue_remove_exclude() local
192 Scsi_Cmnd *SCpnt = NULL; in queue_remove() local
215 Scsi_Cmnd *SCpnt = NULL; in queue_remove_tgtluntag() local
287 int queue_remove_cmd(Queue_t *queue, Scsi_Cmnd *SCpnt) in queue_remove_cmd()
Dfas216.c265 fas216_log_command(FAS216_Info *info, int level, Scsi_Cmnd *SCpnt, char *fmt, ...) in fas216_log_command()
1627 static void __fas216_start_command(FAS216_Info *info, Scsi_Cmnd *SCpnt) in __fas216_start_command()
1719 static void fas216_start_command(FAS216_Info *info, Scsi_Cmnd *SCpnt) in fas216_start_command()
1773 static void fas216_allocate_tag(FAS216_Info *info, Scsi_Cmnd *SCpnt) in fas216_allocate_tag()
1807 static void fas216_do_bus_device_reset(FAS216_Info *info, Scsi_Cmnd *SCpnt) in fas216_do_bus_device_reset()
1855 Scsi_Cmnd *SCpnt = NULL; in fas216_kick() local
1943 fas216_devicereset_done(FAS216_Info *info, Scsi_Cmnd *SCpnt, unsigned int result) in fas216_devicereset_done()
1961 fas216_rq_sns_done(FAS216_Info *info, Scsi_Cmnd *SCpnt, unsigned int result) in fas216_rq_sns_done()
1994 fas216_std_done(FAS216_Info *info, Scsi_Cmnd *SCpnt, unsigned int result) in fas216_std_done()
2107 Scsi_Cmnd *SCpnt; in fas216_done() local
[all …]
Dqueue.h51 #define queue_add_cmd_ordered(queue,SCpnt) \ argument
53 #define queue_add_cmd_tail(queue,SCpnt) \ argument
Dacornscsi.c717 Scsi_Cmnd *SCpnt; in acornscsi_kick() local
809 Scsi_Cmnd *SCpnt = *SCpntp; in acornscsi_done() local
1332 Scsi_Cmnd *SCpnt = host->SCpnt; in acornscsi_sendcommand() local
1707 Scsi_Cmnd *SCpnt = host->SCpnt; in acornscsi_message() local
2533 int acornscsi_queuecmd(Scsi_Cmnd *SCpnt, void (*done)(Scsi_Cmnd *)) in acornscsi_queuecmd() argument
2605 Scsi_Cmnd *SCpnt = *SCpntp1; in acornscsi_reportstatus() local
2627 acornscsi_do_abort(AS_Host *host, Scsi_Cmnd *SCpnt) in acornscsi_do_abort()
2720 int acornscsi_abort(Scsi_Cmnd *SCpnt) in acornscsi_abort()
2807 int acornscsi_reset(Scsi_Cmnd *SCpnt, unsigned int reset_flags) in acornscsi_reset()
/linux-2.4.37.9/drivers/scsi/pcmcia/
Dnsp_cs.c207 static void nsp_scsi_done(Scsi_Cmnd *SCpnt) in nsp_scsi_done()
216 static int nsp_queuecommand(Scsi_Cmnd *SCpnt, void (*done)(Scsi_Cmnd *)) in nsp_queuecommand() argument
382 static int nsphw_start_selection(Scsi_Cmnd *SCpnt) in nsphw_start_selection()
492 static int nsp_analyze_sdtr(Scsi_Cmnd *SCpnt) in nsp_analyze_sdtr()
559 static void nsp_start_timer(Scsi_Cmnd *SCpnt, int time) in nsp_start_timer()
572 static int nsp_negate_signal(Scsi_Cmnd *SCpnt, unsigned char mask, char *str) in nsp_negate_signal()
599 static int nsp_expect_signal(Scsi_Cmnd *SCpnt, in nsp_expect_signal()
634 static int nsp_xfer(Scsi_Cmnd *SCpnt, int phase) in nsp_xfer()
674 static int nsp_dataphase_bypass(Scsi_Cmnd *SCpnt) in nsp_dataphase_bypass()
706 static int nsp_reselected(Scsi_Cmnd *SCpnt) in nsp_reselected()
[all …]
Dnsp_message.c11 static void nsp_message_in(Scsi_Cmnd *SCpnt) in nsp_message_in()
53 static void nsp_message_out(Scsi_Cmnd *SCpnt) in nsp_message_out()
Dnsp_debug.c141 static void show_command(Scsi_Cmnd *SCpnt) in show_command()
146 static void show_phase(Scsi_Cmnd *SCpnt) in show_phase()
/linux-2.4.37.9/drivers/fc4/
Dfc.c76 #define FCP_CMND(SCpnt) ((fcp_cmnd *)&(SCpnt->SCp)) argument
77 #define FC_SCMND(SCpnt) ((fc_channel *)(SCpnt->host->hostdata[0])) argument
394 Scsi_Cmnd *SCpnt; in fcp_scsi_receive() local
768 static void fcp_scsi_done (Scsi_Cmnd *SCpnt) in fcp_scsi_done()
774 static int fcp_scsi_queue_it(fc_channel *fc, Scsi_Cmnd *SCpnt, fcp_cmnd *fcmd, int prepare) in fcp_scsi_queue_it()
848 int fcp_scsi_queuecommand(Scsi_Cmnd *SCpnt, void (* done)(Scsi_Cmnd *)) in fcp_scsi_queuecommand() argument
884 int fcp_old_abort(Scsi_Cmnd *SCpnt) in fcp_old_abort()
890 int fcp_scsi_abort(Scsi_Cmnd *SCpnt) in fcp_scsi_abort()
926 void fcp_scsi_reset_done(Scsi_Cmnd *SCpnt) in fcp_scsi_reset_done()
936 int fcp_scsi_dev_reset(Scsi_Cmnd *SCpnt) in fcp_scsi_dev_reset()
[all …]
/linux-2.4.37.9/drivers/message/i2o/
Di2o_scsi.c500 static int i2o_scsi_queuecommand(Scsi_Cmnd * SCpnt, void (*done) (Scsi_Cmnd *)) in i2o_scsi_queuecommand() argument
765 static void internal_done(Scsi_Cmnd * SCpnt) in internal_done()
770 static int i2o_scsi_command(Scsi_Cmnd * SCpnt) in i2o_scsi_command()
779 static int i2o_scsi_abort(Scsi_Cmnd * SCpnt) in i2o_scsi_abort()
824 static int i2o_scsi_reset(Scsi_Cmnd * SCpnt, unsigned int reset_flags) in i2o_scsi_reset()

123