H A D | aic7xxx_core.c | 141 static void ahc_force_renegotiation(struct ahc_softc *ahc, 144 ahc_alloc_tstate(struct ahc_softc *ahc, 147 static void ahc_free_tstate(struct ahc_softc *ahc, 151 ahc_devlimited_syncrate(struct ahc_softc *ahc, 156 static void ahc_update_pending_scbs(struct ahc_softc *ahc); 157 static void ahc_fetch_devinfo(struct ahc_softc *ahc, 159 static void ahc_scb_devinfo(struct ahc_softc *ahc, 162 static void ahc_assert_atn(struct ahc_softc *ahc); 163 static void ahc_setup_initiator_msgout(struct ahc_softc *ahc, 166 static void ahc_build_transfer_msg(struct ahc_softc *ahc, 283 ahc_freeze_untagged_queues(struct ahc_softc *ahc) argument 296 ahc_release_untagged_queues(struct ahc_softc *ahc) argument 315 ahc_pause_bug_fix(struct ahc_softc *ahc) argument 326 ahc_is_paused(struct ahc_softc *ahc) argument 339 ahc_pause(struct ahc_softc *ahc) argument 364 ahc_unpause(struct ahc_softc *ahc) argument 395 ahc_hscb_busaddr(struct ahc_softc *ahc, u_int index) argument 402 ahc_sync_scb(struct ahc_softc *ahc, struct scb *scb, int op) argument 411 ahc_sync_sglist(struct ahc_softc *ahc, struct scb *scb, int op) argument 424 ahc_targetcmd_offset(struct ahc_softc *ahc, u_int index) argument 436 ahc_update_residual(struct ahc_softc *ahc, struct scb *scb) argument 450 ahc_fetch_transinfo(struct ahc_softc *ahc, char channel, u_int our_id, u_int remote_id, struct ahc_tmode_tstate **tstate) argument 466 ahc_inw(struct ahc_softc *ahc, u_int port) argument 473 ahc_outw(struct ahc_softc *ahc, u_int port, u_int value) argument 480 ahc_inl(struct ahc_softc *ahc, u_int port) argument 489 ahc_outl(struct ahc_softc *ahc, u_int port, uint32_t value) argument 498 ahc_inq(struct ahc_softc *ahc, u_int port) argument 511 ahc_outq(struct ahc_softc *ahc, u_int port, uint64_t value) argument 527 ahc_get_scb(struct ahc_softc *ahc) argument 545 ahc_free_scb(struct ahc_softc *ahc, struct scb *scb) argument 562 ahc_lookup_scb(struct ahc_softc *ahc, u_int tag) argument 574 ahc_swap_with_next_hscb(struct ahc_softc *ahc, struct scb *scb) argument 614 ahc_queue_scb(struct ahc_softc *ahc, struct scb *scb) argument 654 ahc_get_sense_buf(struct ahc_softc *ahc, struct scb *scb) argument 663 ahc_get_sense_bufaddr(struct ahc_softc *ahc, struct scb *scb) argument 674 ahc_sync_qoutfifo(struct ahc_softc *ahc, int op) argument 681 ahc_sync_tqinfifo(struct ahc_softc *ahc, int op) argument 701 ahc_check_cmdcmpltqueues(struct ahc_softc *ahc) argument 730 ahc_intr(struct ahc_softc *ahc) argument 815 ahc_restart(struct ahc_softc *ahc) argument 883 ahc_run_qoutfifo(struct ahc_softc *ahc) argument 930 ahc_run_untagged_queues(struct ahc_softc *ahc) argument 939 ahc_run_untagged_queue(struct ahc_softc *ahc, struct scb_tailq *queue) argument 955 ahc_handle_brkadrint(struct ahc_softc *ahc) argument 984 ahc_handle_seqint(struct ahc_softc *ahc, u_int intstat) argument 1535 ahc_handle_scsiint(struct ahc_softc *ahc, u_int intstat) argument 1972 ahc_force_renegotiation(struct ahc_softc *ahc, struct ahc_devinfo *devinfo) argument 1988 ahc_clear_critical_section(struct ahc_softc *ahc) argument 2081 ahc_clear_intstat(struct ahc_softc *ahc) argument 2140 ahc_alloc_tstate(struct ahc_softc *ahc, u_int scsi_id, char channel) argument 2187 ahc_free_tstate(struct ahc_softc *ahc, u_int scsi_id, char channel, int force) argument 2216 ahc_devlimited_syncrate(struct ahc_softc *ahc, struct ahc_initiator_tinfo *tinfo, u_int *period, u_int *ppr_options, role_t role) argument 2271 ahc_find_syncrate(struct ahc_softc *ahc, u_int *period, u_int *ppr_options, u_int maxsync) argument 2347 ahc_find_period(struct ahc_softc *ahc, u_int scsirate, u_int maxsync) argument 2388 ahc_validate_offset(struct ahc_softc *ahc, struct ahc_initiator_tinfo *tinfo, const struct ahc_syncrate *syncrate, u_int *offset, int wide, role_t role) argument 2420 ahc_validate_width(struct ahc_softc *ahc, struct ahc_initiator_tinfo *tinfo, u_int *bus_width, role_t role) argument 2450 ahc_update_neg_request(struct ahc_softc *ahc, struct ahc_devinfo *devinfo, struct ahc_tmode_tstate *tstate, struct ahc_initiator_tinfo *tinfo, ahc_neg_type neg_type) argument 2493 ahc_set_syncrate(struct ahc_softc *ahc, struct ahc_devinfo *devinfo, const struct ahc_syncrate *syncrate, u_int period, u_int offset, u_int ppr_options, u_int type, int paused) argument 2620 ahc_set_width(struct ahc_softc *ahc, struct ahc_devinfo *devinfo, u_int width, u_int type, int paused) argument 2676 ahc_set_tags(struct ahc_softc *ahc, struct scsi_cmnd *cmd, struct ahc_devinfo *devinfo, ahc_queue_alg alg) argument 2692 ahc_update_pending_scbs(struct ahc_softc *ahc) argument 2770 ahc_fetch_devinfo(struct ahc_softc *ahc, struct ahc_devinfo *devinfo) argument 2835 ahc_print_devinfo(struct ahc_softc *ahc, struct ahc_devinfo *devinfo) argument 2842 ahc_scb_devinfo(struct ahc_softc *ahc, struct ahc_devinfo *devinfo, struct scb *scb) argument 2859 ahc_assert_atn(struct ahc_softc *ahc) argument 2876 ahc_setup_initiator_msgout(struct ahc_softc *ahc, struct ahc_devinfo *devinfo, struct scb *scb) argument 2962 ahc_build_transfer_msg(struct ahc_softc *ahc, struct ahc_devinfo *devinfo) argument 3060 ahc_construct_sdtr(struct ahc_softc *ahc, struct ahc_devinfo *devinfo, u_int period, u_int offset) argument 3080 ahc_construct_wdtr(struct ahc_softc *ahc, struct ahc_devinfo *devinfo, u_int bus_width) argument 3098 ahc_construct_ppr(struct ahc_softc *ahc, struct ahc_devinfo *devinfo, u_int period, u_int offset, u_int bus_width, u_int ppr_options) argument 3120 ahc_clear_msg_state(struct ahc_softc *ahc) argument 3138 ahc_handle_proto_violation(struct ahc_softc *ahc) argument 3235 ahc_handle_message_phase(struct ahc_softc *ahc) argument 3537 ahc_sent_msg(struct ahc_softc *ahc, ahc_msgtype type, u_int msgval, int full) argument 3584 ahc_parse_msg(struct ahc_softc *ahc, struct ahc_devinfo *devinfo) argument 4006 ahc_handle_msg_reject(struct ahc_softc *ahc, struct ahc_devinfo *devinfo) argument 4157 ahc_handle_ign_wide_residue(struct ahc_softc *ahc, struct ahc_devinfo *devinfo) argument 4266 ahc_reinitialize_dataptrs(struct ahc_softc *ahc) argument 4322 ahc_handle_devreset(struct ahc_softc *ahc, struct ahc_devinfo *devinfo, cam_status status, char *message, int verbose_level) argument 4377 ahc_setup_target_msgin(struct ahc_softc *ahc, struct ahc_devinfo *devinfo, struct scb *scb) argument 4406 struct ahc_softc *ahc; local 4456 ahc_softc_init(struct ahc_softc *ahc) argument 4477 ahc_set_unit(struct ahc_softc *ahc, int unit) argument 4483 ahc_set_name(struct ahc_softc *ahc, char *name) argument 4491 ahc_free(struct ahc_softc *ahc) argument 4566 struct ahc_softc *ahc; local 4591 ahc_reset(struct ahc_softc *ahc, int reinit) argument 4697 ahc_probe_scbs(struct ahc_softc *ahc) argument 4723 ahc_build_free_scb_list(struct ahc_softc *ahc) argument 4774 ahc_init_scbdata(struct ahc_softc *ahc) argument 4912 ahc_fini_scbdata(struct ahc_softc *ahc) argument 4966 ahc_alloc_scbs(struct ahc_softc *ahc) argument 5043 ahc_controller_info(struct ahc_softc *ahc, char *buf) argument 5084 ahc_chip_init(struct ahc_softc *ahc) argument 5271 ahc_init(struct ahc_softc *ahc) argument 5592 ahc_intr_enable(struct ahc_softc *ahc, int enable) argument 5616 ahc_pause_and_flushwork(struct ahc_softc *ahc) argument 5657 ahc_suspend(struct ahc_softc *ahc) argument 5683 ahc_resume(struct ahc_softc *ahc) argument 5698 ahc_index_busy_tcl(struct ahc_softc *ahc, u_int tcl) argument 5719 ahc_unbusy_tcl(struct ahc_softc *ahc, u_int tcl) argument 5737 ahc_busy_tcl(struct ahc_softc *ahc, u_int tcl, u_int scbid) argument 5756 ahc_match_scb(struct ahc_softc *ahc, struct scb *scb, int target, char channel, int lun, u_int tag, role_t role) argument 5792 ahc_freeze_devq(struct ahc_softc *ahc, struct scb *scb) argument 5810 ahc_qinfifo_requeue_tail(struct ahc_softc *ahc, struct scb *scb) argument 5832 ahc_qinfifo_requeue(struct ahc_softc *ahc, struct scb *prev_scb, struct scb *scb) argument 5848 ahc_qinfifo_count(struct ahc_softc *ahc) argument 5863 ahc_search_qinfifo(struct ahc_softc *ahc, int target, char channel, int lun, u_int tag, role_t role, uint32_t status, ahc_search_action action) argument 6072 ahc_search_untagged_queues(struct ahc_softc *ahc, ahc_io_ctx_t ctx, int target, char channel, int lun, uint32_t status, ahc_search_action action) argument 6170 ahc_search_disc_list(struct ahc_softc *ahc, int target, char channel, int lun, u_int tag, int stop_on_first, int remove, int save_state) argument 6237 ahc_rem_scb_from_disc_list(struct ahc_softc *ahc, u_int prev, u_int scbptr) argument 6263 ahc_add_curscb_to_free_list(struct ahc_softc *ahc) argument 6282 ahc_rem_wscb(struct ahc_softc *ahc, u_int scbpos, u_int prev) argument 6333 ahc_abort_scbs(struct ahc_softc *ahc, int target, char channel, int lun, u_int tag, role_t role, uint32_t status) argument 6465 ahc_reset_current_bus(struct ahc_softc *ahc) argument 6484 ahc_reset_channel(struct ahc_softc *ahc, char channel, int initiate_reset) argument 6655 ahc_calc_residual(struct ahc_softc *ahc, struct scb *scb) argument 6743 ahc_queue_lstate_event(struct ahc_softc *ahc, struct ahc_tmode_lstate *lstate, u_int initiator_id, u_int event_type, u_int event_arg) argument 6794 ahc_send_lstate_events(struct ahc_softc *ahc, struct ahc_tmode_lstate *lstate) argument 6830 ahc_dumpseq(struct ahc_softc* ahc) argument 6850 ahc_loadseq(struct ahc_softc *ahc) argument 6960 ahc_check_patch(struct ahc_softc *ahc, const struct patch **start_patch, u_int start_instr, u_int *skip_addr) argument 6996 ahc_download_instr(struct ahc_softc *ahc, u_int instrptr, uint8_t *dconsts) argument 7169 ahc_dump_card_state(struct ahc_softc *ahc) argument 7354 ahc_find_tmode_devs(struct ahc_softc *ahc, struct cam_sim *sim, union ccb *ccb, struct ahc_tmode_tstate **tstate, struct ahc_tmode_lstate **lstate, int notfound_failure) argument 7395 ahc_handle_en_lun(struct ahc_softc *ahc, struct cam_sim *sim, union ccb *ccb) argument 7768 ahc_update_scsiid(struct ahc_softc *ahc, u_int targid_mask) argument 7806 ahc_run_tqinfifo(struct ahc_softc *ahc, int paused) argument 7861 ahc_handle_target_cmd(struct ahc_softc *ahc, struct target_cmd *cmd) argument [all...] |