Lines Matching defs: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()
329 #define AHD_ASSERT_MODES(ahd, source, dest) \ argument
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()
679 ahd_set_hnscb_qoff(struct ahd_softc *ahd, u_int value) in ahd_set_hnscb_qoff()
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()
726 ahd_set_sescb_qoff(struct ahd_softc *ahd, u_int value) in ahd_set_sescb_qoff()
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()
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()
6074 struct ahd_softc *ahd; in ahd_alloc() local
6130 ahd_softc_init(struct ahd_softc *ahd) in ahd_softc_init()
6139 ahd_set_unit(struct ahd_softc *ahd, int unit) in ahd_set_unit()
6145 ahd_set_name(struct ahd_softc *ahd, char *name) in ahd_set_name()
6153 ahd_free(struct ahd_softc *ahd) in ahd_free()
6230 struct ahd_softc *ahd; in ahd_shutdown() local
6253 ahd_reset(struct ahd_softc *ahd, int reinit) in ahd_reset()
6356 ahd_probe_scbs(struct ahd_softc *ahd) { in ahd_probe_scbs()
6389 ahd_initialize_hscbs(struct ahd_softc *ahd) in ahd_initialize_hscbs()
6405 ahd_init_scbdata(struct ahd_softc *ahd) in ahd_init_scbdata()
6506 ahd_find_scb_by_tag(struct ahd_softc *ahd, u_int tag) in ahd_find_scb_by_tag()
6544 ahd_fini_scbdata(struct ahd_softc *ahd) in ahd_fini_scbdata()
6613 ahd_setup_iocell_workaround(struct ahd_softc *ahd) in ahd_setup_iocell_workaround()
6631 ahd_iocell_first_selection(struct ahd_softc *ahd) in ahd_iocell_first_selection()
6662 ahd_add_col_list(struct ahd_softc *ahd, struct scb *scb, u_int col_idx) in ahd_add_col_list()
6682 ahd_rem_col_list(struct ahd_softc *ahd, struct scb *scb) in ahd_rem_col_list()
6716 ahd_get_scb(struct ahd_softc *ahd, u_int col_idx) in ahd_get_scb()
6752 ahd_free_scb(struct ahd_softc *ahd, struct scb *scb) in ahd_free_scb()
6804 ahd_alloc_scbs(struct ahd_softc *ahd) in ahd_alloc_scbs()
7002 ahd_controller_info(struct ahd_softc *ahd, char *buf) in ahd_controller_info()
7052 ahd_init(struct ahd_softc *ahd) in ahd_init()
7280 ahd_chip_init(struct ahd_softc *ahd) in ahd_chip_init()
7622 ahd_default_config(struct ahd_softc *ahd) in ahd_default_config()
7699 ahd_parse_cfgdata(struct ahd_softc *ahd, struct seeprom_config *sc) in ahd_parse_cfgdata()
7833 ahd_parse_vpddata(struct ahd_softc *ahd, struct vpd_config *vpd) in ahd_parse_vpddata()
7846 ahd_intr_enable(struct ahd_softc *ahd, int enable) in ahd_intr_enable()
7863 ahd_update_coalescing_values(struct ahd_softc *ahd, u_int timer, u_int maxcmds, in ahd_update_coalescing_values()
7881 ahd_enable_coalescing(struct ahd_softc *ahd, int enable) in ahd_enable_coalescing()
7900 ahd_pause_and_flushwork(struct ahd_softc *ahd) in ahd_pause_and_flushwork()
7952 ahd_suspend(struct ahd_softc *ahd) in ahd_suspend()
7966 ahd_resume(struct ahd_softc *ahd) in ahd_resume()
7985 ahd_index_busy_tcl(struct ahd_softc *ahd, u_int *saved_scbid, u_int tcl) in ahd_index_busy_tcl()
8007 ahd_find_busy_tcl(struct ahd_softc *ahd, u_int tcl) in ahd_find_busy_tcl()
8020 ahd_busy_tcl(struct ahd_softc *ahd, u_int tcl, u_int scbid) in ahd_busy_tcl()
8032 ahd_match_scb(struct ahd_softc *ahd, struct scb *scb, int target, in ahd_match_scb()
8068 ahd_freeze_devq(struct ahd_softc *ahd, struct scb *scb) in ahd_freeze_devq()
8086 ahd_qinfifo_requeue_tail(struct ahd_softc *ahd, struct scb *scb) in ahd_qinfifo_requeue_tail()
8108 ahd_qinfifo_requeue(struct ahd_softc *ahd, struct scb *prev_scb, in ahd_qinfifo_requeue()
8128 ahd_qinfifo_count(struct ahd_softc *ahd) in ahd_qinfifo_count()
8146 ahd_reset_cmds_pending(struct ahd_softc *ahd) in ahd_reset_cmds_pending()
8171 ahd_done_with_status(struct ahd_softc *ahd, struct scb *scb, uint32_t status) in ahd_done_with_status()
8186 ahd_search_qinfifo(struct ahd_softc *ahd, int target, char channel, in ahd_search_qinfifo()
8416 ahd_search_scb_list(struct ahd_softc *ahd, int target, char channel, in ahd_search_scb_list()
8483 ahd_stitch_tid_list(struct ahd_softc *ahd, u_int tid_prev, in ahd_stitch_tid_list()
8521 ahd_rem_wscb(struct ahd_softc *ahd, u_int scbid, in ahd_rem_wscb()
8554 ahd_add_scb_to_free_list(struct ahd_softc *ahd, u_int scbid) in ahd_add_scb_to_free_list()
8572 ahd_abort_scbs(struct ahd_softc *ahd, int target, char channel, in ahd_abort_scbs()
8668 ahd_reset_current_bus(struct ahd_softc *ahd) in ahd_reset_current_bus()
8698 ahd_reset_channel(struct ahd_softc *ahd, char channel, int initiate_reset) in ahd_reset_channel()
8872 struct ahd_softc *ahd = from_timer(ahd, t, stat_timer); in ahd_stat_timer() local
8906 ahd_handle_scsi_status(struct ahd_softc *ahd, struct scb *scb) in ahd_handle_scsi_status()
9114 ahd_handle_scb_status(struct ahd_softc *ahd, struct scb *scb) in ahd_handle_scb_status()
9128 ahd_calc_residual(struct ahd_softc *ahd, struct scb *scb) in ahd_calc_residual()
9231 ahd_queue_lstate_event(struct ahd_softc *ahd, struct ahd_tmode_lstate *lstate, in ahd_queue_lstate_event()
9282 ahd_send_lstate_events(struct ahd_softc *ahd, struct ahd_tmode_lstate *lstate) in ahd_send_lstate_events()
9318 ahd_dumpseq(struct ahd_softc* ahd) in ahd_dumpseq()
9340 ahd_loadseq(struct ahd_softc *ahd) in ahd_loadseq()
9500 ahd_check_patch(struct ahd_softc *ahd, const struct patch **start_patch, in ahd_check_patch()
9536 ahd_resolve_seqaddr(struct ahd_softc *ahd, u_int address) in ahd_resolve_seqaddr()
9565 ahd_download_instr(struct ahd_softc *ahd, u_int instrptr, uint8_t *dconsts) in ahd_download_instr()
9634 ahd_probe_stack_size(struct ahd_softc *ahd) in ahd_probe_stack_size()
9717 ahd_dump_card_state(struct ahd_softc *ahd) in ahd_dump_card_state()
10014 ahd_read_seeprom(struct ahd_softc *ahd, uint16_t *buf, in ahd_read_seeprom()
10059 ahd_write_seeprom(struct ahd_softc *ahd, uint16_t *buf, in ahd_write_seeprom()
10108 ahd_wait_seeprom(struct ahd_softc *ahd) in ahd_wait_seeprom()
10176 ahd_acquire_seeprom(struct ahd_softc *ahd) in ahd_acquire_seeprom()
10199 ahd_release_seeprom(struct ahd_softc *ahd) in ahd_release_seeprom()
10208 ahd_wait_flexport(struct ahd_softc *ahd) in ahd_wait_flexport()
10223 ahd_write_flexport(struct ahd_softc *ahd, u_int addr, u_int value) in ahd_write_flexport()
10246 ahd_read_flexport(struct ahd_softc *ahd, u_int addr, uint8_t *value) in ahd_read_flexport()
10266 ahd_find_tmode_devs(struct ahd_softc *ahd, struct cam_sim *sim, union ccb *ccb, in ahd_find_tmode_devs()
10307 ahd_handle_en_lun(struct ahd_softc *ahd, struct cam_sim *sim, union ccb *ccb) in ahd_handle_en_lun()
10620 ahd_update_scsiid(struct ahd_softc *ahd, u_int targid_mask) in ahd_update_scsiid()
10660 ahd_run_tqinfifo(struct ahd_softc *ahd, int paused) in ahd_run_tqinfifo()
10698 ahd_handle_target_cmd(struct ahd_softc *ahd, struct target_cmd *cmd) in ahd_handle_target_cmd()