Lines Matching refs:sblkctl
810 uint8_t sblkctl; in ahc_restart() local
868 sblkctl = ahc_inb(ahc, SBLKCTL); in ahc_restart()
869 ahc_outb(ahc, SBLKCTL, (sblkctl & ~(DIAGLEDEN|DIAGLEDON))); in ahc_restart()
4579 u_int sblkctl; in ahc_reset() local
4592 u_int sblkctl; in ahc_reset() local
4598 sblkctl = ahc_inb(ahc, SBLKCTL); in ahc_reset()
4599 ahc_outb(ahc, SBLKCTL, sblkctl | SELBUSB); in ahc_reset()
4601 ahc_outb(ahc, SBLKCTL, sblkctl & ~SELBUSB); in ahc_reset()
4625 sblkctl = ahc_inb(ahc, SBLKCTL) & (SELBUSB|SELWIDE); in ahc_reset()
4628 sblkctl &= ~SELBUSB; in ahc_reset()
4629 switch (sblkctl) { in ahc_reset()
4655 u_int sblkctl; in ahc_reset() local
4657 sblkctl = ahc_inb(ahc, SBLKCTL); in ahc_reset()
4658 ahc_outb(ahc, SBLKCTL, sblkctl | SELBUSB); in ahc_reset()
4660 ahc_outb(ahc, SBLKCTL, sblkctl & ~SELBUSB); in ahc_reset()
6454 u_int sblkctl; in ahc_reset_channel() local
6498 sblkctl = ahc_inb(ahc, SBLKCTL); in ahc_reset_channel()
6501 && ((sblkctl & SELBUSB) != 0)) in ahc_reset_channel()
6509 ahc_outb(ahc, SBLKCTL, sblkctl ^ SELBUSB); in ahc_reset_channel()
6525 ahc_outb(ahc, SBLKCTL, sblkctl); in ahc_reset_channel()
7575 u_int sblkctl; in ahc_handle_en_lun() local
7579 sblkctl = ahc_inb(ahc, SBLKCTL); in ahc_handle_en_lun()
7580 cur_channel = (sblkctl & SELBUSB) in ahc_handle_en_lun()
7592 sblkctl ^ SELBUSB); in ahc_handle_en_lun()
7597 ahc_outb(ahc, SBLKCTL, sblkctl); in ahc_handle_en_lun()