Lines Matching refs:scbp
705 static void initio_append_pend_scb(struct initio_host * host, struct scsi_ctrl_blk * scbp)
709 printk("Append pend SCB %p; ", scbp);
711 scbp->status = SCB_PEND;
712 scbp->next = NULL;
714 host->last_pending->next = scbp;
715 host->last_pending = scbp;
717 host->first_pending = scbp;
718 host->last_pending = scbp;
723 static void initio_push_pend_scb(struct initio_host * host, struct scsi_ctrl_blk * scbp)
727 printk("Push pend SCB %p; ", scbp);
729 scbp->status = SCB_PEND;
730 if ((scbp->next = host->first_pending) != NULL) {
731 host->first_pending = scbp;
733 host->first_pending = scbp;
734 host->last_pending = scbp;
792 static void initio_append_busy_scb(struct initio_host * host, struct scsi_ctrl_blk * scbp)
796 printk("append busy SCB %p; ", scbp);
798 if (scbp->tagmsg)
799 host->act_tags[scbp->target]++;
801 host->targets[scbp->target].flags |= TCF_BUSY;
802 scbp->status = SCB_BUSY;
803 scbp->next = NULL;
805 host->last_busy->next = scbp;
806 host->last_busy = scbp;
808 host->first_busy = scbp;
809 host->last_busy = scbp;
888 static void initio_append_done_scb(struct initio_host * host, struct scsi_ctrl_blk * scbp)
891 printk("append done SCB %p; ", scbp);
894 scbp->status = SCB_DONE;
895 scbp->next = NULL;
897 host->last_done->next = scbp;
898 host->last_done = scbp;
900 host->first_done = scbp;
901 host->last_done = scbp;