H A D | fas.c | 46 * fas - QLogic fas366 wide/fast SCSI Processor HBA driver with 107 static struct fas *fas_head; /* link all softstate structures */ 108 static struct fas *fas_tail; /* for fas_watch() */ 115 _NOTE(SCHEME_PROTECTS_DATA("safe sharing", fas::f_quiesce_timeid)) 141 static void fas_test_abort(struct fas *fas, int slot); 144 static void fas_test_reset(struct fas *fas, int slot); 198 static int fas_prepare_pkt(struct fas *fas, struc 464 struct fas *fas; local 524 struct fas *fas = NULL; local 1072 struct fas *fas, *nfas; local 1161 struct fas *fas, *f; local 1358 fas_quiesce_bus(struct fas *fas) argument 1402 fas_unquiesce_bus(struct fas *fas) argument 1420 struct fas *fas = arg; local 1446 fas_check_outstanding(struct fas *fas) argument 1466 fas_reg_tracing(struct fas *fas, int type, int regno, uint32_t what) argument 1479 fas_reg_cmd_write(struct fas *fas, uint8_t cmd) argument 1494 fas_reg_write(struct fas *fas, volatile uint8_t *p, uint8_t what) argument 1507 fas_reg_read(struct fas *fas, volatile uint8_t *p) argument 1526 fas_dma_reg_write(struct fas *fas, volatile uint32_t *p, uint32_t what) argument 1541 fas_dma_reg_read(struct fas *fas, volatile uint32_t *p) argument 1564 fas_assert_atn(struct fas *fas) argument 1619 FAS_FLUSH_DMA(struct fas *fas) argument 1634 FAS_FLUSH_DMA_HARD(struct fas *fas) argument 1674 fas_read_fifo(struct fas *fas) argument 1705 fas_write_fifo(struct fas *fas, uchar_t *buf, int length, int pad) argument 1725 fas_init_chip(struct fas *fas, uchar_t initiator_id) argument 1801 fas_internal_reset(struct fas *fas, int reset_action) argument 1907 fas_check_ncmds(struct fas *fas) argument 1953 struct fas *fas = ADDR2FAS(ap); local 1971 struct fas *fas = ADDR2FAS(ap); local 1990 struct fas *fas = ADDR2FAS(ap); local 2003 struct fas *fas = ADDR2FAS(ap); local 2013 struct fas *fas = ADDR2FAS(ap); local 2070 struct fas *fas = ADDR2FAS(ap); local 2225 struct fas *fas = ADDR2FAS(ap); local 2267 fas_pkt_alloc_extern(struct fas *fas, struct fas_cmd *sp, int cmdlen, int tgtlen, int statuslen, int kf) argument 2308 fas_pkt_destroy_extern(struct fas *fas, struct fas_cmd *sp) argument 2340 struct fas *fas = cdrarg; local 2373 struct fas *fas = ADDR2FAS(ap); local 2525 fas_prepare_pkt(struct fas *fas, struct fas_cmd *sp) argument 2658 fas_empty_waitQ(struct fas *fas) argument 2723 fas_move_waitQ_to_readyQ(struct fas *fas) argument 2741 fas_check_waitQ_and_mutex_exit(struct fas *fas) argument 2755 fas_accept_pkt(struct fas *fas, struct fas_cmd *sp, int flag) argument 2918 fas_alloc_tag(struct fas *fas, struct fas_cmd *sp) argument 3020 fas_istart(struct fas *fas) argument 3035 fas_ustart(struct fas *fas) argument 3092 fas_startcmd(struct fas *fas, struct fas_cmd *sp) argument 3366 struct fas *fas = (struct fas *)arg; local 3417 fas_intr_svc(struct fas *fas) argument 3582 fas_phasemanage(struct fas *fas) argument 3637 fas_remove_cmd(struct fas *fas, struct fas_cmd *sp, int new_timeout_flag) argument 3712 fas_decrement_ncmds(struct fas *fas, struct fas_cmd *sp) argument 3733 fas_finish(struct fas *fas) argument 3867 fas_finish_select(struct fas *fas) argument 4027 fas_reselect_preempt(struct fas *fas) argument 4081 fas_reconnect(struct fas *fas) argument 4433 fas_handle_unknown(struct fas *fas) argument 4589 fas_handle_clearing(struct fas *fas) argument 4700 fas_handle_data_start(struct fas *fas) argument 4830 fas_handle_data_done(struct fas *fas) argument 5014 fas_handle_c_cmplt(struct fas *fas) argument 5192 fas_handle_msg_in_start(struct fas *fas) argument 5234 fas_handle_more_msgin(struct fas *fas) argument 5275 fas_handle_msg_in_done(struct fas *fas) argument 5548 fas_onebyte_msg(struct fas *fas) argument 5764 fas_handle_cmd_start(struct fas *fas) argument 5792 fas_handle_cmd_done(struct fas *fas) argument 5832 fas_handle_msg_out_start(struct fas *fas) argument 5902 fas_handle_msg_out_done(struct fas *fas) argument 6015 fas_twobyte_msg(struct fas *fas) argument 6048 fas_multibyte_msg(struct fas *fas) argument 6307 fas_revert_to_async(struct fas *fas, int tgt) argument 6325 fas_handle_selection(struct fas *fas) argument 6337 fas_restore_pointers(struct fas *fas, struct fas_cmd *sp) argument 6355 fas_set_new_window(struct fas *fas, struct fas_cmd *sp) argument 6374 fas_next_window(struct fas *fas, struct fas_cmd *sp, uint64_t end) argument 6422 fas_check_dma_error(struct fas *fas) argument 6445 fas_handle_gross_err(struct fas *fas) argument 6467 fas_illegal_cmd_or_bus_reset(struct fas *fas) argument 6500 fas_set_throttles(struct fas *fas, int slot, int n, int what) argument 6537 fas_set_all_lun_throttles(struct fas *fas, int slot, int what) argument 6546 fas_full_throttle(struct fas *fas, int slot) argument 6555 fas_runpoll(struct fas *fas, short slot, struct fas_cmd *sp) argument 6773 fas_dopoll(struct fas *fas, int limit) argument 6814 fas_make_sdtr(struct fas *fas, int msgout_offset, int target) argument 6902 fas_make_wdtr(struct fas *fas, int msgout_offset, int target, int width) argument 6943 fas_create_arq_pkt(struct fas *fas, struct scsi_address *ap) argument 6998 fas_delete_arq_pkt(struct fas *fas, struct scsi_address *ap) argument 7032 struct fas *fas = ADDR2FAS(&pkt->pkt_address); local 7073 fas_handle_sts_chk(struct fas *fas, struct fas_cmd *sp) argument 7133 fas_handle_qfull(struct fas *fas, struct fas_cmd *sp) argument 7193 struct fas *fas = fas_arg; local 7223 struct fas *fas; local 7308 fas_watchsubr(struct fas *fas) argument 7370 fas_cmd_timeout(struct fas *fas, int slot) argument 7479 fas_sync_wide_backoff(struct fas *fas, struct fas_cmd *sp, int slot) argument 7569 fas_reset_sync_wide(struct fas *fas) argument 7610 fas_force_renegotiation(struct fas *fas, int target) argument 7623 fas_set_wide_conf3(struct fas *fas, int target, int width) argument 7648 fas_abort_curcmd(struct fas *fas) argument 7659 fas_abort_cmd(struct fas *fas, struct fas_cmd *sp, int slot) argument 7707 struct fas *fas = ADDR2FAS(ap); local 7874 fas_mark_packets(struct fas *fas, int slot, uchar_t reason, uint_t stat) argument 7900 fas_set_pkt_reason(struct fas *fas, struct fas_cmd *sp, uchar_t reason, uint_t stat) argument 7917 fas_remove_from_readyQ(struct fas *fas, struct fas_cmd *sp, int slot) argument 7953 fas_head_of_readyQ(struct fas *fas, struct fas_cmd *sp) argument 7976 fas_flush_readyQ(struct fas *fas, int slot) argument 8008 fas_flush_tagQ(struct fas *fas, int slot) argument 8058 fas_flush_cmd(struct fas *fas, struct fas_cmd *sp, uchar_t reason, uint_t stat) argument 8115 fas_do_proxy_cmd(struct fas *fas, struct fas_cmd *sp, struct scsi_address *ap, char *what) argument 8145 fas_abort_connected_cmd(struct fas *fas, struct fas_cmd *sp, uchar_t msg) argument 8201 fas_abort_disconnected_cmd(struct fas *fas, struct scsi_address *ap, struct fas_cmd *sp, uchar_t msg, int slot) argument 8246 struct fas *fas = ADDR2FAS(ap); local 8373 fas_start_watch_reset_delay(struct fas *fas) argument 8388 fas_setup_reset_delay(struct fas *fas) argument 8411 struct fas *fas; local 8437 fas_watch_reset_delay_subr(struct fas *fas) argument 8485 fas_reset_cleanup(struct fas *fas, int slot) argument 8539 fas_reset_disconnected_cmd(struct fas *fas, struct scsi_address *ap) argument 8559 fas_reset_connected_cmd(struct fas *fas, struct scsi_address *ap) argument 8610 fas_reset_bus(struct fas *fas) argument 8629 fas_reset_recovery(struct fas *fas) argument 8767 struct fas *fas; local 8781 struct fas *fas; local 8797 fas_test_reset(struct fas *fas, int slot) argument 8825 fas_test_abort(struct fas *fas, int slot) argument 8910 struct fas *fas = ADDR2FAS(ap); local 9139 fas_update_props(struct fas *fas, int tgt) argument 9167 fas_update_this_prop(struct fas *fas, char *property, int value) argument 9189 fas_alloc_active_slots(struct fas *fas, int slot, int flag) argument 9236 fas_log(struct fas *fas, int level, const char *fmt, ...) argument 9264 fas_printf(struct fas *fas, const char *fmt, ...) argument 9290 fas_dprintf(struct fas *fas, const char *fmt, ...) argument 9313 fas_printstate(struct fas *fas, char *msg) argument 9352 fas_dump_cmd(struct fas *fas, struct fas_cmd *sp) argument 9380 fas_short_dump_cmd(struct fas *fas, struct fas_cmd *sp) argument [all...] |