ahd_softc 608 drivers/scsi/aic7xxx/aic79xx.h struct ahd_softc *ahd_softc; ahd_softc 959 drivers/scsi/aic7xxx/aic79xx.h int ahd_read_seeprom(struct ahd_softc *ahd, uint16_t *buf, ahd_softc 962 drivers/scsi/aic7xxx/aic79xx.h int ahd_write_seeprom(struct ahd_softc *ahd, uint16_t *buf, ahd_softc 965 drivers/scsi/aic7xxx/aic79xx.h int ahd_acquire_seeprom(struct ahd_softc *ahd); ahd_softc 966 drivers/scsi/aic7xxx/aic79xx.h void ahd_release_seeprom(struct ahd_softc *ahd); ahd_softc 1024 drivers/scsi/aic7xxx/aic79xx.h typedef void (*ahd_bus_intr_t)(struct ahd_softc *); ahd_softc 1163 drivers/scsi/aic7xxx/aic79xx.h TAILQ_ENTRY(ahd_softc) links; ahd_softc 1303 drivers/scsi/aic7xxx/aic79xx.h typedef int (ahd_device_setup_t)(struct ahd_softc *); ahd_softc 1330 drivers/scsi/aic7xxx/aic79xx.h int ahd_pci_config(struct ahd_softc *, ahd_softc 1332 drivers/scsi/aic7xxx/aic79xx.h int ahd_pci_test_register_access(struct ahd_softc *); ahd_softc 1334 drivers/scsi/aic7xxx/aic79xx.h void ahd_pci_suspend(struct ahd_softc *); ahd_softc 1335 drivers/scsi/aic7xxx/aic79xx.h void ahd_pci_resume(struct ahd_softc *); ahd_softc 1339 drivers/scsi/aic7xxx/aic79xx.h void ahd_qinfifo_requeue_tail(struct ahd_softc *ahd, ahd_softc 1343 drivers/scsi/aic7xxx/aic79xx.h struct ahd_softc *ahd_alloc(void *platform_arg, char *name); ahd_softc 1344 drivers/scsi/aic7xxx/aic79xx.h int ahd_softc_init(struct ahd_softc *); ahd_softc 1345 drivers/scsi/aic7xxx/aic79xx.h void ahd_controller_info(struct ahd_softc *ahd, char *buf); ahd_softc 1346 drivers/scsi/aic7xxx/aic79xx.h int ahd_init(struct ahd_softc *ahd); ahd_softc 1348 drivers/scsi/aic7xxx/aic79xx.h int ahd_suspend(struct ahd_softc *ahd); ahd_softc 1349 drivers/scsi/aic7xxx/aic79xx.h void ahd_resume(struct ahd_softc *ahd); ahd_softc 1351 drivers/scsi/aic7xxx/aic79xx.h int ahd_default_config(struct ahd_softc *ahd); ahd_softc 1352 drivers/scsi/aic7xxx/aic79xx.h int ahd_parse_vpddata(struct ahd_softc *ahd, ahd_softc 1354 drivers/scsi/aic7xxx/aic79xx.h int ahd_parse_cfgdata(struct ahd_softc *ahd, ahd_softc 1356 drivers/scsi/aic7xxx/aic79xx.h void ahd_intr_enable(struct ahd_softc *ahd, int enable); ahd_softc 1357 drivers/scsi/aic7xxx/aic79xx.h void ahd_pause_and_flushwork(struct ahd_softc *ahd); ahd_softc 1358 drivers/scsi/aic7xxx/aic79xx.h void ahd_set_unit(struct ahd_softc *, int); ahd_softc 1359 drivers/scsi/aic7xxx/aic79xx.h void ahd_set_name(struct ahd_softc *, char *); ahd_softc 1360 drivers/scsi/aic7xxx/aic79xx.h struct scb *ahd_get_scb(struct ahd_softc *ahd, u_int col_idx); ahd_softc 1361 drivers/scsi/aic7xxx/aic79xx.h void ahd_free_scb(struct ahd_softc *ahd, struct scb *scb); ahd_softc 1362 drivers/scsi/aic7xxx/aic79xx.h void ahd_free(struct ahd_softc *ahd); ahd_softc 1363 drivers/scsi/aic7xxx/aic79xx.h int ahd_reset(struct ahd_softc *ahd, int reinit); ahd_softc 1364 drivers/scsi/aic7xxx/aic79xx.h int ahd_write_flexport(struct ahd_softc *ahd, ahd_softc 1366 drivers/scsi/aic7xxx/aic79xx.h int ahd_read_flexport(struct ahd_softc *ahd, u_int addr, ahd_softc 1376 drivers/scsi/aic7xxx/aic79xx.h int ahd_search_qinfifo(struct ahd_softc *ahd, int target, ahd_softc 1380 drivers/scsi/aic7xxx/aic79xx.h int ahd_search_disc_list(struct ahd_softc *ahd, int target, ahd_softc 1384 drivers/scsi/aic7xxx/aic79xx.h int ahd_reset_channel(struct ahd_softc *ahd, char channel, ahd_softc 1392 drivers/scsi/aic7xxx/aic79xx.h void ahd_find_syncrate(struct ahd_softc *ahd, u_int *period, ahd_softc 1403 drivers/scsi/aic7xxx/aic79xx.h int ahd_update_neg_request(struct ahd_softc*, ahd_softc 1408 drivers/scsi/aic7xxx/aic79xx.h void ahd_set_width(struct ahd_softc *ahd, ahd_softc 1411 drivers/scsi/aic7xxx/aic79xx.h void ahd_set_syncrate(struct ahd_softc *ahd, ahd_softc 1424 drivers/scsi/aic7xxx/aic79xx.h void ahd_send_lstate_events(struct ahd_softc *, ahd_softc 1426 drivers/scsi/aic7xxx/aic79xx.h void ahd_handle_en_lun(struct ahd_softc *ahd, ahd_softc 1428 drivers/scsi/aic7xxx/aic79xx.h cam_status ahd_find_tmode_devs(struct ahd_softc *ahd, ahd_softc 1459 drivers/scsi/aic7xxx/aic79xx.h void ahd_print_devinfo(struct ahd_softc *ahd, ahd_softc 1461 drivers/scsi/aic7xxx/aic79xx.h void ahd_dump_card_state(struct ahd_softc *ahd); ahd_softc 98 drivers/scsi/aic7xxx/aic79xx_core.c static void ahd_handle_transmission_error(struct ahd_softc *ahd); ahd_softc 99 drivers/scsi/aic7xxx/aic79xx_core.c static void ahd_handle_lqiphase_error(struct ahd_softc *ahd, ahd_softc 101 drivers/scsi/aic7xxx/aic79xx_core.c static int ahd_handle_pkt_busfree(struct ahd_softc *ahd, ahd_softc 103 drivers/scsi/aic7xxx/aic79xx_core.c static int ahd_handle_nonpkt_busfree(struct ahd_softc *ahd); ahd_softc 104 drivers/scsi/aic7xxx/aic79xx_core.c static void ahd_handle_proto_violation(struct ahd_softc *ahd); ahd_softc 105 drivers/scsi/aic7xxx/aic79xx_core.c static void ahd_force_renegotiation(struct ahd_softc *ahd, ahd_softc 109 drivers/scsi/aic7xxx/aic79xx_core.c ahd_alloc_tstate(struct ahd_softc *ahd, ahd_softc 112 drivers/scsi/aic7xxx/aic79xx_core.c static void ahd_free_tstate(struct ahd_softc *ahd, ahd_softc 115 drivers/scsi/aic7xxx/aic79xx_core.c static void ahd_devlimited_syncrate(struct ahd_softc *ahd, ahd_softc 120 drivers/scsi/aic7xxx/aic79xx_core.c static void ahd_update_neg_table(struct ahd_softc *ahd, ahd_softc 123 drivers/scsi/aic7xxx/aic79xx_core.c static void ahd_update_pending_scbs(struct ahd_softc *ahd); ahd_softc 124 drivers/scsi/aic7xxx/aic79xx_core.c static void ahd_fetch_devinfo(struct ahd_softc *ahd, ahd_softc 126 drivers/scsi/aic7xxx/aic79xx_core.c static void ahd_scb_devinfo(struct ahd_softc *ahd, ahd_softc 129 drivers/scsi/aic7xxx/aic79xx_core.c static void ahd_setup_initiator_msgout(struct ahd_softc *ahd, ahd_softc 132 drivers/scsi/aic7xxx/aic79xx_core.c static void ahd_build_transfer_msg(struct ahd_softc *ahd, ahd_softc 134 drivers/scsi/aic7xxx/aic79xx_core.c static void ahd_construct_sdtr(struct ahd_softc *ahd, ahd_softc 137 drivers/scsi/aic7xxx/aic79xx_core.c static void ahd_construct_wdtr(struct ahd_softc *ahd, ahd_softc 140 drivers/scsi/aic7xxx/aic79xx_core.c static void ahd_construct_ppr(struct ahd_softc *ahd, ahd_softc 144 drivers/scsi/aic7xxx/aic79xx_core.c static void ahd_clear_msg_state(struct ahd_softc *ahd); ahd_softc 145 drivers/scsi/aic7xxx/aic79xx_core.c static void ahd_handle_message_phase(struct ahd_softc *ahd); ahd_softc 151 drivers/scsi/aic7xxx/aic79xx_core.c static int ahd_sent_msg(struct ahd_softc *ahd, ahd_msgtype type, ahd_softc 153 drivers/scsi/aic7xxx/aic79xx_core.c static int ahd_parse_msg(struct ahd_softc *ahd, ahd_softc 155 drivers/scsi/aic7xxx/aic79xx_core.c static int ahd_handle_msg_reject(struct ahd_softc *ahd, ahd_softc 157 drivers/scsi/aic7xxx/aic79xx_core.c static void ahd_handle_ign_wide_residue(struct ahd_softc *ahd, ahd_softc 159 drivers/scsi/aic7xxx/aic79xx_core.c static void ahd_reinitialize_dataptrs(struct ahd_softc *ahd); ahd_softc 160 drivers/scsi/aic7xxx/aic79xx_core.c static void ahd_handle_devreset(struct ahd_softc *ahd, ahd_softc 165 drivers/scsi/aic7xxx/aic79xx_core.c static void ahd_setup_target_msgin(struct ahd_softc *ahd, ahd_softc 170 drivers/scsi/aic7xxx/aic79xx_core.c static u_int ahd_sglist_size(struct ahd_softc *ahd); ahd_softc 171 drivers/scsi/aic7xxx/aic79xx_core.c static u_int ahd_sglist_allocsize(struct ahd_softc *ahd); ahd_softc 174 drivers/scsi/aic7xxx/aic79xx_core.c static void ahd_initialize_hscbs(struct ahd_softc *ahd); ahd_softc 175 drivers/scsi/aic7xxx/aic79xx_core.c static int ahd_init_scbdata(struct ahd_softc *ahd); ahd_softc 176 drivers/scsi/aic7xxx/aic79xx_core.c static void ahd_fini_scbdata(struct ahd_softc *ahd); ahd_softc 177 drivers/scsi/aic7xxx/aic79xx_core.c static void ahd_setup_iocell_workaround(struct ahd_softc *ahd); ahd_softc 178 drivers/scsi/aic7xxx/aic79xx_core.c static void ahd_iocell_first_selection(struct ahd_softc *ahd); ahd_softc 179 drivers/scsi/aic7xxx/aic79xx_core.c static void ahd_add_col_list(struct ahd_softc *ahd, ahd_softc 181 drivers/scsi/aic7xxx/aic79xx_core.c static void ahd_rem_col_list(struct ahd_softc *ahd, ahd_softc 183 drivers/scsi/aic7xxx/aic79xx_core.c static void ahd_chip_init(struct ahd_softc *ahd); ahd_softc 184 drivers/scsi/aic7xxx/aic79xx_core.c static void ahd_qinfifo_requeue(struct ahd_softc *ahd, ahd_softc 187 drivers/scsi/aic7xxx/aic79xx_core.c static int ahd_qinfifo_count(struct ahd_softc *ahd); ahd_softc 188 drivers/scsi/aic7xxx/aic79xx_core.c static int ahd_search_scb_list(struct ahd_softc *ahd, int target, ahd_softc 194 drivers/scsi/aic7xxx/aic79xx_core.c static void ahd_stitch_tid_list(struct ahd_softc *ahd, ahd_softc 197 drivers/scsi/aic7xxx/aic79xx_core.c static void ahd_add_scb_to_free_list(struct ahd_softc *ahd, ahd_softc 199 drivers/scsi/aic7xxx/aic79xx_core.c static u_int ahd_rem_wscb(struct ahd_softc *ahd, u_int scbid, ahd_softc 201 drivers/scsi/aic7xxx/aic79xx_core.c static void ahd_reset_current_bus(struct ahd_softc *ahd); ahd_softc 204 drivers/scsi/aic7xxx/aic79xx_core.c static void ahd_dumpseq(struct ahd_softc *ahd); ahd_softc 206 drivers/scsi/aic7xxx/aic79xx_core.c static void ahd_loadseq(struct ahd_softc *ahd); ahd_softc 207 drivers/scsi/aic7xxx/aic79xx_core.c static int ahd_check_patch(struct ahd_softc *ahd, ahd_softc 210 drivers/scsi/aic7xxx/aic79xx_core.c static u_int ahd_resolve_seqaddr(struct ahd_softc *ahd, ahd_softc 212 drivers/scsi/aic7xxx/aic79xx_core.c static void ahd_download_instr(struct ahd_softc *ahd, ahd_softc 214 drivers/scsi/aic7xxx/aic79xx_core.c static int ahd_probe_stack_size(struct ahd_softc *ahd); ahd_softc 215 drivers/scsi/aic7xxx/aic79xx_core.c static int ahd_scb_active_in_fifo(struct ahd_softc *ahd, ahd_softc 217 drivers/scsi/aic7xxx/aic79xx_core.c static void ahd_run_data_fifo(struct ahd_softc *ahd, ahd_softc 221 drivers/scsi/aic7xxx/aic79xx_core.c static void ahd_queue_lstate_event(struct ahd_softc *ahd, ahd_softc 226 drivers/scsi/aic7xxx/aic79xx_core.c static void ahd_update_scsiid(struct ahd_softc *ahd, ahd_softc 228 drivers/scsi/aic7xxx/aic79xx_core.c static int ahd_handle_target_cmd(struct ahd_softc *ahd, ahd_softc 232 drivers/scsi/aic7xxx/aic79xx_core.c static int ahd_abort_scbs(struct ahd_softc *ahd, int target, ahd_softc 235 drivers/scsi/aic7xxx/aic79xx_core.c static void ahd_alloc_scbs(struct ahd_softc *ahd); ahd_softc 236 drivers/scsi/aic7xxx/aic79xx_core.c static void ahd_busy_tcl(struct ahd_softc *ahd, u_int tcl, ahd_softc 238 drivers/scsi/aic7xxx/aic79xx_core.c static void ahd_calc_residual(struct ahd_softc *ahd, ahd_softc 240 drivers/scsi/aic7xxx/aic79xx_core.c static void ahd_clear_critical_section(struct ahd_softc *ahd); ahd_softc 241 drivers/scsi/aic7xxx/aic79xx_core.c static void ahd_clear_intstat(struct ahd_softc *ahd); ahd_softc 242 drivers/scsi/aic7xxx/aic79xx_core.c static void ahd_enable_coalescing(struct ahd_softc *ahd, ahd_softc 244 drivers/scsi/aic7xxx/aic79xx_core.c static u_int ahd_find_busy_tcl(struct ahd_softc *ahd, u_int tcl); ahd_softc 245 drivers/scsi/aic7xxx/aic79xx_core.c static void ahd_freeze_devq(struct ahd_softc *ahd, ahd_softc 247 drivers/scsi/aic7xxx/aic79xx_core.c static void ahd_handle_scb_status(struct ahd_softc *ahd, ahd_softc 251 drivers/scsi/aic7xxx/aic79xx_core.c static void ahd_update_coalescing_values(struct ahd_softc *ahd, ahd_softc 256 drivers/scsi/aic7xxx/aic79xx_core.c static int ahd_wait_seeprom(struct ahd_softc *ahd); ahd_softc 257 drivers/scsi/aic7xxx/aic79xx_core.c static int ahd_match_scb(struct ahd_softc *ahd, struct scb *scb, ahd_softc 261 drivers/scsi/aic7xxx/aic79xx_core.c static void ahd_reset_cmds_pending(struct ahd_softc *ahd); ahd_softc 264 drivers/scsi/aic7xxx/aic79xx_core.c static void ahd_run_qoutfifo(struct ahd_softc *ahd); ahd_softc 266 drivers/scsi/aic7xxx/aic79xx_core.c static void ahd_run_tqinfifo(struct ahd_softc *ahd, int paused); ahd_softc 268 drivers/scsi/aic7xxx/aic79xx_core.c static void ahd_handle_hwerrint(struct ahd_softc *ahd); ahd_softc 269 drivers/scsi/aic7xxx/aic79xx_core.c static void ahd_handle_seqint(struct ahd_softc *ahd, u_int intstat); ahd_softc 270 drivers/scsi/aic7xxx/aic79xx_core.c static void ahd_handle_scsiint(struct ahd_softc *ahd, ahd_softc 275 drivers/scsi/aic7xxx/aic79xx_core.c ahd_set_modes(struct ahd_softc *ahd, ahd_mode src, ahd_mode dst) ahd_softc 293 drivers/scsi/aic7xxx/aic79xx_core.c ahd_update_modes(struct ahd_softc *ahd) ahd_softc 309 drivers/scsi/aic7xxx/aic79xx_core.c ahd_assert_modes(struct ahd_softc *ahd, ahd_mode srcmode, ahd_softc 325 drivers/scsi/aic7xxx/aic79xx_core.c ahd_save_modes(struct ahd_softc *ahd) ahd_softc 335 drivers/scsi/aic7xxx/aic79xx_core.c ahd_restore_modes(struct ahd_softc *ahd, ahd_mode_state state) ahd_softc 349 drivers/scsi/aic7xxx/aic79xx_core.c ahd_is_paused(struct ahd_softc *ahd) ahd_softc 362 drivers/scsi/aic7xxx/aic79xx_core.c ahd_pause(struct ahd_softc *ahd) ahd_softc 385 drivers/scsi/aic7xxx/aic79xx_core.c ahd_unpause(struct ahd_softc *ahd) ahd_softc 406 drivers/scsi/aic7xxx/aic79xx_core.c ahd_sg_setup(struct ahd_softc *ahd, struct scb *scb, ahd_softc 430 drivers/scsi/aic7xxx/aic79xx_core.c ahd_setup_scb_common(struct ahd_softc *ahd, struct scb *scb) ahd_softc 451 drivers/scsi/aic7xxx/aic79xx_core.c ahd_setup_data_scb(struct ahd_softc *ahd, struct scb *scb) ahd_softc 488 drivers/scsi/aic7xxx/aic79xx_core.c ahd_setup_noxfer_scb(struct ahd_softc *ahd, struct scb *scb) ahd_softc 497 drivers/scsi/aic7xxx/aic79xx_core.c ahd_sg_bus_to_virt(struct ahd_softc *ahd, struct scb *scb, uint32_t sg_busaddr) ahd_softc 507 drivers/scsi/aic7xxx/aic79xx_core.c ahd_sg_virt_to_bus(struct ahd_softc *ahd, struct scb *scb, void *sg) ahd_softc 519 drivers/scsi/aic7xxx/aic79xx_core.c ahd_sync_scb(struct ahd_softc *ahd, struct scb *scb, int op) ahd_softc 528 drivers/scsi/aic7xxx/aic79xx_core.c ahd_sync_sglist(struct ahd_softc *ahd, struct scb *scb, int op) ahd_softc 540 drivers/scsi/aic7xxx/aic79xx_core.c ahd_sync_sense(struct ahd_softc *ahd, struct scb *scb, int op) ahd_softc 550 drivers/scsi/aic7xxx/aic79xx_core.c ahd_targetcmd_offset(struct ahd_softc *ahd, u_int index) ahd_softc 563 drivers/scsi/aic7xxx/aic79xx_core.c ahd_fetch_transinfo(struct ahd_softc *ahd, char channel, u_int our_id, ahd_softc 579 drivers/scsi/aic7xxx/aic79xx_core.c ahd_inw(struct ahd_softc *ahd, u_int port) ahd_softc 591 drivers/scsi/aic7xxx/aic79xx_core.c ahd_outw(struct ahd_softc *ahd, u_int port, u_int value) ahd_softc 602 drivers/scsi/aic7xxx/aic79xx_core.c ahd_inl(struct ahd_softc *ahd, u_int port) ahd_softc 611 drivers/scsi/aic7xxx/aic79xx_core.c ahd_outl(struct ahd_softc *ahd, u_int port, uint32_t value) ahd_softc 620 drivers/scsi/aic7xxx/aic79xx_core.c ahd_inq(struct ahd_softc *ahd, u_int port) ahd_softc 633 drivers/scsi/aic7xxx/aic79xx_core.c ahd_outq(struct ahd_softc *ahd, u_int port, uint64_t value) ahd_softc 646 drivers/scsi/aic7xxx/aic79xx_core.c ahd_get_scbptr(struct ahd_softc *ahd) ahd_softc 654 drivers/scsi/aic7xxx/aic79xx_core.c ahd_set_scbptr(struct ahd_softc *ahd, u_int scbptr) ahd_softc 664 drivers/scsi/aic7xxx/aic79xx_core.c ahd_get_hnscb_qoff(struct ahd_softc *ahd) ahd_softc 671 drivers/scsi/aic7xxx/aic79xx_core.c ahd_set_hnscb_qoff(struct ahd_softc *ahd, u_int value) ahd_softc 678 drivers/scsi/aic7xxx/aic79xx_core.c ahd_get_hescb_qoff(struct ahd_softc *ahd) ahd_softc 685 drivers/scsi/aic7xxx/aic79xx_core.c ahd_set_hescb_qoff(struct ahd_softc *ahd, u_int value) ahd_softc 691 drivers/scsi/aic7xxx/aic79xx_core.c ahd_get_snscb_qoff(struct ahd_softc *ahd) ahd_softc 702 drivers/scsi/aic7xxx/aic79xx_core.c ahd_set_snscb_qoff(struct ahd_softc *ahd, u_int value) ahd_softc 710 drivers/scsi/aic7xxx/aic79xx_core.c ahd_get_sescb_qoff(struct ahd_softc *ahd) ahd_softc 718 drivers/scsi/aic7xxx/aic79xx_core.c ahd_set_sescb_qoff(struct ahd_softc *ahd, u_int value) ahd_softc 726 drivers/scsi/aic7xxx/aic79xx_core.c ahd_get_sdscb_qoff(struct ahd_softc *ahd) ahd_softc 734 drivers/scsi/aic7xxx/aic79xx_core.c ahd_set_sdscb_qoff(struct ahd_softc *ahd, u_int value) ahd_softc 742 drivers/scsi/aic7xxx/aic79xx_core.c ahd_inb_scbram(struct ahd_softc *ahd, u_int offset) ahd_softc 767 drivers/scsi/aic7xxx/aic79xx_core.c ahd_inw_scbram(struct ahd_softc *ahd, u_int offset) ahd_softc 774 drivers/scsi/aic7xxx/aic79xx_core.c ahd_inl_scbram(struct ahd_softc *ahd, u_int offset) ahd_softc 781 drivers/scsi/aic7xxx/aic79xx_core.c ahd_inq_scbram(struct ahd_softc *ahd, u_int offset) ahd_softc 788 drivers/scsi/aic7xxx/aic79xx_core.c ahd_lookup_scb(struct ahd_softc *ahd, u_int tag) ahd_softc 802 drivers/scsi/aic7xxx/aic79xx_core.c ahd_swap_with_next_hscb(struct ahd_softc *ahd, struct scb *scb) ahd_softc 841 drivers/scsi/aic7xxx/aic79xx_core.c ahd_queue_scb(struct ahd_softc *ahd, struct scb *scb) ahd_softc 887 drivers/scsi/aic7xxx/aic79xx_core.c ahd_sync_qoutfifo(struct ahd_softc *ahd, int op) ahd_softc 895 drivers/scsi/aic7xxx/aic79xx_core.c ahd_sync_tqinfifo(struct ahd_softc *ahd, int op) ahd_softc 915 drivers/scsi/aic7xxx/aic79xx_core.c ahd_check_cmdcmpltqueues(struct ahd_softc *ahd) ahd_softc 945 drivers/scsi/aic7xxx/aic79xx_core.c ahd_intr(struct ahd_softc *ahd) ahd_softc 1030 drivers/scsi/aic7xxx/aic79xx_core.c ahd_assert_atn(struct ahd_softc *ahd) ahd_softc 1042 drivers/scsi/aic7xxx/aic79xx_core.c ahd_currently_packetized(struct ahd_softc *ahd) ahd_softc 1065 drivers/scsi/aic7xxx/aic79xx_core.c ahd_set_active_fifo(struct ahd_softc *ahd) ahd_softc 1082 drivers/scsi/aic7xxx/aic79xx_core.c ahd_unbusy_tcl(struct ahd_softc *ahd, u_int tcl) ahd_softc 1092 drivers/scsi/aic7xxx/aic79xx_core.c ahd_update_residual(struct ahd_softc *ahd, struct scb *scb) ahd_softc 1102 drivers/scsi/aic7xxx/aic79xx_core.c ahd_complete_scb(struct ahd_softc *ahd, struct scb *scb) ahd_softc 1119 drivers/scsi/aic7xxx/aic79xx_core.c ahd_restart(struct ahd_softc *ahd) ahd_softc 1163 drivers/scsi/aic7xxx/aic79xx_core.c ahd_clear_fifo(struct ahd_softc *ahd, u_int fifo) ahd_softc 1187 drivers/scsi/aic7xxx/aic79xx_core.c ahd_flush_qoutfifo(struct ahd_softc *ahd) ahd_softc 1395 drivers/scsi/aic7xxx/aic79xx_core.c ahd_scb_active_in_fifo(struct ahd_softc *ahd, struct scb *scb) ahd_softc 1424 drivers/scsi/aic7xxx/aic79xx_core.c ahd_run_data_fifo(struct ahd_softc *ahd, struct scb *scb) ahd_softc 1658 drivers/scsi/aic7xxx/aic79xx_core.c ahd_run_qoutfifo(struct ahd_softc *ahd) ahd_softc 1697 drivers/scsi/aic7xxx/aic79xx_core.c ahd_handle_hwerrint(struct ahd_softc *ahd) ahd_softc 1732 drivers/scsi/aic7xxx/aic79xx_core.c if ((scb->ahd_softc->flags & AHD_64BIT_ADDRESSING) != 0) { ahd_softc 1771 drivers/scsi/aic7xxx/aic79xx_core.c ahd_handle_seqint(struct ahd_softc *ahd, u_int intstat) ahd_softc 2385 drivers/scsi/aic7xxx/aic79xx_core.c ahd_handle_scsiint(struct ahd_softc *ahd, u_int intstat) ahd_softc 2667 drivers/scsi/aic7xxx/aic79xx_core.c ahd_handle_transmission_error(struct ahd_softc *ahd) ahd_softc 2854 drivers/scsi/aic7xxx/aic79xx_core.c ahd_handle_lqiphase_error(struct ahd_softc *ahd, u_int lqistat1) ahd_softc 2896 drivers/scsi/aic7xxx/aic79xx_core.c ahd_handle_pkt_busfree(struct ahd_softc *ahd, u_int busfreetime) ahd_softc 3028 drivers/scsi/aic7xxx/aic79xx_core.c ahd_handle_nonpkt_busfree(struct ahd_softc *ahd) ahd_softc 3315 drivers/scsi/aic7xxx/aic79xx_core.c ahd_handle_proto_violation(struct ahd_softc *ahd) ahd_softc 3414 drivers/scsi/aic7xxx/aic79xx_core.c ahd_force_renegotiation(struct ahd_softc *ahd, struct ahd_devinfo *devinfo) ahd_softc 3436 drivers/scsi/aic7xxx/aic79xx_core.c ahd_clear_critical_section(struct ahd_softc *ahd) ahd_softc 3559 drivers/scsi/aic7xxx/aic79xx_core.c ahd_clear_intstat(struct ahd_softc *ahd) ahd_softc 3623 drivers/scsi/aic7xxx/aic79xx_core.c ahd_alloc_tstate(struct ahd_softc *ahd, u_int scsi_id, char channel) ahd_softc 3665 drivers/scsi/aic7xxx/aic79xx_core.c ahd_free_tstate(struct ahd_softc *ahd, u_int scsi_id, char channel, int force) ahd_softc 3691 drivers/scsi/aic7xxx/aic79xx_core.c ahd_devlimited_syncrate(struct ahd_softc *ahd, ahd_softc 3740 drivers/scsi/aic7xxx/aic79xx_core.c ahd_find_syncrate(struct ahd_softc *ahd, u_int *period, ahd_softc 3779 drivers/scsi/aic7xxx/aic79xx_core.c ahd_validate_offset(struct ahd_softc *ahd, ahd_softc 3810 drivers/scsi/aic7xxx/aic79xx_core.c ahd_validate_width(struct ahd_softc *ahd, struct ahd_initiator_tinfo *tinfo, ahd_softc 3840 drivers/scsi/aic7xxx/aic79xx_core.c ahd_update_neg_request(struct ahd_softc *ahd, struct ahd_devinfo *devinfo, ahd_softc 3883 drivers/scsi/aic7xxx/aic79xx_core.c ahd_set_syncrate(struct ahd_softc *ahd, struct ahd_devinfo *devinfo, ahd_softc 4029 drivers/scsi/aic7xxx/aic79xx_core.c ahd_set_width(struct ahd_softc *ahd, struct ahd_devinfo *devinfo, ahd_softc 4083 drivers/scsi/aic7xxx/aic79xx_core.c ahd_set_tags(struct ahd_softc *ahd, struct scsi_cmnd *cmd, ahd_softc 4094 drivers/scsi/aic7xxx/aic79xx_core.c ahd_update_neg_table(struct ahd_softc *ahd, struct ahd_devinfo *devinfo, ahd_softc 4214 drivers/scsi/aic7xxx/aic79xx_core.c ahd_update_pending_scbs(struct ahd_softc *ahd) ahd_softc 4297 drivers/scsi/aic7xxx/aic79xx_core.c ahd_fetch_devinfo(struct ahd_softc *ahd, struct ahd_devinfo *devinfo) ahd_softc 4332 drivers/scsi/aic7xxx/aic79xx_core.c ahd_print_devinfo(struct ahd_softc *ahd, struct ahd_devinfo *devinfo) ahd_softc 4372 drivers/scsi/aic7xxx/aic79xx_core.c ahd_scb_devinfo(struct ahd_softc *ahd, struct ahd_devinfo *devinfo, ahd_softc 4395 drivers/scsi/aic7xxx/aic79xx_core.c ahd_setup_initiator_msgout(struct ahd_softc *ahd, struct ahd_devinfo *devinfo, ahd_softc 4516 drivers/scsi/aic7xxx/aic79xx_core.c ahd_build_transfer_msg(struct ahd_softc *ahd, struct ahd_devinfo *devinfo) ahd_softc 4612 drivers/scsi/aic7xxx/aic79xx_core.c ahd_construct_sdtr(struct ahd_softc *ahd, struct ahd_devinfo *devinfo, ahd_softc 4632 drivers/scsi/aic7xxx/aic79xx_core.c ahd_construct_wdtr(struct ahd_softc *ahd, struct ahd_devinfo *devinfo, ahd_softc 4650 drivers/scsi/aic7xxx/aic79xx_core.c ahd_construct_ppr(struct ahd_softc *ahd, struct ahd_devinfo *devinfo, ahd_softc 4679 drivers/scsi/aic7xxx/aic79xx_core.c ahd_clear_msg_state(struct ahd_softc *ahd) ahd_softc 4707 drivers/scsi/aic7xxx/aic79xx_core.c ahd_handle_message_phase(struct ahd_softc *ahd) ahd_softc 5047 drivers/scsi/aic7xxx/aic79xx_core.c ahd_sent_msg(struct ahd_softc *ahd, ahd_msgtype type, u_int msgval, int full) ahd_softc 5096 drivers/scsi/aic7xxx/aic79xx_core.c ahd_parse_msg(struct ahd_softc *ahd, struct ahd_devinfo *devinfo) ahd_softc 5514 drivers/scsi/aic7xxx/aic79xx_core.c ahd_handle_msg_reject(struct ahd_softc *ahd, struct ahd_devinfo *devinfo) ahd_softc 5685 drivers/scsi/aic7xxx/aic79xx_core.c ahd_handle_ign_wide_residue(struct ahd_softc *ahd, struct ahd_devinfo *devinfo) ahd_softc 5835 drivers/scsi/aic7xxx/aic79xx_core.c ahd_reinitialize_dataptrs(struct ahd_softc *ahd) ahd_softc 5917 drivers/scsi/aic7xxx/aic79xx_core.c ahd_handle_devreset(struct ahd_softc *ahd, struct ahd_devinfo *devinfo, ahd_softc 5981 drivers/scsi/aic7xxx/aic79xx_core.c ahd_setup_target_msgin(struct ahd_softc *ahd, struct ahd_devinfo *devinfo, ahd_softc 6004 drivers/scsi/aic7xxx/aic79xx_core.c ahd_sglist_size(struct ahd_softc *ahd) ahd_softc 6021 drivers/scsi/aic7xxx/aic79xx_core.c ahd_sglist_allocsize(struct ahd_softc *ahd) ahd_softc 6065 drivers/scsi/aic7xxx/aic79xx_core.c struct ahd_softc * ahd_softc 6068 drivers/scsi/aic7xxx/aic79xx_core.c struct ahd_softc *ahd; ahd_softc 6124 drivers/scsi/aic7xxx/aic79xx_core.c ahd_softc_init(struct ahd_softc *ahd) ahd_softc 6133 drivers/scsi/aic7xxx/aic79xx_core.c ahd_set_unit(struct ahd_softc *ahd, int unit) ahd_softc 6139 drivers/scsi/aic7xxx/aic79xx_core.c ahd_set_name(struct ahd_softc *ahd, char *name) ahd_softc 6147 drivers/scsi/aic7xxx/aic79xx_core.c ahd_free(struct ahd_softc *ahd) ahd_softc 6218 drivers/scsi/aic7xxx/aic79xx_core.c struct ahd_softc *ahd; ahd_softc 6220 drivers/scsi/aic7xxx/aic79xx_core.c ahd = (struct ahd_softc *)arg; ahd_softc 6241 drivers/scsi/aic7xxx/aic79xx_core.c ahd_reset(struct ahd_softc *ahd, int reinit) ahd_softc 6344 drivers/scsi/aic7xxx/aic79xx_core.c ahd_probe_scbs(struct ahd_softc *ahd) { ahd_softc 6377 drivers/scsi/aic7xxx/aic79xx_core.c ahd_initialize_hscbs(struct ahd_softc *ahd) ahd_softc 6393 drivers/scsi/aic7xxx/aic79xx_core.c ahd_init_scbdata(struct ahd_softc *ahd) ahd_softc 6494 drivers/scsi/aic7xxx/aic79xx_core.c ahd_find_scb_by_tag(struct ahd_softc *ahd, u_int tag) ahd_softc 6532 drivers/scsi/aic7xxx/aic79xx_core.c ahd_fini_scbdata(struct ahd_softc *ahd) ahd_softc 6601 drivers/scsi/aic7xxx/aic79xx_core.c ahd_setup_iocell_workaround(struct ahd_softc *ahd) ahd_softc 6619 drivers/scsi/aic7xxx/aic79xx_core.c ahd_iocell_first_selection(struct ahd_softc *ahd) ahd_softc 6650 drivers/scsi/aic7xxx/aic79xx_core.c ahd_add_col_list(struct ahd_softc *ahd, struct scb *scb, u_int col_idx) ahd_softc 6670 drivers/scsi/aic7xxx/aic79xx_core.c ahd_rem_col_list(struct ahd_softc *ahd, struct scb *scb) ahd_softc 6704 drivers/scsi/aic7xxx/aic79xx_core.c ahd_get_scb(struct ahd_softc *ahd, u_int col_idx) ahd_softc 6740 drivers/scsi/aic7xxx/aic79xx_core.c ahd_free_scb(struct ahd_softc *ahd, struct scb *scb) ahd_softc 6792 drivers/scsi/aic7xxx/aic79xx_core.c ahd_alloc_scbs(struct ahd_softc *ahd) ahd_softc 6956 drivers/scsi/aic7xxx/aic79xx_core.c next_scb->ahd_softc = ahd; ahd_softc 6978 drivers/scsi/aic7xxx/aic79xx_core.c ahd_controller_info(struct ahd_softc *ahd, char *buf) ahd_softc 7028 drivers/scsi/aic7xxx/aic79xx_core.c ahd_init(struct ahd_softc *ahd) ahd_softc 7239 drivers/scsi/aic7xxx/aic79xx_core.c ahd_chip_init(struct ahd_softc *ahd) ahd_softc 7581 drivers/scsi/aic7xxx/aic79xx_core.c ahd_default_config(struct ahd_softc *ahd) ahd_softc 7658 drivers/scsi/aic7xxx/aic79xx_core.c ahd_parse_cfgdata(struct ahd_softc *ahd, struct seeprom_config *sc) ahd_softc 7792 drivers/scsi/aic7xxx/aic79xx_core.c ahd_parse_vpddata(struct ahd_softc *ahd, struct vpd_config *vpd) ahd_softc 7805 drivers/scsi/aic7xxx/aic79xx_core.c ahd_intr_enable(struct ahd_softc *ahd, int enable) ahd_softc 7822 drivers/scsi/aic7xxx/aic79xx_core.c ahd_update_coalescing_values(struct ahd_softc *ahd, u_int timer, u_int maxcmds, ahd_softc 7840 drivers/scsi/aic7xxx/aic79xx_core.c ahd_enable_coalescing(struct ahd_softc *ahd, int enable) ahd_softc 7859 drivers/scsi/aic7xxx/aic79xx_core.c ahd_pause_and_flushwork(struct ahd_softc *ahd) ahd_softc 7911 drivers/scsi/aic7xxx/aic79xx_core.c ahd_suspend(struct ahd_softc *ahd) ahd_softc 7925 drivers/scsi/aic7xxx/aic79xx_core.c ahd_resume(struct ahd_softc *ahd) ahd_softc 7944 drivers/scsi/aic7xxx/aic79xx_core.c ahd_index_busy_tcl(struct ahd_softc *ahd, u_int *saved_scbid, u_int tcl) ahd_softc 7966 drivers/scsi/aic7xxx/aic79xx_core.c ahd_find_busy_tcl(struct ahd_softc *ahd, u_int tcl) ahd_softc 7979 drivers/scsi/aic7xxx/aic79xx_core.c ahd_busy_tcl(struct ahd_softc *ahd, u_int tcl, u_int scbid) ahd_softc 7991 drivers/scsi/aic7xxx/aic79xx_core.c ahd_match_scb(struct ahd_softc *ahd, struct scb *scb, int target, ahd_softc 8027 drivers/scsi/aic7xxx/aic79xx_core.c ahd_freeze_devq(struct ahd_softc *ahd, struct scb *scb) ahd_softc 8045 drivers/scsi/aic7xxx/aic79xx_core.c ahd_qinfifo_requeue_tail(struct ahd_softc *ahd, struct scb *scb) ahd_softc 8067 drivers/scsi/aic7xxx/aic79xx_core.c ahd_qinfifo_requeue(struct ahd_softc *ahd, struct scb *prev_scb, ahd_softc 8087 drivers/scsi/aic7xxx/aic79xx_core.c ahd_qinfifo_count(struct ahd_softc *ahd) ahd_softc 8105 drivers/scsi/aic7xxx/aic79xx_core.c ahd_reset_cmds_pending(struct ahd_softc *ahd) ahd_softc 8130 drivers/scsi/aic7xxx/aic79xx_core.c ahd_done_with_status(struct ahd_softc *ahd, struct scb *scb, uint32_t status) ahd_softc 8145 drivers/scsi/aic7xxx/aic79xx_core.c ahd_search_qinfifo(struct ahd_softc *ahd, int target, char channel, ahd_softc 8375 drivers/scsi/aic7xxx/aic79xx_core.c ahd_search_scb_list(struct ahd_softc *ahd, int target, char channel, ahd_softc 8443 drivers/scsi/aic7xxx/aic79xx_core.c ahd_stitch_tid_list(struct ahd_softc *ahd, u_int tid_prev, ahd_softc 8481 drivers/scsi/aic7xxx/aic79xx_core.c ahd_rem_wscb(struct ahd_softc *ahd, u_int scbid, ahd_softc 8514 drivers/scsi/aic7xxx/aic79xx_core.c ahd_add_scb_to_free_list(struct ahd_softc *ahd, u_int scbid) ahd_softc 8532 drivers/scsi/aic7xxx/aic79xx_core.c ahd_abort_scbs(struct ahd_softc *ahd, int target, char channel, ahd_softc 8628 drivers/scsi/aic7xxx/aic79xx_core.c ahd_reset_current_bus(struct ahd_softc *ahd) ahd_softc 8658 drivers/scsi/aic7xxx/aic79xx_core.c ahd_reset_channel(struct ahd_softc *ahd, char channel, int initiate_reset) ahd_softc 8832 drivers/scsi/aic7xxx/aic79xx_core.c struct ahd_softc *ahd = from_timer(ahd, t, stat_timer); ahd_softc 8866 drivers/scsi/aic7xxx/aic79xx_core.c ahd_handle_scsi_status(struct ahd_softc *ahd, struct scb *scb) ahd_softc 9074 drivers/scsi/aic7xxx/aic79xx_core.c ahd_handle_scb_status(struct ahd_softc *ahd, struct scb *scb) ahd_softc 9088 drivers/scsi/aic7xxx/aic79xx_core.c ahd_calc_residual(struct ahd_softc *ahd, struct scb *scb) ahd_softc 9191 drivers/scsi/aic7xxx/aic79xx_core.c ahd_queue_lstate_event(struct ahd_softc *ahd, struct ahd_tmode_lstate *lstate, ahd_softc 9242 drivers/scsi/aic7xxx/aic79xx_core.c ahd_send_lstate_events(struct ahd_softc *ahd, struct ahd_tmode_lstate *lstate) ahd_softc 9278 drivers/scsi/aic7xxx/aic79xx_core.c ahd_dumpseq(struct ahd_softc* ahd) ahd_softc 9300 drivers/scsi/aic7xxx/aic79xx_core.c ahd_loadseq(struct ahd_softc *ahd) ahd_softc 9460 drivers/scsi/aic7xxx/aic79xx_core.c ahd_check_patch(struct ahd_softc *ahd, const struct patch **start_patch, ahd_softc 9496 drivers/scsi/aic7xxx/aic79xx_core.c ahd_resolve_seqaddr(struct ahd_softc *ahd, u_int address) ahd_softc 9525 drivers/scsi/aic7xxx/aic79xx_core.c ahd_download_instr(struct ahd_softc *ahd, u_int instrptr, uint8_t *dconsts) ahd_softc 9594 drivers/scsi/aic7xxx/aic79xx_core.c ahd_probe_stack_size(struct ahd_softc *ahd) ahd_softc 9677 drivers/scsi/aic7xxx/aic79xx_core.c ahd_dump_card_state(struct ahd_softc *ahd) ahd_softc 9940 drivers/scsi/aic7xxx/aic79xx_core.c ahd_dump_scbs(struct ahd_softc *ahd) ahd_softc 9974 drivers/scsi/aic7xxx/aic79xx_core.c ahd_read_seeprom(struct ahd_softc *ahd, uint16_t *buf, ahd_softc 10019 drivers/scsi/aic7xxx/aic79xx_core.c ahd_write_seeprom(struct ahd_softc *ahd, uint16_t *buf, ahd_softc 10068 drivers/scsi/aic7xxx/aic79xx_core.c ahd_wait_seeprom(struct ahd_softc *ahd) ahd_softc 10136 drivers/scsi/aic7xxx/aic79xx_core.c ahd_acquire_seeprom(struct ahd_softc *ahd) ahd_softc 10159 drivers/scsi/aic7xxx/aic79xx_core.c ahd_release_seeprom(struct ahd_softc *ahd) ahd_softc 10168 drivers/scsi/aic7xxx/aic79xx_core.c ahd_wait_flexport(struct ahd_softc *ahd) ahd_softc 10183 drivers/scsi/aic7xxx/aic79xx_core.c ahd_write_flexport(struct ahd_softc *ahd, u_int addr, u_int value) ahd_softc 10206 drivers/scsi/aic7xxx/aic79xx_core.c ahd_read_flexport(struct ahd_softc *ahd, u_int addr, uint8_t *value) ahd_softc 10226 drivers/scsi/aic7xxx/aic79xx_core.c ahd_find_tmode_devs(struct ahd_softc *ahd, struct cam_sim *sim, union ccb *ccb, ahd_softc 10267 drivers/scsi/aic7xxx/aic79xx_core.c ahd_handle_en_lun(struct ahd_softc *ahd, struct cam_sim *sim, union ccb *ccb) ahd_softc 10580 drivers/scsi/aic7xxx/aic79xx_core.c ahd_update_scsiid(struct ahd_softc *ahd, u_int targid_mask) ahd_softc 10620 drivers/scsi/aic7xxx/aic79xx_core.c ahd_run_tqinfifo(struct ahd_softc *ahd, int paused) ahd_softc 10658 drivers/scsi/aic7xxx/aic79xx_core.c ahd_handle_target_cmd(struct ahd_softc *ahd, struct target_cmd *cmd) ahd_softc 49 drivers/scsi/aic7xxx/aic79xx_inline.h static inline char *ahd_name(struct ahd_softc *ahd); ahd_softc 51 drivers/scsi/aic7xxx/aic79xx_inline.h static inline char *ahd_name(struct ahd_softc *ahd) ahd_softc 57 drivers/scsi/aic7xxx/aic79xx_inline.h static inline void ahd_known_modes(struct ahd_softc *ahd, ahd_softc 59 drivers/scsi/aic7xxx/aic79xx_inline.h static inline ahd_mode_state ahd_build_mode_state(struct ahd_softc *ahd, ahd_softc 62 drivers/scsi/aic7xxx/aic79xx_inline.h static inline void ahd_extract_mode_state(struct ahd_softc *ahd, ahd_softc 66 drivers/scsi/aic7xxx/aic79xx_inline.h void ahd_set_modes(struct ahd_softc *ahd, ahd_mode src, ahd_softc 68 drivers/scsi/aic7xxx/aic79xx_inline.h ahd_mode_state ahd_save_modes(struct ahd_softc *ahd); ahd_softc 69 drivers/scsi/aic7xxx/aic79xx_inline.h void ahd_restore_modes(struct ahd_softc *ahd, ahd_softc 71 drivers/scsi/aic7xxx/aic79xx_inline.h int ahd_is_paused(struct ahd_softc *ahd); ahd_softc 72 drivers/scsi/aic7xxx/aic79xx_inline.h void ahd_pause(struct ahd_softc *ahd); ahd_softc 73 drivers/scsi/aic7xxx/aic79xx_inline.h void ahd_unpause(struct ahd_softc *ahd); ahd_softc 76 drivers/scsi/aic7xxx/aic79xx_inline.h ahd_known_modes(struct ahd_softc *ahd, ahd_mode src, ahd_mode dst) ahd_softc 85 drivers/scsi/aic7xxx/aic79xx_inline.h ahd_build_mode_state(struct ahd_softc *ahd, ahd_mode src, ahd_mode dst) ahd_softc 91 drivers/scsi/aic7xxx/aic79xx_inline.h ahd_extract_mode_state(struct ahd_softc *ahd, ahd_mode_state state, ahd_softc 99 drivers/scsi/aic7xxx/aic79xx_inline.h void *ahd_sg_setup(struct ahd_softc *ahd, struct scb *scb, ahd_softc 104 drivers/scsi/aic7xxx/aic79xx_inline.h static inline size_t ahd_sg_size(struct ahd_softc *ahd); ahd_softc 106 drivers/scsi/aic7xxx/aic79xx_inline.h void ahd_sync_sglist(struct ahd_softc *ahd, ahd_softc 109 drivers/scsi/aic7xxx/aic79xx_inline.h static inline size_t ahd_sg_size(struct ahd_softc *ahd) ahd_softc 118 drivers/scsi/aic7xxx/aic79xx_inline.h ahd_fetch_transinfo(struct ahd_softc *ahd, ahd_softc 123 drivers/scsi/aic7xxx/aic79xx_inline.h ahd_inw(struct ahd_softc *ahd, u_int port); ahd_softc 124 drivers/scsi/aic7xxx/aic79xx_inline.h void ahd_outw(struct ahd_softc *ahd, u_int port, ahd_softc 127 drivers/scsi/aic7xxx/aic79xx_inline.h ahd_inl(struct ahd_softc *ahd, u_int port); ahd_softc 128 drivers/scsi/aic7xxx/aic79xx_inline.h void ahd_outl(struct ahd_softc *ahd, u_int port, ahd_softc 131 drivers/scsi/aic7xxx/aic79xx_inline.h ahd_inq(struct ahd_softc *ahd, u_int port); ahd_softc 132 drivers/scsi/aic7xxx/aic79xx_inline.h void ahd_outq(struct ahd_softc *ahd, u_int port, ahd_softc 134 drivers/scsi/aic7xxx/aic79xx_inline.h u_int ahd_get_scbptr(struct ahd_softc *ahd); ahd_softc 135 drivers/scsi/aic7xxx/aic79xx_inline.h void ahd_set_scbptr(struct ahd_softc *ahd, u_int scbptr); ahd_softc 136 drivers/scsi/aic7xxx/aic79xx_inline.h u_int ahd_inb_scbram(struct ahd_softc *ahd, u_int offset); ahd_softc 137 drivers/scsi/aic7xxx/aic79xx_inline.h u_int ahd_inw_scbram(struct ahd_softc *ahd, u_int offset); ahd_softc 139 drivers/scsi/aic7xxx/aic79xx_inline.h ahd_lookup_scb(struct ahd_softc *ahd, u_int tag); ahd_softc 140 drivers/scsi/aic7xxx/aic79xx_inline.h void ahd_queue_scb(struct ahd_softc *ahd, struct scb *scb); ahd_softc 142 drivers/scsi/aic7xxx/aic79xx_inline.h static inline uint8_t *ahd_get_sense_buf(struct ahd_softc *ahd, ahd_softc 144 drivers/scsi/aic7xxx/aic79xx_inline.h static inline uint32_t ahd_get_sense_bufaddr(struct ahd_softc *ahd, ahd_softc 158 drivers/scsi/aic7xxx/aic79xx_inline.h ahd_get_sense_buf(struct ahd_softc *ahd, struct scb *scb) ahd_softc 164 drivers/scsi/aic7xxx/aic79xx_inline.h ahd_get_sense_bufaddr(struct ahd_softc *ahd, struct scb *scb) ahd_softc 170 drivers/scsi/aic7xxx/aic79xx_inline.h int ahd_intr(struct ahd_softc *ahd); ahd_softc 224 drivers/scsi/aic7xxx/aic79xx_osm.c ahd_print_path(struct ahd_softc *ahd, struct scb *scb) ahd_softc 352 drivers/scsi/aic7xxx/aic79xx_osm.c static void ahd_linux_handle_scsi_status(struct ahd_softc *, ahd_softc 355 drivers/scsi/aic7xxx/aic79xx_osm.c static void ahd_linux_queue_cmd_complete(struct ahd_softc *ahd, ahd_softc 358 drivers/scsi/aic7xxx/aic79xx_osm.c static void ahd_linux_initialize_scsi_bus(struct ahd_softc *ahd); ahd_softc 359 drivers/scsi/aic7xxx/aic79xx_osm.c static u_int ahd_linux_user_tagdepth(struct ahd_softc *ahd, ahd_softc 362 drivers/scsi/aic7xxx/aic79xx_osm.c static int ahd_linux_run_command(struct ahd_softc*, ahd_softc 367 drivers/scsi/aic7xxx/aic79xx_osm.c static void ahd_freeze_simq(struct ahd_softc *ahd); ahd_softc 368 drivers/scsi/aic7xxx/aic79xx_osm.c static void ahd_release_simq(struct ahd_softc *ahd); ahd_softc 391 drivers/scsi/aic7xxx/aic79xx_osm.c uint8_t ahd_inb(struct ahd_softc * ahd, long port); ahd_softc 392 drivers/scsi/aic7xxx/aic79xx_osm.c void ahd_outb(struct ahd_softc * ahd, long port, uint8_t val); ahd_softc 393 drivers/scsi/aic7xxx/aic79xx_osm.c void ahd_outw_atomic(struct ahd_softc * ahd, ahd_softc 395 drivers/scsi/aic7xxx/aic79xx_osm.c void ahd_outsb(struct ahd_softc * ahd, long port, ahd_softc 397 drivers/scsi/aic7xxx/aic79xx_osm.c void ahd_insb(struct ahd_softc * ahd, long port, ahd_softc 401 drivers/scsi/aic7xxx/aic79xx_osm.c ahd_inb(struct ahd_softc * ahd, long port) ahd_softc 416 drivers/scsi/aic7xxx/aic79xx_osm.c ahd_inw_atomic(struct ahd_softc * ahd, long port) ahd_softc 431 drivers/scsi/aic7xxx/aic79xx_osm.c ahd_outb(struct ahd_softc * ahd, long port, uint8_t val) ahd_softc 442 drivers/scsi/aic7xxx/aic79xx_osm.c ahd_outw_atomic(struct ahd_softc * ahd, long port, uint16_t val) ahd_softc 453 drivers/scsi/aic7xxx/aic79xx_osm.c ahd_outsb(struct ahd_softc * ahd, long port, uint8_t *array, int count) ahd_softc 467 drivers/scsi/aic7xxx/aic79xx_osm.c ahd_insb(struct ahd_softc * ahd, long port, uint8_t *array, int count) ahd_softc 531 drivers/scsi/aic7xxx/aic79xx_osm.c static void ahd_linux_unmap_scb(struct ahd_softc*, struct scb*); ahd_softc 534 drivers/scsi/aic7xxx/aic79xx_osm.c ahd_linux_unmap_scb(struct ahd_softc *ahd, struct scb *scb) ahd_softc 556 drivers/scsi/aic7xxx/aic79xx_osm.c struct ahd_softc *ahd; ahd_softc 559 drivers/scsi/aic7xxx/aic79xx_osm.c ahd = *(struct ahd_softc **)host->hostdata; ahd_softc 578 drivers/scsi/aic7xxx/aic79xx_osm.c struct ahd_softc *ahd; ahd_softc 582 drivers/scsi/aic7xxx/aic79xx_osm.c ahd = *(struct ahd_softc **)cmd->device->host->hostdata; ahd_softc 596 drivers/scsi/aic7xxx/aic79xx_osm.c struct ahd_softc *ahd = ahd_softc 597 drivers/scsi/aic7xxx/aic79xx_osm.c *((struct ahd_softc **)dev_to_shost(&starget->dev)->hostdata); ahd_softc 610 drivers/scsi/aic7xxx/aic79xx_osm.c struct ahd_softc *ahd = ahd_softc 611 drivers/scsi/aic7xxx/aic79xx_osm.c *((struct ahd_softc **)dev_to_shost(&starget->dev)->hostdata); ahd_softc 674 drivers/scsi/aic7xxx/aic79xx_osm.c struct ahd_softc *ahd = ahd_softc 675 drivers/scsi/aic7xxx/aic79xx_osm.c *((struct ahd_softc **)sdev->host->hostdata); ahd_softc 703 drivers/scsi/aic7xxx/aic79xx_osm.c struct ahd_softc *ahd; ahd_softc 705 drivers/scsi/aic7xxx/aic79xx_osm.c ahd = *((struct ahd_softc **)sdev->host->hostdata); ahd_softc 732 drivers/scsi/aic7xxx/aic79xx_osm.c struct ahd_softc *ahd; ahd_softc 734 drivers/scsi/aic7xxx/aic79xx_osm.c ahd = *((struct ahd_softc **)sdev->host->hostdata); ahd_softc 783 drivers/scsi/aic7xxx/aic79xx_osm.c struct ahd_softc *ahd; ahd_softc 798 drivers/scsi/aic7xxx/aic79xx_osm.c ahd = *(struct ahd_softc **)cmd->device->host->hostdata; ahd_softc 882 drivers/scsi/aic7xxx/aic79xx_osm.c struct ahd_softc *ahd; ahd_softc 886 drivers/scsi/aic7xxx/aic79xx_osm.c ahd = *(struct ahd_softc **)cmd->device->host->hostdata; ahd_softc 931 drivers/scsi/aic7xxx/aic79xx_osm.c ahd_dma_tag_create(struct ahd_softc *ahd, bus_dma_tag_t parent, ahd_softc 959 drivers/scsi/aic7xxx/aic79xx_osm.c ahd_dma_tag_destroy(struct ahd_softc *ahd, bus_dma_tag_t dmat) ahd_softc 965 drivers/scsi/aic7xxx/aic79xx_osm.c ahd_dmamem_alloc(struct ahd_softc *ahd, bus_dma_tag_t dmat, void** vaddr, ahd_softc 976 drivers/scsi/aic7xxx/aic79xx_osm.c ahd_dmamem_free(struct ahd_softc *ahd, bus_dma_tag_t dmat, ahd_softc 984 drivers/scsi/aic7xxx/aic79xx_osm.c ahd_dmamap_load(struct ahd_softc *ahd, bus_dma_tag_t dmat, bus_dmamap_t map, ahd_softc 1001 drivers/scsi/aic7xxx/aic79xx_osm.c ahd_dmamap_destroy(struct ahd_softc *ahd, bus_dma_tag_t dmat, bus_dmamap_t map) ahd_softc 1006 drivers/scsi/aic7xxx/aic79xx_osm.c ahd_dmamap_unload(struct ahd_softc *ahd, bus_dma_tag_t dmat, bus_dmamap_t map) ahd_softc 1223 drivers/scsi/aic7xxx/aic79xx_osm.c ahd_linux_register_host(struct ahd_softc *ahd, struct scsi_host_template *template) ahd_softc 1232 drivers/scsi/aic7xxx/aic79xx_osm.c host = scsi_host_alloc(template, sizeof(struct ahd_softc *)); ahd_softc 1236 drivers/scsi/aic7xxx/aic79xx_osm.c *((struct ahd_softc **)host->hostdata) = ahd; ahd_softc 1279 drivers/scsi/aic7xxx/aic79xx_osm.c ahd_linux_initialize_scsi_bus(struct ahd_softc *ahd) ahd_softc 1324 drivers/scsi/aic7xxx/aic79xx_osm.c ahd_platform_alloc(struct ahd_softc *ahd, void *platform_arg) ahd_softc 1337 drivers/scsi/aic7xxx/aic79xx_osm.c ahd_platform_free(struct ahd_softc *ahd) ahd_softc 1373 drivers/scsi/aic7xxx/aic79xx_osm.c ahd_platform_init(struct ahd_softc *ahd) ahd_softc 1393 drivers/scsi/aic7xxx/aic79xx_osm.c ahd_platform_freeze_devq(struct ahd_softc *ahd, struct scb *scb) ahd_softc 1402 drivers/scsi/aic7xxx/aic79xx_osm.c ahd_platform_set_tags(struct ahd_softc *ahd, struct scsi_device *sdev, ahd_softc 1486 drivers/scsi/aic7xxx/aic79xx_osm.c ahd_platform_abort_scbs(struct ahd_softc *ahd, int target, char channel, ahd_softc 1493 drivers/scsi/aic7xxx/aic79xx_osm.c ahd_linux_user_tagdepth(struct ahd_softc *ahd, struct ahd_devinfo *devinfo) ahd_softc 1531 drivers/scsi/aic7xxx/aic79xx_osm.c struct ahd_softc *ahd = *((struct ahd_softc **)sdev->host->hostdata); ahd_softc 1554 drivers/scsi/aic7xxx/aic79xx_osm.c ahd_linux_run_command(struct ahd_softc *ahd, struct ahd_linux_device *dev, ahd_softc 1674 drivers/scsi/aic7xxx/aic79xx_osm.c struct ahd_softc *ahd; ahd_softc 1678 drivers/scsi/aic7xxx/aic79xx_osm.c ahd = (struct ahd_softc *) dev_id; ahd_softc 1686 drivers/scsi/aic7xxx/aic79xx_osm.c ahd_send_async(struct ahd_softc *ahd, char channel, ahd_softc 1774 drivers/scsi/aic7xxx/aic79xx_osm.c ahd_done(struct ahd_softc *ahd, struct scb *scb) ahd_softc 1881 drivers/scsi/aic7xxx/aic79xx_osm.c ahd_linux_handle_scsi_status(struct ahd_softc *ahd, ahd_softc 2027 drivers/scsi/aic7xxx/aic79xx_osm.c ahd_linux_queue_cmd_complete(struct ahd_softc *ahd, struct scsi_cmnd *cmd) ahd_softc 2135 drivers/scsi/aic7xxx/aic79xx_osm.c ahd_freeze_simq(struct ahd_softc *ahd) ahd_softc 2141 drivers/scsi/aic7xxx/aic79xx_osm.c ahd_release_simq(struct ahd_softc *ahd) ahd_softc 2149 drivers/scsi/aic7xxx/aic79xx_osm.c struct ahd_softc *ahd; ahd_softc 2168 drivers/scsi/aic7xxx/aic79xx_osm.c ahd = *(struct ahd_softc **)cmd->device->host->hostdata; ahd_softc 2389 drivers/scsi/aic7xxx/aic79xx_osm.c struct ahd_softc *ahd = *((struct ahd_softc **)shost->hostdata); ahd_softc 2403 drivers/scsi/aic7xxx/aic79xx_osm.c struct ahd_softc *ahd = *((struct ahd_softc **)shost->hostdata); ahd_softc 2456 drivers/scsi/aic7xxx/aic79xx_osm.c struct ahd_softc *ahd = *((struct ahd_softc **)shost->hostdata); ahd_softc 2491 drivers/scsi/aic7xxx/aic79xx_osm.c struct ahd_softc *ahd = *((struct ahd_softc **)shost->hostdata); ahd_softc 2533 drivers/scsi/aic7xxx/aic79xx_osm.c struct ahd_softc *ahd = *((struct ahd_softc **)shost->hostdata); ahd_softc 2572 drivers/scsi/aic7xxx/aic79xx_osm.c struct ahd_softc *ahd = *((struct ahd_softc **)shost->hostdata); ahd_softc 2612 drivers/scsi/aic7xxx/aic79xx_osm.c struct ahd_softc *ahd = *((struct ahd_softc **)shost->hostdata); ahd_softc 2648 drivers/scsi/aic7xxx/aic79xx_osm.c struct ahd_softc *ahd = *((struct ahd_softc **)shost->hostdata); ahd_softc 2684 drivers/scsi/aic7xxx/aic79xx_osm.c struct ahd_softc *ahd = *((struct ahd_softc **)shost->hostdata); ahd_softc 2728 drivers/scsi/aic7xxx/aic79xx_osm.c struct ahd_softc *ahd = *((struct ahd_softc **)shost->hostdata); ahd_softc 2778 drivers/scsi/aic7xxx/aic79xx_osm.c struct ahd_softc *ahd = *((struct ahd_softc **)shost->hostdata); ahd_softc 2807 drivers/scsi/aic7xxx/aic79xx_osm.c struct ahd_softc *ahd = *(struct ahd_softc **)shost->hostdata; ahd_softc 93 drivers/scsi/aic7xxx/aic79xx_osm.h struct ahd_softc; ahd_softc 161 drivers/scsi/aic7xxx/aic79xx_osm.h int ahd_dma_tag_create(struct ahd_softc *, bus_dma_tag_t /*parent*/, ahd_softc 169 drivers/scsi/aic7xxx/aic79xx_osm.h void ahd_dma_tag_destroy(struct ahd_softc *, bus_dma_tag_t /*tag*/); ahd_softc 171 drivers/scsi/aic7xxx/aic79xx_osm.h int ahd_dmamem_alloc(struct ahd_softc *, bus_dma_tag_t /*dmat*/, ahd_softc 175 drivers/scsi/aic7xxx/aic79xx_osm.h void ahd_dmamem_free(struct ahd_softc *, bus_dma_tag_t /*dmat*/, ahd_softc 178 drivers/scsi/aic7xxx/aic79xx_osm.h void ahd_dmamap_destroy(struct ahd_softc *, bus_dma_tag_t /*tag*/, ahd_softc 181 drivers/scsi/aic7xxx/aic79xx_osm.h int ahd_dmamap_load(struct ahd_softc *ahd, bus_dma_tag_t /*dmat*/, ahd_softc 186 drivers/scsi/aic7xxx/aic79xx_osm.h int ahd_dmamap_unload(struct ahd_softc *, bus_dma_tag_t, bus_dmamap_t); ahd_softc 357 drivers/scsi/aic7xxx/aic79xx_osm.h uint8_t ahd_inb(struct ahd_softc * ahd, long port); ahd_softc 358 drivers/scsi/aic7xxx/aic79xx_osm.h void ahd_outb(struct ahd_softc * ahd, long port, uint8_t val); ahd_softc 359 drivers/scsi/aic7xxx/aic79xx_osm.h void ahd_outw_atomic(struct ahd_softc * ahd, ahd_softc 361 drivers/scsi/aic7xxx/aic79xx_osm.h void ahd_outsb(struct ahd_softc * ahd, long port, ahd_softc 363 drivers/scsi/aic7xxx/aic79xx_osm.h void ahd_insb(struct ahd_softc * ahd, long port, ahd_softc 367 drivers/scsi/aic7xxx/aic79xx_osm.h int ahd_linux_register_host(struct ahd_softc *, ahd_softc 372 drivers/scsi/aic7xxx/aic79xx_osm.h ahd_lockinit(struct ahd_softc *ahd) ahd_softc 378 drivers/scsi/aic7xxx/aic79xx_osm.h ahd_lock(struct ahd_softc *ahd, unsigned long *flags) ahd_softc 384 drivers/scsi/aic7xxx/aic79xx_osm.h ahd_unlock(struct ahd_softc *ahd, unsigned long *flags) ahd_softc 451 drivers/scsi/aic7xxx/aic79xx_osm.h void ahd_power_state_change(struct ahd_softc *ahd, ahd_softc 457 drivers/scsi/aic7xxx/aic79xx_osm.h int ahd_pci_map_registers(struct ahd_softc *ahd); ahd_softc 458 drivers/scsi/aic7xxx/aic79xx_osm.h int ahd_pci_map_int(struct ahd_softc *ahd); ahd_softc 487 drivers/scsi/aic7xxx/aic79xx_osm.h static inline void ahd_flush_device_writes(struct ahd_softc *); ahd_softc 489 drivers/scsi/aic7xxx/aic79xx_osm.h ahd_flush_device_writes(struct ahd_softc *ahd) ahd_softc 516 drivers/scsi/aic7xxx/aic79xx_osm.h static inline uint32_t ahd_get_sense_bufsize(struct ahd_softc *, ahd_softc 518 drivers/scsi/aic7xxx/aic79xx_osm.h static inline void ahd_notify_xfer_settings_change(struct ahd_softc *, ahd_softc 520 drivers/scsi/aic7xxx/aic79xx_osm.h static inline void ahd_platform_scb_free(struct ahd_softc *ahd, ahd_softc 631 drivers/scsi/aic7xxx/aic79xx_osm.h ahd_get_sense_bufsize(struct ahd_softc *ahd, struct scb *scb) ahd_softc 637 drivers/scsi/aic7xxx/aic79xx_osm.h ahd_notify_xfer_settings_change(struct ahd_softc *ahd, ahd_softc 644 drivers/scsi/aic7xxx/aic79xx_osm.h ahd_platform_scb_free(struct ahd_softc *ahd, struct scb *scb) ahd_softc 649 drivers/scsi/aic7xxx/aic79xx_osm.h int ahd_platform_alloc(struct ahd_softc *ahd, void *platform_arg); ahd_softc 650 drivers/scsi/aic7xxx/aic79xx_osm.h void ahd_platform_free(struct ahd_softc *ahd); ahd_softc 651 drivers/scsi/aic7xxx/aic79xx_osm.h void ahd_platform_init(struct ahd_softc *ahd); ahd_softc 652 drivers/scsi/aic7xxx/aic79xx_osm.h void ahd_platform_freeze_devq(struct ahd_softc *ahd, struct scb *scb); ahd_softc 663 drivers/scsi/aic7xxx/aic79xx_osm.h void ahd_platform_set_tags(struct ahd_softc *ahd, struct scsi_device *sdev, ahd_softc 665 drivers/scsi/aic7xxx/aic79xx_osm.h int ahd_platform_abort_scbs(struct ahd_softc *ahd, int target, ahd_softc 670 drivers/scsi/aic7xxx/aic79xx_osm.h void ahd_done(struct ahd_softc*, struct scb*); ahd_softc 671 drivers/scsi/aic7xxx/aic79xx_osm.h void ahd_send_async(struct ahd_softc *, char channel, ahd_softc 673 drivers/scsi/aic7xxx/aic79xx_osm.h void ahd_print_path(struct ahd_softc *, struct scb *); ahd_softc 81 drivers/scsi/aic7xxx/aic79xx_osm_pci.c struct ahd_softc *ahd = pci_get_drvdata(pdev); ahd_softc 101 drivers/scsi/aic7xxx/aic79xx_osm_pci.c struct ahd_softc *ahd = pci_get_drvdata(pdev); ahd_softc 126 drivers/scsi/aic7xxx/aic79xx_osm_pci.c struct ahd_softc *ahd = pci_get_drvdata(pdev); ahd_softc 139 drivers/scsi/aic7xxx/aic79xx_osm_pci.c ahd_linux_pci_inherit_flags(struct ahd_softc *ahd) ahd_softc 146 drivers/scsi/aic7xxx/aic79xx_osm_pci.c struct ahd_softc *master = pci_get_drvdata(master_pdev); ahd_softc 160 drivers/scsi/aic7xxx/aic79xx_osm_pci.c struct ahd_softc *ahd; ahd_softc 251 drivers/scsi/aic7xxx/aic79xx_osm_pci.c ahd_linux_pci_reserve_io_regions(struct ahd_softc *ahd, resource_size_t *base, ahd_softc 273 drivers/scsi/aic7xxx/aic79xx_osm_pci.c ahd_linux_pci_reserve_mem_region(struct ahd_softc *ahd, ahd_softc 309 drivers/scsi/aic7xxx/aic79xx_osm_pci.c ahd_pci_map_registers(struct ahd_softc *ahd) ahd_softc 381 drivers/scsi/aic7xxx/aic79xx_osm_pci.c ahd_pci_map_int(struct ahd_softc *ahd) ahd_softc 394 drivers/scsi/aic7xxx/aic79xx_osm_pci.c ahd_power_state_change(struct ahd_softc *ahd, ahd_power_state new_state) ahd_softc 244 drivers/scsi/aic7xxx/aic79xx_pci.c static int ahd_check_extport(struct ahd_softc *ahd); ahd_softc 245 drivers/scsi/aic7xxx/aic79xx_pci.c static void ahd_configure_termination(struct ahd_softc *ahd, ahd_softc 247 drivers/scsi/aic7xxx/aic79xx_pci.c static void ahd_pci_split_intr(struct ahd_softc *ahd, u_int intstat); ahd_softc 248 drivers/scsi/aic7xxx/aic79xx_pci.c static void ahd_pci_intr(struct ahd_softc *ahd); ahd_softc 289 drivers/scsi/aic7xxx/aic79xx_pci.c ahd_pci_config(struct ahd_softc *ahd, const struct ahd_pci_identity *entry) ahd_softc 382 drivers/scsi/aic7xxx/aic79xx_pci.c ahd_pci_suspend(struct ahd_softc *ahd) ahd_softc 398 drivers/scsi/aic7xxx/aic79xx_pci.c ahd_pci_resume(struct ahd_softc *ahd) ahd_softc 414 drivers/scsi/aic7xxx/aic79xx_pci.c ahd_pci_test_register_access(struct ahd_softc *ahd) ahd_softc 506 drivers/scsi/aic7xxx/aic79xx_pci.c ahd_check_extport(struct ahd_softc *ahd) ahd_softc 639 drivers/scsi/aic7xxx/aic79xx_pci.c ahd_configure_termination(struct ahd_softc *ahd, u_int adapter_control) ahd_softc 783 drivers/scsi/aic7xxx/aic79xx_pci.c ahd_pci_intr(struct ahd_softc *ahd) ahd_softc 841 drivers/scsi/aic7xxx/aic79xx_pci.c ahd_pci_split_intr(struct ahd_softc *ahd, u_int intstat) ahd_softc 903 drivers/scsi/aic7xxx/aic79xx_pci.c ahd_aic7901_setup(struct ahd_softc *ahd) ahd_softc 912 drivers/scsi/aic7xxx/aic79xx_pci.c ahd_aic7901A_setup(struct ahd_softc *ahd) ahd_softc 921 drivers/scsi/aic7xxx/aic79xx_pci.c ahd_aic7902_setup(struct ahd_softc *ahd) ahd_softc 929 drivers/scsi/aic7xxx/aic79xx_pci.c ahd_aic790X_setup(struct ahd_softc *ahd) ahd_softc 45 drivers/scsi/aic7xxx/aic79xx_proc.c static void ahd_dump_target_state(struct ahd_softc *ahd, ahd_softc 157 drivers/scsi/aic7xxx/aic79xx_proc.c ahd_dump_target_state(struct ahd_softc *ahd, struct seq_file *m, ahd_softc 210 drivers/scsi/aic7xxx/aic79xx_proc.c struct ahd_softc *ahd = *(struct ahd_softc **)shost->hostdata; ahd_softc 276 drivers/scsi/aic7xxx/aic79xx_proc.c struct ahd_softc *ahd = *(struct ahd_softc **)shost->hostdata;