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