Lines Matching refs:scbp

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