Lines Matching refs:scbp
735 static void initio_append_pend_scb(struct initio_host * host, struct scsi_ctrl_blk * scbp) in initio_append_pend_scb() argument
739 printk("Append pend SCB %p; ", scbp); in initio_append_pend_scb()
741 scbp->status = SCB_PEND; in initio_append_pend_scb()
742 scbp->next = NULL; in initio_append_pend_scb()
744 host->last_pending->next = scbp; in initio_append_pend_scb()
745 host->last_pending = scbp; in initio_append_pend_scb()
747 host->first_pending = scbp; in initio_append_pend_scb()
748 host->last_pending = scbp; in initio_append_pend_scb()
753 static void initio_push_pend_scb(struct initio_host * host, struct scsi_ctrl_blk * scbp) in initio_push_pend_scb() argument
757 printk("Push pend SCB %p; ", scbp); in initio_push_pend_scb()
759 scbp->status = SCB_PEND; in initio_push_pend_scb()
760 if ((scbp->next = host->first_pending) != NULL) { in initio_push_pend_scb()
761 host->first_pending = scbp; in initio_push_pend_scb()
763 host->first_pending = scbp; in initio_push_pend_scb()
764 host->last_pending = scbp; in initio_push_pend_scb()
822 static void initio_append_busy_scb(struct initio_host * host, struct scsi_ctrl_blk * scbp) in initio_append_busy_scb() argument
826 printk("append busy SCB %p; ", scbp); in initio_append_busy_scb()
828 if (scbp->tagmsg) in initio_append_busy_scb()
829 host->act_tags[scbp->target]++; in initio_append_busy_scb()
831 host->targets[scbp->target].flags |= TCF_BUSY; in initio_append_busy_scb()
832 scbp->status = SCB_BUSY; in initio_append_busy_scb()
833 scbp->next = NULL; in initio_append_busy_scb()
835 host->last_busy->next = scbp; in initio_append_busy_scb()
836 host->last_busy = scbp; in initio_append_busy_scb()
838 host->first_busy = scbp; in initio_append_busy_scb()
839 host->last_busy = scbp; in initio_append_busy_scb()
918 static void initio_append_done_scb(struct initio_host * host, struct scsi_ctrl_blk * scbp) in initio_append_done_scb() argument
921 printk("append done SCB %p; ", scbp); in initio_append_done_scb()
924 scbp->status = SCB_DONE; in initio_append_done_scb()
925 scbp->next = NULL; in initio_append_done_scb()
927 host->last_done->next = scbp; in initio_append_done_scb()
928 host->last_done = scbp; in initio_append_done_scb()
930 host->first_done = scbp; in initio_append_done_scb()
931 host->last_done = scbp; in initio_append_done_scb()