Lines Matching refs:scbp

703 static void initio_append_pend_scb(struct initio_host * host, struct scsi_ctrl_blk * scbp)  in initio_append_pend_scb()  argument
707 printk("Append pend SCB %p; ", scbp); in initio_append_pend_scb()
709 scbp->status = SCB_PEND; in initio_append_pend_scb()
710 scbp->next = NULL; in initio_append_pend_scb()
712 host->last_pending->next = scbp; in initio_append_pend_scb()
713 host->last_pending = scbp; in initio_append_pend_scb()
715 host->first_pending = scbp; in initio_append_pend_scb()
716 host->last_pending = scbp; in initio_append_pend_scb()
721 static void initio_push_pend_scb(struct initio_host * host, struct scsi_ctrl_blk * scbp) in initio_push_pend_scb() argument
725 printk("Push pend SCB %p; ", scbp); in initio_push_pend_scb()
727 scbp->status = SCB_PEND; in initio_push_pend_scb()
728 if ((scbp->next = host->first_pending) != NULL) { in initio_push_pend_scb()
729 host->first_pending = scbp; in initio_push_pend_scb()
731 host->first_pending = scbp; in initio_push_pend_scb()
732 host->last_pending = scbp; in initio_push_pend_scb()
790 static void initio_append_busy_scb(struct initio_host * host, struct scsi_ctrl_blk * scbp) in initio_append_busy_scb() argument
794 printk("append busy SCB %p; ", scbp); in initio_append_busy_scb()
796 if (scbp->tagmsg) in initio_append_busy_scb()
797 host->act_tags[scbp->target]++; in initio_append_busy_scb()
799 host->targets[scbp->target].flags |= TCF_BUSY; in initio_append_busy_scb()
800 scbp->status = SCB_BUSY; in initio_append_busy_scb()
801 scbp->next = NULL; in initio_append_busy_scb()
803 host->last_busy->next = scbp; in initio_append_busy_scb()
804 host->last_busy = scbp; in initio_append_busy_scb()
806 host->first_busy = scbp; in initio_append_busy_scb()
807 host->last_busy = scbp; in initio_append_busy_scb()
885 static void initio_append_done_scb(struct initio_host * host, struct scsi_ctrl_blk * scbp) in initio_append_done_scb() argument
888 printk("append done SCB %p; ", scbp); in initio_append_done_scb()
891 scbp->status = SCB_DONE; in initio_append_done_scb()
892 scbp->next = NULL; in initio_append_done_scb()
894 host->last_done->next = scbp; in initio_append_done_scb()
895 host->last_done = scbp; in initio_append_done_scb()
897 host->first_done = scbp; in initio_append_done_scb()
898 host->last_done = scbp; in initio_append_done_scb()