H A D | aic79xx_core.c | 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, 283 ahd_set_modes(struct ahd_softc *ahd, ahd_mode src, ahd_mode dst) argument 301 ahd_update_modes(struct ahd_softc *ahd) argument 317 ahd_assert_modes(struct ahd_softc *ahd, ahd_mode srcmode, ahd_mode dstmode, const char *file, int line) argument 333 ahd_save_modes(struct ahd_softc *ahd) argument 343 ahd_restore_modes(struct ahd_softc *ahd, ahd_mode_state state) argument 357 ahd_is_paused(struct ahd_softc *ahd) argument 370 ahd_pause(struct ahd_softc *ahd) argument 393 ahd_unpause(struct ahd_softc *ahd) argument 414 ahd_sg_setup(struct ahd_softc *ahd, struct scb *scb, void *sgptr, dma_addr_t addr, bus_size_t len, int last) argument 438 ahd_setup_scb_common(struct ahd_softc *ahd, struct scb *scb) argument 459 ahd_setup_data_scb(struct ahd_softc *ahd, struct scb *scb) argument 496 ahd_setup_noxfer_scb(struct ahd_softc *ahd, struct scb *scb) argument 505 ahd_sg_bus_to_virt(struct ahd_softc *ahd, struct scb *scb, uint32_t sg_busaddr) argument 515 ahd_sg_virt_to_bus(struct ahd_softc *ahd, struct scb *scb, void *sg) argument 527 ahd_sync_scb(struct ahd_softc *ahd, struct scb *scb, int op) argument 536 ahd_sync_sglist(struct ahd_softc *ahd, struct scb *scb, int op) argument 548 ahd_sync_sense(struct ahd_softc *ahd, struct scb *scb, int op) argument 558 ahd_targetcmd_offset(struct ahd_softc *ahd, u_int index) argument 571 ahd_fetch_transinfo(struct ahd_softc *ahd, char channel, u_int our_id, u_int remote_id, struct ahd_tmode_tstate **tstate) argument 587 ahd_inw(struct ahd_softc *ahd, u_int port) argument 599 ahd_outw(struct ahd_softc *ahd, u_int port, u_int value) argument 610 ahd_inl(struct ahd_softc *ahd, u_int port) argument 619 ahd_outl(struct ahd_softc *ahd, u_int port, uint32_t value) argument 628 ahd_inq(struct ahd_softc *ahd, u_int port) argument 641 ahd_outq(struct ahd_softc *ahd, u_int port, uint64_t value) argument 654 ahd_get_scbptr(struct ahd_softc *ahd) argument 662 ahd_set_scbptr(struct ahd_softc *ahd, u_int scbptr) argument 679 ahd_set_hnscb_qoff(struct ahd_softc *ahd, u_int value) argument 693 ahd_set_hescb_qoff(struct ahd_softc *ahd, u_int value) argument 699 ahd_get_snscb_qoff(struct ahd_softc *ahd) argument 710 ahd_set_snscb_qoff(struct ahd_softc *ahd, u_int value) argument 726 ahd_set_sescb_qoff(struct ahd_softc *ahd, u_int value) argument 742 ahd_set_sdscb_qoff(struct ahd_softc *ahd, u_int value) argument 750 ahd_inb_scbram(struct ahd_softc *ahd, u_int offset) argument 775 ahd_inw_scbram(struct ahd_softc *ahd, u_int offset) argument 782 ahd_inl_scbram(struct ahd_softc *ahd, u_int offset) argument 789 ahd_inq_scbram(struct ahd_softc *ahd, u_int offset) argument 796 ahd_lookup_scb(struct ahd_softc *ahd, u_int tag) argument 810 ahd_swap_with_next_hscb(struct ahd_softc *ahd, struct scb *scb) argument 849 ahd_queue_scb(struct ahd_softc *ahd, struct scb *scb) argument 895 ahd_sync_qoutfifo(struct ahd_softc *ahd, int op) argument 903 ahd_sync_tqinfifo(struct ahd_softc *ahd, int op) argument 923 ahd_check_cmdcmpltqueues(struct ahd_softc *ahd) argument 953 ahd_intr(struct ahd_softc *ahd) argument 1038 ahd_assert_atn(struct ahd_softc *ahd) argument 1050 ahd_currently_packetized(struct ahd_softc *ahd) argument 1073 ahd_set_active_fifo(struct ahd_softc *ahd) argument 1090 ahd_unbusy_tcl(struct ahd_softc *ahd, u_int tcl) argument 1100 ahd_update_residual(struct ahd_softc *ahd, struct scb *scb) argument 1110 ahd_complete_scb(struct ahd_softc *ahd, struct scb *scb) argument 1127 ahd_restart(struct ahd_softc *ahd) argument 1171 ahd_clear_fifo(struct ahd_softc *ahd, u_int fifo) argument 1195 ahd_flush_qoutfifo(struct ahd_softc *ahd) argument 1403 ahd_scb_active_in_fifo(struct ahd_softc *ahd, struct scb *scb) argument 1432 ahd_run_data_fifo(struct ahd_softc *ahd, struct scb *scb) argument 1666 ahd_run_qoutfifo(struct ahd_softc *ahd) argument 1705 ahd_handle_hwerrint(struct ahd_softc *ahd) argument 1779 ahd_handle_seqint(struct ahd_softc *ahd, u_int intstat) argument 2391 ahd_handle_scsiint(struct ahd_softc *ahd, u_int intstat) argument 2673 ahd_handle_transmission_error(struct ahd_softc *ahd) argument 2860 ahd_handle_lqiphase_error(struct ahd_softc *ahd, u_int lqistat1) argument 2902 ahd_handle_pkt_busfree(struct ahd_softc *ahd, u_int busfreetime) argument 3034 ahd_handle_nonpkt_busfree(struct ahd_softc *ahd) argument 3321 ahd_handle_proto_violation(struct ahd_softc *ahd) argument 3420 ahd_force_renegotiation(struct ahd_softc *ahd, struct ahd_devinfo *devinfo) argument 3442 ahd_clear_critical_section(struct ahd_softc *ahd) argument 3565 ahd_clear_intstat(struct ahd_softc *ahd) argument 3629 ahd_alloc_tstate(struct ahd_softc *ahd, u_int scsi_id, char channel) argument 3671 ahd_free_tstate(struct ahd_softc *ahd, u_int scsi_id, char channel, int force) argument 3697 ahd_devlimited_syncrate(struct ahd_softc *ahd, struct ahd_initiator_tinfo *tinfo, u_int *period, u_int *ppr_options, role_t role) argument 3746 ahd_find_syncrate(struct ahd_softc *ahd, u_int *period, u_int *ppr_options, u_int maxsync) argument 3785 ahd_validate_offset(struct ahd_softc *ahd, struct ahd_initiator_tinfo *tinfo, u_int period, u_int *offset, int wide, role_t role) argument 3816 ahd_validate_width(struct ahd_softc *ahd, struct ahd_initiator_tinfo *tinfo, u_int *bus_width, role_t role) argument 3846 ahd_update_neg_request(struct ahd_softc *ahd, struct ahd_devinfo *devinfo, struct ahd_tmode_tstate *tstate, struct ahd_initiator_tinfo *tinfo, ahd_neg_type neg_type) argument 3889 ahd_set_syncrate(struct ahd_softc *ahd, struct ahd_devinfo *devinfo, u_int period, u_int offset, u_int ppr_options, u_int type, int paused) argument 4035 ahd_set_width(struct ahd_softc *ahd, struct ahd_devinfo *devinfo, u_int width, u_int type, int paused) argument 4089 ahd_set_tags(struct ahd_softc *ahd, struct scsi_cmnd *cmd, struct ahd_devinfo *devinfo, ahd_queue_alg alg) argument 4100 ahd_update_neg_table(struct ahd_softc *ahd, struct ahd_devinfo *devinfo, struct ahd_transinfo *tinfo) argument 4220 ahd_update_pending_scbs(struct ahd_softc *ahd) argument 4303 ahd_fetch_devinfo(struct ahd_softc *ahd, struct ahd_devinfo *devinfo) argument 4338 ahd_print_devinfo(struct ahd_softc *ahd, struct ahd_devinfo *devinfo) argument 4378 ahd_scb_devinfo(struct ahd_softc *ahd, struct ahd_devinfo *devinfo, struct scb *scb) argument 4401 ahd_setup_initiator_msgout(struct ahd_softc *ahd, struct ahd_devinfo *devinfo, struct scb *scb) argument 4522 ahd_build_transfer_msg(struct ahd_softc *ahd, struct ahd_devinfo *devinfo) argument 4618 ahd_construct_sdtr(struct ahd_softc *ahd, struct ahd_devinfo *devinfo, u_int period, u_int offset) argument 4638 ahd_construct_wdtr(struct ahd_softc *ahd, struct ahd_devinfo *devinfo, u_int bus_width) argument 4656 ahd_construct_ppr(struct ahd_softc *ahd, struct ahd_devinfo *devinfo, u_int period, u_int offset, u_int bus_width, u_int ppr_options) argument 4685 ahd_clear_msg_state(struct ahd_softc *ahd) argument 4713 ahd_handle_message_phase(struct ahd_softc *ahd) argument 5053 ahd_sent_msg(struct ahd_softc *ahd, ahd_msgtype type, u_int msgval, int full) argument 5102 ahd_parse_msg(struct ahd_softc *ahd, struct ahd_devinfo *devinfo) argument 5520 ahd_handle_msg_reject(struct ahd_softc *ahd, struct ahd_devinfo *devinfo) argument 5691 ahd_handle_ign_wide_residue(struct ahd_softc *ahd, struct ahd_devinfo *devinfo) argument 5841 ahd_reinitialize_dataptrs(struct ahd_softc *ahd) argument 5923 ahd_handle_devreset(struct ahd_softc *ahd, struct ahd_devinfo *devinfo, u_int lun, cam_status status, char *message, int verbose_level) argument 5987 ahd_setup_target_msgin(struct ahd_softc *ahd, struct ahd_devinfo *devinfo, struct scb *scb) argument 6010 ahd_sglist_size(struct ahd_softc *ahd) argument 6027 ahd_sglist_allocsize(struct ahd_softc *ahd) argument 6074 struct ahd_softc *ahd; local 6131 ahd_softc_init(struct ahd_softc *ahd) argument 6140 ahd_set_unit(struct ahd_softc *ahd, int unit) argument 6146 ahd_set_name(struct ahd_softc *ahd, char *name) argument 6154 ahd_free(struct ahd_softc *ahd) argument 6231 struct ahd_softc *ahd; local 6255 ahd_reset(struct ahd_softc *ahd, int reinit) argument 6358 ahd_probe_scbs(struct ahd_softc *ahd) argument 6391 ahd_initialize_hscbs(struct ahd_softc *ahd) argument 6407 ahd_init_scbdata(struct ahd_softc *ahd) argument 6508 ahd_find_scb_by_tag(struct ahd_softc *ahd, u_int tag) argument 6546 ahd_fini_scbdata(struct ahd_softc *ahd) argument 6615 ahd_setup_iocell_workaround(struct ahd_softc *ahd) argument 6633 ahd_iocell_first_selection(struct ahd_softc *ahd) argument 6664 ahd_add_col_list(struct ahd_softc *ahd, struct scb *scb, u_int col_idx) argument 6684 ahd_rem_col_list(struct ahd_softc *ahd, struct scb *scb) argument 6718 ahd_get_scb(struct ahd_softc *ahd, u_int col_idx) argument 6754 ahd_free_scb(struct ahd_softc *ahd, struct scb *scb) argument 6806 ahd_alloc_scbs(struct ahd_softc *ahd) argument 7004 ahd_controller_info(struct ahd_softc *ahd, char *buf) argument 7049 struct ahd_softc *ahd; local 7063 ahd_init(struct ahd_softc *ahd) argument 7291 ahd_chip_init(struct ahd_softc *ahd) argument 7633 ahd_default_config(struct ahd_softc *ahd) argument 7710 ahd_parse_cfgdata(struct ahd_softc *ahd, struct seeprom_config *sc) argument 7844 ahd_parse_vpddata(struct ahd_softc *ahd, struct vpd_config *vpd) argument 7857 ahd_intr_enable(struct ahd_softc *ahd, int enable) argument 7874 ahd_update_coalescing_values(struct ahd_softc *ahd, u_int timer, u_int maxcmds, u_int mincmds) argument 7892 ahd_enable_coalescing(struct ahd_softc *ahd, int enable) argument 7911 ahd_pause_and_flushwork(struct ahd_softc *ahd) argument 7963 ahd_suspend(struct ahd_softc *ahd) argument 7977 ahd_resume(struct ahd_softc *ahd) argument 7996 ahd_index_busy_tcl(struct ahd_softc *ahd, u_int *saved_scbid, u_int tcl) argument 8018 ahd_find_busy_tcl(struct ahd_softc *ahd, u_int tcl) argument 8031 ahd_busy_tcl(struct ahd_softc *ahd, u_int tcl, u_int scbid) argument 8043 ahd_match_scb(struct ahd_softc *ahd, struct scb *scb, int target, char channel, int lun, u_int tag, role_t role) argument 8079 ahd_freeze_devq(struct ahd_softc *ahd, struct scb *scb) argument 8097 ahd_qinfifo_requeue_tail(struct ahd_softc *ahd, struct scb *scb) argument 8119 ahd_qinfifo_requeue(struct ahd_softc *ahd, struct scb *prev_scb, struct scb *scb) argument 8139 ahd_qinfifo_count(struct ahd_softc *ahd) argument 8157 ahd_reset_cmds_pending(struct ahd_softc *ahd) argument 8182 ahd_done_with_status(struct ahd_softc *ahd, struct scb *scb, uint32_t status) argument 8197 ahd_search_qinfifo(struct ahd_softc *ahd, int target, char channel, int lun, u_int tag, role_t role, uint32_t status, ahd_search_action action) argument 8427 ahd_search_scb_list(struct ahd_softc *ahd, int target, char channel, int lun, u_int tag, role_t role, uint32_t status, ahd_search_action action, u_int *list_head, u_int *list_tail, u_int tid) argument 8494 ahd_stitch_tid_list(struct ahd_softc *ahd, u_int tid_prev, u_int tid_cur, u_int tid_next) argument 8532 ahd_rem_wscb(struct ahd_softc *ahd, u_int scbid, u_int prev, u_int next, u_int tid) argument 8565 ahd_add_scb_to_free_list(struct ahd_softc *ahd, u_int scbid) argument 8583 ahd_abort_scbs(struct ahd_softc *ahd, int target, char channel, int lun, u_int tag, role_t role, uint32_t status) argument 8679 ahd_reset_current_bus(struct ahd_softc *ahd) argument 8709 ahd_reset_channel(struct ahd_softc *ahd, char channel, int initiate_reset) argument 8883 struct ahd_softc *ahd = arg; local 8918 ahd_handle_scsi_status(struct ahd_softc *ahd, struct scb *scb) argument 9126 ahd_handle_scb_status(struct ahd_softc *ahd, struct scb *scb) argument 9140 ahd_calc_residual(struct ahd_softc *ahd, struct scb *scb) argument 9243 ahd_queue_lstate_event(struct ahd_softc *ahd, struct ahd_tmode_lstate *lstate, u_int initiator_id, u_int event_type, u_int event_arg) argument 9294 ahd_send_lstate_events(struct ahd_softc *ahd, struct ahd_tmode_lstate *lstate) argument 9330 ahd_dumpseq(struct ahd_softc* ahd) argument 9352 ahd_loadseq(struct ahd_softc *ahd) argument 9512 ahd_check_patch(struct ahd_softc *ahd, const struct patch **start_patch, u_int start_instr, u_int *skip_addr) argument 9548 ahd_resolve_seqaddr(struct ahd_softc *ahd, u_int address) argument 9577 ahd_download_instr(struct ahd_softc *ahd, u_int instrptr, uint8_t *dconsts) argument 9646 ahd_probe_stack_size(struct ahd_softc *ahd) argument 9729 ahd_dump_card_state(struct ahd_softc *ahd) argument 10026 ahd_read_seeprom(struct ahd_softc *ahd, uint16_t *buf, u_int start_addr, u_int count, int bytestream) argument 10071 ahd_write_seeprom(struct ahd_softc *ahd, uint16_t *buf, u_int start_addr, u_int count) argument 10120 ahd_wait_seeprom(struct ahd_softc *ahd) argument 10188 ahd_acquire_seeprom(struct ahd_softc *ahd) argument 10211 ahd_release_seeprom(struct ahd_softc *ahd) argument 10220 ahd_wait_flexport(struct ahd_softc *ahd) argument 10235 ahd_write_flexport(struct ahd_softc *ahd, u_int addr, u_int value) argument 10258 ahd_read_flexport(struct ahd_softc *ahd, u_int addr, uint8_t *value) argument 10278 ahd_find_tmode_devs(struct ahd_softc *ahd, struct cam_sim *sim, union ccb *ccb, struct ahd_tmode_tstate **tstate, struct ahd_tmode_lstate **lstate, int notfound_failure) argument 10319 ahd_handle_en_lun(struct ahd_softc *ahd, struct cam_sim *sim, union ccb *ccb) argument 10633 ahd_update_scsiid(struct ahd_softc *ahd, u_int targid_mask) argument 10673 ahd_run_tqinfifo(struct ahd_softc *ahd, int paused) argument 10711 ahd_handle_target_cmd(struct ahd_softc *ahd, struct target_cmd *cmd) argument [all...] |