Lines Matching refs:ispsoftc_t

60 static void isp_freeze_loopdown(ispsoftc_t *, int, char *);
86 isp_attach_chan(ispsoftc_t *isp, struct cam_devq *devq, int chan) in isp_attach_chan()
193 isp_attach(ispsoftc_t *isp) in isp_attach()
269 isp_detach(ispsoftc_t *isp) in isp_detach()
331 isp_freeze_loopdown(ispsoftc_t *isp, int chan, char *msg) in isp_freeze_loopdown()
347 isp_unfreeze_loopdown(ispsoftc_t *isp, int chan) in isp_unfreeze_loopdown()
364 ispsoftc_t *isp; in ispioctl()
738 ispsoftc_t *isp = arg; in isp_intr_enable()
763 static ISP_INLINE int isp_get_pcmd(ispsoftc_t *, union ccb *);
764 static ISP_INLINE void isp_free_pcmd(ispsoftc_t *, union ccb *);
767 isp_get_pcmd(ispsoftc_t *isp, union ccb *ccb) in isp_get_pcmd()
778 isp_free_pcmd(ispsoftc_t *isp, union ccb *ccb) in isp_free_pcmd()
797 static ISP_INLINE void isp_tmlock(ispsoftc_t *, const char *);
798 static ISP_INLINE void isp_tmunlk(ispsoftc_t *);
799 static ISP_INLINE int is_any_lun_enabled(ispsoftc_t *, int);
800 static ISP_INLINE int is_lun_enabled(ispsoftc_t *, int, lun_id_t);
801 static ISP_INLINE tstate_t *get_lun_statep(ispsoftc_t *, int, lun_id_t);
802 static ISP_INLINE tstate_t *get_lun_statep_from_tag(ispsoftc_t *, int, uint32_t);
803 static ISP_INLINE void rls_lun_statep(ispsoftc_t *, tstate_t *);
804 static ISP_INLINE inot_private_data_t *get_ntp_from_tagdata(ispsoftc_t *, uint32_t, uint32_t, tstat…
805 static ISP_INLINE atio_private_data_t *isp_get_atpd(ispsoftc_t *, tstate_t *, uint32_t);
806 static ISP_INLINE void isp_put_atpd(ispsoftc_t *, tstate_t *, atio_private_data_t *);
807 static ISP_INLINE inot_private_data_t *isp_get_ntpd(ispsoftc_t *, tstate_t *);
808 static ISP_INLINE inot_private_data_t *isp_find_ntpd(ispsoftc_t *, tstate_t *, uint32_t, uint32_t);
809 static ISP_INLINE void isp_put_ntpd(ispsoftc_t *, tstate_t *, inot_private_data_t *);
810 static cam_status create_lun_state(ispsoftc_t *, int, struct cam_path *, tstate_t **);
811 static void destroy_lun_state(ispsoftc_t *, tstate_t *);
812 static void isp_enable_lun(ispsoftc_t *, union ccb *);
813 static cam_status isp_enable_deferred_luns(ispsoftc_t *, int);
814 static cam_status isp_enable_deferred(ispsoftc_t *, int, lun_id_t);
815 static void isp_disable_lun(ispsoftc_t *, union ccb *);
816 static int isp_enable_target_mode(ispsoftc_t *, int);
817 static int isp_disable_target_mode(ispsoftc_t *, int);
818 static void isp_ledone(ispsoftc_t *, lun_entry_t *);
824 static void isp_target_start_ctio(ispsoftc_t *, union ccb *, enum Start_Ctio_How);
825 static void isp_handle_platform_atio(ispsoftc_t *, at_entry_t *);
826 static void isp_handle_platform_atio2(ispsoftc_t *, at2_entry_t *);
827 static void isp_handle_platform_atio7(ispsoftc_t *, at7_entry_t *);
828 static void isp_handle_platform_ctio(ispsoftc_t *, void *);
829 static void isp_handle_platform_notify_scsi(ispsoftc_t *, in_entry_t *);
830 static void isp_handle_platform_notify_fc(ispsoftc_t *, in_fcentry_t *);
831 static void isp_handle_platform_notify_24xx(ispsoftc_t *, in_fcentry_24xx_t *);
832 static int isp_handle_platform_target_notify_ack(ispsoftc_t *, isp_notify_t *);
833 static void isp_handle_platform_target_tmf(ispsoftc_t *, isp_notify_t *);
834 static void isp_target_mark_aborted(ispsoftc_t *, union ccb *);
835 static void isp_target_mark_aborted_early(ispsoftc_t *, tstate_t *, uint32_t);
838 isp_tmlock(ispsoftc_t *isp, const char *msg) in isp_tmlock()
848 isp_tmunlk(ispsoftc_t *isp) in isp_tmunlk()
858 is_any_lun_enabled(ispsoftc_t *isp, int bus) in is_any_lun_enabled()
872 is_lun_enabled(ispsoftc_t *isp, int bus, lun_id_t lun) in is_lun_enabled()
887 dump_tstates(ispsoftc_t *isp, int bus) in dump_tstates()
907 get_lun_statep(ispsoftc_t *isp, int bus, lun_id_t lun) in get_lun_statep()
928 get_lun_statep_from_tag(ispsoftc_t *isp, int bus, uint32_t tagval) in get_lun_statep_from_tag()
951 get_ntp_from_tagdata(ispsoftc_t *isp, uint32_t tag_id, uint32_t seq_id, tstate_t **rslt) in get_ntp_from_tagdata()
975 rls_lun_statep(ispsoftc_t *isp, tstate_t *tptr) in rls_lun_statep()
982 isp_tmcmd_restart(ispsoftc_t *isp) in isp_tmcmd_restart()
1032 isp_get_atpd(ispsoftc_t *isp, tstate_t *tptr, uint32_t tag) in isp_get_atpd()
1052 isp_put_atpd(ispsoftc_t *isp, tstate_t *tptr, atio_private_data_t *atp) in isp_put_atpd()
1063 isp_dump_atpd(ispsoftc_t *isp, tstate_t *tptr) in isp_dump_atpd()
1079 isp_get_ntpd(ispsoftc_t *isp, tstate_t *tptr) in isp_get_ntpd()
1090 isp_find_ntpd(ispsoftc_t *isp, tstate_t *tptr, uint32_t tag_id, uint32_t seq_id) in isp_find_ntpd()
1102 isp_put_ntpd(ispsoftc_t *isp, tstate_t *tptr, inot_private_data_t *ntp) in isp_put_ntpd()
1110 create_lun_state(ispsoftc_t *isp, int bus, struct cam_path *path, tstate_t **rslt) in create_lun_state()
1154 destroy_lun_state(ispsoftc_t *isp, tstate_t *tptr) in destroy_lun_state()
1188 isp_enable_lun(ispsoftc_t *isp, union ccb *ccb) in isp_enable_lun()
1326 isp_enable_deferred_luns(ispsoftc_t *isp, int bus) in isp_enable_deferred_luns()
1372 isp_enable_deferred(ispsoftc_t *isp, int bus, lun_id_t lun) in isp_enable_deferred()
1408 isp_disable_lun(ispsoftc_t *isp, union ccb *ccb) in isp_disable_lun()
1502 isp_enable_target_mode(ispsoftc_t *isp, int bus) in isp_enable_target_mode()
1527 isp_disable_target_mode(ispsoftc_t *isp, int bus) in isp_disable_target_mode()
1550 isp_ledone(ispsoftc_t *isp, lun_entry_t *lep) in isp_ledone()
1570 isp_target_start_ctio(ispsoftc_t *isp, union ccb *ccb, enum Start_Ctio_How how) in isp_target_start_ctio()
2116 ispsoftc_t *isp = XS_ISP(ccb); in isp_refire_putback_atio()
2126 ispsoftc_t *isp = tp->isp; in isp_refire_notify_ack()
2140 ispsoftc_t *isp; in isp_target_putback_atio()
2203 isp_handle_platform_atio(ispsoftc_t *isp, at_entry_t *aep) in isp_handle_platform_atio()
2324 isp_handle_platform_atio2(ispsoftc_t *isp, at2_entry_t *aep) in isp_handle_platform_atio2()
2500 isp_handle_platform_atio7(ispsoftc_t *isp, at7_entry_t *aep) in isp_handle_platform_atio7()
2732 isp_handle_srr_start(ispsoftc_t *isp, tstate_t *tptr, atio_private_data_t *atp) in isp_handle_srr_start()
2830 isp_handle_srr_notify(ispsoftc_t *isp, void *inot_raw) in isp_handle_srr_notify()
2866 isp_handle_platform_ctio(ispsoftc_t *isp, void *arg) in isp_handle_platform_ctio()
3039 isp_handle_platform_notify_scsi(ispsoftc_t *isp, in_entry_t *inot) in isp_handle_platform_notify_scsi()
3045 isp_handle_platform_notify_fc(ispsoftc_t *isp, in_fcentry_t *inp) in isp_handle_platform_notify_fc()
3140 isp_handle_platform_notify_24xx(ispsoftc_t *isp, in_fcentry_24xx_t *inot) in isp_handle_platform_notify_24xx()
3287 isp_handle_platform_target_notify_ack(ispsoftc_t *isp, isp_notify_t *mp) in isp_handle_platform_target_notify_ack()
3395 isp_handle_platform_target_tmf(ispsoftc_t *isp, isp_notify_t *notify) in isp_handle_platform_target_tmf()
3504 isp_target_mark_aborted(ispsoftc_t *isp, union ccb *ccb) in isp_target_mark_aborted()
3530 isp_target_mark_aborted_early(ispsoftc_t *isp, tstate_t *tptr, uint32_t tag_id) in isp_target_mark_aborted_early()
3625 ispsoftc_t *isp;
3648 isptargnotify(ispsoftc_t *isp, union ccb *iccb, struct ccb_immediate_notify *inot) in isptargnotify()
3993 ispsoftc_t *isp; in isptarg_done()
4087 isp_target_thread(ispsoftc_t *isp, int chan) in isp_target_thread()
4419 ispsoftc_t *isp; in isp_cam_async()
4422 isp = (ispsoftc_t *) cam_sim_softc(sim); in isp_cam_async()
4460 ispsoftc_t *isp = cam_sim_softc(sim); in isp_poll()
4474 ispsoftc_t *isp; in isp_watchdog()
4542 isp_make_here(ispsoftc_t *isp, int chan, int tgt) in isp_make_here()
4569 isp_make_gone(ispsoftc_t *isp, int chan, int tgt) in isp_make_gone()
4604 ispsoftc_t *isp = fc->isp; in isp_gdt_task()
4664 ispsoftc_t *isp = fc->isp; in isp_ldt_task()
4744 ispsoftc_t *isp = fc->isp; in isp_kthread()
4853 ispsoftc_t *isp; in isp_action()
4858 isp = (ispsoftc_t *)cam_sim_softc(sim); in isp_action()
5517 ispsoftc_t *isp = XS_ISP(sccb); in isp_done()
5554 isp_async(ispsoftc_t *isp, ispasync_t cmd, ...) in isp_async()
6071 isp_uninit(ispsoftc_t *isp) in isp_uninit()
6091 isp_default_wwn(ispsoftc_t * isp, int chan, int isactive, int iswwnn) in isp_default_wwn()
6174 isp_prt(ispsoftc_t *isp, int level, const char *fmt, ...) in isp_prt()
6192 isp_xs_prt(ispsoftc_t *isp, XS_T *xs, int level, const char *fmt, ...) in isp_xs_prt()
6218 isp_mbox_acquire(ispsoftc_t *isp) in isp_mbox_acquire()
6230 isp_mbox_wait_complete(ispsoftc_t *isp, mbreg_t *mbp) in isp_mbox_wait_complete()
6283 isp_mbox_notify_done(ispsoftc_t *isp) in isp_mbox_notify_done()
6292 isp_mbox_release(ispsoftc_t *isp) in isp_mbox_release()
6298 isp_fc_scratch_acquire(ispsoftc_t *isp, int chan) in isp_fc_scratch_acquire()
6329 ispsoftc_t *isp = arg; in isp_platform_intr()
6344 isp_common_dmateardown(ispsoftc_t *isp, struct ccb_scsiio *csio, uint32_t hdl) in isp_common_dmateardown()
6355 isp_fcp_next_crn(ispsoftc_t *isp, uint8_t *crnp, XS_T *cmd) in isp_fcp_next_crn()
6409 ispsoftc_t *isp = arg; in isp_timer()
6417 isp_get_ecmd(ispsoftc_t *isp) in isp_get_ecmd()
6427 isp_put_ecmd(ispsoftc_t *isp, isp_ecmd_t *ecmd) in isp_put_ecmd()