Searched refs:reset_scb (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/scsi/aic7xxx/
H A Daic79xx_osm.c785 struct scb *reset_scb; ahd_linux_dev_reset() local
795 reset_scb = NULL; ahd_linux_dev_reset()
825 reset_scb = ahd_get_scb(ahd, AHD_NEVER_COL_IDX); ahd_linux_dev_reset()
826 if (!reset_scb) { ahd_linux_dev_reset()
833 reset_scb->io_ctx = cmd; ahd_linux_dev_reset()
834 reset_scb->platform_data->dev = dev; ahd_linux_dev_reset()
835 reset_scb->sg_count = 0; ahd_linux_dev_reset()
836 ahd_set_residual(reset_scb, 0); ahd_linux_dev_reset()
837 ahd_set_sense_residual(reset_scb, 0); ahd_linux_dev_reset()
838 reset_scb->platform_data->xfer_len = 0; ahd_linux_dev_reset()
839 reset_scb->hscb->control = 0; ahd_linux_dev_reset()
840 reset_scb->hscb->scsiid = BUILD_SCSIID(ahd,cmd); ahd_linux_dev_reset()
841 reset_scb->hscb->lun = cmd->device->lun; ahd_linux_dev_reset()
842 reset_scb->hscb->cdb_len = 0; ahd_linux_dev_reset()
843 reset_scb->hscb->task_management = SIU_TASKMGMT_LUN_RESET; ahd_linux_dev_reset()
844 reset_scb->flags |= SCB_DEVICE_RESET|SCB_RECOVERY_SCB|SCB_ACTIVE; ahd_linux_dev_reset()
846 reset_scb->flags |= SCB_PACKETIZED; ahd_linux_dev_reset()
848 reset_scb->hscb->control |= MK_MESSAGE; ahd_linux_dev_reset()
856 LIST_INSERT_HEAD(&ahd->pending_scbs, reset_scb, pending_links); ahd_linux_dev_reset()
857 ahd_queue_scb(ahd, reset_scb); ahd_linux_dev_reset()

Completed in 48 milliseconds