Lines Matching refs:ahc_outb
258 ahc_outb(ahc, SCSISIGO, 0); /* De-assert BSY */ in ahc_restart()
259 ahc_outb(ahc, MSG_OUT, MSG_NOOP); /* No message to send */ in ahc_restart()
260 ahc_outb(ahc, SXFRCTL1, ahc_inb(ahc, SXFRCTL1) & ~BITBUCKET); in ahc_restart()
261 ahc_outb(ahc, LASTPHASE, P_BUSFREE); in ahc_restart()
262 ahc_outb(ahc, SAVED_SCSIID, 0xFF); in ahc_restart()
263 ahc_outb(ahc, SAVED_LUN, 0xFF); in ahc_restart()
272 ahc_outb(ahc, TQINPOS, ahc->tqinfifonext); in ahc_restart()
275 ahc_outb(ahc, SCSISEQ, in ahc_restart()
279 ahc_outb(ahc, CCSCBCNT, 0); in ahc_restart()
280 ahc_outb(ahc, CCSGCTL, 0); in ahc_restart()
281 ahc_outb(ahc, CCSCBCTL, 0); in ahc_restart()
290 ahc_outb(ahc, SEQ_FLAGS2, in ahc_restart()
293 ahc_outb(ahc, MWI_RESIDUAL, 0); in ahc_restart()
294 ahc_outb(ahc, SEQCTL, ahc->seqctl); in ahc_restart()
295 ahc_outb(ahc, SEQADDR0, 0); in ahc_restart()
296 ahc_outb(ahc, SEQADDR1, 0); in ahc_restart()
416 ahc_outb(ahc, CLRINT, CLRSEQINT); in ahc_handle_seqint()
428 ahc_outb(ahc, RETURN_1, 0); in ahc_handle_seqint()
565 ahc_outb(ahc, RETURN_1, SEND_SENSE); in ahc_handle_seqint()
581 ahc_outb(ahc, SCSISEQ, in ahc_handle_seqint()
612 ahc_outb(ahc, MSG_OUT, HOST_MSG); in ahc_handle_seqint()
752 ahc_outb(ahc, LASTPHASE, curphase); in ahc_handle_seqint()
753 ahc_outb(ahc, SCSISIGO, curphase); in ahc_handle_seqint()
764 ahc_outb(ahc, SXFRCTL1, in ahc_handle_seqint()
773 ahc_outb(ahc, SXFRCTL1, in ahc_handle_seqint()
854 ahc_outb(ahc, SXFRCTL0, in ahc_handle_seqint()
856 ahc_outb(ahc, SXFRCTL0, in ahc_handle_seqint()
864 ahc_outb(ahc, DSCOMMAND1, dscommand1 | HADDLDSEL0); in ahc_handle_seqint()
865 ahc_outb(ahc, HADDR, 0); in ahc_handle_seqint()
866 ahc_outb(ahc, DSCOMMAND1, dscommand1); in ahc_handle_seqint()
977 ahc_outb(ahc, SBLKCTL, ahc_inb(ahc, SBLKCTL) ^ SELBUSB); in ahc_handle_scsiint()
984 ahc_outb(ahc, CLRINT, CLRSCSIINT); in ahc_handle_scsiint()
1006 ahc_outb(ahc, CLRSINT0, CLRIOERR); in ahc_handle_scsiint()
1023 ahc_outb(ahc, SBLKCTL, ahc_inb(ahc, SBLKCTL) ^ SELBUSB); in ahc_handle_scsiint()
1049 ahc_outb(ahc, CLRSINT1, CLRSCSIPERR); in ahc_handle_scsiint()
1126 ahc_outb(ahc, MSG_OUT, mesg_out); in ahc_handle_scsiint()
1136 ahc_outb(ahc, CLRINT, CLRSCSIINT); in ahc_handle_scsiint()
1142 ahc_outb(ahc, SCSISEQ, 0); in ahc_handle_scsiint()
1148 ahc_outb(ahc, SIMODE1, ahc_inb(ahc, SIMODE1) & ~ENBUSFREE); in ahc_handle_scsiint()
1149 ahc_outb(ahc, CLRSINT1, CLRSELTIMEO|CLRBUSFREE|CLRSCSIPERR); in ahc_handle_scsiint()
1159 ahc_outb(ahc, CLRSINT0, CLRSELINGO); in ahc_handle_scsiint()
1162 ahc_outb(ahc, SCBPTR, scbptr); in ahc_handle_scsiint()
1194 ahc_outb(ahc, CLRINT, CLRSCSIINT); in ahc_handle_scsiint()
1213 ahc_outb(ahc, SCSISEQ, in ahc_handle_scsiint()
1222 ahc_outb(ahc, SIMODE1, ahc_inb(ahc, SIMODE1) & ~ENBUSFREE); in ahc_handle_scsiint()
1223 ahc_outb(ahc, CLRSINT1, CLRBUSFREE|CLRSCSIPERR); in ahc_handle_scsiint()
1375 ahc_outb(ahc, CLRINT, CLRSCSIINT); in ahc_handle_scsiint()
1380 ahc_outb(ahc, CLRINT, CLRSCSIINT); in ahc_handle_scsiint()
1461 ahc_outb(ahc, SIMODE0, 0); in ahc_clear_critical_section()
1472 ahc_outb(ahc, SIMODE1, ENBUSFREE); in ahc_clear_critical_section()
1474 ahc_outb(ahc, SIMODE1, 0); in ahc_clear_critical_section()
1475 ahc_outb(ahc, CLRINT, CLRSCSIINT); in ahc_clear_critical_section()
1476 ahc_outb(ahc, SEQCTL, ahc->seqctl | STEP); in ahc_clear_critical_section()
1480 ahc_outb(ahc, CLRSINT1, CLRBUSFREE); in ahc_clear_critical_section()
1481 ahc_outb(ahc, CLRINT, CLRSCSIINT); in ahc_clear_critical_section()
1483 ahc_outb(ahc, HCNTRL, ahc->unpause); in ahc_clear_critical_section()
1488 ahc_outb(ahc, SIMODE0, simode0); in ahc_clear_critical_section()
1489 ahc_outb(ahc, SIMODE1, simode1); in ahc_clear_critical_section()
1490 ahc_outb(ahc, SEQCTL, ahc->seqctl); in ahc_clear_critical_section()
1501 ahc_outb(ahc, CLRSINT1, CLRSELTIMEO|CLRATNO|CLRSCSIRSTI in ahc_clear_intstat()
1505 ahc_outb(ahc, CLRSINT0, CLRSELDO|CLRSELDI|CLRSELINGO); in ahc_clear_intstat()
1507 ahc_outb(ahc, CLRINT, CLRSCSIINT); in ahc_clear_intstat()
1969 ahc_outb(ahc, SXFRCTL0, sxfrctl0); in ahc_set_syncrate()
1973 ahc_outb(ahc, SCSIRATE, scsirate); in ahc_set_syncrate()
1975 ahc_outb(ahc, SCSIOFFSET, offset); in ahc_set_syncrate()
2049 ahc_outb(ahc, SCSIRATE, scsirate); in ahc_set_width()
2142 ahc_outb(ahc, SCBPTR, i); in ahc_update_pending_scbs()
2152 ahc_outb(ahc, SCB_CONTROL, control); in ahc_update_pending_scbs()
2153 ahc_outb(ahc, SCB_SCSIRATE, pending_hscb->scsirate); in ahc_update_pending_scbs()
2154 ahc_outb(ahc, SCB_SCSIOFFSET, pending_hscb->scsioffset); in ahc_update_pending_scbs()
2156 ahc_outb(ahc, SCBPTR, saved_scbptr); in ahc_update_pending_scbs()
2260 ahc_outb(ahc, SCSISIGO, scsisigo); in ahc_assert_atn()
2311 ahc_outb(ahc, SCSISEQ, (ahc_inb(ahc, SCSISEQ) & ~ENSELO)); in ahc_setup_initiator_msgout()
2328 ahc_outb(ahc, SCSISEQ, (ahc_inb(ahc, SCSISEQ) & ~ENSELO)); in ahc_setup_initiator_msgout()
2345 ahc_outb(ahc, SCB_CONTROL, ahc_inb(ahc, SCB_CONTROL) & ~MK_MESSAGE); in ahc_setup_initiator_msgout()
2534 ahc_outb(ahc, CLRSINT1, CLRATNO); in ahc_clear_msg_state()
2536 ahc_outb(ahc, MSG_OUT, MSG_NOOP); in ahc_clear_msg_state()
2537 ahc_outb(ahc, SEQ_FLAGS2, in ahc_clear_msg_state()
2616 ahc_outb(ahc, SCSISEQ, in ahc_handle_proto_violation()
2619 ahc_outb(ahc, MSG_OUT, HOST_MSG); in ahc_handle_proto_violation()
2682 ahc_outb(ahc, CLRSINT1, CLRATNO); in ahc_handle_message_phase()
2693 ahc_outb(ahc, CLRSINT1, CLRATNO); in ahc_handle_message_phase()
2694 ahc_outb(ahc, CLRSINT1, CLRREQINIT); in ahc_handle_message_phase()
2699 ahc_outb(ahc, SCSIDATL, MSG_PARITY_ERROR); in ahc_handle_message_phase()
2717 ahc_outb(ahc, CLRSINT1, CLRATNO); in ahc_handle_message_phase()
2724 ahc_outb(ahc, CLRSINT1, CLRREQINIT); in ahc_handle_message_phase()
2730 ahc_outb(ahc, SCSIDATL, ahc->msgout_buf[ahc->msgout_index++]); in ahc_handle_message_phase()
2803 ahc_outb(ahc, CLRSINT1, CLRREQINIT); in ahc_handle_message_phase()
2837 ahc_outb(ahc, SCSISIGO, P_MESGOUT | BSYO); in ahc_handle_message_phase()
2841 ahc_outb(ahc, SXFRCTL0, in ahc_handle_message_phase()
2848 ahc_outb(ahc, SXFRCTL0, in ahc_handle_message_phase()
2857 ahc_outb(ahc, SXFRCTL0, ahc_inb(ahc, SXFRCTL0) | SPIOEN); in ahc_handle_message_phase()
2858 ahc_outb(ahc, SCSIDATL, ahc->msgout_buf[ahc->msgout_index++]); in ahc_handle_message_phase()
2877 ahc_outb(ahc, SXFRCTL0, ahc_inb(ahc, SXFRCTL0) & ~SPIOEN); in ahc_handle_message_phase()
2904 ahc_outb(ahc, SCSISIGO, P_MESGIN | BSYO); in ahc_handle_message_phase()
2905 ahc_outb(ahc, SXFRCTL0, in ahc_handle_message_phase()
2917 ahc_outb(ahc, SXFRCTL0, in ahc_handle_message_phase()
2929 ahc_outb(ahc, RETURN_1, EXIT_MSG_LOOP); in ahc_handle_message_phase()
2931 ahc_outb(ahc, RETURN_1, CONT_MSG_LOOP); in ahc_handle_message_phase()
3513 ahc_outb(ahc, SCB_CONTROL, in ahc_handle_msg_reject()
3518 ahc_outb(ahc, MSG_OUT, MSG_IDENTIFYFLAG); in ahc_handle_msg_reject()
3658 ahc_outb(ahc, SCB_LUN, in ahc_handle_ign_wide_residue()
3703 ahc_outb(ahc, DSCOMMAND1, dscommand1 | HADDLDSEL0); in ahc_reinitialize_dataptrs()
3704 ahc_outb(ahc, HADDR, in ahc_reinitialize_dataptrs()
3706 ahc_outb(ahc, DSCOMMAND1, dscommand1); in ahc_reinitialize_dataptrs()
3708 ahc_outb(ahc, HADDR + 3, dataptr >> 24); in ahc_reinitialize_dataptrs()
3709 ahc_outb(ahc, HADDR + 2, dataptr >> 16); in ahc_reinitialize_dataptrs()
3710 ahc_outb(ahc, HADDR + 1, dataptr >> 8); in ahc_reinitialize_dataptrs()
3711 ahc_outb(ahc, HADDR, dataptr); in ahc_reinitialize_dataptrs()
3712 ahc_outb(ahc, HCNT + 2, resid >> 16); in ahc_reinitialize_dataptrs()
3713 ahc_outb(ahc, HCNT + 1, resid >> 8); in ahc_reinitialize_dataptrs()
3714 ahc_outb(ahc, HCNT, resid); in ahc_reinitialize_dataptrs()
3716 ahc_outb(ahc, STCNT + 2, resid >> 16); in ahc_reinitialize_dataptrs()
3717 ahc_outb(ahc, STCNT + 1, resid >> 8); in ahc_reinitialize_dataptrs()
3718 ahc_outb(ahc, STCNT, resid); in ahc_reinitialize_dataptrs()
4051 ahc_outb(ahc, SCSISEQ, 0); in ahc_shutdown()
4052 ahc_outb(ahc, SXFRCTL0, 0); in ahc_shutdown()
4053 ahc_outb(ahc, DSPCISTATUS, 0); in ahc_shutdown()
4056 ahc_outb(ahc, i, 0); in ahc_shutdown()
4099 ahc_outb(ahc, SBLKCTL, sblkctl | SELBUSB); in ahc_reset()
4101 ahc_outb(ahc, SBLKCTL, sblkctl & ~SELBUSB); in ahc_reset()
4105 ahc_outb(ahc, HCNTRL, CHIPRST | ahc->pause); in ahc_reset()
4122 ahc_outb(ahc, HCNTRL, ahc->pause); in ahc_reset()
4158 ahc_outb(ahc, SBLKCTL, sblkctl | SELBUSB); in ahc_reset()
4159 ahc_outb(ahc, SXFRCTL1, sxfrctl1_b); in ahc_reset()
4160 ahc_outb(ahc, SBLKCTL, sblkctl & ~SELBUSB); in ahc_reset()
4162 ahc_outb(ahc, SXFRCTL1, sxfrctl1_a); in ahc_reset()
4188 ahc_outb(ahc, SCBPTR, i); in ahc_probe_scbs()
4189 ahc_outb(ahc, SCB_BASE, i); in ahc_probe_scbs()
4192 ahc_outb(ahc, SCBPTR, 0); in ahc_probe_scbs()
4221 ahc_outb(ahc, SCBPTR, i); in ahc_build_free_scb_list()
4229 ahc_outb(ahc, SCB_BASE+j, 0xFF); in ahc_build_free_scb_list()
4232 ahc_outb(ahc, SCB_CONTROL, 0); in ahc_build_free_scb_list()
4236 ahc_outb(ahc, SCB_NEXT, i+1); in ahc_build_free_scb_list()
4238 ahc_outb(ahc, SCB_NEXT, SCB_LIST_NULL); in ahc_build_free_scb_list()
4241 ahc_outb(ahc, SCB_TAG, SCB_LIST_NULL); in ahc_build_free_scb_list()
4242 ahc_outb(ahc, SCB_SCSIID, 0xFF); in ahc_build_free_scb_list()
4243 ahc_outb(ahc, SCB_LUN, 0xFF); in ahc_build_free_scb_list()
4248 ahc_outb(ahc, FREE_SCBH, 0); in ahc_build_free_scb_list()
4251 ahc_outb(ahc, FREE_SCBH, SCB_LIST_NULL); in ahc_build_free_scb_list()
4255 ahc_outb(ahc, SCBPTR, i-1); in ahc_build_free_scb_list()
4256 ahc_outb(ahc, SCB_NEXT, SCB_LIST_NULL); in ahc_build_free_scb_list()
4582 ahc_outb(ahc, SEQ_FLAGS, 0); in ahc_chip_init()
4583 ahc_outb(ahc, SEQ_FLAGS2, 0); in ahc_chip_init()
4591 ahc_outb(ahc, SBLKCTL, ahc_inb(ahc, SBLKCTL) | SELBUSB); in ahc_chip_init()
4593 ahc_outb(ahc, SCSIID, ahc->our_id_b); in ahc_chip_init()
4595 ahc_outb(ahc, SXFRCTL1, (scsi_conf & (ENSPCHK|STIMESEL)) in ahc_chip_init()
4598 ahc_outb(ahc, SIMODE0, ahc_inb(ahc, SIMODE0)|ENIOERR); in ahc_chip_init()
4599 ahc_outb(ahc, SIMODE1, ENSELTIMO|ENSCSIRST|ENSCSIPERR); in ahc_chip_init()
4600 ahc_outb(ahc, SXFRCTL0, DFON|SPIOEN); in ahc_chip_init()
4603 ahc_outb(ahc, SBLKCTL, ahc_inb(ahc, SBLKCTL) & ~SELBUSB); in ahc_chip_init()
4607 ahc_outb(ahc, SCSIID_ULTRA2, ahc->our_id); in ahc_chip_init()
4609 ahc_outb(ahc, SCSIID, ahc->our_id); in ahc_chip_init()
4611 ahc_outb(ahc, SXFRCTL1, (scsi_conf & (ENSPCHK|STIMESEL)) in ahc_chip_init()
4615 ahc_outb(ahc, SIMODE0, ahc_inb(ahc, SIMODE0)|ENIOERR); in ahc_chip_init()
4616 ahc_outb(ahc, SIMODE1, ENSELTIMO|ENSCSIRST|ENSCSIPERR); in ahc_chip_init()
4617 ahc_outb(ahc, SXFRCTL0, DFON|SPIOEN); in ahc_chip_init()
4643 ahc_outb(ahc, TARGID, 0); in ahc_chip_init()
4644 ahc_outb(ahc, TARGID + 1, 0); in ahc_chip_init()
4651 ahc_outb(ahc, HSCB_ADDR, physaddr & 0xFF); in ahc_chip_init()
4652 ahc_outb(ahc, HSCB_ADDR + 1, (physaddr >> 8) & 0xFF); in ahc_chip_init()
4653 ahc_outb(ahc, HSCB_ADDR + 2, (physaddr >> 16) & 0xFF); in ahc_chip_init()
4654 ahc_outb(ahc, HSCB_ADDR + 3, (physaddr >> 24) & 0xFF); in ahc_chip_init()
4657 ahc_outb(ahc, SHARED_DATA_ADDR, physaddr & 0xFF); in ahc_chip_init()
4658 ahc_outb(ahc, SHARED_DATA_ADDR + 1, (physaddr >> 8) & 0xFF); in ahc_chip_init()
4659 ahc_outb(ahc, SHARED_DATA_ADDR + 2, (physaddr >> 16) & 0xFF); in ahc_chip_init()
4660 ahc_outb(ahc, SHARED_DATA_ADDR + 3, (physaddr >> 24) & 0xFF); in ahc_chip_init()
4667 ahc_outb(ahc, CMDSIZE_TABLE, 5); in ahc_chip_init()
4668 ahc_outb(ahc, CMDSIZE_TABLE + 1, 9); in ahc_chip_init()
4669 ahc_outb(ahc, CMDSIZE_TABLE + 2, 9); in ahc_chip_init()
4670 ahc_outb(ahc, CMDSIZE_TABLE + 3, 0); in ahc_chip_init()
4671 ahc_outb(ahc, CMDSIZE_TABLE + 4, 15); in ahc_chip_init()
4672 ahc_outb(ahc, CMDSIZE_TABLE + 5, 11); in ahc_chip_init()
4673 ahc_outb(ahc, CMDSIZE_TABLE + 6, 0); in ahc_chip_init()
4674 ahc_outb(ahc, CMDSIZE_TABLE + 7, 0); in ahc_chip_init()
4677 ahc_outb(ahc, HS_MAILBOX, 0); in ahc_chip_init()
4682 ahc_outb(ahc, KERNEL_TQINPOS, ahc->tqinfifonext - 1); in ahc_chip_init()
4683 ahc_outb(ahc, TQINPOS, ahc->tqinfifonext); in ahc_chip_init()
4688 ahc_outb(ahc, QOFF_CTLSTA, SCB_QSIZE_256); in ahc_chip_init()
4689 ahc_outb(ahc, HNSCB_QOFF, ahc->qinfifonext); in ahc_chip_init()
4690 ahc_outb(ahc, SNSCB_QOFF, ahc->qinfifonext); in ahc_chip_init()
4691 ahc_outb(ahc, SDSCB_QOFF, 0); in ahc_chip_init()
4693 ahc_outb(ahc, KERNEL_QINPOS, ahc->qinfifonext); in ahc_chip_init()
4694 ahc_outb(ahc, QINPOS, ahc->qinfifonext); in ahc_chip_init()
4695 ahc_outb(ahc, QOUTPOS, ahc->qoutfifonext); in ahc_chip_init()
4699 ahc_outb(ahc, WAITING_SCBH, SCB_LIST_NULL); in ahc_chip_init()
4702 ahc_outb(ahc, DISCONNECTED_SCBH, SCB_LIST_NULL); in ahc_chip_init()
4705 ahc_outb(ahc, MSG_OUT, MSG_NOOP); in ahc_chip_init()
4715 ahc_outb(ahc, SCSISEQ_TEMPLATE, scsiseq_template); in ahc_chip_init()
4723 ahc_outb(ahc, NEXT_QUEUED_SCB, ahc->next_queued_scb->hscb->tag); in ahc_chip_init()
4796 ahc_outb(ahc, CLRINT, CLRPARERR); in ahc_init()
4797 ahc_outb(ahc, CLRINT, CLRBRKADRINT); in ahc_init()
5094 ahc_outb(ahc, HCNTRL, hcntrl); in ahc_intr_enable()
5120 ahc_outb(ahc, SCSISEQ, ahc_inb(ahc, SCSISEQ) & ~ENSELO); in ahc_pause_and_flushwork()
5186 ahc_outb(ahc, SCBPTR, TCL_LUN(tcl)); in ahc_index_busy_tcl()
5188 ahc_outb(ahc, SCBPTR, saved_scbptr); in ahc_index_busy_tcl()
5206 ahc_outb(ahc, SCBPTR, TCL_LUN(tcl)); in ahc_unbusy_tcl()
5207 ahc_outb(ahc, SCB_64_BTT+TCL_TARGET_OFFSET(tcl), SCB_LIST_NULL); in ahc_unbusy_tcl()
5208 ahc_outb(ahc, SCBPTR, saved_scbptr); in ahc_unbusy_tcl()
5211 ahc_outb(ahc, BUSY_TARGETS + target_offset, SCB_LIST_NULL); in ahc_unbusy_tcl()
5224 ahc_outb(ahc, SCBPTR, TCL_LUN(tcl)); in ahc_busy_tcl()
5225 ahc_outb(ahc, SCB_64_BTT + TCL_TARGET_OFFSET(tcl), scbid); in ahc_busy_tcl()
5226 ahc_outb(ahc, SCBPTR, saved_scbptr); in ahc_busy_tcl()
5229 ahc_outb(ahc, BUSY_TARGETS + target_offset, scbid); in ahc_busy_tcl()
5304 ahc_outb(ahc, HNSCB_QOFF, ahc->qinfifonext); in ahc_qinfifo_requeue_tail()
5306 ahc_outb(ahc, KERNEL_QINPOS, ahc->qinfifonext); in ahc_qinfifo_requeue_tail()
5315 ahc_outb(ahc, NEXT_QUEUED_SCB, scb->hscb->tag); in ahc_qinfifo_requeue()
5334 ahc_outb(ahc, SNSCB_QOFF, qinpos); in ahc_qinfifo_count()
5361 ahc_outb(ahc, SNSCB_QOFF, qinstart); in ahc_search_qinfifo()
5381 ahc_outb(ahc, NEXT_QUEUED_SCB, ahc->next_queued_scb->hscb->tag); in ahc_search_qinfifo()
5429 ahc_outb(ahc, HNSCB_QOFF, ahc->qinfifonext); in ahc_search_qinfifo()
5431 ahc_outb(ahc, KERNEL_QINPOS, ahc->qinfifonext); in ahc_search_qinfifo()
5469 ahc_outb(ahc, NEXT_QUEUED_SCB, scb->hscb->tag); in ahc_search_qinfifo()
5487 ahc_outb(ahc, SCBPTR, next); in ahc_search_qinfifo()
5540 ahc_outb(ahc, SCBPTR, curscbptr); in ahc_search_qinfifo()
5673 ahc_outb(ahc, SCBPTR, next); in ahc_search_disc_list()
5707 ahc_outb(ahc, SCBPTR, active_scb); in ahc_search_disc_list()
5720 ahc_outb(ahc, SCBPTR, scbptr); in ahc_rem_scb_from_disc_list()
5723 ahc_outb(ahc, SCB_CONTROL, 0); in ahc_rem_scb_from_disc_list()
5728 ahc_outb(ahc, SCBPTR, prev); in ahc_rem_scb_from_disc_list()
5729 ahc_outb(ahc, SCB_NEXT, next); in ahc_rem_scb_from_disc_list()
5731 ahc_outb(ahc, DISCONNECTED_SCBH, next); in ahc_rem_scb_from_disc_list()
5748 ahc_outb(ahc, SCB_TAG, SCB_LIST_NULL); in ahc_add_curscb_to_free_list()
5751 ahc_outb(ahc, SCB_NEXT, ahc_inb(ahc, FREE_SCBH)); in ahc_add_curscb_to_free_list()
5752 ahc_outb(ahc, FREE_SCBH, ahc_inb(ahc, SCBPTR)); in ahc_add_curscb_to_free_list()
5770 ahc_outb(ahc, SCBPTR, scbpos); in ahc_rem_wscb()
5774 ahc_outb(ahc, SCB_CONTROL, 0); in ahc_rem_wscb()
5781 ahc_outb(ahc, WAITING_SCBH, next); in ahc_rem_wscb()
5787 ahc_outb(ahc, SCSISEQ, (ahc_inb(ahc, SCSISEQ) & ~ENSELO)); in ahc_rem_wscb()
5793 ahc_outb(ahc, SCBPTR, prev); in ahc_rem_wscb()
5794 ahc_outb(ahc, SCB_NEXT, next); in ahc_rem_wscb()
5800 ahc_outb(ahc, SCBPTR, curscb); in ahc_rem_wscb()
5904 ahc_outb(ahc, SCBPTR, i); in ahc_abort_scbs()
5937 ahc_outb(ahc, SCBPTR, active_scb); in ahc_abort_scbs()
5948 ahc_outb(ahc, SIMODE1, ahc_inb(ahc, SIMODE1) & ~ENSCSIRST); in ahc_reset_current_bus()
5950 ahc_outb(ahc, SCSISEQ, scsiseq | SCSIRSTO); in ahc_reset_current_bus()
5954 ahc_outb(ahc, SCSISEQ, scsiseq & ~SCSIRSTO); in ahc_reset_current_bus()
5959 ahc_outb(ahc, SIMODE1, ahc_inb(ahc, SIMODE1) | ENSCSIRST); in ahc_reset_current_bus()
6022 ahc_outb(ahc, SBLKCTL, sblkctl ^ SELBUSB); in ahc_reset_channel()
6033 ahc_outb(ahc, SIMODE1, simode1); in ahc_reset_channel()
6037 ahc_outb(ahc, SCSISEQ, scsiseq & (ENSELI|ENRSELI|ENAUTOATNP)); in ahc_reset_channel()
6038 ahc_outb(ahc, SBLKCTL, sblkctl); in ahc_reset_channel()
6052 ahc_outb(ahc, SIMODE1, simode1); in ahc_reset_channel()
6056 ahc_outb(ahc, SCSISEQ, scsiseq & (ENSELI|ENRSELI|ENAUTOATNP)); in ahc_reset_channel()
6313 ahc_outb(ahc, SEQCTL, PERRORDIS|FAILDIS|FASTMODE|LOADRAM); in ahc_dumpseq()
6314 ahc_outb(ahc, SEQADDR0, 0); in ahc_dumpseq()
6315 ahc_outb(ahc, SEQADDR1, 0); in ahc_dumpseq()
6369 ahc_outb(ahc, SEQCTL, PERRORDIS|FAILDIS|FASTMODE|LOADRAM); in ahc_loadseq()
6370 ahc_outb(ahc, SEQADDR0, 0); in ahc_loadseq()
6371 ahc_outb(ahc, SEQADDR1, 0); in ahc_loadseq()
6428 ahc_outb(ahc, SEQCTL, PERRORDIS|FAILDIS|FASTMODE); in ahc_loadseq()
6717 ahc_outb(ahc, SNSCB_QOFF, qinpos); in ahc_dump_card_state()
6731 ahc_outb(ahc, SCBPTR, scb_index); in ahc_dump_card_state()
6741 ahc_outb(ahc, SCBPTR, scb_index); in ahc_dump_card_state()
6761 ahc_outb(ahc, SCBPTR, scb_index); in ahc_dump_card_state()
6769 ahc_outb(ahc, SCBPTR, i); in ahc_dump_card_state()
6789 ahc_outb(ahc, SCBPTR, scb->hscb->tag); in ahc_dump_card_state()
6825 ahc_outb(ahc, SCBPTR, saved_scbptr); in ahc_dump_card_state()
7074 ahc_outb(ahc, TARGID, targid_mask); in ahc_handle_en_lun()
7075 ahc_outb(ahc, TARGID+1, (targid_mask >> 8)); in ahc_handle_en_lun()
7106 ahc_outb(ahc, SBLKCTL, in ahc_handle_en_lun()
7109 ahc_outb(ahc, SCSIID, target); in ahc_handle_en_lun()
7112 ahc_outb(ahc, SBLKCTL, sblkctl); in ahc_handle_en_lun()
7121 ahc_outb(ahc, SCSISEQ_TEMPLATE, scsiseq); in ahc_handle_en_lun()
7124 ahc_outb(ahc, SCSISEQ, scsiseq); in ahc_handle_en_lun()
7198 ahc_outb(ahc, TARGID, targid_mask); in ahc_handle_en_lun()
7199 ahc_outb(ahc, TARGID+1, in ahc_handle_en_lun()
7220 ahc_outb(ahc, SCSISEQ_TEMPLATE, scsiseq); in ahc_handle_en_lun()
7223 ahc_outb(ahc, SCSISEQ, scsiseq); in ahc_handle_en_lun()
7279 ahc_outb(ahc, SCSIID_ULTRA2, scsiid); in ahc_update_scsiid()
7281 ahc_outb(ahc, SCSIID, scsiid); in ahc_update_scsiid()
7326 ahc_outb(ahc, HS_MAILBOX, hs_mailbox); in ahc_run_tqinfifo()
7330 ahc_outb(ahc, KERNEL_TQINPOS, in ahc_run_tqinfifo()