ahc_softc 121 arch/i386/isa/ahc_isa.c void aha2840_load_seeprom(struct ahc_softc *ahc); ahc_softc 124 arch/i386/isa/ahc_isa.c sizeof(struct ahc_softc), ahc_isa_probe, ahc_isa_attach ahc_softc 336 arch/i386/isa/ahc_isa.c struct ahc_softc *ahc = (void *)self; ahc_softc 486 arch/i386/isa/ahc_isa.c aha2840_load_seeprom(struct ahc_softc *ahc) ahc_softc 66 dev/eisa/ahc_eisa.c sizeof(struct ahc_softc), ahc_eisa_match, ahc_eisa_attach ahc_softc 144 dev/eisa/ahc_eisa.c struct ahc_softc *ahc = (void *)self; ahc_softc 152 dev/ic/aic7xxx.c static void ahc_force_renegotiation(struct ahc_softc *ahc, ahc_softc 155 dev/ic/aic7xxx.c ahc_alloc_tstate(struct ahc_softc *ahc, ahc_softc 158 dev/ic/aic7xxx.c static void ahc_free_tstate(struct ahc_softc *ahc, ahc_softc 162 dev/ic/aic7xxx.c ahc_devlimited_syncrate(struct ahc_softc *ahc, ahc_softc 167 dev/ic/aic7xxx.c static void ahc_update_pending_scbs(struct ahc_softc *ahc); ahc_softc 168 dev/ic/aic7xxx.c static void ahc_fetch_devinfo(struct ahc_softc *ahc, ahc_softc 170 dev/ic/aic7xxx.c static void ahc_assert_atn(struct ahc_softc *ahc); ahc_softc 171 dev/ic/aic7xxx.c static void ahc_setup_initiator_msgout(struct ahc_softc *ahc, ahc_softc 174 dev/ic/aic7xxx.c static void ahc_build_transfer_msg(struct ahc_softc *ahc, ahc_softc 176 dev/ic/aic7xxx.c static void ahc_construct_sdtr(struct ahc_softc *ahc, ahc_softc 179 dev/ic/aic7xxx.c static void ahc_construct_wdtr(struct ahc_softc *ahc, ahc_softc 182 dev/ic/aic7xxx.c static void ahc_construct_ppr(struct ahc_softc *ahc, ahc_softc 186 dev/ic/aic7xxx.c static void ahc_clear_msg_state(struct ahc_softc *ahc); ahc_softc 187 dev/ic/aic7xxx.c static void ahc_handle_proto_violation(struct ahc_softc *ahc); ahc_softc 188 dev/ic/aic7xxx.c static void ahc_handle_message_phase(struct ahc_softc *ahc); ahc_softc 194 dev/ic/aic7xxx.c static int ahc_sent_msg(struct ahc_softc *ahc, ahc_msgtype type, ahc_softc 196 dev/ic/aic7xxx.c static int ahc_parse_msg(struct ahc_softc *ahc, ahc_softc 198 dev/ic/aic7xxx.c static int ahc_handle_msg_reject(struct ahc_softc *ahc, ahc_softc 200 dev/ic/aic7xxx.c static void ahc_handle_ign_wide_residue(struct ahc_softc *ahc, ahc_softc 202 dev/ic/aic7xxx.c static void ahc_reinitialize_dataptrs(struct ahc_softc *ahc); ahc_softc 203 dev/ic/aic7xxx.c static void ahc_handle_devreset(struct ahc_softc *ahc, ahc_softc 208 dev/ic/aic7xxx.c static void ahc_setup_target_msgin(struct ahc_softc *ahc, ahc_softc 214 dev/ic/aic7xxx.c static void ahc_build_free_scb_list(struct ahc_softc *ahc); ahc_softc 215 dev/ic/aic7xxx.c static int ahc_init_scbdata(struct ahc_softc *ahc); ahc_softc 216 dev/ic/aic7xxx.c static void ahc_fini_scbdata(struct ahc_softc *ahc); ahc_softc 217 dev/ic/aic7xxx.c static void ahc_qinfifo_requeue(struct ahc_softc *ahc, ahc_softc 220 dev/ic/aic7xxx.c static int ahc_qinfifo_count(struct ahc_softc *ahc); ahc_softc 221 dev/ic/aic7xxx.c static u_int ahc_rem_scb_from_disc_list(struct ahc_softc *ahc, ahc_softc 223 dev/ic/aic7xxx.c static void ahc_add_curscb_to_free_list(struct ahc_softc *ahc); ahc_softc 224 dev/ic/aic7xxx.c static u_int ahc_rem_wscb(struct ahc_softc *ahc, ahc_softc 226 dev/ic/aic7xxx.c static void ahc_reset_current_bus(struct ahc_softc *ahc); ahc_softc 228 dev/ic/aic7xxx.c static void ahc_dumpseq(struct ahc_softc *ahc); ahc_softc 230 dev/ic/aic7xxx.c static int ahc_loadseq(struct ahc_softc *ahc); ahc_softc 231 dev/ic/aic7xxx.c static int ahc_check_patch(struct ahc_softc *ahc, ahc_softc 234 dev/ic/aic7xxx.c static void ahc_download_instr(struct ahc_softc *ahc, ahc_softc 237 dev/ic/aic7xxx.c static void ahc_queue_lstate_event(struct ahc_softc *ahc, ahc_softc 242 dev/ic/aic7xxx.c static void ahc_update_scsiid(struct ahc_softc *ahc, ahc_softc 244 dev/ic/aic7xxx.c static int ahc_handle_target_cmd(struct ahc_softc *ahc, ahc_softc 270 dev/ic/aic7xxx.c ahc_restart(struct ahc_softc *ahc) ahc_softc 331 dev/ic/aic7xxx.c ahc_run_qoutfifo(struct ahc_softc *ahc) ahc_softc 406 dev/ic/aic7xxx.c ahc_run_untagged_queues(struct ahc_softc *ahc) ahc_softc 415 dev/ic/aic7xxx.c ahc_run_untagged_queue(struct ahc_softc *ahc, struct scb_tailq *queue) ahc_softc 431 dev/ic/aic7xxx.c ahc_handle_brkadrint(struct ahc_softc *ahc) ahc_softc 462 dev/ic/aic7xxx.c ahc_handle_seqint(struct ahc_softc *ahc, u_int intstat) ahc_softc 1031 dev/ic/aic7xxx.c ahc_handle_scsiint(struct ahc_softc *ahc, u_int intstat) ahc_softc 1468 dev/ic/aic7xxx.c ahc_force_renegotiation(struct ahc_softc *ahc, struct ahc_devinfo *devinfo) ahc_softc 1484 dev/ic/aic7xxx.c ahc_clear_critical_section(struct ahc_softc *ahc) ahc_softc 1575 dev/ic/aic7xxx.c ahc_clear_intstat(struct ahc_softc *ahc) ahc_softc 1632 dev/ic/aic7xxx.c ahc_alloc_tstate(struct ahc_softc *ahc, u_int scsi_id, char channel) ahc_softc 1680 dev/ic/aic7xxx.c ahc_free_tstate(struct ahc_softc *ahc, u_int scsi_id, char channel, int force) ahc_softc 1709 dev/ic/aic7xxx.c ahc_devlimited_syncrate(struct ahc_softc *ahc, ahc_softc 1764 dev/ic/aic7xxx.c ahc_find_syncrate(struct ahc_softc *ahc, u_int *period, ahc_softc 1831 dev/ic/aic7xxx.c ahc_find_period(struct ahc_softc *ahc, u_int scsirate, u_int maxsync) ahc_softc 1861 dev/ic/aic7xxx.c ahc_validate_offset(struct ahc_softc *ahc, ahc_softc 1893 dev/ic/aic7xxx.c ahc_validate_width(struct ahc_softc *ahc, struct ahc_initiator_tinfo *tinfo, ahc_softc 1923 dev/ic/aic7xxx.c ahc_update_neg_request(struct ahc_softc *ahc, struct ahc_devinfo *devinfo, ahc_softc 1966 dev/ic/aic7xxx.c ahc_set_syncrate(struct ahc_softc *ahc, struct ahc_devinfo *devinfo, ahc_softc 2093 dev/ic/aic7xxx.c ahc_set_width(struct ahc_softc *ahc, struct ahc_devinfo *devinfo, ahc_softc 2149 dev/ic/aic7xxx.c ahc_set_tags(struct ahc_softc *ahc, struct ahc_devinfo *devinfo, ahc_softc 2163 dev/ic/aic7xxx.c ahc_update_pending_scbs(struct ahc_softc *ahc) ahc_softc 2241 dev/ic/aic7xxx.c ahc_fetch_devinfo(struct ahc_softc *ahc, struct ahc_devinfo *devinfo) ahc_softc 2306 dev/ic/aic7xxx.c ahc_print_devinfo(struct ahc_softc *ahc, struct ahc_devinfo *devinfo) ahc_softc 2313 dev/ic/aic7xxx.c ahc_scb_devinfo(struct ahc_softc *ahc, struct ahc_devinfo *devinfo, ahc_softc 2330 dev/ic/aic7xxx.c ahc_assert_atn(struct ahc_softc *ahc) ahc_softc 2347 dev/ic/aic7xxx.c ahc_setup_initiator_msgout(struct ahc_softc *ahc, struct ahc_devinfo *devinfo, ahc_softc 2433 dev/ic/aic7xxx.c ahc_build_transfer_msg(struct ahc_softc *ahc, struct ahc_devinfo *devinfo) ahc_softc 2531 dev/ic/aic7xxx.c ahc_construct_sdtr(struct ahc_softc *ahc, struct ahc_devinfo *devinfo, ahc_softc 2554 dev/ic/aic7xxx.c ahc_construct_wdtr(struct ahc_softc *ahc, struct ahc_devinfo *devinfo, ahc_softc 2574 dev/ic/aic7xxx.c ahc_construct_ppr(struct ahc_softc *ahc, struct ahc_devinfo *devinfo, ahc_softc 2601 dev/ic/aic7xxx.c ahc_clear_msg_state(struct ahc_softc *ahc) ahc_softc 2619 dev/ic/aic7xxx.c ahc_handle_proto_violation(struct ahc_softc *ahc) ahc_softc 2716 dev/ic/aic7xxx.c ahc_handle_message_phase(struct ahc_softc *ahc) ahc_softc 3018 dev/ic/aic7xxx.c ahc_sent_msg(struct ahc_softc *ahc, ahc_msgtype type, u_int msgval, int full) ahc_softc 3065 dev/ic/aic7xxx.c ahc_parse_msg(struct ahc_softc *ahc, struct ahc_devinfo *devinfo) ahc_softc 3487 dev/ic/aic7xxx.c ahc_handle_msg_reject(struct ahc_softc *ahc, struct ahc_devinfo *devinfo) ahc_softc 3638 dev/ic/aic7xxx.c ahc_handle_ign_wide_residue(struct ahc_softc *ahc, struct ahc_devinfo *devinfo) ahc_softc 3747 dev/ic/aic7xxx.c ahc_reinitialize_dataptrs(struct ahc_softc *ahc) ahc_softc 3803 dev/ic/aic7xxx.c ahc_handle_devreset(struct ahc_softc *ahc, struct ahc_devinfo *devinfo, ahc_softc 3858 dev/ic/aic7xxx.c ahc_setup_target_msgin(struct ahc_softc *ahc, struct ahc_devinfo *devinfo, ahc_softc 3881 dev/ic/aic7xxx.c ahc_softc_init(struct ahc_softc *ahc) ahc_softc 3903 dev/ic/aic7xxx.c ahc_softc_insert(struct ahc_softc *ahc) ahc_softc 3905 dev/ic/aic7xxx.c struct ahc_softc *list_ahc; ahc_softc 3922 dev/ic/aic7xxx.c struct ahc_softc *master; ahc_softc 3923 dev/ic/aic7xxx.c struct ahc_softc *slave; ahc_softc 3959 dev/ic/aic7xxx.c ahc_set_unit(struct ahc_softc *ahc, int unit) ahc_softc 3965 dev/ic/aic7xxx.c ahc_set_name(struct ahc_softc *ahc, char *name) ahc_softc 3973 dev/ic/aic7xxx.c ahc_free(struct ahc_softc *ahc) ahc_softc 4036 dev/ic/aic7xxx.c struct ahc_softc *ahc; ahc_softc 4039 dev/ic/aic7xxx.c ahc = (struct ahc_softc *)arg; ahc_softc 4061 dev/ic/aic7xxx.c ahc_reset(struct ahc_softc *ahc, int reinit) ahc_softc 4167 dev/ic/aic7xxx.c ahc_probe_scbs(struct ahc_softc *ahc) { ahc_softc 4195 dev/ic/aic7xxx.c ahc_build_free_scb_list(struct ahc_softc *ahc) ahc_softc 4246 dev/ic/aic7xxx.c ahc_init_scbdata(struct ahc_softc *ahc) ahc_softc 4332 dev/ic/aic7xxx.c ahc_fini_scbdata(struct ahc_softc *ahc) ahc_softc 4377 dev/ic/aic7xxx.c ahc_alloc_scbs(struct ahc_softc *ahc) ahc_softc 4436 dev/ic/aic7xxx.c next_scb->ahc_softc = ahc; ahc_softc 4459 dev/ic/aic7xxx.c ahc_controller_info(struct ahc_softc *ahc, char *buf, size_t buf_len) ahc_softc 4504 dev/ic/aic7xxx.c ahc_chip_init(struct ahc_softc *ahc) ahc_softc 4694 dev/ic/aic7xxx.c ahc_init(struct ahc_softc *ahc) ahc_softc 4987 dev/ic/aic7xxx.c ahc_intr_enable(struct ahc_softc *ahc, int enable) ahc_softc 5009 dev/ic/aic7xxx.c ahc_index_busy_tcl(struct ahc_softc *ahc, u_int tcl) ahc_softc 5030 dev/ic/aic7xxx.c ahc_unbusy_tcl(struct ahc_softc *ahc, u_int tcl) ahc_softc 5048 dev/ic/aic7xxx.c ahc_busy_tcl(struct ahc_softc *ahc, u_int tcl, u_int scbid) ahc_softc 5067 dev/ic/aic7xxx.c ahc_match_scb(struct ahc_softc *ahc, struct scb *scb, int target, ahc_softc 5108 dev/ic/aic7xxx.c ahc_freeze_devq(struct ahc_softc *ahc, struct scb *scb) ahc_softc 5126 dev/ic/aic7xxx.c ahc_qinfifo_requeue_tail(struct ahc_softc *ahc, struct scb *scb) ahc_softc 5148 dev/ic/aic7xxx.c ahc_qinfifo_requeue(struct ahc_softc *ahc, struct scb *prev_scb, ahc_softc 5168 dev/ic/aic7xxx.c ahc_qinfifo_count(struct ahc_softc *ahc) ahc_softc 5183 dev/ic/aic7xxx.c ahc_search_qinfifo(struct ahc_softc *ahc, int target, char channel, ahc_softc 5391 dev/ic/aic7xxx.c ahc_search_untagged_queues(struct ahc_softc *ahc, struct scsi_xfer *xs, ahc_softc 5487 dev/ic/aic7xxx.c ahc_search_disc_list(struct ahc_softc *ahc, int target, char channel, ahc_softc 5554 dev/ic/aic7xxx.c ahc_rem_scb_from_disc_list(struct ahc_softc *ahc, u_int prev, u_int scbptr) ahc_softc 5580 dev/ic/aic7xxx.c ahc_add_curscb_to_free_list(struct ahc_softc *ahc) ahc_softc 5599 dev/ic/aic7xxx.c ahc_rem_wscb(struct ahc_softc *ahc, u_int scbpos, u_int prev) ahc_softc 5650 dev/ic/aic7xxx.c ahc_abort_scbs(struct ahc_softc *ahc, int target, char channel, ahc_softc 5782 dev/ic/aic7xxx.c ahc_reset_current_bus(struct ahc_softc *ahc) ahc_softc 5801 dev/ic/aic7xxx.c ahc_reset_channel(struct ahc_softc *ahc, char channel, int initiate_reset) ahc_softc 5972 dev/ic/aic7xxx.c ahc_calc_residual(struct ahc_softc *ahc, struct scb *scb) ahc_softc 6060 dev/ic/aic7xxx.c ahc_queue_lstate_event(struct ahc_softc *ahc, struct ahc_tmode_lstate *lstate, ahc_softc 6111 dev/ic/aic7xxx.c ahc_send_lstate_events(struct ahc_softc *ahc, struct ahc_tmode_lstate *lstate) ahc_softc 6147 dev/ic/aic7xxx.c ahc_dumpseq(struct ahc_softc* ahc) ahc_softc 6167 dev/ic/aic7xxx.c ahc_loadseq(struct ahc_softc *ahc) ahc_softc 6277 dev/ic/aic7xxx.c ahc_check_patch(struct ahc_softc *ahc, const struct patch **start_patch, ahc_softc 6313 dev/ic/aic7xxx.c ahc_download_instr(struct ahc_softc *ahc, u_int instrptr, uint8_t *dconsts) ahc_softc 6486 dev/ic/aic7xxx.c ahc_dump_card_state(struct ahc_softc *ahc) ahc_softc 6673 dev/ic/aic7xxx.c ahc_find_tmode_devs(struct ahc_softc *ahc, struct cam_sim *sim, union ccb *ccb, ahc_softc 6714 dev/ic/aic7xxx.c ahc_handle_en_lun(struct ahc_softc *ahc, struct cam_sim *sim, union ccb *ccb) ahc_softc 7087 dev/ic/aic7xxx.c ahc_update_scsiid(struct ahc_softc *ahc, u_int targid_mask) ahc_softc 7126 dev/ic/aic7xxx.c ahc_run_tqinfifo(struct ahc_softc *ahc, int paused) ahc_softc 7186 dev/ic/aic7xxx.c ahc_handle_target_cmd(struct ahc_softc *ahc, struct target_cmd *cmd) ahc_softc 62 dev/ic/aic7xxx_inline.h IO_INLINE void ahc_pause_bug_fix(struct ahc_softc *ahc); ahc_softc 63 dev/ic/aic7xxx_inline.h IO_INLINE int ahc_is_paused(struct ahc_softc *ahc); ahc_softc 64 dev/ic/aic7xxx_inline.h IO_INLINE void ahc_pause(struct ahc_softc *ahc); ahc_softc 65 dev/ic/aic7xxx_inline.h IO_INLINE void ahc_unpause(struct ahc_softc *ahc); ahc_softc 77 dev/ic/aic7xxx_inline.h ahc_pause_bug_fix(struct ahc_softc *ahc) ahc_softc 88 dev/ic/aic7xxx_inline.h ahc_is_paused(struct ahc_softc *ahc) ahc_softc 101 dev/ic/aic7xxx_inline.h ahc_pause(struct ahc_softc *ahc) ahc_softc 126 dev/ic/aic7xxx_inline.h ahc_unpause(struct ahc_softc *ahc) ahc_softc 134 dev/ic/aic7xxx_inline.h IO_INLINE void ahc_freeze_untagged_queues(struct ahc_softc *ahc); ahc_softc 135 dev/ic/aic7xxx_inline.h IO_INLINE void ahc_release_untagged_queues(struct ahc_softc *ahc); ahc_softc 143 dev/ic/aic7xxx_inline.h ahc_freeze_untagged_queues(struct ahc_softc *ahc) ahc_softc 156 dev/ic/aic7xxx_inline.h ahc_release_untagged_queues(struct ahc_softc *ahc) ahc_softc 175 dev/ic/aic7xxx_inline.h ahc_hscb_busaddr(struct ahc_softc *ahc, u_int index); ahc_softc 176 dev/ic/aic7xxx_inline.h IO_INLINE void ahc_sync_scb(struct ahc_softc *ahc, ahc_softc 180 dev/ic/aic7xxx_inline.h ahc_targetcmd_offset(struct ahc_softc *ahc, ahc_softc 210 dev/ic/aic7xxx_inline.h ahc_hscb_busaddr(struct ahc_softc *ahc, u_int index) ahc_softc 217 dev/ic/aic7xxx_inline.h ahc_sync_scb(struct ahc_softc *ahc, struct scb *scb, int op) ahc_softc 227 dev/ic/aic7xxx_inline.h ahc_targetcmd_offset(struct ahc_softc *ahc, u_int index) ahc_softc 235 dev/ic/aic7xxx_inline.h static __inline char *ahc_name(struct ahc_softc *ahc); ahc_softc 238 dev/ic/aic7xxx_inline.h ahc_name(struct ahc_softc *ahc) ahc_softc 245 dev/ic/aic7xxx_inline.h IO_INLINE void ahc_update_residual(struct ahc_softc *ahc, ahc_softc 248 dev/ic/aic7xxx_inline.h ahc_fetch_transinfo(struct ahc_softc *ahc, ahc_softc 254 dev/ic/aic7xxx_inline.h ahc_inw(struct ahc_softc *ahc, u_int port); ahc_softc 255 dev/ic/aic7xxx_inline.h IO_INLINE void ahc_outw(struct ahc_softc *ahc, u_int port, ahc_softc 258 dev/ic/aic7xxx_inline.h ahc_inl(struct ahc_softc *ahc, u_int port); ahc_softc 259 dev/ic/aic7xxx_inline.h IO_INLINE void ahc_outl(struct ahc_softc *ahc, u_int port, ahc_softc 262 dev/ic/aic7xxx_inline.h ahc_get_scb(struct ahc_softc *ahc); ahc_softc 263 dev/ic/aic7xxx_inline.h IO_INLINE void ahc_free_scb(struct ahc_softc *ahc, struct scb *scb); ahc_softc 264 dev/ic/aic7xxx_inline.h IO_INLINE struct scb *ahc_lookup_scb(struct ahc_softc *ahc, u_int tag); ahc_softc 265 dev/ic/aic7xxx_inline.h IO_INLINE void ahc_swap_with_next_hscb(struct ahc_softc *ahc, ahc_softc 267 dev/ic/aic7xxx_inline.h IO_INLINE void ahc_queue_scb(struct ahc_softc *ahc, struct scb *scb); ahc_softc 269 dev/ic/aic7xxx_inline.h ahc_get_sense_buf(struct ahc_softc *ahc, ahc_softc 272 dev/ic/aic7xxx_inline.h ahc_get_sense_bufaddr(struct ahc_softc *ahc, ahc_softc 282 dev/ic/aic7xxx_inline.h ahc_update_residual(struct ahc_softc *ahc, struct scb *scb) ahc_softc 296 dev/ic/aic7xxx_inline.h ahc_fetch_transinfo(struct ahc_softc *ahc, char channel, u_int our_id, ahc_softc 312 dev/ic/aic7xxx_inline.h ahc_inw(struct ahc_softc *ahc, u_int port) ahc_softc 318 dev/ic/aic7xxx_inline.h ahc_outw(struct ahc_softc *ahc, u_int port, u_int value) ahc_softc 325 dev/ic/aic7xxx_inline.h ahc_inl(struct ahc_softc *ahc, u_int port) ahc_softc 334 dev/ic/aic7xxx_inline.h ahc_outl(struct ahc_softc *ahc, u_int port, uint32_t value) ahc_softc 346 dev/ic/aic7xxx_inline.h ahc_get_scb(struct ahc_softc *ahc) ahc_softc 362 dev/ic/aic7xxx_inline.h ahc_free_scb(struct ahc_softc *ahc, struct scb *scb) ahc_softc 380 dev/ic/aic7xxx_inline.h ahc_lookup_scb(struct ahc_softc *ahc, u_int tag) ahc_softc 393 dev/ic/aic7xxx_inline.h ahc_swap_with_next_hscb(struct ahc_softc *ahc, struct scb *scb) ahc_softc 433 dev/ic/aic7xxx_inline.h ahc_queue_scb(struct ahc_softc *ahc, struct scb *scb) ahc_softc 478 dev/ic/aic7xxx_inline.h ahc_get_sense_buf(struct ahc_softc *ahc, struct scb *scb) ahc_softc 487 dev/ic/aic7xxx_inline.h ahc_get_sense_bufaddr(struct ahc_softc *ahc, struct scb *scb) ahc_softc 498 dev/ic/aic7xxx_inline.h IO_INLINE void ahc_sync_qoutfifo(struct ahc_softc *ahc, int op); ahc_softc 499 dev/ic/aic7xxx_inline.h IO_INLINE void ahc_sync_tqinfifo(struct ahc_softc *ahc, int op); ahc_softc 500 dev/ic/aic7xxx_inline.h IO_INLINE u_int ahc_check_cmdcmpltqueues(struct ahc_softc *ahc); ahc_softc 501 dev/ic/aic7xxx_inline.h IO_INLINE int ahc_intr(struct ahc_softc *ahc); ahc_softc 505 dev/ic/aic7xxx_inline.h ahc_sync_qoutfifo(struct ahc_softc *ahc, int op) ahc_softc 512 dev/ic/aic7xxx_inline.h ahc_sync_tqinfifo(struct ahc_softc *ahc, int op) ahc_softc 532 dev/ic/aic7xxx_inline.h ahc_check_cmdcmpltqueues(struct ahc_softc *ahc) ahc_softc 562 dev/ic/aic7xxx_inline.h ahc_intr(struct ahc_softc *ahc) ahc_softc 56 dev/ic/aic7xxx_openbsd.c int ahc_poll(struct ahc_softc *, int); ahc_softc 57 dev/ic/aic7xxx_openbsd.c int ahc_setup_data(struct ahc_softc *, struct scsi_xfer *, struct scb *); ahc_softc 60 dev/ic/aic7xxx_openbsd.c void ahc_adapter_req_set_xfer_mode(struct ahc_softc *, struct scb *); ahc_softc 88 dev/ic/aic7xxx_openbsd.c ahc_attach(struct ahc_softc *ahc) ahc_softc 158 dev/ic/aic7xxx_openbsd.c struct ahc_softc *ahc = (struct ahc_softc *)arg; ahc_softc 173 dev/ic/aic7xxx_openbsd.c ahc_done(struct ahc_softc *ahc, struct scb *scb) ahc_softc 310 dev/ic/aic7xxx_openbsd.c struct ahc_softc *ahc; ahc_softc 319 dev/ic/aic7xxx_openbsd.c ahc = (struct ahc_softc *)xs->sc_link->adapter_softc; ahc_softc 364 dev/ic/aic7xxx_openbsd.c struct ahc_softc *ahc; ahc_softc 375 dev/ic/aic7xxx_openbsd.c ahc = (struct ahc_softc *)xs->sc_link->adapter_softc; ahc_softc 555 dev/ic/aic7xxx_openbsd.c ahc_poll(struct ahc_softc *ahc, int wait) ahc_softc 573 dev/ic/aic7xxx_openbsd.c ahc_setup_data(struct ahc_softc *ahc, struct scsi_xfer *xs, ahc_softc 634 dev/ic/aic7xxx_openbsd.c struct ahc_softc *ahc; ahc_softc 640 dev/ic/aic7xxx_openbsd.c ahc = (struct ahc_softc *)scb->xs->sc_link->adapter_softc; ahc_softc 676 dev/ic/aic7xxx_openbsd.c ahc_platform_set_tags(struct ahc_softc *ahc, ahc_softc 698 dev/ic/aic7xxx_openbsd.c ahc_platform_alloc(struct ahc_softc *ahc, void *platform_arg) ahc_softc 712 dev/ic/aic7xxx_openbsd.c ahc_platform_free(struct ahc_softc *ahc) ahc_softc 719 dev/ic/aic7xxx_openbsd.c ahc_softc_comp(struct ahc_softc *lahc, struct ahc_softc *rahc) ahc_softc 725 dev/ic/aic7xxx_openbsd.c ahc_send_async(struct ahc_softc *ahc, char channel, u_int target, u_int lun, ahc_softc 732 dev/ic/aic7xxx_openbsd.c ahc_adapter_req_set_xfer_mode(struct ahc_softc *ahc, struct scb *scb) ahc_softc 191 dev/ic/aic7xxx_openbsd.h static __inline void ahc_flush_device_writes(struct ahc_softc *); ahc_softc 194 dev/ic/aic7xxx_openbsd.h ahc_flush_device_writes(struct ahc_softc *ahc) ahc_softc 216 dev/ic/aic7xxx_openbsd.h static __inline uint32_t ahc_get_sense_bufsize(struct ahc_softc *, ahc_softc 219 dev/ic/aic7xxx_openbsd.h static __inline void ahc_platform_freeze_devq(struct ahc_softc *, struct scb *); ahc_softc 220 dev/ic/aic7xxx_openbsd.h static __inline int ahc_platform_abort_scbs(struct ahc_softc *, int, char, ahc_softc 293 dev/ic/aic7xxx_openbsd.h ahc_get_sense_bufsize(struct ahc_softc *ahc, struct scb *scb) ahc_softc 304 dev/ic/aic7xxx_openbsd.h ahc_platform_freeze_devq(struct ahc_softc *ahc, struct scb *scb) ahc_softc 309 dev/ic/aic7xxx_openbsd.h ahc_platform_abort_scbs(struct ahc_softc *ahc, int target, ahc_softc 317 dev/ic/aic7xxx_openbsd.h ahc_platform_scb_free(struct ahc_softc *ahc, struct scb *scb) ahc_softc 341 dev/ic/aic7xxx_openbsd.h int ahc_pci_map_registers(struct ahc_softc *); ahc_softc 342 dev/ic/aic7xxx_openbsd.h int ahc_pci_map_int(struct ahc_softc *); ahc_softc 382 dev/ic/aic7xxx_openbsd.h void ahc_power_state_change(struct ahc_softc *, ahc_power_state); ahc_softc 385 dev/ic/aic7xxx_openbsd.h int aic7770_map_registers(struct ahc_softc *, u_int); ahc_softc 386 dev/ic/aic7xxx_openbsd.h int aic7770_map_int(struct ahc_softc *, int); ahc_softc 389 dev/ic/aic7xxx_openbsd.h static __inline void ahc_print_path(struct ahc_softc *, struct scb *); ahc_softc 390 dev/ic/aic7xxx_openbsd.h static __inline void ahc_platform_dump_card_state(struct ahc_softc *); ahc_softc 393 dev/ic/aic7xxx_openbsd.h ahc_print_path(struct ahc_softc *ahc, struct scb *scb) ahc_softc 399 dev/ic/aic7xxx_openbsd.h ahc_platform_dump_card_state(struct ahc_softc *ahc) ahc_softc 406 dev/ic/aic7xxx_openbsd.h void ahc_notify_xfer_settings_change(struct ahc_softc *, ahc_softc 408 dev/ic/aic7xxx_openbsd.h void ahc_platform_set_tags(struct ahc_softc *, struct ahc_devinfo *, int); ahc_softc 411 dev/ic/aic7xxx_openbsd.h int ahc_platform_alloc(struct ahc_softc *, void *); ahc_softc 412 dev/ic/aic7xxx_openbsd.h void ahc_platform_free(struct ahc_softc *); ahc_softc 413 dev/ic/aic7xxx_openbsd.h int ahc_map_int(struct ahc_softc *); ahc_softc 414 dev/ic/aic7xxx_openbsd.h int ahc_attach(struct ahc_softc *); ahc_softc 415 dev/ic/aic7xxx_openbsd.h int ahc_softc_comp(struct ahc_softc *, struct ahc_softc *); ahc_softc 420 dev/ic/aic7xxx_openbsd.h static __inline void ahc_platform_flushwork(struct ahc_softc *); ahc_softc 422 dev/ic/aic7xxx_openbsd.h ahc_platform_flushwork(struct ahc_softc *ahc) ahc_softc 427 dev/ic/aic7xxx_openbsd.h void ahc_done(struct ahc_softc *, struct scb *); ahc_softc 428 dev/ic/aic7xxx_openbsd.h void ahc_send_async(struct ahc_softc *, char, u_int, u_int, ac_code, ahc_softc 80 dev/ic/aic7xxx_seeprom.c static void configure_termination(struct ahc_softc *, ahc_softc 84 dev/ic/aic7xxx_seeprom.c static void ahc_new_term_detect(struct ahc_softc *, int *, int *, int *, ahc_softc 86 dev/ic/aic7xxx_seeprom.c static void aic787X_cable_detect(struct ahc_softc *, int *, int *, int *, ahc_softc 88 dev/ic/aic7xxx_seeprom.c static void aic785X_cable_detect(struct ahc_softc *, int *, int *, int *); ahc_softc 89 dev/ic/aic7xxx_seeprom.c static void write_brdctl(struct ahc_softc *, u_int8_t); ahc_softc 90 dev/ic/aic7xxx_seeprom.c static u_int8_t read_brdctl(struct ahc_softc *); ahc_softc 91 dev/ic/aic7xxx_seeprom.c static void ahc_parse_pci_eeprom(struct ahc_softc *, struct seeprom_config *); ahc_softc 98 dev/ic/aic7xxx_seeprom.c ahc_check_extport(struct ahc_softc *ahc, u_int *sxfrctl1) ahc_softc 243 dev/ic/aic7xxx_seeprom.c ahc_parse_pci_eeprom(struct ahc_softc *ahc, struct seeprom_config *sc) ahc_softc 359 dev/ic/aic7xxx_seeprom.c configure_termination(struct ahc_softc *ahc, ahc_softc 585 dev/ic/aic7xxx_seeprom.c ahc_new_term_detect(struct ahc_softc *ahc, int *enableSEC_low, ahc_softc 607 dev/ic/aic7xxx_seeprom.c aic787X_cable_detect(struct ahc_softc *ahc, int *internal50_present, ahc_softc 648 dev/ic/aic7xxx_seeprom.c aic785X_cable_detect(struct ahc_softc *ahc, int *internal50_present, ahc_softc 668 dev/ic/aic7xxx_seeprom.c ahc_acquire_seeprom(struct ahc_softc *ahc, struct seeprom_descriptor *sd) ahc_softc 703 dev/ic/aic7xxx_seeprom.c write_brdctl(struct ahc_softc *ahc, uint8_t value) ahc_softc 736 dev/ic/aic7xxx_seeprom.c struct ahc_softc *ahc; ahc_softc 598 dev/ic/aic7xxxvar.h struct ahc_softc *ahc_softc; ahc_softc 936 dev/ic/aic7xxxvar.h typedef void (*ahc_bus_intr_t)(struct ahc_softc *); ahc_softc 937 dev/ic/aic7xxxvar.h typedef int (*ahc_bus_chip_init_t)(struct ahc_softc *); ahc_softc 940 dev/ic/aic7xxxvar.h struct ahc_softc { ahc_softc 1053 dev/ic/aic7xxxvar.h TAILQ_ENTRY(ahc_softc) links; ahc_softc 1149 dev/ic/aic7xxxvar.h TAILQ_HEAD(ahc_softc_tailq, ahc_softc); ahc_softc 1173 dev/ic/aic7xxxvar.h typedef int (ahc_device_setup_t)(struct ahc_softc *); ahc_softc 1197 dev/ic/aic7xxxvar.h u_int ahc_index_busy_tcl(struct ahc_softc *, u_int); ahc_softc 1198 dev/ic/aic7xxxvar.h void ahc_unbusy_tcl(struct ahc_softc *, u_int); ahc_softc 1199 dev/ic/aic7xxxvar.h void ahc_busy_tcl(struct ahc_softc *, u_int, u_int); ahc_softc 1203 dev/ic/aic7xxxvar.h int ahc_pci_config(struct ahc_softc *, ahc_softc 1205 dev/ic/aic7xxxvar.h int ahc_pci_test_register_access(struct ahc_softc *); ahc_softc 1209 dev/ic/aic7xxxvar.h int aic7770_config(struct ahc_softc *, ahc_softc 1213 dev/ic/aic7xxxvar.h int ahc_probe_scbs(struct ahc_softc *); ahc_softc 1214 dev/ic/aic7xxxvar.h void ahc_run_untagged_queues(struct ahc_softc *ahc); ahc_softc 1215 dev/ic/aic7xxxvar.h void ahc_run_untagged_queue(struct ahc_softc *ahc, ahc_softc 1217 dev/ic/aic7xxxvar.h void ahc_qinfifo_requeue_tail(struct ahc_softc *ahc, ahc_softc 1219 dev/ic/aic7xxxvar.h int ahc_match_scb(struct ahc_softc *ahc, struct scb *scb, ahc_softc 1224 dev/ic/aic7xxxvar.h int ahc_softc_init(struct ahc_softc *); ahc_softc 1226 dev/ic/aic7xxxvar.h void ahc_controller_info(struct ahc_softc *, char *, size_t); ahc_softc 1228 dev/ic/aic7xxxvar.h int ahc_chip_init(struct ahc_softc *ahc); ahc_softc 1229 dev/ic/aic7xxxvar.h int ahc_init(struct ahc_softc *ahc); ahc_softc 1230 dev/ic/aic7xxxvar.h void ahc_intr_enable(struct ahc_softc *ahc, int enable); ahc_softc 1231 dev/ic/aic7xxxvar.h void ahc_softc_insert(struct ahc_softc *); ahc_softc 1232 dev/ic/aic7xxxvar.h void ahc_set_unit(struct ahc_softc *, int); ahc_softc 1233 dev/ic/aic7xxxvar.h void ahc_set_name(struct ahc_softc *, char *); ahc_softc 1234 dev/ic/aic7xxxvar.h void ahc_alloc_scbs(struct ahc_softc *ahc); ahc_softc 1235 dev/ic/aic7xxxvar.h void ahc_free(struct ahc_softc *ahc); ahc_softc 1236 dev/ic/aic7xxxvar.h int ahc_reset(struct ahc_softc *ahc, int reinit); ahc_softc 1240 dev/ic/aic7xxxvar.h void ahc_pci_intr(struct ahc_softc *); ahc_softc 1241 dev/ic/aic7xxxvar.h void ahc_clear_intstat(struct ahc_softc *); ahc_softc 1242 dev/ic/aic7xxxvar.h void ahc_run_qoutfifo(struct ahc_softc *); ahc_softc 1244 dev/ic/aic7xxxvar.h void ahc_run_tqinfifo(struct ahc_softc *ahc, int paused); ahc_softc 1246 dev/ic/aic7xxxvar.h void ahc_handle_brkadrint(struct ahc_softc *ahc); ahc_softc 1247 dev/ic/aic7xxxvar.h void ahc_handle_seqint(struct ahc_softc *ahc, u_int intstat); ahc_softc 1248 dev/ic/aic7xxxvar.h void ahc_handle_scsiint(struct ahc_softc *ahc, ahc_softc 1250 dev/ic/aic7xxxvar.h void ahc_clear_critical_section(struct ahc_softc *ahc); ahc_softc 1258 dev/ic/aic7xxxvar.h int ahc_search_qinfifo(struct ahc_softc *, int, char, ahc_softc 1260 dev/ic/aic7xxxvar.h int ahc_search_untagged_queues(struct ahc_softc *, ahc_softc 1263 dev/ic/aic7xxxvar.h int ahc_search_disc_list(struct ahc_softc *, int, char, ahc_softc 1265 dev/ic/aic7xxxvar.h void ahc_freeze_devq(struct ahc_softc *, struct scb *); ahc_softc 1266 dev/ic/aic7xxxvar.h int ahc_reset_channel(struct ahc_softc *, char, int); ahc_softc 1267 dev/ic/aic7xxxvar.h int ahc_abort_scbs(struct ahc_softc *, int, char, int, ahc_softc 1269 dev/ic/aic7xxxvar.h void ahc_restart(struct ahc_softc *); ahc_softc 1270 dev/ic/aic7xxxvar.h void ahc_calc_residual(struct ahc_softc *, struct scb *); ahc_softc 1279 dev/ic/aic7xxxvar.h struct ahc_syncrate* ahc_find_syncrate(struct ahc_softc *ahc, u_int *period, ahc_softc 1281 dev/ic/aic7xxxvar.h u_int ahc_find_period(struct ahc_softc *ahc, ahc_softc 1283 dev/ic/aic7xxxvar.h void ahc_validate_offset(struct ahc_softc *ahc, ahc_softc 1288 dev/ic/aic7xxxvar.h void ahc_validate_width(struct ahc_softc *ahc, ahc_softc 1301 dev/ic/aic7xxxvar.h int ahc_update_neg_request(struct ahc_softc *, ahc_softc 1304 dev/ic/aic7xxxvar.h void ahc_set_width(struct ahc_softc *, struct ahc_devinfo *, ahc_softc 1306 dev/ic/aic7xxxvar.h void ahc_set_syncrate(struct ahc_softc *, ahc_softc 1309 dev/ic/aic7xxxvar.h void ahc_scb_devinfo(struct ahc_softc *, ahc_softc 1319 dev/ic/aic7xxxvar.h void ahc_set_tags(struct ahc_softc *ahc, ahc_softc 1325 dev/ic/aic7xxxvar.h void ahc_send_lstate_events(struct ahc_softc *, ahc_softc 1327 dev/ic/aic7xxxvar.h void ahc_handle_en_lun(struct ahc_softc *, struct scsipi_xfer *); ahc_softc 1328 dev/ic/aic7xxxvar.h cam_status ahc_find_tmode_devs(struct ahc_softc *, ahc_softc 1353 dev/ic/aic7xxxvar.h void ahc_print_devinfo(struct ahc_softc *ahc, ahc_softc 1355 dev/ic/aic7xxxvar.h void ahc_dump_card_state(struct ahc_softc *ahc); ahc_softc 1364 dev/ic/aic7xxxvar.h int ahc_acquire_seeprom(struct ahc_softc *ahc, ahc_softc 1368 dev/ic/aic7xxxvar.h void ahc_check_extport(struct ahc_softc *, u_int *); ahc_softc 892 dev/microcode/aic7xxx/aic7xxx_seq.h typedef int ahc_patch_func_t (struct ahc_softc *ahc); ahc_softc 896 dev/microcode/aic7xxx/aic7xxx_seq.h ahc_patch23_func(struct ahc_softc *ahc) ahc_softc 904 dev/microcode/aic7xxx/aic7xxx_seq.h ahc_patch22_func(struct ahc_softc *ahc) ahc_softc 912 dev/microcode/aic7xxx/aic7xxx_seq.h ahc_patch21_func(struct ahc_softc *ahc) ahc_softc 920 dev/microcode/aic7xxx/aic7xxx_seq.h ahc_patch20_func(struct ahc_softc *ahc) ahc_softc 928 dev/microcode/aic7xxx/aic7xxx_seq.h ahc_patch19_func(struct ahc_softc *ahc) ahc_softc 936 dev/microcode/aic7xxx/aic7xxx_seq.h ahc_patch18_func(struct ahc_softc *ahc) ahc_softc 944 dev/microcode/aic7xxx/aic7xxx_seq.h ahc_patch17_func(struct ahc_softc *ahc) ahc_softc 952 dev/microcode/aic7xxx/aic7xxx_seq.h ahc_patch16_func(struct ahc_softc *ahc) ahc_softc 960 dev/microcode/aic7xxx/aic7xxx_seq.h ahc_patch15_func(struct ahc_softc *ahc) ahc_softc 968 dev/microcode/aic7xxx/aic7xxx_seq.h ahc_patch14_func(struct ahc_softc *ahc) ahc_softc 976 dev/microcode/aic7xxx/aic7xxx_seq.h ahc_patch13_func(struct ahc_softc *ahc) ahc_softc 984 dev/microcode/aic7xxx/aic7xxx_seq.h ahc_patch12_func(struct ahc_softc *ahc) ahc_softc 992 dev/microcode/aic7xxx/aic7xxx_seq.h ahc_patch11_func(struct ahc_softc *ahc) ahc_softc 1000 dev/microcode/aic7xxx/aic7xxx_seq.h ahc_patch10_func(struct ahc_softc *ahc) ahc_softc 1008 dev/microcode/aic7xxx/aic7xxx_seq.h ahc_patch9_func(struct ahc_softc *ahc) ahc_softc 1016 dev/microcode/aic7xxx/aic7xxx_seq.h ahc_patch8_func(struct ahc_softc *ahc) ahc_softc 1024 dev/microcode/aic7xxx/aic7xxx_seq.h ahc_patch7_func(struct ahc_softc *ahc) ahc_softc 1032 dev/microcode/aic7xxx/aic7xxx_seq.h ahc_patch6_func(struct ahc_softc *ahc) ahc_softc 1040 dev/microcode/aic7xxx/aic7xxx_seq.h ahc_patch5_func(struct ahc_softc *ahc) ahc_softc 1048 dev/microcode/aic7xxx/aic7xxx_seq.h ahc_patch4_func(struct ahc_softc *ahc) ahc_softc 1056 dev/microcode/aic7xxx/aic7xxx_seq.h ahc_patch3_func(struct ahc_softc *ahc) ahc_softc 1064 dev/microcode/aic7xxx/aic7xxx_seq.h ahc_patch2_func(struct ahc_softc *ahc) ahc_softc 1072 dev/microcode/aic7xxx/aic7xxx_seq.h ahc_patch1_func(struct ahc_softc *ahc) ahc_softc 1080 dev/microcode/aic7xxx/aic7xxx_seq.h ahc_patch0_func(struct ahc_softc *ahc) ahc_softc 639 dev/pci/ahc_pci.c static int ahc_ext_scbram_present(struct ahc_softc *ahc); ahc_softc 640 dev/pci/ahc_pci.c static void ahc_scbram_config(struct ahc_softc *ahc, int enable, ahc_softc 642 dev/pci/ahc_pci.c static void ahc_probe_ext_scbram(struct ahc_softc *ahc); ahc_softc 643 dev/pci/ahc_pci.c static int ahc_pci_chip_init(struct ahc_softc *ahc); ahc_softc 650 dev/pci/ahc_pci.c sizeof(struct ahc_softc), ahc_pci_probe, ahc_pci_attach ahc_softc 707 dev/pci/ahc_pci.c struct ahc_softc *ahc = (void *)self; ahc_softc 1114 dev/pci/ahc_pci.c ahc_ext_scbram_present(struct ahc_softc *ahc) ahc_softc 1149 dev/pci/ahc_pci.c ahc_scbram_config(struct ahc_softc *ahc, int enable, int pcheck, ahc_softc 1207 dev/pci/ahc_pci.c ahc_probe_ext_scbram(struct ahc_softc *ahc) ahc_softc 1309 dev/pci/ahc_pci.c ahc_pci_test_register_access(struct ahc_softc *ahc) ahc_softc 1374 dev/pci/ahc_pci.c ahc_pci_intr(struct ahc_softc *ahc) ahc_softc 1424 dev/pci/ahc_pci.c ahc_pci_chip_init(struct ahc_softc *ahc) ahc_softc 1449 dev/pci/ahc_pci.c ahc_aic785X_setup(struct ahc_softc *ahc) ahc_softc 1465 dev/pci/ahc_pci.c ahc_aic7860_setup(struct ahc_softc *ahc) ahc_softc 1481 dev/pci/ahc_pci.c ahc_apa1480_setup(struct ahc_softc *ahc) ahc_softc 1493 dev/pci/ahc_pci.c ahc_aic7870_setup(struct ahc_softc *ahc) ahc_softc 1505 dev/pci/ahc_pci.c ahc_aha394X_setup(struct ahc_softc *ahc) ahc_softc 1516 dev/pci/ahc_pci.c ahc_aha398X_setup(struct ahc_softc *ahc) ahc_softc 1527 dev/pci/ahc_pci.c ahc_aha494X_setup(struct ahc_softc *ahc) ahc_softc 1538 dev/pci/ahc_pci.c ahc_aic7880_setup(struct ahc_softc *ahc) ahc_softc 1557 dev/pci/ahc_pci.c ahc_aha2940Pro_setup(struct ahc_softc *ahc) ahc_softc 1565 dev/pci/ahc_pci.c ahc_aha394XU_setup(struct ahc_softc *ahc) ahc_softc 1576 dev/pci/ahc_pci.c ahc_aha398XU_setup(struct ahc_softc *ahc) ahc_softc 1587 dev/pci/ahc_pci.c ahc_aic7890_setup(struct ahc_softc *ahc) ahc_softc 1603 dev/pci/ahc_pci.c ahc_aic7892_setup(struct ahc_softc *ahc) ahc_softc 1616 dev/pci/ahc_pci.c ahc_aic7895_setup(struct ahc_softc *ahc) ahc_softc 1670 dev/pci/ahc_pci.c ahc_aic7896_setup(struct ahc_softc *ahc) ahc_softc 1682 dev/pci/ahc_pci.c ahc_aic7899_setup(struct ahc_softc *ahc) ahc_softc 1694 dev/pci/ahc_pci.c ahc_aha29160C_setup(struct ahc_softc *ahc) ahc_softc 1706 dev/pci/ahc_pci.c ahc_raid_setup(struct ahc_softc *ahc) ahc_softc 1713 dev/pci/ahc_pci.c ahc_aha394XX_setup(struct ahc_softc *ahc) ahc_softc 1733 dev/pci/ahc_pci.c ahc_aha398XX_setup(struct ahc_softc *ahc) ahc_softc 1758 dev/pci/ahc_pci.c ahc_aha494XX_setup(struct ahc_softc *ahc)