Lines Matching refs:scbp
704 static void initio_append_pend_scb(struct initio_host * host, struct scsi_ctrl_blk * scbp)
708 printk("Append pend SCB %p; ", scbp);
710 scbp->status = SCB_PEND;
711 scbp->next = NULL;
713 host->last_pending->next = scbp;
714 host->last_pending = scbp;
716 host->first_pending = scbp;
717 host->last_pending = scbp;
722 static void initio_push_pend_scb(struct initio_host * host, struct scsi_ctrl_blk * scbp)
726 printk("Push pend SCB %p; ", scbp);
728 scbp->status = SCB_PEND;
729 if ((scbp->next = host->first_pending) != NULL) {
730 host->first_pending = scbp;
732 host->first_pending = scbp;
733 host->last_pending = scbp;
791 static void initio_append_busy_scb(struct initio_host * host, struct scsi_ctrl_blk * scbp)
795 printk("append busy SCB %p; ", scbp);
797 if (scbp->tagmsg)
798 host->act_tags[scbp->target]++;
800 host->targets[scbp->target].flags |= TCF_BUSY;
801 scbp->status = SCB_BUSY;
802 scbp->next = NULL;
804 host->last_busy->next = scbp;
805 host->last_busy = scbp;
807 host->first_busy = scbp;
808 host->last_busy = scbp;
886 static void initio_append_done_scb(struct initio_host * host, struct scsi_ctrl_blk * scbp)
889 printk("append done SCB %p; ", scbp);
892 scbp->status = SCB_DONE;
893 scbp->next = NULL;
895 host->last_done->next = scbp;
896 host->last_done = scbp;
898 host->first_done = scbp;
899 host->last_done = scbp;