Lines Matching defs:softs

80 #define	AAC_DEV(softs, t)	(((t) < AAC_MAX_LD) ? \  argument
84 #define AAC_DEVCFG_BEGIN(softs, tgt) \ argument
86 #define AAC_DEVCFG_END(softs, tgt) \ argument
139 #define AAC_MIR_SIZE(softs, acc, mir) \ argument
153 #define PCI_MEM_GET32(softs, off) \ argument
156 #define PCI_MEM_PUT32(softs, off, val) \ argument
160 #define PCI_MEM_GET16(softs, off) \ argument
163 #define PCI_MEM_PUT16(softs, off, val) \ argument
167 #define PCI_MEM_REP_PUT8(softs, off, valp, count) \ argument
172 #define PCI_MEM_REP_GET8(softs, off, valp, count) \ argument
189 #define AAC_ENABLE_INTR(softs) { \ argument
197 #define AAC_DISABLE_INTR(softs) { \ argument
201 #define AAC_STATUS_CLR(softs, mask) PCI_MEM_PUT32(softs, AAC_ODBR, mask) argument
202 #define AAC_STATUS_GET(softs) PCI_MEM_GET32(softs, AAC_ODBR) argument
203 #define AAC_NOTIFY(softs, val) PCI_MEM_PUT32(softs, AAC_IDBR, val) argument
204 #define AAC_OUTB_GET(softs) PCI_MEM_GET32(softs, AAC_OQUE) argument
205 #define AAC_OUTB_SET(softs, val) PCI_MEM_PUT32(softs, AAC_OQUE, val) argument
206 #define AAC_FWSTATUS_GET(softs) \ argument
208 #define AAC_MAILBOX_GET(softs, mb) \ argument
210 #define AAC_MAILBOX_SET(softs, cmd, arg0, arg1, arg2, arg3) \ argument
765 struct aac_softstate *softs = NULL; in aac_attach() local
975 struct aac_softstate *softs = AAC_TRAN2SOFTS(tran); in aac_detach() local
1047 struct aac_softstate *softs = AAC_DIP2SOFTS(dip); in aac_reset() local
1072 struct aac_softstate *softs = AAC_DIP2SOFTS(dip); in aac_quiesce() local
1107 aac_shutdown(struct aac_softstate *softs) in aac_shutdown()
1134 struct aac_softstate *softs = (void *)arg; in aac_softintr() local
1221 aac_send_command(struct aac_softstate *softs, struct aac_slot *slotp) in aac_send_command()
1244 aac_end_io(struct aac_softstate *softs, struct aac_cmd *acp) in aac_end_io()
1297 aac_handle_io(struct aac_softstate *softs, int index) in aac_handle_io()
1363 aac_process_intr_new(struct aac_softstate *softs) in aac_process_intr_new()
1422 struct aac_softstate *softs = (void *)arg; in aac_intr_new() local
1443 aac_process_intr_old(struct aac_softstate *softs) in aac_process_intr_old()
1483 #define AAC_SYNC_AIF(softs, aif_idx, type) \ in aac_process_intr_old() argument
1561 struct aac_softstate *softs = (void *)arg; in aac_intr_old() local
1579 aac_query_intrs(struct aac_softstate *softs, int intr_type) in aac_query_intrs()
1671 aac_add_intrs(struct aac_softstate *softs) in aac_add_intrs()
1716 aac_remove_intrs(struct aac_softstate *softs) in aac_remove_intrs()
1732 aac_enable_intrs(struct aac_softstate *softs) in aac_enable_intrs()
1754 aac_disable_intrs(struct aac_softstate *softs) in aac_disable_intrs()
1778 aac_set_pkt_reason(struct aac_softstate *softs, struct aac_cmd *acp, in aac_set_pkt_reason()
1793 aac_soft_callback(struct aac_softstate *softs, struct aac_cmd *acp) in aac_soft_callback()
1822 aac_ld_complete(struct aac_softstate *softs, struct aac_cmd *acp) in aac_ld_complete()
1851 aac_pd_complete(struct aac_softstate *softs, struct aac_cmd *acp) in aac_pd_complete()
2028 aac_ioctl_complete(struct aac_softstate *softs, struct aac_cmd *acp) in aac_ioctl_complete()
2054 aac_sync_complete(struct aac_softstate *softs, struct aac_cmd *acp) in aac_sync_complete()
2063 aac_synccache_complete(struct aac_softstate *softs, struct aac_cmd *acp) in aac_synccache_complete()
2082 aac_startstop_complete(struct aac_softstate *softs, struct aac_cmd *acp) in aac_startstop_complete()
2105 aac_check_card_type(struct aac_softstate *softs) in aac_check_card_type()
2217 aac_register_intrs(struct aac_softstate *softs) in aac_register_intrs()
2278 aac_unregister_intrs(struct aac_softstate *softs) in aac_unregister_intrs()
2289 aac_check_firmware(struct aac_softstate *softs) in aac_check_firmware()
2485 aac_fsa_rev(struct aac_softstate *softs, struct FsaRev *fsarev0, in aac_fsa_rev()
2503 aac_get_adapter_info(struct aac_softstate *softs, in aac_get_adapter_info()
2606 aac_get_bus_info(struct aac_softstate *softs, uint32_t *bus_max, in aac_get_bus_info()
2709 aac_handle_adapter_config_issues(struct aac_softstate *softs) in aac_handle_adapter_config_issues()
2782 aac_common_attach(struct aac_softstate *softs) in aac_common_attach()
3036 aac_common_detach(struct aac_softstate *softs) in aac_common_detach()
3061 aac_sync_mbcommand(struct aac_softstate *softs, uint32_t cmd, in aac_sync_mbcommand()
3110 aac_sync_fib(struct aac_softstate *softs, uint16_t cmd, uint16_t fibsize) in aac_sync_fib()
3208 aac_fib_enqueue(struct aac_softstate *softs, int queue, uint32_t fib_addr, in aac_fib_enqueue()
3269 aac_fib_dequeue(struct aac_softstate *softs, int queue, int *idxp) in aac_fib_dequeue()
3348 aac_get_mntinfo(struct aac_softstate *softs, int cid) in aac_get_mntinfo()
3374 aac_get_container_count(struct aac_softstate *softs, int *count) in aac_get_container_count()
3402 aac_get_container_uid(struct aac_softstate *softs, uint32_t cid, uint32_t *uid) in aac_get_container_uid()
3427 aac_get_container_info(struct aac_softstate *softs, int cid) in aac_get_container_info()
3456 aac_probe_container(struct aac_softstate *softs, uint32_t cid) in aac_probe_container()
3535 aac_probe_containers(struct aac_softstate *softs) in aac_probe_containers()
3574 aac_probe_jbod(struct aac_softstate *softs, int tgt, int event) in aac_probe_jbod()
3601 aac_alloc_comm_space(struct aac_softstate *softs) in aac_alloc_comm_space()
3662 aac_free_comm_space(struct aac_softstate *softs) in aac_free_comm_space()
3678 aac_setup_comm_space(struct aac_softstate *softs) in aac_setup_comm_space()
3828 aac_vendor_id(struct aac_softstate *softs, uchar_t *buf) in aac_vendor_id()
3836 aac_product_id(struct aac_softstate *softs, uchar_t *buf) in aac_product_id()
3847 aac_lun_serialno(struct aac_softstate *softs, int tgt, uchar_t *buf) in aac_lun_serialno()
3867 aac_inquiry(struct aac_softstate *softs, struct scsi_pkt *pkt, in aac_inquiry()
3995 aac_mode_sense(struct aac_softstate *softs, struct scsi_pkt *pkt, in aac_mode_sense()
4154 struct aac_softstate *softs = AAC_TRAN2SOFTS(tran); in aac_tran_tgt_init() local
4242 struct aac_softstate *softs = SD2AAC(sd); in aac_tran_tgt_free() local
4265 aac_check_adapter_health(struct aac_softstate *softs) in aac_check_adapter_health()
4284 aac_abort_iocmd(struct aac_softstate *softs, struct aac_cmd *acp, in aac_abort_iocmd()
4323 aac_abort_iocmds(struct aac_softstate *softs, int iocmd, struct scsi_pkt *pkt, in aac_abort_iocmds()
4373 struct aac_softstate *softs = arg; in aac_check_drain() local
4399 aac_start_drain(struct aac_softstate *softs) in aac_start_drain()
4414 aac_stop_drain(struct aac_softstate *softs) in aac_stop_drain()
4439 aac_reset_adapter(struct aac_softstate *softs) in aac_reset_adapter()
4542 aac_set_throttle(struct aac_softstate *softs, struct aac_device *dvp, int q, in aac_set_throttle()
4555 aac_hold_bus(struct aac_softstate *softs, int iocmds) in aac_hold_bus()
4574 aac_unhold_bus(struct aac_softstate *softs, int iocmds) in aac_unhold_bus()
4606 aac_do_reset(struct aac_softstate *softs) in aac_do_reset()
4676 struct aac_softstate *softs = AAC_TRAN2SOFTS(ap->a_hba_tran); in aac_tran_reset() local
4709 struct aac_softstate *softs = AAC_TRAN2SOFTS(ap->a_hba_tran); in aac_tran_abort() local
4748 aac_unknown_scmd(struct aac_softstate *softs, struct aac_cmd *acp) in aac_unknown_scmd()
4761 aac_tran_start_ld(struct aac_softstate *softs, struct aac_cmd *acp) in aac_tran_start_ld()
4958 struct aac_softstate *softs = AAC_TRAN2SOFTS(ap->a_hba_tran); in aac_tran_start() local
5032 struct aac_softstate *softs = AAC_TRAN2SOFTS(ap->a_hba_tran); in aac_tran_getcap() local
5080 struct aac_softstate *softs = AAC_TRAN2SOFTS(ap->a_hba_tran); in aac_tran_setcap() local
5139 aac_cmd_dma_alloc(struct aac_softstate *softs, struct aac_cmd *acp, in aac_cmd_dma_alloc()
5370 struct aac_softstate *softs = AAC_TRAN2SOFTS(ap->a_hba_tran); in aac_tran_init_pkt() local
5447 aac_do_quiesce(struct aac_softstate *softs) in aac_do_quiesce()
5472 struct aac_softstate *softs = AAC_DIP2SOFTS(dip); in aac_tran_quiesce() local
5487 aac_do_unquiesce(struct aac_softstate *softs) in aac_do_unquiesce()
5499 struct aac_softstate *softs = AAC_DIP2SOFTS(dip); in aac_tran_unquiesce() local
5514 aac_hba_setup(struct aac_softstate *softs) in aac_hba_setup()
5558 aac_cmd_fib_header(struct aac_softstate *softs, struct aac_cmd *acp, in aac_cmd_fib_header()
5593 aac_cmd_fib_rawio(struct aac_softstate *softs, struct aac_cmd *acp) in aac_cmd_fib_rawio()
5633 aac_cmd_fib_brw64(struct aac_softstate *softs, struct aac_cmd *acp) in aac_cmd_fib_brw64()
5673 aac_cmd_fib_brw(struct aac_softstate *softs, struct aac_cmd *acp) in aac_cmd_fib_brw()
5722 aac_cmd_fib_copy(struct aac_softstate *softs, struct aac_cmd *acp) in aac_cmd_fib_copy()
5736 aac_cmd_fib_sync(struct aac_softstate *softs, struct aac_cmd *acp) in aac_cmd_fib_sync()
5756 aac_cmd_fib_startstop(struct aac_softstate *softs, struct aac_cmd *acp) in aac_cmd_fib_startstop()
5813 aac_cmd_fib_scsi32(struct aac_softstate *softs, struct aac_cmd *acp) in aac_cmd_fib_scsi32()
5840 aac_cmd_fib_scsi64(struct aac_softstate *softs, struct aac_cmd *acp) in aac_cmd_fib_scsi64()
5869 aac_cmd_slot_bind(struct aac_softstate *softs, struct aac_cmd *acp) in aac_cmd_slot_bind()
5885 aac_bind_io(struct aac_softstate *softs, struct aac_cmd *acp) in aac_bind_io()
5909 aac_sync_fib_slot_bind(struct aac_softstate *softs, struct aac_cmd *acp) in aac_sync_fib_slot_bind()
5927 aac_sync_fib_slot_release(struct aac_softstate *softs, struct aac_cmd *acp) in aac_sync_fib_slot_release()
5939 aac_start_io(struct aac_softstate *softs, struct aac_cmd *acp) in aac_start_io()
5991 aac_start_waitq(struct aac_softstate *softs, struct aac_cmd_queue *q) in aac_start_waitq()
6008 aac_start_waiting_io(struct aac_softstate *softs) in aac_start_waiting_io()
6021 aac_drain_comp_q(struct aac_softstate *softs) in aac_drain_comp_q()
6076 aac_alloc_fib(struct aac_softstate *softs, struct aac_slot *slotp) in aac_alloc_fib()
6161 aac_alloc_fibs(struct aac_softstate *softs) in aac_alloc_fibs()
6181 aac_destroy_fibs(struct aac_softstate *softs) in aac_destroy_fibs()
6196 aac_create_slots(struct aac_softstate *softs) in aac_create_slots()
6215 aac_destroy_slots(struct aac_softstate *softs) in aac_destroy_slots()
6226 aac_get_slot(struct aac_softstate *softs) in aac_get_slot()
6238 aac_release_slot(struct aac_softstate *softs, struct aac_slot *slotp) in aac_release_slot()
6249 aac_do_io(struct aac_softstate *softs, struct aac_cmd *acp) in aac_do_io()
6273 aac_do_poll_io(struct aac_softstate *softs, struct aac_cmd *acp) in aac_do_poll_io()
6298 aac_do_sync_io(struct aac_softstate *softs, struct aac_cmd *acp) in aac_do_sync_io()
6342 aac_save_aif(struct aac_softstate *softs, ddi_acc_handle_t acc, in aac_save_aif()
6402 aac_return_aif_common(struct aac_softstate *softs, struct aac_fib_context *ctx, in aac_return_aif_common()
6420 aac_return_aif(struct aac_softstate *softs, struct aac_fib_context *ctx, in aac_return_aif()
6432 aac_return_aif_wait(struct aac_softstate *softs, struct aac_fib_context *ctx, in aac_return_aif_wait()
6458 aac_handle_aif(struct aac_softstate *softs, struct aac_aif_command *aif) in aac_handle_aif()
6558 aac_aif_event(struct aac_softstate *softs) in aac_aif_event()
6589 aac_cmd_timeout(struct aac_softstate *softs, struct aac_cmd *acp) in aac_cmd_timeout()
6627 aac_sync_tick(struct aac_softstate *softs) in aac_sync_tick()
6660 aac_daemon(struct aac_softstate *softs) in aac_daemon()
6712 aac_event_thread(struct aac_softstate *softs) in aac_event_thread()
6758 struct aac_softstate *softs = arg; in aac_timer() local
6791 aac_event_disp(struct aac_softstate *softs, int events) in aac_event_disp()
6803 aac_rx_get_fwstatus(struct aac_softstate *softs) in aac_rx_get_fwstatus()
6809 aac_rx_get_mailbox(struct aac_softstate *softs, int mb) in aac_rx_get_mailbox()
6815 aac_rx_set_mailbox(struct aac_softstate *softs, uint32_t cmd, in aac_rx_set_mailbox()
6826 aac_rkt_get_fwstatus(struct aac_softstate *softs) in aac_rkt_get_fwstatus()
6832 aac_rkt_get_mailbox(struct aac_softstate *softs, int mb) in aac_rkt_get_mailbox()
6838 aac_rkt_set_mailbox(struct aac_softstate *softs, uint32_t cmd, in aac_rkt_set_mailbox()
6854 struct aac_softstate *softs; in aac_open() local
6909 struct aac_softstate *softs; in aac_ioctl() local
6952 aac_fm_init(struct aac_softstate *softs) in aac_fm_init()
7002 aac_fm_fini(struct aac_softstate *softs) in aac_fm_fini()
7050 aac_fm_ereport(struct aac_softstate *softs, char *detail) in aac_fm_ereport()
7109 aac_find_child(struct aac_softstate *softs, uint16_t tgt, uint8_t lun) in aac_find_child()
7140 aac_config_child(struct aac_softstate *softs, struct scsi_device *sd, in aac_config_child()
7210 aac_probe_lun(struct aac_softstate *softs, struct scsi_device *sd) in aac_probe_lun()
7268 aac_config_lun(struct aac_softstate *softs, uint16_t tgt, uint8_t lun, in aac_config_lun()
7298 aac_config_tgt(struct aac_softstate *softs, int tgt) in aac_config_tgt()
7402 aac_devcfg(struct aac_softstate *softs, int tgt, int en) in aac_devcfg()
7419 struct aac_softstate *softs; in aac_tran_bus_config() local
7499 aac_handle_dr(struct aac_softstate *softs, int tgt, int lun, int event) in aac_handle_dr()
7995 aac_get_fw_debug_buffer(struct aac_softstate *softs) in aac_get_fw_debug_buffer()
8030 aac_dbflag_on(struct aac_softstate *softs, int flag) in aac_dbflag_on()
8039 aac_cmn_err(struct aac_softstate *softs, uint_t lev, char sl, int noheader) in aac_cmn_err()
8069 aac_printf(struct aac_softstate *softs, uint_t lev, const char *fmt, ...) in aac_printf()
8167 aac_print_scmd(struct aac_softstate *softs, struct aac_cmd *acp) in aac_print_scmd()
8235 aac_print_fib(struct aac_softstate *softs, struct aac_slot *slotp) in aac_print_fib()
8443 aac_print_aif(struct aac_softstate *softs, struct aac_aif_command *aif) in aac_print_aif()