Lines Matching full:scp
697 * @scp: identifies command timing out
718 int eh_timed_out(struct scsi_cmnd * scp)
722 * eh_abort_handler - abort command associated with scp
723 * @scp: identifies command to be aborted
739 int eh_abort_handler(struct scsi_cmnd * scp)
744 * @scp: SCSI bus that contains this device should be reset
757 int eh_bus_reset_handler(struct scsi_cmnd * scp)
762 * @scp: identifies SCSI device to be reset
775 int eh_device_reset_handler(struct scsi_cmnd * scp)
780 * @scp: SCSI host that contains this device should be reset
797 int eh_host_reset_handler(struct scsi_cmnd * scp)
891 * queuecommand - queue scsi command, invoke scp->scsi_done on completion
893 * @scp: pointer to scsi command object
920 * flagged by setting scp->result to an appropriate value,
921 * invoking the scp->scsi_done callback, and then returning 0
924 * command) then this function should place 0 in scp->result and
929 * scp->scsi_done callback is executed. Note: the driver may
930 * call scp->scsi_done before returning zero, but after it has
931 * called scp->scsi_done, it may not return any value other than
943 * will not wait for IO to complete. Hence the scp->scsi_done
947 * response to a SCSI INQUIRY) the scp->scsi_done callback may be
948 * invoked before this function returns. If the scp->scsi_done
951 * CONDITION is placed in "result" when the scp->scsi_done
959 int queuecommand(struct Scsi_Host *shost, struct scsi_cmnd * scp)