H A D | aic7xxx_core.c | 134 static void ahc_force_renegotiation(struct ahc_softc *ahc, 137 ahc_alloc_tstate(struct ahc_softc *ahc, 140 static void ahc_free_tstate(struct ahc_softc *ahc, 144 ahc_devlimited_syncrate(struct ahc_softc *ahc, 149 static void ahc_update_pending_scbs(struct ahc_softc *ahc); 150 static void ahc_fetch_devinfo(struct ahc_softc *ahc, 152 static void ahc_scb_devinfo(struct ahc_softc *ahc, 155 static void ahc_assert_atn(struct ahc_softc *ahc); 156 static void ahc_setup_initiator_msgout(struct ahc_softc *ahc, 159 static void ahc_build_transfer_msg(struct ahc_softc *ahc, 276 ahc_freeze_untagged_queues(struct ahc_softc *ahc) argument 289 ahc_release_untagged_queues(struct ahc_softc *ahc) argument 308 ahc_pause_bug_fix(struct ahc_softc *ahc) argument 319 ahc_is_paused(struct ahc_softc *ahc) argument 332 ahc_pause(struct ahc_softc *ahc) argument 357 ahc_unpause(struct ahc_softc *ahc) argument 388 ahc_hscb_busaddr(struct ahc_softc *ahc, u_int index) argument 395 ahc_sync_scb(struct ahc_softc *ahc, struct scb *scb, int op) argument 404 ahc_sync_sglist(struct ahc_softc *ahc, struct scb *scb, int op) argument 417 ahc_targetcmd_offset(struct ahc_softc *ahc, u_int index) argument 429 ahc_update_residual(struct ahc_softc *ahc, struct scb *scb) argument 443 ahc_fetch_transinfo(struct ahc_softc *ahc, char channel, u_int our_id, u_int remote_id, struct ahc_tmode_tstate **tstate) argument 459 ahc_inw(struct ahc_softc *ahc, u_int port) argument 466 ahc_outw(struct ahc_softc *ahc, u_int port, u_int value) argument 473 ahc_inl(struct ahc_softc *ahc, u_int port) argument 482 ahc_outl(struct ahc_softc *ahc, u_int port, uint32_t value) argument 491 ahc_inq(struct ahc_softc *ahc, u_int port) argument 504 ahc_outq(struct ahc_softc *ahc, u_int port, uint64_t value) argument 520 ahc_get_scb(struct ahc_softc *ahc) argument 538 ahc_free_scb(struct ahc_softc *ahc, struct scb *scb) argument 555 ahc_lookup_scb(struct ahc_softc *ahc, u_int tag) argument 567 ahc_swap_with_next_hscb(struct ahc_softc *ahc, struct scb *scb) argument 607 ahc_queue_scb(struct ahc_softc *ahc, struct scb *scb) argument 647 ahc_get_sense_buf(struct ahc_softc *ahc, struct scb *scb) argument 656 ahc_get_sense_bufaddr(struct ahc_softc *ahc, struct scb *scb) argument 667 ahc_sync_qoutfifo(struct ahc_softc *ahc, int op) argument 674 ahc_sync_tqinfifo(struct ahc_softc *ahc, int op) argument 694 ahc_check_cmdcmpltqueues(struct ahc_softc *ahc) argument 723 ahc_intr(struct ahc_softc *ahc) argument 808 ahc_restart(struct ahc_softc *ahc) argument 876 ahc_run_qoutfifo(struct ahc_softc *ahc) argument 923 ahc_run_untagged_queues(struct ahc_softc *ahc) argument 932 ahc_run_untagged_queue(struct ahc_softc *ahc, struct scb_tailq *queue) argument 948 ahc_handle_brkadrint(struct ahc_softc *ahc) argument 977 ahc_handle_seqint(struct ahc_softc *ahc, u_int intstat) argument 1527 ahc_handle_scsiint(struct ahc_softc *ahc, u_int intstat) argument 1949 ahc_force_renegotiation(struct ahc_softc *ahc, struct ahc_devinfo *devinfo) argument 1965 ahc_clear_critical_section(struct ahc_softc *ahc) argument 2057 ahc_clear_intstat(struct ahc_softc *ahc) argument 2116 ahc_alloc_tstate(struct ahc_softc *ahc, u_int scsi_id, char channel) argument 2163 ahc_free_tstate(struct ahc_softc *ahc, u_int scsi_id, char channel, int force) argument 2191 ahc_devlimited_syncrate(struct ahc_softc *ahc, struct ahc_initiator_tinfo *tinfo, u_int *period, u_int *ppr_options, role_t role) argument 2246 ahc_find_syncrate(struct ahc_softc *ahc, u_int *period, u_int *ppr_options, u_int maxsync) argument 2322 ahc_find_period(struct ahc_softc *ahc, u_int scsirate, u_int maxsync) argument 2363 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 2395 ahc_validate_width(struct ahc_softc *ahc, struct ahc_initiator_tinfo *tinfo, u_int *bus_width, role_t role) argument 2425 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 2468 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 2595 ahc_set_width(struct ahc_softc *ahc, struct ahc_devinfo *devinfo, u_int width, u_int type, int paused) argument 2651 ahc_set_tags(struct ahc_softc *ahc, struct scsi_cmnd *cmd, struct ahc_devinfo *devinfo, ahc_queue_alg alg) argument 2667 ahc_update_pending_scbs(struct ahc_softc *ahc) argument 2745 ahc_fetch_devinfo(struct ahc_softc *ahc, struct ahc_devinfo *devinfo) argument 2810 ahc_print_devinfo(struct ahc_softc *ahc, struct ahc_devinfo *devinfo) argument 2817 ahc_scb_devinfo(struct ahc_softc *ahc, struct ahc_devinfo *devinfo, struct scb *scb) argument 2834 ahc_assert_atn(struct ahc_softc *ahc) argument 2851 ahc_setup_initiator_msgout(struct ahc_softc *ahc, struct ahc_devinfo *devinfo, struct scb *scb) argument 2937 ahc_build_transfer_msg(struct ahc_softc *ahc, struct ahc_devinfo *devinfo) argument 3035 ahc_construct_sdtr(struct ahc_softc *ahc, struct ahc_devinfo *devinfo, u_int period, u_int offset) argument 3055 ahc_construct_wdtr(struct ahc_softc *ahc, struct ahc_devinfo *devinfo, u_int bus_width) argument 3073 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 3095 ahc_clear_msg_state(struct ahc_softc *ahc) argument 3113 ahc_handle_proto_violation(struct ahc_softc *ahc) argument 3210 ahc_handle_message_phase(struct ahc_softc *ahc) argument 3512 ahc_sent_msg(struct ahc_softc *ahc, ahc_msgtype type, u_int msgval, int full) argument 3559 ahc_parse_msg(struct ahc_softc *ahc, struct ahc_devinfo *devinfo) argument 3981 ahc_handle_msg_reject(struct ahc_softc *ahc, struct ahc_devinfo *devinfo) argument 4132 ahc_handle_ign_wide_residue(struct ahc_softc *ahc, struct ahc_devinfo *devinfo) argument 4241 ahc_reinitialize_dataptrs(struct ahc_softc *ahc) argument 4297 ahc_handle_devreset(struct ahc_softc *ahc, struct ahc_devinfo *devinfo, cam_status status, char *message, int verbose_level) argument 4352 ahc_setup_target_msgin(struct ahc_softc *ahc, struct ahc_devinfo *devinfo, struct scb *scb) argument 4381 struct ahc_softc *ahc; local 4425 ahc_softc_init(struct ahc_softc *ahc) argument 4445 ahc_set_unit(struct ahc_softc *ahc, int unit) argument 4451 ahc_set_name(struct ahc_softc *ahc, char *name) argument 4458 ahc_free(struct ahc_softc *ahc) argument 4524 struct ahc_softc *ahc; local 4549 ahc_reset(struct ahc_softc *ahc, int reinit) argument 4655 ahc_probe_scbs(struct ahc_softc *ahc) argument 4681 ahc_build_free_scb_list(struct ahc_softc *ahc) argument 4732 ahc_init_scbdata(struct ahc_softc *ahc) argument 4870 ahc_fini_scbdata(struct ahc_softc *ahc) argument 4929 ahc_alloc_scbs(struct ahc_softc *ahc) argument 4998 ahc_controller_info(struct ahc_softc *ahc, char *buf) argument 5039 ahc_chip_init(struct ahc_softc *ahc) argument 5226 ahc_init(struct ahc_softc *ahc) argument 5529 ahc_intr_enable(struct ahc_softc *ahc, int enable) argument 5553 ahc_pause_and_flushwork(struct ahc_softc *ahc) argument 5593 ahc_suspend(struct ahc_softc *ahc) argument 5619 ahc_resume(struct ahc_softc *ahc) argument 5633 ahc_index_busy_tcl(struct ahc_softc *ahc, u_int tcl) argument 5654 ahc_unbusy_tcl(struct ahc_softc *ahc, u_int tcl) argument 5672 ahc_busy_tcl(struct ahc_softc *ahc, u_int tcl, u_int scbid) argument 5691 ahc_match_scb(struct ahc_softc *ahc, struct scb *scb, int target, char channel, int lun, u_int tag, role_t role) argument 5727 ahc_freeze_devq(struct ahc_softc *ahc, struct scb *scb) argument 5745 ahc_qinfifo_requeue_tail(struct ahc_softc *ahc, struct scb *scb) argument 5767 ahc_qinfifo_requeue(struct ahc_softc *ahc, struct scb *prev_scb, struct scb *scb) argument 5783 ahc_qinfifo_count(struct ahc_softc *ahc) argument 5798 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 6005 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 6103 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 6170 ahc_rem_scb_from_disc_list(struct ahc_softc *ahc, u_int prev, u_int scbptr) argument 6196 ahc_add_curscb_to_free_list(struct ahc_softc *ahc) argument 6215 ahc_rem_wscb(struct ahc_softc *ahc, u_int scbpos, u_int prev) argument 6266 ahc_abort_scbs(struct ahc_softc *ahc, int target, char channel, int lun, u_int tag, role_t role, uint32_t status) argument 6398 ahc_reset_current_bus(struct ahc_softc *ahc) argument 6417 ahc_reset_channel(struct ahc_softc *ahc, char channel, int initiate_reset) argument 6588 ahc_calc_residual(struct ahc_softc *ahc, struct scb *scb) argument 6676 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 6727 ahc_send_lstate_events(struct ahc_softc *ahc, struct ahc_tmode_lstate *lstate) argument 6763 ahc_dumpseq(struct ahc_softc* ahc) argument 6783 ahc_loadseq(struct ahc_softc *ahc) argument 6892 ahc_check_patch(struct ahc_softc *ahc, const struct patch **start_patch, u_int start_instr, u_int *skip_addr) argument 6928 ahc_download_instr(struct ahc_softc *ahc, u_int instrptr, uint8_t *dconsts) argument 7100 ahc_dump_card_state(struct ahc_softc *ahc) argument 7284 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 7325 ahc_handle_en_lun(struct ahc_softc *ahc, struct cam_sim *sim, union ccb *ccb) argument 7696 ahc_update_scsiid(struct ahc_softc *ahc, u_int targid_mask) argument 7734 ahc_run_tqinfifo(struct ahc_softc *ahc, int paused) argument 7789 ahc_handle_target_cmd(struct ahc_softc *ahc, struct target_cmd *cmd) argument [all...] |