Lines Matching refs:periph_channel
383 KASSERT(mutex_owned(chan_mtx(periph->periph_channel)));
428 KASSERT(mutex_owned(chan_mtx(periph->periph_channel)));
490 mutex_enter(chan_mtx(periph->periph_channel));
510 KASSERT(mutex_owned(chan_mtx(periph->periph_channel)));
522 chan_mtx(periph->periph_channel));
525 mutex_exit(chan_mtx(periph->periph_channel));
532 mutex_enter(chan_mtx(periph->periph_channel));
539 mutex_exit(chan_mtx(periph->periph_channel));
554 mutex_enter(chan_mtx(periph->periph_channel));
556 KASSERT(mutex_owned(chan_mtx(periph->periph_channel)));
558 mutex_exit(chan_mtx(periph->periph_channel));
581 KASSERT(mutex_owned(chan_mtx(periph->periph_channel)));
738 mutex_enter(chan_mtx(periph->periph_channel));
740 mutex_exit(chan_mtx(periph->periph_channel));
747 mutex_enter(chan_mtx(periph->periph_channel));
749 mutex_exit(chan_mtx(periph->periph_channel));
761 struct scsipi_channel *chan = periph->periph_channel;
767 if ((periph->periph_channel->chan_flags & SCSIPI_CHAN_TACTIVE) == 0) {
774 scsipi_run_queue(periph->periph_channel);
779 periph->periph_channel->chan_tflags |= SCSIPI_CHANT_KICK;
793 struct scsipi_channel *chan = periph->periph_channel;
813 struct scsipi_channel *chan = periph->periph_channel;
1608 struct scsipi_channel *chan = periph->periph_channel;
1762 struct scsipi_channel *chan = periph->periph_channel;
2042 struct scsipi_channel *chan = xs->xs_periph->periph_channel;
2217 struct scsipi_channel *chan = periph->periph_channel;