H A D | aac.c | 78 #define AAC_DEV(softs, t) (((t) < AAC_MAX_LD) ? \ 79 &(softs)->containers[(t)].dev : \ 80 ((t) < AAC_MAX_DEV(softs)) ? \ 81 &(softs)->nondasds[AAC_PD(t)].dev : NULL) 82 #define AAC_DEVCFG_BEGIN(softs, tgt) \ 83 aac_devcfg((softs), (tgt), 1) 84 #define AAC_DEVCFG_END(softs, tgt) \ 85 aac_devcfg((softs), (tgt), 0) 137 #define AAC_MIR_SIZE(softs, acc, mir) \ 138 (((softs) 763 struct aac_softstate *softs = NULL; local 973 struct aac_softstate *softs = AAC_TRAN2SOFTS(tran); local 1045 struct aac_softstate *softs = AAC_DIP2SOFTS(dip); local 1070 struct aac_softstate *softs = AAC_DIP2SOFTS(dip); local 1105 aac_shutdown(struct aac_softstate *softs) argument 1132 struct aac_softstate *softs = (void *)arg; local 1219 aac_send_command(struct aac_softstate *softs, struct aac_slot *slotp) argument 1242 aac_end_io(struct aac_softstate *softs, struct aac_cmd *acp) argument 1295 aac_handle_io(struct aac_softstate *softs, int index) argument 1361 aac_process_intr_new(struct aac_softstate *softs) argument 1420 struct aac_softstate *softs = (void *)arg; local 1441 aac_process_intr_old(struct aac_softstate *softs) argument 1559 struct aac_softstate *softs = (void *)arg; local 1577 aac_query_intrs(struct aac_softstate *softs, int intr_type) argument 1669 aac_add_intrs(struct aac_softstate *softs) argument 1714 aac_remove_intrs(struct aac_softstate *softs) argument 1730 aac_enable_intrs(struct aac_softstate *softs) argument 1752 aac_disable_intrs(struct aac_softstate *softs) argument 1776 aac_set_pkt_reason(struct aac_softstate *softs, struct aac_cmd *acp, uchar_t reason, uint_t stat) argument 1791 aac_soft_callback(struct aac_softstate *softs, struct aac_cmd *acp) argument 1820 aac_ld_complete(struct aac_softstate *softs, struct aac_cmd *acp) argument 1849 aac_pd_complete(struct aac_softstate *softs, struct aac_cmd *acp) argument 2026 aac_ioctl_complete(struct aac_softstate *softs, struct aac_cmd *acp) argument 2052 aac_sync_complete(struct aac_softstate *softs, struct aac_cmd *acp) argument 2061 aac_synccache_complete(struct aac_softstate *softs, struct aac_cmd *acp) argument 2080 aac_startstop_complete(struct aac_softstate *softs, struct aac_cmd *acp) argument 2103 aac_check_card_type(struct aac_softstate *softs) argument 2215 aac_register_intrs(struct aac_softstate *softs) argument 2276 aac_unregister_intrs(struct aac_softstate *softs) argument 2287 aac_check_firmware(struct aac_softstate *softs) argument 2479 aac_fsa_rev(struct aac_softstate *softs, struct FsaRev *fsarev0, struct FsaRev *fsarev1) argument 2497 aac_get_adapter_info(struct aac_softstate *softs, struct aac_adapter_info *ainfr, struct aac_supplement_adapter_info *sinfr) argument 2600 aac_get_bus_info(struct aac_softstate *softs, uint32_t *bus_max, uint32_t *tgt_max) argument 2703 aac_handle_adapter_config_issues(struct aac_softstate *softs) argument 2776 aac_common_attach(struct aac_softstate *softs) argument 3030 aac_common_detach(struct aac_softstate *softs) argument 3055 aac_sync_mbcommand(struct aac_softstate *softs, uint32_t cmd, uint32_t arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3, uint32_t *statusp) argument 3104 aac_sync_fib(struct aac_softstate *softs, uint16_t cmd, uint16_t fibsize) argument 3202 aac_fib_enqueue(struct aac_softstate *softs, int queue, uint32_t fib_addr, uint32_t fib_size) argument 3263 aac_fib_dequeue(struct aac_softstate *softs, int queue, int *idxp) argument 3342 aac_get_mntinfo(struct aac_softstate *softs, int cid) argument 3368 aac_get_container_count(struct aac_softstate *softs, int *count) argument 3396 aac_get_container_uid(struct aac_softstate *softs, uint32_t cid, uint32_t *uid) argument 3421 aac_get_container_info(struct aac_softstate *softs, int cid) argument 3450 aac_probe_container(struct aac_softstate *softs, uint32_t cid) argument 3529 aac_probe_containers(struct aac_softstate *softs) argument 3568 aac_probe_jbod(struct aac_softstate *softs, int tgt, int event) argument 3595 aac_alloc_comm_space(struct aac_softstate *softs) argument 3656 aac_free_comm_space(struct aac_softstate *softs) argument 3672 aac_setup_comm_space(struct aac_softstate *softs) argument 3822 aac_vendor_id(struct aac_softstate *softs, uchar_t *buf) argument 3830 aac_product_id(struct aac_softstate *softs, uchar_t *buf) argument 3841 aac_lun_serialno(struct aac_softstate *softs, int tgt, uchar_t *buf) argument 3861 aac_inquiry(struct aac_softstate *softs, struct scsi_pkt *pkt, union scsi_cdb *cdbp, struct buf *bp) argument 3989 aac_mode_sense(struct aac_softstate *softs, struct scsi_pkt *pkt, union scsi_cdb *cdbp, struct buf *bp, int capacity) argument 4148 struct aac_softstate *softs = AAC_TRAN2SOFTS(tran); local 4259 aac_check_adapter_health(struct aac_softstate *softs) argument 4278 aac_abort_iocmd(struct aac_softstate *softs, struct aac_cmd *acp, uchar_t reason) argument 4317 aac_abort_iocmds(struct aac_softstate *softs, int iocmd, struct scsi_pkt *pkt, int reason) argument 4367 struct aac_softstate *softs = arg; local 4393 aac_start_drain(struct aac_softstate *softs) argument 4408 aac_stop_drain(struct aac_softstate *softs) argument 4433 aac_reset_adapter(struct aac_softstate *softs) argument 4536 aac_set_throttle(struct aac_softstate *softs, struct aac_device *dvp, int q, int throttle) argument 4549 aac_hold_bus(struct aac_softstate *softs, int iocmds) argument 4568 aac_unhold_bus(struct aac_softstate *softs, int iocmds) argument 4600 aac_do_reset(struct aac_softstate *softs) argument 4670 struct aac_softstate *softs = AAC_TRAN2SOFTS(ap->a_hba_tran); local 4703 struct aac_softstate *softs = AAC_TRAN2SOFTS(ap->a_hba_tran); local 4742 aac_unknown_scmd(struct aac_softstate *softs, struct aac_cmd *acp) argument 4755 aac_tran_start_ld(struct aac_softstate *softs, struct aac_cmd *acp) argument 4952 struct aac_softstate *softs = AAC_TRAN2SOFTS(ap->a_hba_tran); local 5026 struct aac_softstate *softs = AAC_TRAN2SOFTS(ap->a_hba_tran); local 5074 struct aac_softstate *softs = AAC_TRAN2SOFTS(ap->a_hba_tran); local 5133 aac_cmd_dma_alloc(struct aac_softstate *softs, struct aac_cmd *acp, struct buf *bp, int flags, int (*cb)(), caddr_t arg) argument 5364 struct aac_softstate *softs = AAC_TRAN2SOFTS(ap->a_hba_tran); local 5441 aac_do_quiesce(struct aac_softstate *softs) argument 5466 struct aac_softstate *softs = AAC_DIP2SOFTS(dip); local 5481 aac_do_unquiesce(struct aac_softstate *softs) argument 5493 struct aac_softstate *softs = AAC_DIP2SOFTS(dip); local 5508 aac_hba_setup(struct aac_softstate *softs) argument 5552 aac_cmd_fib_header(struct aac_softstate *softs, struct aac_cmd *acp, uint16_t cmd) argument 5587 aac_cmd_fib_rawio(struct aac_softstate *softs, struct aac_cmd *acp) argument 5627 aac_cmd_fib_brw64(struct aac_softstate *softs, struct aac_cmd *acp) argument 5667 aac_cmd_fib_brw(struct aac_softstate *softs, struct aac_cmd *acp) argument 5716 aac_cmd_fib_copy(struct aac_softstate *softs, struct aac_cmd *acp) argument 5730 aac_cmd_fib_sync(struct aac_softstate *softs, struct aac_cmd *acp) argument 5750 aac_cmd_fib_startstop(struct aac_softstate *softs, struct aac_cmd *acp) argument 5807 aac_cmd_fib_scsi32(struct aac_softstate *softs, struct aac_cmd *acp) argument 5834 aac_cmd_fib_scsi64(struct aac_softstate *softs, struct aac_cmd *acp) argument 5863 aac_cmd_slot_bind(struct aac_softstate *softs, struct aac_cmd *acp) argument 5879 aac_bind_io(struct aac_softstate *softs, struct aac_cmd *acp) argument 5903 aac_sync_fib_slot_bind(struct aac_softstate *softs, struct aac_cmd *acp) argument 5921 aac_sync_fib_slot_release(struct aac_softstate *softs, struct aac_cmd *acp) argument 5933 aac_start_io(struct aac_softstate *softs, struct aac_cmd *acp) argument 5985 aac_start_waitq(struct aac_softstate *softs, struct aac_cmd_queue *q) argument 6002 aac_start_waiting_io(struct aac_softstate *softs) argument 6015 aac_drain_comp_q(struct aac_softstate *softs) argument 6070 aac_alloc_fib(struct aac_softstate *softs, struct aac_slot *slotp) argument 6155 aac_alloc_fibs(struct aac_softstate *softs) argument 6175 aac_destroy_fibs(struct aac_softstate *softs) argument 6190 aac_create_slots(struct aac_softstate *softs) argument 6209 aac_destroy_slots(struct aac_softstate *softs) argument 6220 aac_get_slot(struct aac_softstate *softs) argument 6232 aac_release_slot(struct aac_softstate *softs, struct aac_slot *slotp) argument 6243 aac_do_io(struct aac_softstate *softs, struct aac_cmd *acp) argument 6267 aac_do_poll_io(struct aac_softstate *softs, struct aac_cmd *acp) argument 6292 aac_do_sync_io(struct aac_softstate *softs, struct aac_cmd *acp) argument 6336 aac_save_aif(struct aac_softstate *softs, ddi_acc_handle_t acc, struct aac_fib *fibp0, int fib_size0) argument 6396 aac_return_aif_common(struct aac_softstate *softs, struct aac_fib_context *ctx, struct aac_fib **fibpp) argument 6414 aac_return_aif(struct aac_softstate *softs, struct aac_fib_context *ctx, struct aac_fib **fibpp) argument 6426 aac_return_aif_wait(struct aac_softstate *softs, struct aac_fib_context *ctx, struct aac_fib **fibpp) argument 6452 aac_handle_aif(struct aac_softstate *softs, struct aac_aif_command *aif) argument 6552 aac_aif_event(struct aac_softstate *softs) argument 6583 aac_cmd_timeout(struct aac_softstate *softs, struct aac_cmd *acp) argument 6621 aac_sync_tick(struct aac_softstate *softs) argument 6654 aac_daemon(struct aac_softstate *softs) argument 6706 aac_event_thread(struct aac_softstate *softs) argument 6752 struct aac_softstate *softs = arg; local 6785 aac_event_disp(struct aac_softstate *softs, int events) argument 6797 aac_rx_get_fwstatus(struct aac_softstate *softs) argument 6803 aac_rx_get_mailbox(struct aac_softstate *softs, int mb) argument 6809 aac_rx_set_mailbox(struct aac_softstate *softs, uint32_t cmd, uint32_t arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3) argument 6820 aac_rkt_get_fwstatus(struct aac_softstate *softs) argument 6826 aac_rkt_get_mailbox(struct aac_softstate *softs, int mb) argument 6832 aac_rkt_set_mailbox(struct aac_softstate *softs, uint32_t cmd, uint32_t arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3) argument 6848 struct aac_softstate *softs; local 6903 struct aac_softstate *softs; local 6946 aac_fm_init(struct aac_softstate *softs) argument 6996 aac_fm_fini(struct aac_softstate *softs) argument 7044 aac_fm_ereport(struct aac_softstate *softs, char *detail) argument 7103 aac_find_child(struct aac_softstate *softs, uint16_t tgt, uint8_t lun) argument 7134 aac_config_child(struct aac_softstate *softs, struct scsi_device *sd, dev_info_t **dipp) argument 7204 aac_probe_lun(struct aac_softstate *softs, struct scsi_device *sd) argument 7262 aac_config_lun(struct aac_softstate *softs, uint16_t tgt, uint8_t lun, dev_info_t **ldip) argument 7292 aac_config_tgt(struct aac_softstate *softs, int tgt) argument 7396 aac_devcfg(struct aac_softstate *softs, int tgt, int en) argument 7413 struct aac_softstate *softs; local 7494 aac_handle_dr(struct aac_softstate *softs, int tgt, int lun, int event) argument 7991 aac_get_fw_debug_buffer(struct aac_softstate *softs) argument 8026 aac_dbflag_on(struct aac_softstate *softs, int flag) argument 8035 aac_cmn_err(struct aac_softstate *softs, uint_t lev, char sl, int noheader) argument 8065 aac_printf(struct aac_softstate *softs, uint_t lev, const char *fmt, ...) argument 8163 aac_print_scmd(struct aac_softstate *softs, struct aac_cmd *acp) argument 8231 aac_print_fib(struct aac_softstate *softs, struct aac_slot *slotp) argument 8439 aac_print_aif(struct aac_softstate *softs, struct aac_aif_command *aif) argument [all...] |