Lines Matching refs:Scsi_Cmnd
149 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()
1985 static void gdth_putq(gdth_ha_str *ha, Scsi_Cmnd *scp, u8 priority) in gdth_putq()
1988 register Scsi_Cmnd *pscp; in gdth_putq()
1989 register Scsi_Cmnd *nscp; in gdth_putq()
2003 nscp = (Scsi_Cmnd *)pscp->SCp.ptr; in gdth_putq()
2007 nscp = (Scsi_Cmnd *)pscp->SCp.ptr; in gdth_putq()
2016 for (nscp=ha->req_first; nscp; nscp=(Scsi_Cmnd*)nscp->SCp.ptr) in gdth_putq()
2027 register Scsi_Cmnd *pscp; in gdth_next()
2028 register Scsi_Cmnd *nscp; in gdth_next()
2043 for (nscp = pscp = ha->req_first; nscp; nscp = (Scsi_Cmnd *)nscp->SCp.ptr) { in gdth_next()
2045 if (nscp != pscp && nscp != (Scsi_Cmnd *)pscp->SCp.ptr) in gdth_next()
2046 pscp = (Scsi_Cmnd *)pscp->SCp.ptr; in gdth_next()
2253 ha->req_first = pscp = (Scsi_Cmnd *)nscp->SCp.ptr; in gdth_next()
2278 static void gdth_copy_internal_data(gdth_ha_str *ha, Scsi_Cmnd *scp, in gdth_copy_internal_data()
2320 static int gdth_internal_cache_cmd(gdth_ha_str *ha, Scsi_Cmnd *scp) in gdth_internal_cache_cmd()
2422 static int gdth_fill_cache_cmd(gdth_ha_str *ha, Scsi_Cmnd *scp, u16 hdrive) in gdth_fill_cache_cmd()
2597 static int gdth_fill_raw_cmd(gdth_ha_str *ha, Scsi_Cmnd *scp, u8 b) in gdth_fill_raw_cmd()
2770 static int gdth_special_cmd(gdth_ha_str *ha, Scsi_Cmnd *scp) in gdth_special_cmd()
2964 Scsi_Cmnd *scp; in __gdth_interrupt()
3223 Scsi_Cmnd *scp) in gdth_sync_event()
3714 Scsi_Cmnd *nscp; in gdth_timeout()
3730 for (act_rq=0,nscp=ha->req_first; nscp; nscp=(Scsi_Cmnd*)nscp->SCp.ptr) in gdth_timeout()
3917 static int gdth_eh_bus_reset(Scsi_Cmnd *scp) in gdth_eh_bus_reset()
3922 Scsi_Cmnd *cmnd; in gdth_eh_bus_reset()
4473 Scsi_Cmnd *scp; in gdth_ioctl()