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()
4551 u_int sblkctl; in ahc_reset() local
4564 u_int sblkctl; in ahc_reset() local
4570 sblkctl = ahc_inb(ahc, SBLKCTL); in ahc_reset()
4571 ahc_outb(ahc, SBLKCTL, sblkctl | SELBUSB); in ahc_reset()
4573 ahc_outb(ahc, SBLKCTL, sblkctl & ~SELBUSB); in ahc_reset()
4597 sblkctl = ahc_inb(ahc, SBLKCTL) & (SELBUSB|SELWIDE); in ahc_reset()
4600 sblkctl &= ~SELBUSB; in ahc_reset()
4601 switch (sblkctl) { in ahc_reset()
4627 u_int sblkctl; in ahc_reset() local
4629 sblkctl = ahc_inb(ahc, SBLKCTL); in ahc_reset()
4630 ahc_outb(ahc, SBLKCTL, sblkctl | SELBUSB); in ahc_reset()
4632 ahc_outb(ahc, SBLKCTL, sblkctl & ~SELBUSB); in ahc_reset()
6421 u_int sblkctl; in ahc_reset_channel() local
6465 sblkctl = ahc_inb(ahc, SBLKCTL); in ahc_reset_channel()
6468 && ((sblkctl & SELBUSB) != 0)) in ahc_reset_channel()
6476 ahc_outb(ahc, SBLKCTL, sblkctl ^ SELBUSB); in ahc_reset_channel()
6492 ahc_outb(ahc, SBLKCTL, sblkctl); in ahc_reset_channel()
7539 u_int sblkctl; in ahc_handle_en_lun() local
7543 sblkctl = ahc_inb(ahc, SBLKCTL); in ahc_handle_en_lun()
7544 cur_channel = (sblkctl & SELBUSB) in ahc_handle_en_lun()
7556 sblkctl ^ SELBUSB); in ahc_handle_en_lun()
7561 ahc_outb(ahc, SBLKCTL, sblkctl); in ahc_handle_en_lun()