Lines Matching refs:scbp

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