Lines Matching refs:ispsoftc_t

55 static void isp_freeze_loopdown(ispsoftc_t *, int);
56 static void isp_loop_changed(ispsoftc_t *isp, int chan);
77 ispsoftc_t *isp = (ispsoftc_t *)arg1; in isp_role_sysctl()
109 isp_attach_chan(ispsoftc_t *isp, struct cam_devq *devq, int chan) in isp_attach_chan()
254 isp_detach_chan(ispsoftc_t *isp, int chan) in isp_detach_chan()
282 isp_attach(ispsoftc_t *isp) in isp_attach()
331 isp_detach(ispsoftc_t *isp) in isp_detach()
351 isp_freeze_loopdown(ispsoftc_t *isp, int chan) in isp_freeze_loopdown()
371 isp_unfreeze_loopdown(ispsoftc_t *isp, int chan) in isp_unfreeze_loopdown()
390 ispsoftc_t *isp; in ispioctl()
725 static ISP_INLINE int isp_get_pcmd(ispsoftc_t *, union ccb *);
726 static ISP_INLINE void isp_free_pcmd(ispsoftc_t *, union ccb *);
729 isp_get_pcmd(ispsoftc_t *isp, union ccb *ccb) in isp_get_pcmd()
740 isp_free_pcmd(ispsoftc_t *isp, union ccb *ccb) in isp_free_pcmd()
756 static ISP_INLINE tstate_t *get_lun_statep(ispsoftc_t *, int, lun_id_t);
757 static atio_private_data_t *isp_get_atpd(ispsoftc_t *, int, uint32_t);
758 static atio_private_data_t *isp_find_atpd(ispsoftc_t *, int, uint32_t);
759 static void isp_put_atpd(ispsoftc_t *, int, atio_private_data_t *);
760 static inot_private_data_t *isp_get_ntpd(ispsoftc_t *, int);
761 static inot_private_data_t *isp_find_ntpd(ispsoftc_t *, int, uint32_t, uint32_t);
762 static void isp_put_ntpd(ispsoftc_t *, int, inot_private_data_t *);
763 static cam_status create_lun_state(ispsoftc_t *, int, struct cam_path *, tstate_t **);
764 static void destroy_lun_state(ispsoftc_t *, int, tstate_t *);
765 static void isp_enable_lun(ispsoftc_t *, union ccb *);
766 static void isp_disable_lun(ispsoftc_t *, union ccb *);
772 static void isp_target_start_ctio(ispsoftc_t *, union ccb *, enum Start_Ctio_How);
773 static void isp_handle_platform_atio2(ispsoftc_t *, at2_entry_t *);
774 static void isp_handle_platform_atio7(ispsoftc_t *, at7_entry_t *);
775 static void isp_handle_platform_ctio(ispsoftc_t *, void *);
776 static int isp_handle_platform_target_notify_ack(ispsoftc_t *, isp_notify_t *, uint32_t rsp);
777 static void isp_handle_platform_target_tmf(ispsoftc_t *, isp_notify_t *);
778 static void isp_target_mark_aborted_early(ispsoftc_t *, int chan, tstate_t *, uint32_t);
781 get_lun_statep(ispsoftc_t *isp, int bus, lun_id_t lun) in get_lun_statep()
797 isp_atio_restart(ispsoftc_t *isp, int bus, tstate_t *tptr) in isp_atio_restart()
831 isp_tmcmd_restart(ispsoftc_t *isp) in isp_tmcmd_restart()
859 isp_get_atpd(ispsoftc_t *isp, int chan, uint32_t tag) in isp_get_atpd()
877 isp_find_atpd(ispsoftc_t *isp, int chan, uint32_t tag) in isp_find_atpd()
891 isp_put_atpd(ispsoftc_t *isp, int chan, atio_private_data_t *atp) in isp_put_atpd()
905 isp_dump_atpd(ispsoftc_t *isp, int chan) in isp_dump_atpd()
920 isp_get_ntpd(ispsoftc_t *isp, int chan) in isp_get_ntpd()
933 isp_find_ntpd(ispsoftc_t *isp, int chan, uint32_t tag_id, uint32_t seq_id) in isp_find_ntpd()
947 isp_put_ntpd(ispsoftc_t *isp, int chan, inot_private_data_t *ntp) in isp_put_ntpd()
957 create_lun_state(ispsoftc_t *isp, int bus, struct cam_path *path, tstate_t **rslt) in create_lun_state()
985 destroy_lun_state(ispsoftc_t *isp, int bus, tstate_t *tptr) in destroy_lun_state()
1012 isp_enable_lun(ispsoftc_t *isp, union ccb *ccb) in isp_enable_lun()
1059 isp_disable_lun(ispsoftc_t *isp, union ccb *ccb) in isp_disable_lun()
1090 isp_target_start_ctio(ispsoftc_t *isp, union ccb *ccb, enum Start_Ctio_How how) in isp_target_start_ctio()
1587 ISP_ASSERT_LOCKED((ispsoftc_t *)XS_ISP(ccb)); in isp_refire_putback_atio()
1595 ispsoftc_t *isp = tp->isp; in isp_refire_notify_ack()
1609 ispsoftc_t *isp = XS_ISP(ccb); in isp_target_putback_atio()
1641 isp_handle_platform_atio2(ispsoftc_t *isp, at2_entry_t *aep) in isp_handle_platform_atio2()
1779 isp_handle_platform_atio7(ispsoftc_t *isp, at7_entry_t *aep) in isp_handle_platform_atio7()
1954 isp_handle_srr_start(ispsoftc_t *isp, atio_private_data_t *atp) in isp_handle_srr_start()
2052 isp_handle_platform_srr(ispsoftc_t *isp, isp_notify_t *notify) in isp_handle_platform_srr()
2075 isp_handle_platform_ctio(ispsoftc_t *isp, void *arg) in isp_handle_platform_ctio()
2219 isp_handle_platform_target_notify_ack(ispsoftc_t *isp, isp_notify_t *mp, uint32_t rsp) in isp_handle_platform_target_notify_ack()
2336 isp_handle_platform_target_tmf(ispsoftc_t *isp, isp_notify_t *notify) in isp_handle_platform_target_tmf()
2446 isp_target_mark_aborted_early(ispsoftc_t *isp, int chan, tstate_t *tptr, uint32_t tag_id) in isp_target_mark_aborted_early()
2487 ispsoftc_t *isp; in isp_cam_async()
2490 isp = (ispsoftc_t *) cam_sim_softc(sim); in isp_cam_async()
2524 ispsoftc_t *isp = cam_sim_softc(sim); in isp_poll()
2534 ispsoftc_t *isp; in isp_watchdog()
2596 isp_make_here(ispsoftc_t *isp, fcportdb_t *fcp, int chan, int tgt) in isp_make_here()
2619 isp_make_gone(ispsoftc_t *isp, fcportdb_t *fcp, int chan, int tgt) in isp_make_gone()
2651 ispsoftc_t *isp = fc->isp; in isp_gdt_task()
2709 isp_loop_changed(ispsoftc_t *isp, int chan) in isp_loop_changed()
2724 isp_loop_up(ispsoftc_t *isp, int chan) in isp_loop_up()
2735 isp_loop_dead(ispsoftc_t *isp, int chan) in isp_loop_dead()
2816 ispsoftc_t *isp = fc->isp; in isp_kthread()
2884 isp_abort_atio(ispsoftc_t *isp, union ccb *ccb) in isp_abort_atio()
2935 isp_abort_inot(ispsoftc_t *isp, union ccb *ccb) in isp_abort_inot()
2978 ispsoftc_t *isp; in isp_action()
2984 isp = (ispsoftc_t *)cam_sim_softc(sim); in isp_action()
3556 ispsoftc_t *isp = XS_ISP(sccb); in isp_done()
3588 isp_async(ispsoftc_t *isp, ispasync_t cmd, ...) in isp_async()
4015 isp_default_wwn(ispsoftc_t * isp, int chan, int isactive, int iswwnn) in isp_default_wwn()
4065 isp_prt(ispsoftc_t *isp, int level, const char *fmt, ...) in isp_prt()
4083 isp_xs_prt(ispsoftc_t *isp, XS_T *xs, int level, const char *fmt, ...) in isp_xs_prt()
4110 isp_mbox_acquire(ispsoftc_t *isp) in isp_mbox_acquire()
4122 isp_mbox_wait_complete(ispsoftc_t *isp, mbreg_t *mbp) in isp_mbox_wait_complete()
4154 isp_mbox_notify_done(ispsoftc_t *isp) in isp_mbox_notify_done()
4162 isp_mbox_release(ispsoftc_t *isp) in isp_mbox_release()
4168 isp_fc_scratch_acquire(ispsoftc_t *isp, int chan) in isp_fc_scratch_acquire()
4182 ispsoftc_t *isp = arg; in isp_platform_intr()
4192 ispsoftc_t *isp = arg; in isp_platform_intr_resp()
4205 ispsoftc_t *isp = arg; in isp_platform_intr_atio()
4218 isp_common_dmateardown(ispsoftc_t *isp, struct ccb_scsiio *csio, uint32_t hdl) in isp_common_dmateardown()
4234 isp_fcp_reset_crn(ispsoftc_t *isp, int chan, uint32_t tgt, int tgt_set) in isp_fcp_reset_crn()
4256 isp_fcp_next_crn(ispsoftc_t *isp, uint8_t *crnp, XS_T *cmd) in isp_fcp_next_crn()
4306 ispsoftc_t *isp = arg; in isp_timer()
4314 isp_get_ecmd(ispsoftc_t *isp) in isp_get_ecmd()
4324 isp_put_ecmd(ispsoftc_t *isp, isp_ecmd_t *ecmd) in isp_put_ecmd()