Lines Matching refs:reset_scb
774 struct scb *reset_scb;
782 reset_scb = NULL;
811 reset_scb = ahd_get_scb(ahd, AHD_NEVER_COL_IDX);
812 if (!reset_scb) {
819 reset_scb->io_ctx = NULL;
820 reset_scb->platform_data->dev = dev;
821 reset_scb->sg_count = 0;
822 ahd_set_residual(reset_scb, 0);
823 ahd_set_sense_residual(reset_scb, 0);
824 reset_scb->platform_data->xfer_len = 0;
825 reset_scb->hscb->control = 0;
826 reset_scb->hscb->scsiid = ahd_build_scsiid(ahd, cmd->device);
827 reset_scb->hscb->lun = cmd->device->lun;
828 reset_scb->hscb->cdb_len = 0;
829 reset_scb->hscb->task_management = SIU_TASKMGMT_LUN_RESET;
830 reset_scb->flags |= SCB_DEVICE_RESET|SCB_RECOVERY_SCB|SCB_ACTIVE;
832 reset_scb->flags |= SCB_PACKETIZED;
834 reset_scb->hscb->control |= MK_MESSAGE;
842 LIST_INSERT_HEAD(&ahd->pending_scbs, reset_scb, pending_links);
843 ahd_queue_scb(ahd, reset_scb);