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