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 457 ahd_setup_data_scb(struct ahd_softc *ahd, struct scb *scb) argument 494 ahd_setup_noxfer_scb(struct ahd_softc *ahd, struct scb *scb) argument 503 ahd_sg_bus_to_virt(struct ahd_softc *ahd, struct scb *scb, uint32_t sg_busaddr) argument 513 ahd_sg_virt_to_bus(struct ahd_softc *ahd, struct scb *scb, void *sg) argument 525 ahd_sync_scb(struct ahd_softc *ahd, struct scb *scb, int op) argument 534 ahd_sync_sglist(struct ahd_softc *ahd, struct scb *scb, int op) argument 546 ahd_sync_sense(struct ahd_softc *ahd, struct scb *scb, int op) argument 556 ahd_targetcmd_offset(struct ahd_softc *ahd, u_int index) argument 569 ahd_fetch_transinfo(struct ahd_softc *ahd, char channel, u_int our_id, u_int remote_id, struct ahd_tmode_tstate **tstate) argument 585 ahd_inw(struct ahd_softc *ahd, u_int port) argument 597 ahd_outw(struct ahd_softc *ahd, u_int port, u_int value) argument 608 ahd_inl(struct ahd_softc *ahd, u_int port) argument 617 ahd_outl(struct ahd_softc *ahd, u_int port, uint32_t value) argument 626 ahd_inq(struct ahd_softc *ahd, u_int port) argument 639 ahd_outq(struct ahd_softc *ahd, u_int port, uint64_t value) argument 652 ahd_get_scbptr(struct ahd_softc *ahd) argument 660 ahd_set_scbptr(struct ahd_softc *ahd, u_int scbptr) argument 670 ahd_set_hnscb_qoff(struct ahd_softc *ahd, u_int value) argument 677 ahd_set_hescb_qoff(struct ahd_softc *ahd, u_int value) argument 683 ahd_get_snscb_qoff(struct ahd_softc *ahd) argument 694 ahd_set_snscb_qoff(struct ahd_softc *ahd, u_int value) argument 702 ahd_set_sescb_qoff(struct ahd_softc *ahd, u_int value) argument 710 ahd_set_sdscb_qoff(struct ahd_softc *ahd, u_int value) argument 718 ahd_inb_scbram(struct ahd_softc *ahd, u_int offset) argument 729 ahd_inw_scbram(struct ahd_softc *ahd, u_int offset) argument 736 ahd_inl_scbram(struct ahd_softc *ahd, u_int offset) argument 743 ahd_inq_scbram(struct ahd_softc *ahd, u_int offset) argument 750 ahd_lookup_scb(struct ahd_softc *ahd, u_int tag) argument 764 ahd_swap_with_next_hscb(struct ahd_softc *ahd, struct scb *scb) argument 803 ahd_queue_scb(struct ahd_softc *ahd, struct scb *scb) argument 849 ahd_sync_qoutfifo(struct ahd_softc *ahd, int op) argument 857 ahd_sync_tqinfifo(struct ahd_softc *ahd, int op) argument 877 ahd_check_cmdcmpltqueues(struct ahd_softc *ahd) argument 907 ahd_intr(struct ahd_softc *ahd) argument 992 ahd_assert_atn(struct ahd_softc *ahd) argument 1004 ahd_currently_packetized(struct ahd_softc *ahd) argument 1027 ahd_set_active_fifo(struct ahd_softc *ahd) argument 1044 ahd_unbusy_tcl(struct ahd_softc *ahd, u_int tcl) argument 1054 ahd_update_residual(struct ahd_softc *ahd, struct scb *scb) argument 1064 ahd_complete_scb(struct ahd_softc *ahd, struct scb *scb) argument 1081 ahd_restart(struct ahd_softc *ahd) argument 1125 ahd_clear_fifo(struct ahd_softc *ahd, u_int fifo) argument 1149 ahd_flush_qoutfifo(struct ahd_softc *ahd) argument 1357 ahd_scb_active_in_fifo(struct ahd_softc *ahd, struct scb *scb) argument 1386 ahd_run_data_fifo(struct ahd_softc *ahd, struct scb *scb) argument 1620 ahd_run_qoutfifo(struct ahd_softc *ahd) argument 1659 ahd_handle_hwerrint(struct ahd_softc *ahd) argument 1733 ahd_handle_seqint(struct ahd_softc *ahd, u_int intstat) argument 2345 ahd_handle_scsiint(struct ahd_softc *ahd, u_int intstat) argument 2627 ahd_handle_transmission_error(struct ahd_softc *ahd) argument 2814 ahd_handle_lqiphase_error(struct ahd_softc *ahd, u_int lqistat1) argument 2856 ahd_handle_pkt_busfree(struct ahd_softc *ahd, u_int busfreetime) argument 2988 ahd_handle_nonpkt_busfree(struct ahd_softc *ahd) argument 3275 ahd_handle_proto_violation(struct ahd_softc *ahd) argument 3374 ahd_force_renegotiation(struct ahd_softc *ahd, struct ahd_devinfo *devinfo) argument 3396 ahd_clear_critical_section(struct ahd_softc *ahd) argument 3519 ahd_clear_intstat(struct ahd_softc *ahd) argument 3557 ahd_alloc_tstate(struct ahd_softc *ahd, u_int scsi_id, char channel) argument 3599 ahd_free_tstate(struct ahd_softc *ahd, u_int scsi_id, char channel, int force) argument 3625 ahd_devlimited_syncrate(struct ahd_softc *ahd, struct ahd_initiator_tinfo *tinfo, u_int *period, u_int *ppr_options, role_t role) argument 3674 ahd_find_syncrate(struct ahd_softc *ahd, u_int *period, u_int *ppr_options, u_int maxsync) argument 3713 ahd_validate_offset(struct ahd_softc *ahd, struct ahd_initiator_tinfo *tinfo, u_int period, u_int *offset, int wide, role_t role) argument 3744 ahd_validate_width(struct ahd_softc *ahd, struct ahd_initiator_tinfo *tinfo, u_int *bus_width, role_t role) argument 3774 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 3817 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 3963 ahd_set_width(struct ahd_softc *ahd, struct ahd_devinfo *devinfo, u_int width, u_int type, int paused) argument 4017 ahd_set_tags(struct ahd_softc *ahd, struct scsi_cmnd *cmd, struct ahd_devinfo *devinfo, ahd_queue_alg alg) argument 4028 ahd_update_neg_table(struct ahd_softc *ahd, struct ahd_devinfo *devinfo, struct ahd_transinfo *tinfo) argument 4148 ahd_update_pending_scbs(struct ahd_softc *ahd) argument 4231 ahd_fetch_devinfo(struct ahd_softc *ahd, struct ahd_devinfo *devinfo) argument 4266 ahd_print_devinfo(struct ahd_softc *ahd, struct ahd_devinfo *devinfo) argument 4306 ahd_scb_devinfo(struct ahd_softc *ahd, struct ahd_devinfo *devinfo, struct scb *scb) argument 4329 ahd_setup_initiator_msgout(struct ahd_softc *ahd, struct ahd_devinfo *devinfo, struct scb *scb) argument 4450 ahd_build_transfer_msg(struct ahd_softc *ahd, struct ahd_devinfo *devinfo) argument 4546 ahd_construct_sdtr(struct ahd_softc *ahd, struct ahd_devinfo *devinfo, u_int period, u_int offset) argument 4566 ahd_construct_wdtr(struct ahd_softc *ahd, struct ahd_devinfo *devinfo, u_int bus_width) argument 4584 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 4613 ahd_clear_msg_state(struct ahd_softc *ahd) argument 4641 ahd_handle_message_phase(struct ahd_softc *ahd) argument 4977 ahd_sent_msg(struct ahd_softc *ahd, ahd_msgtype type, u_int msgval, int full) argument 5026 ahd_parse_msg(struct ahd_softc *ahd, struct ahd_devinfo *devinfo) argument 5444 ahd_handle_msg_reject(struct ahd_softc *ahd, struct ahd_devinfo *devinfo) argument 5615 ahd_handle_ign_wide_residue(struct ahd_softc *ahd, struct ahd_devinfo *devinfo) argument 5761 ahd_reinitialize_dataptrs(struct ahd_softc *ahd) argument 5843 ahd_handle_devreset(struct ahd_softc *ahd, struct ahd_devinfo *devinfo, u_int lun, cam_status status, char *message, int verbose_level) argument 5907 ahd_setup_target_msgin(struct ahd_softc *ahd, struct ahd_devinfo *devinfo, struct scb *scb) argument 5930 ahd_sglist_size(struct ahd_softc *ahd) argument 5947 ahd_sglist_allocsize(struct ahd_softc *ahd) argument 5994 struct ahd_softc *ahd; local 6051 ahd_softc_init(struct ahd_softc *ahd) argument 6060 ahd_set_unit(struct ahd_softc *ahd, int unit) argument 6066 ahd_set_name(struct ahd_softc *ahd, char *name) argument 6074 ahd_free(struct ahd_softc *ahd) argument 6151 struct ahd_softc *ahd; local 6175 ahd_reset(struct ahd_softc *ahd, int reinit) argument 6278 ahd_probe_scbs(struct ahd_softc *ahd) argument 6311 ahd_initialize_hscbs(struct ahd_softc *ahd) argument 6327 ahd_init_scbdata(struct ahd_softc *ahd) argument 6428 ahd_find_scb_by_tag(struct ahd_softc *ahd, u_int tag) argument 6466 ahd_fini_scbdata(struct ahd_softc *ahd) argument 6535 ahd_setup_iocell_workaround(struct ahd_softc *ahd) argument 6553 ahd_iocell_first_selection(struct ahd_softc *ahd) argument 6584 ahd_add_col_list(struct ahd_softc *ahd, struct scb *scb, u_int col_idx) argument 6604 ahd_rem_col_list(struct ahd_softc *ahd, struct scb *scb) argument 6638 ahd_get_scb(struct ahd_softc *ahd, u_int col_idx) argument 6674 ahd_free_scb(struct ahd_softc *ahd, struct scb *scb) argument 6726 ahd_alloc_scbs(struct ahd_softc *ahd) argument 6924 ahd_controller_info(struct ahd_softc *ahd, char *buf) argument 6969 struct ahd_softc *ahd; local 6983 ahd_init(struct ahd_softc *ahd) argument 7211 ahd_chip_init(struct ahd_softc *ahd) argument 7553 ahd_default_config(struct ahd_softc *ahd) argument 7630 ahd_parse_cfgdata(struct ahd_softc *ahd, struct seeprom_config *sc) argument 7764 ahd_parse_vpddata(struct ahd_softc *ahd, struct vpd_config *vpd) argument 7777 ahd_intr_enable(struct ahd_softc *ahd, int enable) argument 7794 ahd_update_coalescing_values(struct ahd_softc *ahd, u_int timer, u_int maxcmds, u_int mincmds) argument 7812 ahd_enable_coalescing(struct ahd_softc *ahd, int enable) argument 7831 ahd_pause_and_flushwork(struct ahd_softc *ahd) argument 7883 ahd_suspend(struct ahd_softc *ahd) argument 7897 ahd_resume(struct ahd_softc *ahd) argument 7916 ahd_index_busy_tcl(struct ahd_softc *ahd, u_int *saved_scbid, u_int tcl) argument 7938 ahd_find_busy_tcl(struct ahd_softc *ahd, u_int tcl) argument 7951 ahd_busy_tcl(struct ahd_softc *ahd, u_int tcl, u_int scbid) argument 7963 ahd_match_scb(struct ahd_softc *ahd, struct scb *scb, int target, char channel, int lun, u_int tag, role_t role) argument 7999 ahd_freeze_devq(struct ahd_softc *ahd, struct scb *scb) argument 8017 ahd_qinfifo_requeue_tail(struct ahd_softc *ahd, struct scb *scb) argument 8039 ahd_qinfifo_requeue(struct ahd_softc *ahd, struct scb *prev_scb, struct scb *scb) argument 8059 ahd_qinfifo_count(struct ahd_softc *ahd) argument 8077 ahd_reset_cmds_pending(struct ahd_softc *ahd) argument 8102 ahd_done_with_status(struct ahd_softc *ahd, struct scb *scb, uint32_t status) argument 8117 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 8347 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 8414 ahd_stitch_tid_list(struct ahd_softc *ahd, u_int tid_prev, u_int tid_cur, u_int tid_next) argument 8452 ahd_rem_wscb(struct ahd_softc *ahd, u_int scbid, u_int prev, u_int next, u_int tid) argument 8485 ahd_add_scb_to_free_list(struct ahd_softc *ahd, u_int scbid) argument 8502 ahd_abort_scbs(struct ahd_softc *ahd, int target, char channel, int lun, u_int tag, role_t role, uint32_t status) argument 8598 ahd_reset_current_bus(struct ahd_softc *ahd) argument 8628 ahd_reset_channel(struct ahd_softc *ahd, char channel, int initiate_reset) argument 8802 struct ahd_softc *ahd = arg; local 8837 ahd_handle_scsi_status(struct ahd_softc *ahd, struct scb *scb) argument 9045 ahd_handle_scb_status(struct ahd_softc *ahd, struct scb *scb) argument 9059 ahd_calc_residual(struct ahd_softc *ahd, struct scb *scb) argument 9162 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 9213 ahd_send_lstate_events(struct ahd_softc *ahd, struct ahd_tmode_lstate *lstate) argument 9249 ahd_dumpseq(struct ahd_softc* ahd) argument 9271 ahd_loadseq(struct ahd_softc *ahd) argument 9431 ahd_check_patch(struct ahd_softc *ahd, const struct patch **start_patch, u_int start_instr, u_int *skip_addr) argument 9467 ahd_resolve_seqaddr(struct ahd_softc *ahd, u_int address) argument 9496 ahd_download_instr(struct ahd_softc *ahd, u_int instrptr, uint8_t *dconsts) argument 9565 ahd_probe_stack_size(struct ahd_softc *ahd) argument 9648 ahd_dump_card_state(struct ahd_softc *ahd) argument 9918 ahd_read_seeprom(struct ahd_softc *ahd, uint16_t *buf, u_int start_addr, u_int count, int bytestream) argument 9963 ahd_write_seeprom(struct ahd_softc *ahd, uint16_t *buf, u_int start_addr, u_int count) argument 10012 ahd_wait_seeprom(struct ahd_softc *ahd) argument 10080 ahd_acquire_seeprom(struct ahd_softc *ahd) argument 10093 ahd_release_seeprom(struct ahd_softc *ahd) argument 10102 ahd_wait_flexport(struct ahd_softc *ahd) argument 10117 ahd_write_flexport(struct ahd_softc *ahd, u_int addr, u_int value) argument 10140 ahd_read_flexport(struct ahd_softc *ahd, u_int addr, uint8_t *value) argument 10160 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 10201 ahd_handle_en_lun(struct ahd_softc *ahd, struct cam_sim *sim, union ccb *ccb) argument 10515 ahd_update_scsiid(struct ahd_softc *ahd, u_int targid_mask) argument 10555 ahd_run_tqinfifo(struct ahd_softc *ahd, int paused) argument 10593 ahd_handle_target_cmd(struct ahd_softc *ahd, struct target_cmd *cmd) argument [all...] |