Lines Matching refs:ahc_outb
334 ahc_outb(ahc, HCNTRL, ahc->pause); in ahc_pause()
360 ahc_outb(ahc, HCNTRL, ahc->unpause); in ahc_unpause()
468 ahc_outb(ahc, port, value & 0xFF); in ahc_outw()
469 ahc_outb(ahc, port+1, (value >> 8) & 0xFF); in ahc_outw()
484 ahc_outb(ahc, port, (value) & 0xFF); in ahc_outl()
485 ahc_outb(ahc, port+1, ((value) >> 8) & 0xFF); in ahc_outl()
486 ahc_outb(ahc, port+2, ((value) >> 16) & 0xFF); in ahc_outl()
487 ahc_outb(ahc, port+3, ((value) >> 24) & 0xFF); in ahc_outl()
506 ahc_outb(ahc, port, value & 0xFF); in ahc_outq()
507 ahc_outb(ahc, port+1, (value >> 8) & 0xFF); in ahc_outq()
508 ahc_outb(ahc, port+2, (value >> 16) & 0xFF); in ahc_outq()
509 ahc_outb(ahc, port+3, (value >> 24) & 0xFF); in ahc_outq()
510 ahc_outb(ahc, port+4, (value >> 32) & 0xFF); in ahc_outq()
511 ahc_outb(ahc, port+5, (value >> 40) & 0xFF); in ahc_outq()
512 ahc_outb(ahc, port+6, (value >> 48) & 0xFF); in ahc_outq()
513 ahc_outb(ahc, port+7, (value >> 56) & 0xFF); in ahc_outq()
636 ahc_outb(ahc, HNSCB_QOFF, ahc->qinfifonext); in ahc_queue_scb()
640 ahc_outb(ahc, KERNEL_QINPOS, ahc->qinfifonext); in ahc_queue_scb()
764 ahc_outb(ahc, CLRINT, CLRCMDINT); in ahc_intr()
817 ahc_outb(ahc, SCSISIGO, 0); /* De-assert BSY */ in ahc_restart()
818 ahc_outb(ahc, MSG_OUT, NOP); /* No message to send */ in ahc_restart()
819 ahc_outb(ahc, SXFRCTL1, ahc_inb(ahc, SXFRCTL1) & ~BITBUCKET); in ahc_restart()
820 ahc_outb(ahc, LASTPHASE, P_BUSFREE); in ahc_restart()
821 ahc_outb(ahc, SAVED_SCSIID, 0xFF); in ahc_restart()
822 ahc_outb(ahc, SAVED_LUN, 0xFF); in ahc_restart()
831 ahc_outb(ahc, TQINPOS, ahc->tqinfifonext); in ahc_restart()
834 ahc_outb(ahc, SCSISEQ, in ahc_restart()
838 ahc_outb(ahc, CCSCBCNT, 0); in ahc_restart()
839 ahc_outb(ahc, CCSGCTL, 0); in ahc_restart()
840 ahc_outb(ahc, CCSCBCTL, 0); in ahc_restart()
849 ahc_outb(ahc, SEQ_FLAGS2, in ahc_restart()
858 ahc_outb(ahc, CLRINT, CLRSEQINT); in ahc_restart()
860 ahc_outb(ahc, MWI_RESIDUAL, 0); in ahc_restart()
861 ahc_outb(ahc, SEQCTL, ahc->seqctl); in ahc_restart()
862 ahc_outb(ahc, SEQADDR0, 0); in ahc_restart()
863 ahc_outb(ahc, SEQADDR1, 0); in ahc_restart()
869 ahc_outb(ahc, SBLKCTL, (sblkctl & ~(DIAGLEDEN|DIAGLEDON))); in ahc_restart()
990 ahc_outb(ahc, CLRINT, CLRSEQINT); in ahc_handle_seqint()
1002 ahc_outb(ahc, RETURN_1, 0); in ahc_handle_seqint()
1139 ahc_outb(ahc, RETURN_1, SEND_SENSE); in ahc_handle_seqint()
1155 ahc_outb(ahc, SCSISEQ, in ahc_handle_seqint()
1186 ahc_outb(ahc, MSG_OUT, HOST_MSG); in ahc_handle_seqint()
1326 ahc_outb(ahc, LASTPHASE, curphase); in ahc_handle_seqint()
1327 ahc_outb(ahc, SCSISIGO, curphase); in ahc_handle_seqint()
1338 ahc_outb(ahc, SXFRCTL1, in ahc_handle_seqint()
1347 ahc_outb(ahc, SXFRCTL1, in ahc_handle_seqint()
1428 ahc_outb(ahc, SXFRCTL0, in ahc_handle_seqint()
1430 ahc_outb(ahc, SXFRCTL0, in ahc_handle_seqint()
1438 ahc_outb(ahc, DSCOMMAND1, dscommand1 | HADDLDSEL0); in ahc_handle_seqint()
1439 ahc_outb(ahc, HADDR, 0); in ahc_handle_seqint()
1440 ahc_outb(ahc, DSCOMMAND1, dscommand1); in ahc_handle_seqint()
1551 ahc_outb(ahc, SBLKCTL, ahc_inb(ahc, SBLKCTL) ^ SELBUSB); in ahc_handle_scsiint()
1558 ahc_outb(ahc, CLRINT, CLRSCSIINT); in ahc_handle_scsiint()
1580 ahc_outb(ahc, CLRSINT0, CLRIOERR); in ahc_handle_scsiint()
1597 ahc_outb(ahc, SBLKCTL, ahc_inb(ahc, SBLKCTL) ^ SELBUSB); in ahc_handle_scsiint()
1623 ahc_outb(ahc, CLRSINT1, CLRSCSIPERR); in ahc_handle_scsiint()
1700 ahc_outb(ahc, MSG_OUT, mesg_out); in ahc_handle_scsiint()
1710 ahc_outb(ahc, CLRINT, CLRSCSIINT); in ahc_handle_scsiint()
1716 ahc_outb(ahc, SCSISEQ, 0); in ahc_handle_scsiint()
1722 ahc_outb(ahc, SIMODE1, ahc_inb(ahc, SIMODE1) & ~ENBUSFREE); in ahc_handle_scsiint()
1723 ahc_outb(ahc, CLRSINT1, CLRSELTIMEO|CLRBUSFREE|CLRSCSIPERR); in ahc_handle_scsiint()
1733 ahc_outb(ahc, CLRSINT0, CLRSELINGO); in ahc_handle_scsiint()
1736 ahc_outb(ahc, SCBPTR, scbptr); in ahc_handle_scsiint()
1769 ahc_outb(ahc, CLRINT, CLRSCSIINT); in ahc_handle_scsiint()
1788 ahc_outb(ahc, SCSISEQ, in ahc_handle_scsiint()
1797 ahc_outb(ahc, SIMODE1, ahc_inb(ahc, SIMODE1) & ~ENBUSFREE); in ahc_handle_scsiint()
1798 ahc_outb(ahc, CLRSINT1, CLRBUSFREE|CLRSCSIPERR); in ahc_handle_scsiint()
1935 ahc_outb(ahc, CLRINT, CLRSCSIINT); in ahc_handle_scsiint()
1940 ahc_outb(ahc, CLRINT, CLRSCSIINT); in ahc_handle_scsiint()
2020 ahc_outb(ahc, SIMODE0, 0); in ahc_clear_critical_section()
2031 ahc_outb(ahc, SIMODE1, simode1 & ENBUSFREE); in ahc_clear_critical_section()
2033 ahc_outb(ahc, SIMODE1, 0); in ahc_clear_critical_section()
2034 ahc_outb(ahc, CLRINT, CLRSCSIINT); in ahc_clear_critical_section()
2035 ahc_outb(ahc, SEQCTL, ahc->seqctl | STEP); in ahc_clear_critical_section()
2039 ahc_outb(ahc, CLRSINT1, CLRBUSFREE); in ahc_clear_critical_section()
2040 ahc_outb(ahc, CLRINT, CLRSCSIINT); in ahc_clear_critical_section()
2042 ahc_outb(ahc, HCNTRL, ahc->unpause); in ahc_clear_critical_section()
2047 ahc_outb(ahc, SIMODE0, simode0); in ahc_clear_critical_section()
2048 ahc_outb(ahc, SIMODE1, simode1); in ahc_clear_critical_section()
2049 ahc_outb(ahc, SEQCTL, ahc->seqctl); in ahc_clear_critical_section()
2060 ahc_outb(ahc, CLRSINT1, CLRSELTIMEO|CLRATNO|CLRSCSIRSTI in ahc_clear_intstat()
2064 ahc_outb(ahc, CLRSINT0, CLRSELDO|CLRSELDI|CLRSELINGO); in ahc_clear_intstat()
2066 ahc_outb(ahc, CLRINT, CLRSCSIINT); in ahc_clear_intstat()
2548 ahc_outb(ahc, SXFRCTL0, sxfrctl0); in ahc_set_syncrate()
2552 ahc_outb(ahc, SCSIRATE, scsirate); in ahc_set_syncrate()
2554 ahc_outb(ahc, SCSIOFFSET, offset); in ahc_set_syncrate()
2628 ahc_outb(ahc, SCSIRATE, scsirate); in ahc_set_width()
2723 ahc_outb(ahc, SCBPTR, i); in ahc_update_pending_scbs()
2733 ahc_outb(ahc, SCB_CONTROL, control); in ahc_update_pending_scbs()
2734 ahc_outb(ahc, SCB_SCSIRATE, pending_hscb->scsirate); in ahc_update_pending_scbs()
2735 ahc_outb(ahc, SCB_SCSIOFFSET, pending_hscb->scsioffset); in ahc_update_pending_scbs()
2737 ahc_outb(ahc, SCBPTR, saved_scbptr); in ahc_update_pending_scbs()
2841 ahc_outb(ahc, SCSISIGO, scsisigo); in ahc_assert_atn()
2892 ahc_outb(ahc, SCSISEQ, (ahc_inb(ahc, SCSISEQ) & ~ENSELO)); in ahc_setup_initiator_msgout()
2909 ahc_outb(ahc, SCSISEQ, (ahc_inb(ahc, SCSISEQ) & ~ENSELO)); in ahc_setup_initiator_msgout()
2926 ahc_outb(ahc, SCB_CONTROL, ahc_inb(ahc, SCB_CONTROL) & ~MK_MESSAGE); in ahc_setup_initiator_msgout()
3105 ahc_outb(ahc, CLRSINT1, CLRATNO); in ahc_clear_msg_state()
3107 ahc_outb(ahc, MSG_OUT, NOP); in ahc_clear_msg_state()
3108 ahc_outb(ahc, SEQ_FLAGS2, in ahc_clear_msg_state()
3187 ahc_outb(ahc, SCSISEQ, in ahc_handle_proto_violation()
3190 ahc_outb(ahc, MSG_OUT, HOST_MSG); in ahc_handle_proto_violation()
3253 ahc_outb(ahc, CLRSINT1, CLRATNO); in ahc_handle_message_phase()
3264 ahc_outb(ahc, CLRSINT1, CLRATNO); in ahc_handle_message_phase()
3265 ahc_outb(ahc, CLRSINT1, CLRREQINIT); in ahc_handle_message_phase()
3270 ahc_outb(ahc, SCSIDATL, MSG_PARITY_ERROR); in ahc_handle_message_phase()
3288 ahc_outb(ahc, CLRSINT1, CLRATNO); in ahc_handle_message_phase()
3295 ahc_outb(ahc, CLRSINT1, CLRREQINIT); in ahc_handle_message_phase()
3301 ahc_outb(ahc, SCSIDATL, ahc->msgout_buf[ahc->msgout_index++]); in ahc_handle_message_phase()
3374 ahc_outb(ahc, CLRSINT1, CLRREQINIT); in ahc_handle_message_phase()
3408 ahc_outb(ahc, SCSISIGO, P_MESGOUT | BSYO); in ahc_handle_message_phase()
3412 ahc_outb(ahc, SXFRCTL0, in ahc_handle_message_phase()
3419 ahc_outb(ahc, SXFRCTL0, in ahc_handle_message_phase()
3428 ahc_outb(ahc, SXFRCTL0, ahc_inb(ahc, SXFRCTL0) | SPIOEN); in ahc_handle_message_phase()
3429 ahc_outb(ahc, SCSIDATL, ahc->msgout_buf[ahc->msgout_index++]); in ahc_handle_message_phase()
3448 ahc_outb(ahc, SXFRCTL0, ahc_inb(ahc, SXFRCTL0) & ~SPIOEN); in ahc_handle_message_phase()
3475 ahc_outb(ahc, SCSISIGO, P_MESGIN | BSYO); in ahc_handle_message_phase()
3476 ahc_outb(ahc, SXFRCTL0, in ahc_handle_message_phase()
3488 ahc_outb(ahc, SXFRCTL0, in ahc_handle_message_phase()
3500 ahc_outb(ahc, RETURN_1, EXIT_MSG_LOOP); in ahc_handle_message_phase()
3502 ahc_outb(ahc, RETURN_1, CONT_MSG_LOOP); in ahc_handle_message_phase()
4084 ahc_outb(ahc, SCB_CONTROL, in ahc_handle_msg_reject()
4089 ahc_outb(ahc, MSG_OUT, MSG_IDENTIFYFLAG); in ahc_handle_msg_reject()
4229 ahc_outb(ahc, SCB_LUN, in ahc_handle_ign_wide_residue()
4274 ahc_outb(ahc, DSCOMMAND1, dscommand1 | HADDLDSEL0); in ahc_reinitialize_dataptrs()
4275 ahc_outb(ahc, HADDR, in ahc_reinitialize_dataptrs()
4277 ahc_outb(ahc, DSCOMMAND1, dscommand1); in ahc_reinitialize_dataptrs()
4279 ahc_outb(ahc, HADDR + 3, dataptr >> 24); in ahc_reinitialize_dataptrs()
4280 ahc_outb(ahc, HADDR + 2, dataptr >> 16); in ahc_reinitialize_dataptrs()
4281 ahc_outb(ahc, HADDR + 1, dataptr >> 8); in ahc_reinitialize_dataptrs()
4282 ahc_outb(ahc, HADDR, dataptr); in ahc_reinitialize_dataptrs()
4283 ahc_outb(ahc, HCNT + 2, resid >> 16); in ahc_reinitialize_dataptrs()
4284 ahc_outb(ahc, HCNT + 1, resid >> 8); in ahc_reinitialize_dataptrs()
4285 ahc_outb(ahc, HCNT, resid); in ahc_reinitialize_dataptrs()
4287 ahc_outb(ahc, STCNT + 2, resid >> 16); in ahc_reinitialize_dataptrs()
4288 ahc_outb(ahc, STCNT + 1, resid >> 8); in ahc_reinitialize_dataptrs()
4289 ahc_outb(ahc, STCNT, resid); in ahc_reinitialize_dataptrs()
4531 ahc_outb(ahc, SCSISEQ, 0); in ahc_shutdown()
4532 ahc_outb(ahc, SXFRCTL0, 0); in ahc_shutdown()
4533 ahc_outb(ahc, DSPCISTATUS, 0); in ahc_shutdown()
4536 ahc_outb(ahc, i, 0); in ahc_shutdown()
4571 ahc_outb(ahc, SBLKCTL, sblkctl | SELBUSB); in ahc_reset()
4573 ahc_outb(ahc, SBLKCTL, sblkctl & ~SELBUSB); in ahc_reset()
4577 ahc_outb(ahc, HCNTRL, CHIPRST | ahc->pause); in ahc_reset()
4594 ahc_outb(ahc, HCNTRL, ahc->pause); in ahc_reset()
4630 ahc_outb(ahc, SBLKCTL, sblkctl | SELBUSB); in ahc_reset()
4631 ahc_outb(ahc, SXFRCTL1, sxfrctl1_b); in ahc_reset()
4632 ahc_outb(ahc, SBLKCTL, sblkctl & ~SELBUSB); in ahc_reset()
4634 ahc_outb(ahc, SXFRCTL1, sxfrctl1_a); in ahc_reset()
4660 ahc_outb(ahc, SCBPTR, i); in ahc_probe_scbs()
4661 ahc_outb(ahc, SCB_BASE, i); in ahc_probe_scbs()
4664 ahc_outb(ahc, SCBPTR, 0); in ahc_probe_scbs()
4693 ahc_outb(ahc, SCBPTR, i); in ahc_build_free_scb_list()
4701 ahc_outb(ahc, SCB_BASE+j, 0xFF); in ahc_build_free_scb_list()
4704 ahc_outb(ahc, SCB_CONTROL, 0); in ahc_build_free_scb_list()
4708 ahc_outb(ahc, SCB_NEXT, i+1); in ahc_build_free_scb_list()
4710 ahc_outb(ahc, SCB_NEXT, SCB_LIST_NULL); in ahc_build_free_scb_list()
4713 ahc_outb(ahc, SCB_TAG, SCB_LIST_NULL); in ahc_build_free_scb_list()
4714 ahc_outb(ahc, SCB_SCSIID, 0xFF); in ahc_build_free_scb_list()
4715 ahc_outb(ahc, SCB_LUN, 0xFF); in ahc_build_free_scb_list()
4720 ahc_outb(ahc, FREE_SCBH, 0); in ahc_build_free_scb_list()
4723 ahc_outb(ahc, FREE_SCBH, SCB_LIST_NULL); in ahc_build_free_scb_list()
4727 ahc_outb(ahc, SCBPTR, i-1); in ahc_build_free_scb_list()
4728 ahc_outb(ahc, SCB_NEXT, SCB_LIST_NULL); in ahc_build_free_scb_list()
5048 ahc_outb(ahc, SEQ_FLAGS, 0); in ahc_chip_init()
5049 ahc_outb(ahc, SEQ_FLAGS2, 0); in ahc_chip_init()
5057 ahc_outb(ahc, SBLKCTL, ahc_inb(ahc, SBLKCTL) | SELBUSB); in ahc_chip_init()
5059 ahc_outb(ahc, SCSIID, ahc->our_id_b); in ahc_chip_init()
5061 ahc_outb(ahc, SXFRCTL1, (scsi_conf & (ENSPCHK|STIMESEL)) in ahc_chip_init()
5064 ahc_outb(ahc, SIMODE0, ahc_inb(ahc, SIMODE0)|ENIOERR); in ahc_chip_init()
5065 ahc_outb(ahc, SIMODE1, ENSELTIMO|ENSCSIRST|ENSCSIPERR); in ahc_chip_init()
5066 ahc_outb(ahc, SXFRCTL0, DFON|SPIOEN); in ahc_chip_init()
5069 ahc_outb(ahc, SBLKCTL, ahc_inb(ahc, SBLKCTL) & ~SELBUSB); in ahc_chip_init()
5073 ahc_outb(ahc, SCSIID_ULTRA2, ahc->our_id); in ahc_chip_init()
5075 ahc_outb(ahc, SCSIID, ahc->our_id); in ahc_chip_init()
5077 ahc_outb(ahc, SXFRCTL1, (scsi_conf & (ENSPCHK|STIMESEL)) in ahc_chip_init()
5081 ahc_outb(ahc, SIMODE0, ahc_inb(ahc, SIMODE0)|ENIOERR); in ahc_chip_init()
5082 ahc_outb(ahc, SIMODE1, ENSELTIMO|ENSCSIRST|ENSCSIPERR); in ahc_chip_init()
5083 ahc_outb(ahc, SXFRCTL0, DFON|SPIOEN); in ahc_chip_init()
5109 ahc_outb(ahc, TARGID, 0); in ahc_chip_init()
5110 ahc_outb(ahc, TARGID + 1, 0); in ahc_chip_init()
5117 ahc_outb(ahc, HSCB_ADDR, physaddr & 0xFF); in ahc_chip_init()
5118 ahc_outb(ahc, HSCB_ADDR + 1, (physaddr >> 8) & 0xFF); in ahc_chip_init()
5119 ahc_outb(ahc, HSCB_ADDR + 2, (physaddr >> 16) & 0xFF); in ahc_chip_init()
5120 ahc_outb(ahc, HSCB_ADDR + 3, (physaddr >> 24) & 0xFF); in ahc_chip_init()
5123 ahc_outb(ahc, SHARED_DATA_ADDR, physaddr & 0xFF); in ahc_chip_init()
5124 ahc_outb(ahc, SHARED_DATA_ADDR + 1, (physaddr >> 8) & 0xFF); in ahc_chip_init()
5125 ahc_outb(ahc, SHARED_DATA_ADDR + 2, (physaddr >> 16) & 0xFF); in ahc_chip_init()
5126 ahc_outb(ahc, SHARED_DATA_ADDR + 3, (physaddr >> 24) & 0xFF); in ahc_chip_init()
5133 ahc_outb(ahc, CMDSIZE_TABLE, 5); in ahc_chip_init()
5134 ahc_outb(ahc, CMDSIZE_TABLE + 1, 9); in ahc_chip_init()
5135 ahc_outb(ahc, CMDSIZE_TABLE + 2, 9); in ahc_chip_init()
5136 ahc_outb(ahc, CMDSIZE_TABLE + 3, 0); in ahc_chip_init()
5137 ahc_outb(ahc, CMDSIZE_TABLE + 4, 15); in ahc_chip_init()
5138 ahc_outb(ahc, CMDSIZE_TABLE + 5, 11); in ahc_chip_init()
5139 ahc_outb(ahc, CMDSIZE_TABLE + 6, 0); in ahc_chip_init()
5140 ahc_outb(ahc, CMDSIZE_TABLE + 7, 0); in ahc_chip_init()
5143 ahc_outb(ahc, HS_MAILBOX, 0); in ahc_chip_init()
5148 ahc_outb(ahc, KERNEL_TQINPOS, ahc->tqinfifonext - 1); in ahc_chip_init()
5149 ahc_outb(ahc, TQINPOS, ahc->tqinfifonext); in ahc_chip_init()
5154 ahc_outb(ahc, QOFF_CTLSTA, SCB_QSIZE_256); in ahc_chip_init()
5155 ahc_outb(ahc, HNSCB_QOFF, ahc->qinfifonext); in ahc_chip_init()
5156 ahc_outb(ahc, SNSCB_QOFF, ahc->qinfifonext); in ahc_chip_init()
5157 ahc_outb(ahc, SDSCB_QOFF, 0); in ahc_chip_init()
5159 ahc_outb(ahc, KERNEL_QINPOS, ahc->qinfifonext); in ahc_chip_init()
5160 ahc_outb(ahc, QINPOS, ahc->qinfifonext); in ahc_chip_init()
5161 ahc_outb(ahc, QOUTPOS, ahc->qoutfifonext); in ahc_chip_init()
5165 ahc_outb(ahc, WAITING_SCBH, SCB_LIST_NULL); in ahc_chip_init()
5168 ahc_outb(ahc, DISCONNECTED_SCBH, SCB_LIST_NULL); in ahc_chip_init()
5171 ahc_outb(ahc, MSG_OUT, NOP); in ahc_chip_init()
5181 ahc_outb(ahc, SCSISEQ_TEMPLATE, scsiseq_template); in ahc_chip_init()
5189 ahc_outb(ahc, NEXT_QUEUED_SCB, ahc->next_queued_scb->hscb->tag); in ahc_chip_init()
5262 ahc_outb(ahc, CLRINT, CLRPARERR); in ahc_init()
5263 ahc_outb(ahc, CLRINT, CLRBRKADRINT); in ahc_init()
5542 ahc_outb(ahc, HCNTRL, hcntrl); in ahc_intr_enable()
5574 ahc_outb(ahc, SCSISEQ, ahc_inb(ahc, SCSISEQ) & ~ENSELO); in ahc_pause_and_flushwork()
5642 ahc_outb(ahc, SCBPTR, TCL_LUN(tcl)); in ahc_index_busy_tcl()
5644 ahc_outb(ahc, SCBPTR, saved_scbptr); in ahc_index_busy_tcl()
5662 ahc_outb(ahc, SCBPTR, TCL_LUN(tcl)); in ahc_unbusy_tcl()
5663 ahc_outb(ahc, SCB_64_BTT+TCL_TARGET_OFFSET(tcl), SCB_LIST_NULL); in ahc_unbusy_tcl()
5664 ahc_outb(ahc, SCBPTR, saved_scbptr); in ahc_unbusy_tcl()
5667 ahc_outb(ahc, BUSY_TARGETS + target_offset, SCB_LIST_NULL); in ahc_unbusy_tcl()
5680 ahc_outb(ahc, SCBPTR, TCL_LUN(tcl)); in ahc_busy_tcl()
5681 ahc_outb(ahc, SCB_64_BTT + TCL_TARGET_OFFSET(tcl), scbid); in ahc_busy_tcl()
5682 ahc_outb(ahc, SCBPTR, saved_scbptr); in ahc_busy_tcl()
5685 ahc_outb(ahc, BUSY_TARGETS + target_offset, scbid); in ahc_busy_tcl()
5760 ahc_outb(ahc, HNSCB_QOFF, ahc->qinfifonext); in ahc_qinfifo_requeue_tail()
5762 ahc_outb(ahc, KERNEL_QINPOS, ahc->qinfifonext); in ahc_qinfifo_requeue_tail()
5771 ahc_outb(ahc, NEXT_QUEUED_SCB, scb->hscb->tag); in ahc_qinfifo_requeue()
5790 ahc_outb(ahc, SNSCB_QOFF, qinpos); in ahc_qinfifo_count()
5817 ahc_outb(ahc, SNSCB_QOFF, qinstart); in ahc_search_qinfifo()
5837 ahc_outb(ahc, NEXT_QUEUED_SCB, ahc->next_queued_scb->hscb->tag); in ahc_search_qinfifo()
5884 ahc_outb(ahc, HNSCB_QOFF, ahc->qinfifonext); in ahc_search_qinfifo()
5886 ahc_outb(ahc, KERNEL_QINPOS, ahc->qinfifonext); in ahc_search_qinfifo()
5924 ahc_outb(ahc, NEXT_QUEUED_SCB, scb->hscb->tag); in ahc_search_qinfifo()
5942 ahc_outb(ahc, SCBPTR, next); in ahc_search_qinfifo()
5994 ahc_outb(ahc, SCBPTR, curscbptr); in ahc_search_qinfifo()
6127 ahc_outb(ahc, SCBPTR, next); in ahc_search_disc_list()
6161 ahc_outb(ahc, SCBPTR, active_scb); in ahc_search_disc_list()
6174 ahc_outb(ahc, SCBPTR, scbptr); in ahc_rem_scb_from_disc_list()
6177 ahc_outb(ahc, SCB_CONTROL, 0); in ahc_rem_scb_from_disc_list()
6182 ahc_outb(ahc, SCBPTR, prev); in ahc_rem_scb_from_disc_list()
6183 ahc_outb(ahc, SCB_NEXT, next); in ahc_rem_scb_from_disc_list()
6185 ahc_outb(ahc, DISCONNECTED_SCBH, next); in ahc_rem_scb_from_disc_list()
6202 ahc_outb(ahc, SCB_TAG, SCB_LIST_NULL); in ahc_add_curscb_to_free_list()
6205 ahc_outb(ahc, SCB_NEXT, ahc_inb(ahc, FREE_SCBH)); in ahc_add_curscb_to_free_list()
6206 ahc_outb(ahc, FREE_SCBH, ahc_inb(ahc, SCBPTR)); in ahc_add_curscb_to_free_list()
6224 ahc_outb(ahc, SCBPTR, scbpos); in ahc_rem_wscb()
6228 ahc_outb(ahc, SCB_CONTROL, 0); in ahc_rem_wscb()
6235 ahc_outb(ahc, WAITING_SCBH, next); in ahc_rem_wscb()
6241 ahc_outb(ahc, SCSISEQ, (ahc_inb(ahc, SCSISEQ) & ~ENSELO)); in ahc_rem_wscb()
6247 ahc_outb(ahc, SCBPTR, prev); in ahc_rem_wscb()
6248 ahc_outb(ahc, SCB_NEXT, next); in ahc_rem_wscb()
6254 ahc_outb(ahc, SCBPTR, curscb); in ahc_rem_wscb()
6358 ahc_outb(ahc, SCBPTR, i); in ahc_abort_scbs()
6391 ahc_outb(ahc, SCBPTR, active_scb); in ahc_abort_scbs()
6402 ahc_outb(ahc, SIMODE1, ahc_inb(ahc, SIMODE1) & ~ENSCSIRST); in ahc_reset_current_bus()
6404 ahc_outb(ahc, SCSISEQ, scsiseq | SCSIRSTO); in ahc_reset_current_bus()
6408 ahc_outb(ahc, SCSISEQ, scsiseq & ~SCSIRSTO); in ahc_reset_current_bus()
6413 ahc_outb(ahc, SIMODE1, ahc_inb(ahc, SIMODE1) | ENSCSIRST); in ahc_reset_current_bus()
6476 ahc_outb(ahc, SBLKCTL, sblkctl ^ SELBUSB); in ahc_reset_channel()
6487 ahc_outb(ahc, SIMODE1, simode1); in ahc_reset_channel()
6491 ahc_outb(ahc, SCSISEQ, scsiseq & (ENSELI|ENRSELI|ENAUTOATNP)); in ahc_reset_channel()
6492 ahc_outb(ahc, SBLKCTL, sblkctl); in ahc_reset_channel()
6506 ahc_outb(ahc, SIMODE1, simode1); in ahc_reset_channel()
6510 ahc_outb(ahc, SCSISEQ, scsiseq & (ENSELI|ENRSELI|ENAUTOATNP)); in ahc_reset_channel()
6767 ahc_outb(ahc, SEQCTL, PERRORDIS|FAILDIS|FASTMODE|LOADRAM); in ahc_dumpseq()
6768 ahc_outb(ahc, SEQADDR0, 0); in ahc_dumpseq()
6769 ahc_outb(ahc, SEQADDR1, 0); in ahc_dumpseq()
6823 ahc_outb(ahc, SEQCTL, PERRORDIS|FAILDIS|FASTMODE|LOADRAM); in ahc_loadseq()
6824 ahc_outb(ahc, SEQADDR0, 0); in ahc_loadseq()
6825 ahc_outb(ahc, SEQADDR1, 0); in ahc_loadseq()
6881 ahc_outb(ahc, SEQCTL, PERRORDIS|FAILDIS|FASTMODE); in ahc_loadseq()
7169 ahc_outb(ahc, SNSCB_QOFF, qinpos); in ahc_dump_card_state()
7183 ahc_outb(ahc, SCBPTR, scb_index); in ahc_dump_card_state()
7193 ahc_outb(ahc, SCBPTR, scb_index); in ahc_dump_card_state()
7213 ahc_outb(ahc, SCBPTR, scb_index); in ahc_dump_card_state()
7221 ahc_outb(ahc, SCBPTR, i); in ahc_dump_card_state()
7241 ahc_outb(ahc, SCBPTR, scb->hscb->tag); in ahc_dump_card_state()
7276 ahc_outb(ahc, SCBPTR, saved_scbptr); in ahc_dump_card_state()
7524 ahc_outb(ahc, TARGID, targid_mask); in ahc_handle_en_lun()
7525 ahc_outb(ahc, TARGID+1, (targid_mask >> 8)); in ahc_handle_en_lun()
7555 ahc_outb(ahc, SBLKCTL, in ahc_handle_en_lun()
7558 ahc_outb(ahc, SCSIID, target); in ahc_handle_en_lun()
7561 ahc_outb(ahc, SBLKCTL, sblkctl); in ahc_handle_en_lun()
7570 ahc_outb(ahc, SCSISEQ_TEMPLATE, scsiseq); in ahc_handle_en_lun()
7573 ahc_outb(ahc, SCSISEQ, scsiseq); in ahc_handle_en_lun()
7647 ahc_outb(ahc, TARGID, targid_mask); in ahc_handle_en_lun()
7648 ahc_outb(ahc, TARGID+1, in ahc_handle_en_lun()
7669 ahc_outb(ahc, SCSISEQ_TEMPLATE, scsiseq); in ahc_handle_en_lun()
7672 ahc_outb(ahc, SCSISEQ, scsiseq); in ahc_handle_en_lun()
7728 ahc_outb(ahc, SCSIID_ULTRA2, scsiid); in ahc_update_scsiid()
7730 ahc_outb(ahc, SCSIID, scsiid); in ahc_update_scsiid()
7775 ahc_outb(ahc, HS_MAILBOX, hs_mailbox); in ahc_run_tqinfifo()
7779 ahc_outb(ahc, KERNEL_TQINPOS, in ahc_run_tqinfifo()