H A D | aic79xx.c | 112 static void ahd_handle_transmission_error(struct ahd_softc *ahd); 113 static void ahd_handle_lqiphase_error(struct ahd_softc *ahd, 115 static int ahd_handle_pkt_busfree(struct ahd_softc *ahd, 117 static int ahd_handle_nonpkt_busfree(struct ahd_softc *ahd); 118 static void ahd_handle_proto_violation(struct ahd_softc *ahd); 119 static void ahd_force_renegotiation(struct ahd_softc *ahd, 123 ahd_alloc_tstate(struct ahd_softc *ahd, 126 static void ahd_free_tstate(struct ahd_softc *ahd, 129 static void ahd_devlimited_syncrate(struct ahd_softc *ahd, 134 static void ahd_update_neg_table(struct ahd_softc *ahd, 256 ahd_assert_atn(struct ahd_softc *ahd) argument 268 ahd_currently_packetized(struct ahd_softc *ahd) argument 291 ahd_set_active_fifo(struct ahd_softc *ahd) argument 312 ahd_restart(struct ahd_softc *ahd) argument 356 ahd_clear_fifo(struct ahd_softc *ahd, u_int fifo) argument 380 ahd_flush_qoutfifo(struct ahd_softc *ahd) argument 592 ahd_scb_active_in_fifo(struct ahd_softc *ahd, struct scb *scb) argument 621 ahd_run_data_fifo(struct ahd_softc *ahd, struct scb *scb) argument 855 ahd_run_qoutfifo(struct ahd_softc *ahd) argument 895 ahd_handle_hwerrint(struct ahd_softc *ahd) argument 926 ahd_handle_seqint(struct ahd_softc *ahd, u_int intstat) argument 1536 ahd_handle_scsiint(struct ahd_softc *ahd, u_int intstat) argument 1814 ahd_handle_transmission_error(struct ahd_softc *ahd) argument 2004 ahd_handle_lqiphase_error(struct ahd_softc *ahd, u_int lqistat1) argument 2049 ahd_handle_pkt_busfree(struct ahd_softc *ahd, u_int busfreetime) argument 2184 ahd_handle_nonpkt_busfree(struct ahd_softc *ahd) argument 2463 ahd_handle_proto_violation(struct ahd_softc *ahd) argument 2568 ahd_force_renegotiation(struct ahd_softc *ahd, struct ahd_devinfo *devinfo) argument 2590 ahd_clear_critical_section(struct ahd_softc *ahd) argument 2714 ahd_clear_intstat(struct ahd_softc *ahd) argument 2816 ahd_alloc_tstate(struct ahd_softc *ahd, u_int scsi_id, char channel) argument 2858 ahd_free_tstate(struct ahd_softc *ahd, u_int scsi_id, char channel, int force) argument 2884 ahd_devlimited_syncrate(struct ahd_softc *ahd, struct ahd_initiator_tinfo *tinfo, u_int *period, u_int *ppr_options, role_t role) argument 2933 ahd_find_syncrate(struct ahd_softc *ahd, u_int *period, u_int *ppr_options, u_int maxsync) argument 2972 ahd_validate_offset(struct ahd_softc *ahd, struct ahd_initiator_tinfo *tinfo, u_int period, u_int *offset, int wide, role_t role) argument 3003 ahd_validate_width(struct ahd_softc *ahd, struct ahd_initiator_tinfo *tinfo, u_int *bus_width, role_t role) argument 3033 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 3076 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 3222 ahd_set_width(struct ahd_softc *ahd, struct ahd_devinfo *devinfo, u_int width, u_int type, int paused) argument 3276 ahd_set_tags(struct ahd_softc *ahd, struct ahd_devinfo *devinfo, ahd_queue_alg alg) argument 3285 ahd_update_neg_table(struct ahd_softc *ahd, struct ahd_devinfo *devinfo, struct ahd_transinfo *tinfo) argument 3396 ahd_update_pending_scbs(struct ahd_softc *ahd) argument 3478 ahd_fetch_devinfo(struct ahd_softc *ahd, struct ahd_devinfo *devinfo) argument 3513 ahd_print_devinfo(struct ahd_softc *ahd, struct ahd_devinfo *devinfo) argument 3553 ahd_scb_devinfo(struct ahd_softc *ahd, struct ahd_devinfo *devinfo, struct scb *scb) argument 3576 ahd_setup_initiator_msgout(struct ahd_softc *ahd, struct ahd_devinfo *devinfo, struct scb *scb) argument 3701 ahd_build_transfer_msg(struct ahd_softc *ahd, struct ahd_devinfo *devinfo) argument 3797 ahd_construct_sdtr(struct ahd_softc *ahd, struct ahd_devinfo *devinfo, u_int period, u_int offset) argument 3820 ahd_construct_wdtr(struct ahd_softc *ahd, struct ahd_devinfo *devinfo, u_int bus_width) argument 3840 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 3874 ahd_clear_msg_state(struct ahd_softc *ahd) argument 3902 ahd_handle_message_phase(struct ahd_softc *ahd) argument 4242 ahd_sent_msg(struct ahd_softc *ahd, ahd_msgtype type, u_int msgval, int full) argument 4291 ahd_parse_msg(struct ahd_softc *ahd, struct ahd_devinfo *devinfo) argument 4709 ahd_handle_msg_reject(struct ahd_softc *ahd, struct ahd_devinfo *devinfo) argument 4880 ahd_handle_ign_wide_residue(struct ahd_softc *ahd, struct ahd_devinfo *devinfo) argument 5030 ahd_reinitialize_dataptrs(struct ahd_softc *ahd) argument 5112 ahd_handle_devreset(struct ahd_softc *ahd, struct ahd_devinfo *devinfo, u_int lun, cam_status status, char *message, int verbose_level) argument 5179 ahd_setup_target_msgin(struct ahd_softc *ahd, struct ahd_devinfo *devinfo, struct scb *scb) argument 5202 ahd_sglist_size(struct ahd_softc *ahd) argument 5219 ahd_sglist_allocsize(struct ahd_softc *ahd) argument 5266 struct ahd_softc *ahd; local 5326 ahd_softc_init(struct ahd_softc *ahd) argument 5335 ahd_softc_insert(struct ahd_softc *ahd) argument 5387 ahd_set_unit(struct ahd_softc *ahd, int unit) argument 5393 ahd_set_name(struct ahd_softc *ahd, char *name) argument 5401 ahd_free(struct ahd_softc *ahd) argument 5477 struct ahd_softc *ahd; local 5501 ahd_reset(struct ahd_softc *ahd, int reinit) argument 5605 ahd_probe_scbs(struct ahd_softc *ahd) argument 5638 ahd_initialize_hscbs(struct ahd_softc *ahd) argument 5654 ahd_init_scbdata(struct ahd_softc *ahd) argument 5757 ahd_find_scb_by_tag(struct ahd_softc *ahd, u_int tag) argument 5795 ahd_fini_scbdata(struct ahd_softc *ahd) argument 5864 ahd_setup_iocell_workaround(struct ahd_softc *ahd) argument 5882 ahd_iocell_first_selection(struct ahd_softc *ahd) argument 5913 ahd_add_col_list(struct ahd_softc *ahd, struct scb *scb, u_int col_idx) argument 5933 ahd_rem_col_list(struct ahd_softc *ahd, struct scb *scb) argument 5967 ahd_get_scb(struct ahd_softc *ahd, u_int col_idx) argument 6004 ahd_free_scb(struct ahd_softc *ahd, struct scb *scb) argument 6057 ahd_alloc_scbs(struct ahd_softc *ahd) argument 6261 ahd_controller_info(struct ahd_softc *ahd, char *buf) argument 6302 ahd_init(struct ahd_softc *ahd) argument 6532 ahd_chip_init(struct ahd_softc *ahd) argument 6862 ahd_default_config(struct ahd_softc *ahd) argument 6940 ahd_parse_cfgdata(struct ahd_softc *ahd, struct seeprom_config *sc) argument 7075 ahd_parse_vpddata(struct ahd_softc *ahd, struct vpd_config *vpd) argument 7088 ahd_intr_enable(struct ahd_softc *ahd, int enable) argument 7105 ahd_update_coalescing_values(struct ahd_softc *ahd, u_int timer, u_int maxcmds, u_int mincmds) argument 7123 ahd_enable_coalescing(struct ahd_softc *ahd, int enable) argument 7142 ahd_pause_and_flushwork(struct ahd_softc *ahd) argument 7195 ahd_suspend(struct ahd_softc *ahd) argument 7209 ahd_resume(struct ahd_softc *ahd) argument 7228 ahd_index_busy_tcl(struct ahd_softc *ahd, u_int *saved_scbid, u_int tcl) argument 7250 ahd_find_busy_tcl(struct ahd_softc *ahd, u_int tcl) argument 7263 ahd_busy_tcl(struct ahd_softc *ahd, u_int tcl, u_int scbid) argument 7275 ahd_match_scb(struct ahd_softc *ahd, struct scb *scb, int target, char channel, int lun, u_int tag, role_t role) argument 7311 ahd_freeze_devq(struct ahd_softc *ahd, struct scb *scb) argument 7329 ahd_qinfifo_requeue_tail(struct ahd_softc *ahd, struct scb *scb) argument 7351 ahd_qinfifo_requeue(struct ahd_softc *ahd, struct scb *prev_scb, struct scb *scb) argument 7371 ahd_qinfifo_count(struct ahd_softc *ahd) argument 7389 ahd_reset_cmds_pending(struct ahd_softc *ahd) argument 7414 ahd_done_with_status(struct ahd_softc *ahd, struct scb *scb, uint32_t status) argument 7429 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 7660 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 7727 ahd_stitch_tid_list(struct ahd_softc *ahd, u_int tid_prev, u_int tid_cur, u_int tid_next) argument 7765 ahd_rem_wscb(struct ahd_softc *ahd, u_int scbid, u_int prev, u_int next, u_int tid) argument 7798 ahd_add_scb_to_free_list(struct ahd_softc *ahd, u_int scbid) argument 7816 ahd_abort_scbs(struct ahd_softc *ahd, int target, char channel, int lun, u_int tag, role_t role, uint32_t status) argument 7912 ahd_reset_current_bus(struct ahd_softc *ahd) argument 7942 ahd_reset_channel(struct ahd_softc *ahd, char channel, int initiate_reset) argument 8099 struct ahd_softc *ahd = (struct ahd_softc *)arg; local 8129 struct ahd_softc *ahd = (struct ahd_softc *)arg; local 8161 ahd_handle_scb_status(struct ahd_softc *ahd, struct scb *scb) argument 8172 ahd_handle_scsi_status(struct ahd_softc *ahd, struct scb *scb) argument 8399 ahd_calc_residual(struct ahd_softc *ahd, struct scb *scb) argument 8502 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 8553 ahd_send_lstate_events(struct ahd_softc *ahd, struct ahd_tmode_lstate *lstate) argument 8588 ahd_dumpseq(struct ahd_softc* ahd) argument 8610 ahd_loadseq(struct ahd_softc *ahd) argument 8770 ahd_check_patch(struct ahd_softc *ahd, struct patch **start_patch, u_int start_instr, u_int *skip_addr) argument 8806 ahd_resolve_seqaddr(struct ahd_softc *ahd, u_int address) argument 8835 ahd_download_instr(struct ahd_softc *ahd, u_int instrptr, uint8_t *dconsts) argument 8904 ahd_probe_stack_size(struct ahd_softc *ahd) argument 9002 ahd_dump_card_state(struct ahd_softc *ahd) argument 9267 ahd_dump_scbs(struct ahd_softc *ahd) argument 9297 struct ahd_softc *ahd; local 9318 ahd_recover_commands(struct ahd_softc *ahd) argument 9552 ahd_other_scb_timeout(struct ahd_softc *ahd, struct scb *scb, struct scb *other_scb) argument 9605 ahd_read_seeprom(struct ahd_softc *ahd, uint16_t *buf, u_int start_addr, u_int count, int bytestream) argument 9650 ahd_write_seeprom(struct ahd_softc *ahd, uint16_t *buf, u_int start_addr, u_int count) argument 9699 ahd_wait_seeprom(struct ahd_softc *ahd) argument 9767 ahd_acquire_seeprom(struct ahd_softc *ahd) argument 9790 ahd_release_seeprom(struct ahd_softc *ahd) argument 9796 ahd_write_flexport(struct ahd_softc *ahd, u_int addr, u_int value) argument 9819 ahd_read_flexport(struct ahd_softc *ahd, u_int addr, uint8_t *value) argument 9840 ahd_wait_flexport(struct ahd_softc *ahd) argument 9857 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 9898 ahd_handle_en_lun(struct ahd_softc *ahd, struct cam_sim *sim, union ccb *ccb) argument 10202 ahd_update_scsiid(struct ahd_softc *ahd, u_int targid_mask) argument 10242 ahd_run_tqinfifo(struct ahd_softc *ahd, int paused) argument 10280 ahd_handle_target_cmd(struct ahd_softc *ahd, struct target_cmd *cmd) argument [all...] |