Lines Matching refs:periph_channel
383 KASSERT(mutex_owned(chan_mtx(periph->periph_channel))); in scsipi_get_tag()
428 KASSERT(mutex_owned(chan_mtx(periph->periph_channel))); in scsipi_put_tag()
490 mutex_enter(chan_mtx(periph->periph_channel)); in scsipi_get_xs()
510 KASSERT(mutex_owned(chan_mtx(periph->periph_channel))); in scsipi_get_xs()
522 chan_mtx(periph->periph_channel)); in scsipi_get_xs()
525 mutex_exit(chan_mtx(periph->periph_channel)); in scsipi_get_xs()
532 mutex_enter(chan_mtx(periph->periph_channel)); in scsipi_get_xs()
539 mutex_exit(chan_mtx(periph->periph_channel)); in scsipi_get_xs()
554 mutex_enter(chan_mtx(periph->periph_channel)); in scsipi_get_xs()
556 KASSERT(mutex_owned(chan_mtx(periph->periph_channel))); in scsipi_get_xs()
558 mutex_exit(chan_mtx(periph->periph_channel)); in scsipi_get_xs()
581 KASSERT(mutex_owned(chan_mtx(periph->periph_channel))); in scsipi_put_xs()
738 mutex_enter(chan_mtx(periph->periph_channel)); in scsipi_periph_freeze()
740 mutex_exit(chan_mtx(periph->periph_channel)); in scsipi_periph_freeze()
747 mutex_enter(chan_mtx(periph->periph_channel)); in scsipi_periph_thaw()
749 mutex_exit(chan_mtx(periph->periph_channel)); in scsipi_periph_thaw()
761 struct scsipi_channel *chan = periph->periph_channel; in scsipi_periph_timed_thaw()
767 if ((periph->periph_channel->chan_flags & SCSIPI_CHAN_TACTIVE) == 0) { in scsipi_periph_timed_thaw()
774 scsipi_run_queue(periph->periph_channel); in scsipi_periph_timed_thaw()
779 periph->periph_channel->chan_tflags |= SCSIPI_CHANT_KICK; in scsipi_periph_timed_thaw()
793 struct scsipi_channel *chan = periph->periph_channel; in scsipi_wait_drain()
813 struct scsipi_channel *chan = periph->periph_channel; in scsipi_kill_pending()
1588 struct scsipi_channel *chan = periph->periph_channel; in scsipi_done()
1742 struct scsipi_channel *chan = periph->periph_channel; in scsipi_complete()
2022 struct scsipi_channel *chan = xs->xs_periph->periph_channel; in scsipi_enqueue()
2197 struct scsipi_channel *chan = periph->periph_channel; in scsipi_execute_xs()