Lines Matching refs:ahd_outw

591 ahd_outw(struct ahd_softc *ahd, u_int port, u_int value)  in ahd_outw()  function
697 ahd_outw(ahd, SNSCB_QOFF, oldvalue); in ahd_get_snscb_qoff()
705 ahd_outw(ahd, SNSCB_QOFF, value); in ahd_set_snscb_qoff()
1266 ahd_outw(ahd, SCB_TAG, scbid); in ahd_flush_qoutfifo()
1267 ahd_outw(ahd, SCB_NEXT_COMPLETE, SCB_LIST_NULL); in ahd_flush_qoutfifo()
1270 ahd_outw(ahd, COMPLETE_DMA_SCB_HEAD, scbid); in ahd_flush_qoutfifo()
1271 ahd_outw(ahd, COMPLETE_DMA_SCB_TAIL, scbid); in ahd_flush_qoutfifo()
1277 ahd_outw(ahd, SCB_NEXT_COMPLETE, scbid); in ahd_flush_qoutfifo()
1278 ahd_outw(ahd, COMPLETE_DMA_SCB_TAIL, scbid); in ahd_flush_qoutfifo()
1345 ahd_outw(ahd, COMPLETE_DMA_SCB_HEAD, SCB_LIST_NULL); in ahd_flush_qoutfifo()
1346 ahd_outw(ahd, COMPLETE_DMA_SCB_TAIL, SCB_LIST_NULL); in ahd_flush_qoutfifo()
1363 ahd_outw(ahd, COMPLETE_ON_QFREEZE_HEAD, SCB_LIST_NULL); in ahd_flush_qoutfifo()
1380 ahd_outw(ahd, COMPLETE_SCB_HEAD, SCB_LIST_NULL); in ahd_flush_qoutfifo()
1468 ahd_outw(ahd, LONGJMP_ADDR, 0); in ahd_run_data_fifo()
1878 ahd_outw(ahd, HCNT, AHD_SENSE_BUFSIZE); in ahd_handle_seqint()
2944 ahd_outw(ahd, WAITING_TID_HEAD, scbid); in ahd_handle_pkt_busfree()
2947 ahd_outw(ahd, WAITING_TID_TAIL, scbid); in ahd_handle_pkt_busfree()
2954 ahd_outw(ahd, SCB_NEXT2, next); in ahd_handle_pkt_busfree()
6312 ahd_outw(ahd, SCB_BASE, i); in ahd_probe_scbs()
6347 ahd_outw(ahd, SCB_NEXT, SCB_LIST_NULL); in ahd_initialize_hscbs()
7325 ahd_outw(ahd, INTVEC1_ADDR, ahd_resolve_seqaddr(ahd, LABEL_seq_isr)); in ahd_chip_init()
7326 ahd_outw(ahd, INTVEC2_ADDR, ahd_resolve_seqaddr(ahd, LABEL_timer_isr)); in ahd_chip_init()
7429 ahd_outw(ahd, WAITING_TID_HEAD, SCB_LIST_NULL); in ahd_chip_init()
7430 ahd_outw(ahd, WAITING_TID_TAIL, SCB_LIST_NULL); in ahd_chip_init()
7431 ahd_outw(ahd, MK_MESSAGE_SCB, SCB_LIST_NULL); in ahd_chip_init()
7432 ahd_outw(ahd, MK_MESSAGE_SCSIID, 0xFF); in ahd_chip_init()
7434 ahd_outw(ahd, WAITING_SCB_TAILS + (2 * i), SCB_LIST_NULL); in ahd_chip_init()
7439 ahd_outw(ahd, COMPLETE_SCB_HEAD, SCB_LIST_NULL); in ahd_chip_init()
7440 ahd_outw(ahd, COMPLETE_SCB_DMAINPROG_HEAD, SCB_LIST_NULL); in ahd_chip_init()
7441 ahd_outw(ahd, COMPLETE_DMA_SCB_HEAD, SCB_LIST_NULL); in ahd_chip_init()
7442 ahd_outw(ahd, COMPLETE_DMA_SCB_TAIL, SCB_LIST_NULL); in ahd_chip_init()
7443 ahd_outw(ahd, COMPLETE_ON_QFREEZE_HEAD, SCB_LIST_NULL); in ahd_chip_init()
7449 ahd_outw(ahd, QFREEZE_COUNT, 0); in ahd_chip_init()
7450 ahd_outw(ahd, KERNEL_QFREEZE_COUNT, 0); in ahd_chip_init()
7511 ahd_outw(ahd, INT_COALESCING_CMDCOUNT, 0); in ahd_chip_init()
7512 ahd_outw(ahd, CMDS_PENDING, 0); in ahd_chip_init()
7793 ahd_outw(ahd, INT_COALESCING_TIMER, timer / AHD_TIMER_US_PER_TICK); in ahd_update_coalescing_values()
7832 ahd_outw(ahd, KERNEL_QFREEZE_COUNT, ahd->qfreeze_cnt); in ahd_pause_and_flushwork()
7861 ahd_outw(ahd, KERNEL_QFREEZE_COUNT, ahd->qfreeze_cnt); in ahd_pause_and_flushwork()
7940 ahd_outw(ahd, scb_offset, scbid); in ahd_busy_tcl()
8079 ahd_outw(ahd, CMDS_PENDING, pending_cmds - ahd_qinfifo_count(ahd)); in ahd_reset_cmds_pending()
8282 ahd_outw(ahd, tail_offset, tid_tail); in ahd_search_qinfifo()
8286 ahd_outw(ahd, CMDS_PENDING, in ahd_search_qinfifo()
8393 ahd_outw(ahd, CMDS_PENDING, ahd_inw(ahd, CMDS_PENDING) - found); in ahd_search_scb_list()
8407 ahd_outw(ahd, WAITING_TID_HEAD, tid_next); in ahd_stitch_tid_list()
8410 ahd_outw(ahd, SCB_NEXT2, tid_next); in ahd_stitch_tid_list()
8413 ahd_outw(ahd, WAITING_TID_TAIL, tid_prev); in ahd_stitch_tid_list()
8418 ahd_outw(ahd, WAITING_TID_HEAD, tid_cur); in ahd_stitch_tid_list()
8421 ahd_outw(ahd, SCB_NEXT2, tid_cur); in ahd_stitch_tid_list()
8424 ahd_outw(ahd, SCB_NEXT2, tid_next); in ahd_stitch_tid_list()
8427 ahd_outw(ahd, WAITING_TID_TAIL, tid_cur); in ahd_stitch_tid_list()
8444 ahd_outw(ahd, SCB_NEXT, next); in ahd_rem_wscb()
8457 ahd_outw(ahd, tail_offset, prev); in ahd_rem_wscb()
8848 ahd_outw(ahd, KERNEL_QFREEZE_COUNT, ahd->qfreeze_cnt); in ahd_handle_scsi_status()
9242 ahd_outw(ahd, PRGMCNT, 0); in ahd_dumpseq()
9362 ahd_outw(ahd, PRGMCNT, 0); in ahd_loadseq()
9998 ahd_outw(ahd, SEEDAT, *buf++); in ahd_write_seeprom()
10373 ahd_outw(ahd, TARGID, targid_mask); in ahd_handle_en_lun()
10489 ahd_outw(ahd, TARGID, targid_mask); in ahd_handle_en_lun()