Lines Matching refs:ahd_softc
106 static void ahd_handle_transmission_error(struct ahd_softc *ahd);
107 static void ahd_handle_lqiphase_error(struct ahd_softc *ahd,
109 static int ahd_handle_pkt_busfree(struct ahd_softc *ahd,
111 static int ahd_handle_nonpkt_busfree(struct ahd_softc *ahd);
112 static void ahd_handle_proto_violation(struct ahd_softc *ahd);
113 static void ahd_force_renegotiation(struct ahd_softc *ahd,
117 ahd_alloc_tstate(struct ahd_softc *ahd,
120 static void ahd_free_tstate(struct ahd_softc *ahd,
123 static void ahd_devlimited_syncrate(struct ahd_softc *ahd,
128 static void ahd_update_neg_table(struct ahd_softc *ahd,
131 static void ahd_update_pending_scbs(struct ahd_softc *ahd);
132 static void ahd_fetch_devinfo(struct ahd_softc *ahd,
134 static void ahd_scb_devinfo(struct ahd_softc *ahd,
137 static void ahd_setup_initiator_msgout(struct ahd_softc *ahd,
140 static void ahd_build_transfer_msg(struct ahd_softc *ahd,
142 static void ahd_construct_sdtr(struct ahd_softc *ahd,
145 static void ahd_construct_wdtr(struct ahd_softc *ahd,
148 static void ahd_construct_ppr(struct ahd_softc *ahd,
152 static void ahd_clear_msg_state(struct ahd_softc *ahd);
153 static void ahd_handle_message_phase(struct ahd_softc *ahd);
159 static int ahd_sent_msg(struct ahd_softc *ahd, ahd_msgtype type,
161 static int ahd_parse_msg(struct ahd_softc *ahd,
163 static int ahd_handle_msg_reject(struct ahd_softc *ahd,
165 static void ahd_handle_ign_wide_residue(struct ahd_softc *ahd,
167 static void ahd_reinitialize_dataptrs(struct ahd_softc *ahd);
168 static void ahd_handle_devreset(struct ahd_softc *ahd,
173 static void ahd_setup_target_msgin(struct ahd_softc *ahd,
178 static u_int ahd_sglist_size(struct ahd_softc *ahd);
179 static u_int ahd_sglist_allocsize(struct ahd_softc *ahd);
182 static void ahd_initialize_hscbs(struct ahd_softc *ahd);
183 static int ahd_init_scbdata(struct ahd_softc *ahd);
184 static void ahd_fini_scbdata(struct ahd_softc *ahd);
185 static void ahd_setup_iocell_workaround(struct ahd_softc *ahd);
186 static void ahd_iocell_first_selection(struct ahd_softc *ahd);
187 static void ahd_add_col_list(struct ahd_softc *ahd,
189 static void ahd_rem_col_list(struct ahd_softc *ahd,
191 static void ahd_chip_init(struct ahd_softc *ahd);
192 static void ahd_qinfifo_requeue(struct ahd_softc *ahd,
195 static int ahd_qinfifo_count(struct ahd_softc *ahd);
196 static int ahd_search_scb_list(struct ahd_softc *ahd, int target,
202 static void ahd_stitch_tid_list(struct ahd_softc *ahd,
205 static void ahd_add_scb_to_free_list(struct ahd_softc *ahd,
207 static u_int ahd_rem_wscb(struct ahd_softc *ahd, u_int scbid,
209 static void ahd_reset_current_bus(struct ahd_softc *ahd);
212 static void ahd_dumpseq(struct ahd_softc *ahd);
214 static void ahd_loadseq(struct ahd_softc *ahd);
215 static int ahd_check_patch(struct ahd_softc *ahd,
218 static u_int ahd_resolve_seqaddr(struct ahd_softc *ahd,
220 static void ahd_download_instr(struct ahd_softc *ahd,
222 static int ahd_probe_stack_size(struct ahd_softc *ahd);
223 static int ahd_scb_active_in_fifo(struct ahd_softc *ahd,
225 static void ahd_run_data_fifo(struct ahd_softc *ahd,
229 static void ahd_queue_lstate_event(struct ahd_softc *ahd,
234 static void ahd_update_scsiid(struct ahd_softc *ahd,
236 static int ahd_handle_target_cmd(struct ahd_softc *ahd,
240 static int ahd_abort_scbs(struct ahd_softc *ahd, int target,
243 static void ahd_alloc_scbs(struct ahd_softc *ahd);
244 static void ahd_busy_tcl(struct ahd_softc *ahd, u_int tcl,
246 static void ahd_calc_residual(struct ahd_softc *ahd,
248 static void ahd_clear_critical_section(struct ahd_softc *ahd);
249 static void ahd_clear_intstat(struct ahd_softc *ahd);
250 static void ahd_enable_coalescing(struct ahd_softc *ahd,
252 static u_int ahd_find_busy_tcl(struct ahd_softc *ahd, u_int tcl);
253 static void ahd_freeze_devq(struct ahd_softc *ahd,
255 static void ahd_handle_scb_status(struct ahd_softc *ahd,
259 static void ahd_update_coalescing_values(struct ahd_softc *ahd,
264 static int ahd_wait_seeprom(struct ahd_softc *ahd);
265 static int ahd_match_scb(struct ahd_softc *ahd, struct scb *scb,
269 static void ahd_reset_cmds_pending(struct ahd_softc *ahd);
272 static void ahd_run_qoutfifo(struct ahd_softc *ahd);
274 static void ahd_run_tqinfifo(struct ahd_softc *ahd, int paused);
276 static void ahd_handle_hwerrint(struct ahd_softc *ahd);
277 static void ahd_handle_seqint(struct ahd_softc *ahd, u_int intstat);
278 static void ahd_handle_scsiint(struct ahd_softc *ahd,
283 ahd_set_modes(struct ahd_softc *ahd, ahd_mode src, ahd_mode dst) in ahd_set_modes()
301 ahd_update_modes(struct ahd_softc *ahd) in ahd_update_modes()
317 ahd_assert_modes(struct ahd_softc *ahd, ahd_mode srcmode, in ahd_assert_modes()
333 ahd_save_modes(struct ahd_softc *ahd) in ahd_save_modes()
343 ahd_restore_modes(struct ahd_softc *ahd, ahd_mode_state state) in ahd_restore_modes()
357 ahd_is_paused(struct ahd_softc *ahd) in ahd_is_paused()
370 ahd_pause(struct ahd_softc *ahd) in ahd_pause()
393 ahd_unpause(struct ahd_softc *ahd) in ahd_unpause()
414 ahd_sg_setup(struct ahd_softc *ahd, struct scb *scb, in ahd_sg_setup()
438 ahd_setup_scb_common(struct ahd_softc *ahd, struct scb *scb) in ahd_setup_scb_common()
459 ahd_setup_data_scb(struct ahd_softc *ahd, struct scb *scb) in ahd_setup_data_scb()
496 ahd_setup_noxfer_scb(struct ahd_softc *ahd, struct scb *scb) in ahd_setup_noxfer_scb()
505 ahd_sg_bus_to_virt(struct ahd_softc *ahd, struct scb *scb, uint32_t sg_busaddr) in ahd_sg_bus_to_virt()
515 ahd_sg_virt_to_bus(struct ahd_softc *ahd, struct scb *scb, void *sg) in ahd_sg_virt_to_bus()
527 ahd_sync_scb(struct ahd_softc *ahd, struct scb *scb, int op) in ahd_sync_scb()
536 ahd_sync_sglist(struct ahd_softc *ahd, struct scb *scb, int op) in ahd_sync_sglist()
548 ahd_sync_sense(struct ahd_softc *ahd, struct scb *scb, int op) in ahd_sync_sense()
558 ahd_targetcmd_offset(struct ahd_softc *ahd, u_int index) in ahd_targetcmd_offset()
571 ahd_fetch_transinfo(struct ahd_softc *ahd, char channel, u_int our_id, in ahd_fetch_transinfo()
587 ahd_inw(struct ahd_softc *ahd, u_int port) in ahd_inw()
599 ahd_outw(struct ahd_softc *ahd, u_int port, u_int value) in ahd_outw()
610 ahd_inl(struct ahd_softc *ahd, u_int port) in ahd_inl()
619 ahd_outl(struct ahd_softc *ahd, u_int port, uint32_t value) in ahd_outl()
628 ahd_inq(struct ahd_softc *ahd, u_int port) in ahd_inq()
641 ahd_outq(struct ahd_softc *ahd, u_int port, uint64_t value) in ahd_outq()
654 ahd_get_scbptr(struct ahd_softc *ahd) in ahd_get_scbptr()
662 ahd_set_scbptr(struct ahd_softc *ahd, u_int scbptr) in ahd_set_scbptr()
672 ahd_get_hnscb_qoff(struct ahd_softc *ahd)
679 ahd_set_hnscb_qoff(struct ahd_softc *ahd, u_int value) in ahd_set_hnscb_qoff()
686 ahd_get_hescb_qoff(struct ahd_softc *ahd)
693 ahd_set_hescb_qoff(struct ahd_softc *ahd, u_int value) in ahd_set_hescb_qoff()
699 ahd_get_snscb_qoff(struct ahd_softc *ahd) in ahd_get_snscb_qoff()
710 ahd_set_snscb_qoff(struct ahd_softc *ahd, u_int value) in ahd_set_snscb_qoff()
718 ahd_get_sescb_qoff(struct ahd_softc *ahd)
726 ahd_set_sescb_qoff(struct ahd_softc *ahd, u_int value) in ahd_set_sescb_qoff()
734 ahd_get_sdscb_qoff(struct ahd_softc *ahd)
742 ahd_set_sdscb_qoff(struct ahd_softc *ahd, u_int value) in ahd_set_sdscb_qoff()
750 ahd_inb_scbram(struct ahd_softc *ahd, u_int offset) in ahd_inb_scbram()
775 ahd_inw_scbram(struct ahd_softc *ahd, u_int offset) in ahd_inw_scbram()
782 ahd_inl_scbram(struct ahd_softc *ahd, u_int offset) in ahd_inl_scbram()
789 ahd_inq_scbram(struct ahd_softc *ahd, u_int offset) in ahd_inq_scbram()
796 ahd_lookup_scb(struct ahd_softc *ahd, u_int tag) in ahd_lookup_scb()
810 ahd_swap_with_next_hscb(struct ahd_softc *ahd, struct scb *scb) in ahd_swap_with_next_hscb()
849 ahd_queue_scb(struct ahd_softc *ahd, struct scb *scb) in ahd_queue_scb()
895 ahd_sync_qoutfifo(struct ahd_softc *ahd, int op) in ahd_sync_qoutfifo()
903 ahd_sync_tqinfifo(struct ahd_softc *ahd, int op) in ahd_sync_tqinfifo()
923 ahd_check_cmdcmpltqueues(struct ahd_softc *ahd) in ahd_check_cmdcmpltqueues()
953 ahd_intr(struct ahd_softc *ahd) in ahd_intr()
1038 ahd_assert_atn(struct ahd_softc *ahd) in ahd_assert_atn()
1050 ahd_currently_packetized(struct ahd_softc *ahd) in ahd_currently_packetized()
1073 ahd_set_active_fifo(struct ahd_softc *ahd) in ahd_set_active_fifo()
1090 ahd_unbusy_tcl(struct ahd_softc *ahd, u_int tcl) in ahd_unbusy_tcl()
1100 ahd_update_residual(struct ahd_softc *ahd, struct scb *scb) in ahd_update_residual()
1110 ahd_complete_scb(struct ahd_softc *ahd, struct scb *scb) in ahd_complete_scb()
1127 ahd_restart(struct ahd_softc *ahd) in ahd_restart()
1171 ahd_clear_fifo(struct ahd_softc *ahd, u_int fifo) in ahd_clear_fifo()
1195 ahd_flush_qoutfifo(struct ahd_softc *ahd) in ahd_flush_qoutfifo()
1403 ahd_scb_active_in_fifo(struct ahd_softc *ahd, struct scb *scb) in ahd_scb_active_in_fifo()
1432 ahd_run_data_fifo(struct ahd_softc *ahd, struct scb *scb) in ahd_run_data_fifo()
1666 ahd_run_qoutfifo(struct ahd_softc *ahd) in ahd_run_qoutfifo()
1705 ahd_handle_hwerrint(struct ahd_softc *ahd) in ahd_handle_hwerrint()
1740 if ((scb->ahd_softc->flags & AHD_64BIT_ADDRESSING) != 0) { in ahd_dump_sglist()
1779 ahd_handle_seqint(struct ahd_softc *ahd, u_int intstat) in ahd_handle_seqint()
2391 ahd_handle_scsiint(struct ahd_softc *ahd, u_int intstat) in ahd_handle_scsiint()
2673 ahd_handle_transmission_error(struct ahd_softc *ahd) in ahd_handle_transmission_error()
2860 ahd_handle_lqiphase_error(struct ahd_softc *ahd, u_int lqistat1) in ahd_handle_lqiphase_error()
2902 ahd_handle_pkt_busfree(struct ahd_softc *ahd, u_int busfreetime) in ahd_handle_pkt_busfree()
3034 ahd_handle_nonpkt_busfree(struct ahd_softc *ahd) in ahd_handle_nonpkt_busfree()
3321 ahd_handle_proto_violation(struct ahd_softc *ahd) in ahd_handle_proto_violation()
3420 ahd_force_renegotiation(struct ahd_softc *ahd, struct ahd_devinfo *devinfo) in ahd_force_renegotiation()
3442 ahd_clear_critical_section(struct ahd_softc *ahd) in ahd_clear_critical_section()
3565 ahd_clear_intstat(struct ahd_softc *ahd) in ahd_clear_intstat()
3629 ahd_alloc_tstate(struct ahd_softc *ahd, u_int scsi_id, char channel) in ahd_alloc_tstate()
3671 ahd_free_tstate(struct ahd_softc *ahd, u_int scsi_id, char channel, int force) in ahd_free_tstate()
3697 ahd_devlimited_syncrate(struct ahd_softc *ahd, in ahd_devlimited_syncrate()
3746 ahd_find_syncrate(struct ahd_softc *ahd, u_int *period, in ahd_find_syncrate()
3785 ahd_validate_offset(struct ahd_softc *ahd, in ahd_validate_offset()
3816 ahd_validate_width(struct ahd_softc *ahd, struct ahd_initiator_tinfo *tinfo, in ahd_validate_width()
3846 ahd_update_neg_request(struct ahd_softc *ahd, struct ahd_devinfo *devinfo, in ahd_update_neg_request()
3889 ahd_set_syncrate(struct ahd_softc *ahd, struct ahd_devinfo *devinfo, in ahd_set_syncrate()
4035 ahd_set_width(struct ahd_softc *ahd, struct ahd_devinfo *devinfo, in ahd_set_width()
4089 ahd_set_tags(struct ahd_softc *ahd, struct scsi_cmnd *cmd, in ahd_set_tags()
4100 ahd_update_neg_table(struct ahd_softc *ahd, struct ahd_devinfo *devinfo, in ahd_update_neg_table()
4220 ahd_update_pending_scbs(struct ahd_softc *ahd) in ahd_update_pending_scbs()
4303 ahd_fetch_devinfo(struct ahd_softc *ahd, struct ahd_devinfo *devinfo) in ahd_fetch_devinfo()
4338 ahd_print_devinfo(struct ahd_softc *ahd, struct ahd_devinfo *devinfo) in ahd_print_devinfo()
4378 ahd_scb_devinfo(struct ahd_softc *ahd, struct ahd_devinfo *devinfo, in ahd_scb_devinfo()
4401 ahd_setup_initiator_msgout(struct ahd_softc *ahd, struct ahd_devinfo *devinfo, in ahd_setup_initiator_msgout()
4522 ahd_build_transfer_msg(struct ahd_softc *ahd, struct ahd_devinfo *devinfo) in ahd_build_transfer_msg()
4618 ahd_construct_sdtr(struct ahd_softc *ahd, struct ahd_devinfo *devinfo, in ahd_construct_sdtr()
4638 ahd_construct_wdtr(struct ahd_softc *ahd, struct ahd_devinfo *devinfo, in ahd_construct_wdtr()
4656 ahd_construct_ppr(struct ahd_softc *ahd, struct ahd_devinfo *devinfo, in ahd_construct_ppr()
4685 ahd_clear_msg_state(struct ahd_softc *ahd) in ahd_clear_msg_state()
4713 ahd_handle_message_phase(struct ahd_softc *ahd) in ahd_handle_message_phase()
5053 ahd_sent_msg(struct ahd_softc *ahd, ahd_msgtype type, u_int msgval, int full) in ahd_sent_msg()
5102 ahd_parse_msg(struct ahd_softc *ahd, struct ahd_devinfo *devinfo) in ahd_parse_msg()
5520 ahd_handle_msg_reject(struct ahd_softc *ahd, struct ahd_devinfo *devinfo) in ahd_handle_msg_reject()
5691 ahd_handle_ign_wide_residue(struct ahd_softc *ahd, struct ahd_devinfo *devinfo) in ahd_handle_ign_wide_residue()
5841 ahd_reinitialize_dataptrs(struct ahd_softc *ahd) in ahd_reinitialize_dataptrs()
5923 ahd_handle_devreset(struct ahd_softc *ahd, struct ahd_devinfo *devinfo, in ahd_handle_devreset()
5987 ahd_setup_target_msgin(struct ahd_softc *ahd, struct ahd_devinfo *devinfo, in ahd_setup_target_msgin()
6010 ahd_sglist_size(struct ahd_softc *ahd) in ahd_sglist_size()
6027 ahd_sglist_allocsize(struct ahd_softc *ahd) in ahd_sglist_allocsize()
6071 struct ahd_softc *
6074 struct ahd_softc *ahd; in ahd_alloc()
6131 ahd_softc_init(struct ahd_softc *ahd) in ahd_softc_init()
6140 ahd_set_unit(struct ahd_softc *ahd, int unit) in ahd_set_unit()
6146 ahd_set_name(struct ahd_softc *ahd, char *name) in ahd_set_name()
6154 ahd_free(struct ahd_softc *ahd) in ahd_free()
6231 struct ahd_softc *ahd; in ahd_shutdown()
6233 ahd = (struct ahd_softc *)arg; in ahd_shutdown()
6255 ahd_reset(struct ahd_softc *ahd, int reinit) in ahd_reset()
6358 ahd_probe_scbs(struct ahd_softc *ahd) { in ahd_probe_scbs()
6391 ahd_initialize_hscbs(struct ahd_softc *ahd) in ahd_initialize_hscbs()
6407 ahd_init_scbdata(struct ahd_softc *ahd) in ahd_init_scbdata()
6508 ahd_find_scb_by_tag(struct ahd_softc *ahd, u_int tag) in ahd_find_scb_by_tag()
6546 ahd_fini_scbdata(struct ahd_softc *ahd) in ahd_fini_scbdata()
6615 ahd_setup_iocell_workaround(struct ahd_softc *ahd) in ahd_setup_iocell_workaround()
6633 ahd_iocell_first_selection(struct ahd_softc *ahd) in ahd_iocell_first_selection()
6664 ahd_add_col_list(struct ahd_softc *ahd, struct scb *scb, u_int col_idx) in ahd_add_col_list()
6684 ahd_rem_col_list(struct ahd_softc *ahd, struct scb *scb) in ahd_rem_col_list()
6718 ahd_get_scb(struct ahd_softc *ahd, u_int col_idx) in ahd_get_scb()
6754 ahd_free_scb(struct ahd_softc *ahd, struct scb *scb) in ahd_free_scb()
6806 ahd_alloc_scbs(struct ahd_softc *ahd) in ahd_alloc_scbs()
6973 next_scb->ahd_softc = ahd; in ahd_alloc_scbs()
7004 ahd_controller_info(struct ahd_softc *ahd, char *buf) in ahd_controller_info()
7049 struct ahd_softc *ahd; in ahd_timer_reset()
7051 ahd = (struct ahd_softc *)arg; in ahd_timer_reset()
7063 ahd_init(struct ahd_softc *ahd) in ahd_init()
7291 ahd_chip_init(struct ahd_softc *ahd) in ahd_chip_init()
7633 ahd_default_config(struct ahd_softc *ahd) in ahd_default_config()
7710 ahd_parse_cfgdata(struct ahd_softc *ahd, struct seeprom_config *sc) in ahd_parse_cfgdata()
7844 ahd_parse_vpddata(struct ahd_softc *ahd, struct vpd_config *vpd) in ahd_parse_vpddata()
7857 ahd_intr_enable(struct ahd_softc *ahd, int enable) in ahd_intr_enable()
7874 ahd_update_coalescing_values(struct ahd_softc *ahd, u_int timer, u_int maxcmds, in ahd_update_coalescing_values()
7892 ahd_enable_coalescing(struct ahd_softc *ahd, int enable) in ahd_enable_coalescing()
7911 ahd_pause_and_flushwork(struct ahd_softc *ahd) in ahd_pause_and_flushwork()
7963 ahd_suspend(struct ahd_softc *ahd) in ahd_suspend()
7977 ahd_resume(struct ahd_softc *ahd) in ahd_resume()
7996 ahd_index_busy_tcl(struct ahd_softc *ahd, u_int *saved_scbid, u_int tcl) in ahd_index_busy_tcl()
8018 ahd_find_busy_tcl(struct ahd_softc *ahd, u_int tcl) in ahd_find_busy_tcl()
8031 ahd_busy_tcl(struct ahd_softc *ahd, u_int tcl, u_int scbid) in ahd_busy_tcl()
8043 ahd_match_scb(struct ahd_softc *ahd, struct scb *scb, int target, in ahd_match_scb()
8079 ahd_freeze_devq(struct ahd_softc *ahd, struct scb *scb) in ahd_freeze_devq()
8097 ahd_qinfifo_requeue_tail(struct ahd_softc *ahd, struct scb *scb) in ahd_qinfifo_requeue_tail()
8119 ahd_qinfifo_requeue(struct ahd_softc *ahd, struct scb *prev_scb, in ahd_qinfifo_requeue()
8139 ahd_qinfifo_count(struct ahd_softc *ahd) in ahd_qinfifo_count()
8157 ahd_reset_cmds_pending(struct ahd_softc *ahd) in ahd_reset_cmds_pending()
8182 ahd_done_with_status(struct ahd_softc *ahd, struct scb *scb, uint32_t status) in ahd_done_with_status()
8197 ahd_search_qinfifo(struct ahd_softc *ahd, int target, char channel, in ahd_search_qinfifo()
8427 ahd_search_scb_list(struct ahd_softc *ahd, int target, char channel, in ahd_search_scb_list()
8494 ahd_stitch_tid_list(struct ahd_softc *ahd, u_int tid_prev, in ahd_stitch_tid_list()
8532 ahd_rem_wscb(struct ahd_softc *ahd, u_int scbid, in ahd_rem_wscb()
8565 ahd_add_scb_to_free_list(struct ahd_softc *ahd, u_int scbid) in ahd_add_scb_to_free_list()
8583 ahd_abort_scbs(struct ahd_softc *ahd, int target, char channel, in ahd_abort_scbs()
8679 ahd_reset_current_bus(struct ahd_softc *ahd) in ahd_reset_current_bus()
8709 ahd_reset_channel(struct ahd_softc *ahd, char channel, int initiate_reset) in ahd_reset_channel()
8883 struct ahd_softc *ahd = arg; in ahd_stat_timer()
8918 ahd_handle_scsi_status(struct ahd_softc *ahd, struct scb *scb) in ahd_handle_scsi_status()
9126 ahd_handle_scb_status(struct ahd_softc *ahd, struct scb *scb) in ahd_handle_scb_status()
9140 ahd_calc_residual(struct ahd_softc *ahd, struct scb *scb) in ahd_calc_residual()
9243 ahd_queue_lstate_event(struct ahd_softc *ahd, struct ahd_tmode_lstate *lstate, in ahd_queue_lstate_event()
9294 ahd_send_lstate_events(struct ahd_softc *ahd, struct ahd_tmode_lstate *lstate) in ahd_send_lstate_events()
9330 ahd_dumpseq(struct ahd_softc* ahd) in ahd_dumpseq()
9352 ahd_loadseq(struct ahd_softc *ahd) in ahd_loadseq()
9512 ahd_check_patch(struct ahd_softc *ahd, const struct patch **start_patch, in ahd_check_patch()
9548 ahd_resolve_seqaddr(struct ahd_softc *ahd, u_int address) in ahd_resolve_seqaddr()
9577 ahd_download_instr(struct ahd_softc *ahd, u_int instrptr, uint8_t *dconsts) in ahd_download_instr()
9646 ahd_probe_stack_size(struct ahd_softc *ahd) in ahd_probe_stack_size()
9729 ahd_dump_card_state(struct ahd_softc *ahd) in ahd_dump_card_state()
9992 ahd_dump_scbs(struct ahd_softc *ahd)
10026 ahd_read_seeprom(struct ahd_softc *ahd, uint16_t *buf, in ahd_read_seeprom()
10071 ahd_write_seeprom(struct ahd_softc *ahd, uint16_t *buf, in ahd_write_seeprom()
10120 ahd_wait_seeprom(struct ahd_softc *ahd) in ahd_wait_seeprom()
10188 ahd_acquire_seeprom(struct ahd_softc *ahd) in ahd_acquire_seeprom()
10211 ahd_release_seeprom(struct ahd_softc *ahd) in ahd_release_seeprom()
10220 ahd_wait_flexport(struct ahd_softc *ahd) in ahd_wait_flexport()
10235 ahd_write_flexport(struct ahd_softc *ahd, u_int addr, u_int value) in ahd_write_flexport()
10258 ahd_read_flexport(struct ahd_softc *ahd, u_int addr, uint8_t *value) in ahd_read_flexport()
10278 ahd_find_tmode_devs(struct ahd_softc *ahd, struct cam_sim *sim, union ccb *ccb, in ahd_find_tmode_devs()
10319 ahd_handle_en_lun(struct ahd_softc *ahd, struct cam_sim *sim, union ccb *ccb) in ahd_handle_en_lun()
10632 ahd_update_scsiid(struct ahd_softc *ahd, u_int targid_mask) in ahd_update_scsiid()
10672 ahd_run_tqinfifo(struct ahd_softc *ahd, int paused) in ahd_run_tqinfifo()
10710 ahd_handle_target_cmd(struct ahd_softc *ahd, struct target_cmd *cmd) in ahd_handle_target_cmd()