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);
57 static void isp_rq_check_above(ispsoftc_t *);
58 static void isp_rq_check_below(ispsoftc_t *);
78 ispsoftc_t *isp = (ispsoftc_t *)arg1; in isp_role_sysctl()
110 isp_attach_chan(ispsoftc_t *isp, struct cam_devq *devq, int chan) in isp_attach_chan()
221 isp_detach_chan(ispsoftc_t *isp, int chan) in isp_detach_chan()
236 isp_attach(ispsoftc_t *isp) in isp_attach()
278 isp_detach(ispsoftc_t *isp) in isp_detach()
298 isp_freeze_loopdown(ispsoftc_t *isp, int chan) in isp_freeze_loopdown()
318 isp_unfreeze_loopdown(ispsoftc_t *isp, int chan) in isp_unfreeze_loopdown()
339 isp_rq_check_above(ispsoftc_t *isp) in isp_rq_check_above()
352 isp_rq_check_below(ispsoftc_t *isp) in isp_rq_check_below()
367 ispsoftc_t *isp; in ispioctl()
590 static ISP_INLINE int isp_get_pcmd(ispsoftc_t *, union ccb *);
591 static ISP_INLINE void isp_free_pcmd(ispsoftc_t *, union ccb *);
594 isp_get_pcmd(ispsoftc_t *isp, union ccb *ccb) in isp_get_pcmd()
605 isp_free_pcmd(ispsoftc_t *isp, union ccb *ccb) in isp_free_pcmd()
621 static ISP_INLINE tstate_t *get_lun_statep(ispsoftc_t *, int, lun_id_t);
622 static atio_private_data_t *isp_get_atpd(ispsoftc_t *, int, uint32_t);
623 static atio_private_data_t *isp_find_atpd(ispsoftc_t *, int, uint32_t);
624 static void isp_put_atpd(ispsoftc_t *, int, atio_private_data_t *);
625 static inot_private_data_t *isp_get_ntpd(ispsoftc_t *, int);
626 static inot_private_data_t *isp_find_ntpd(ispsoftc_t *, int, uint32_t, uint32_t);
627 static void isp_put_ntpd(ispsoftc_t *, int, inot_private_data_t *);
628 static tstate_t *create_lun_state(ispsoftc_t *, int, struct cam_path *);
629 static void destroy_lun_state(ispsoftc_t *, int, tstate_t *);
630 static void isp_enable_lun(ispsoftc_t *, union ccb *);
631 static void isp_disable_lun(ispsoftc_t *, union ccb *);
633 static void isp_complete_ctio(ispsoftc_t *isp, union ccb *);
635 static void isp_target_start_ctio(ispsoftc_t *, union ccb *, enum Start_Ctio_How);
636 static void isp_handle_platform_atio7(ispsoftc_t *, at7_entry_t *);
637 static void isp_handle_platform_ctio(ispsoftc_t *, ct7_entry_t *);
638 static int isp_handle_platform_target_notify_ack(ispsoftc_t *, isp_notify_t *, uint32_t rsp);
639 static void isp_handle_platform_target_tmf(ispsoftc_t *, isp_notify_t *);
640 static void isp_target_mark_aborted_early(ispsoftc_t *, int chan, tstate_t *, uint32_t);
643 get_lun_statep(ispsoftc_t *isp, int bus, lun_id_t lun) in get_lun_statep()
656 isp_atio_restart(ispsoftc_t *isp, int bus, tstate_t *tptr) in isp_atio_restart()
683 isp_tmcmd_restart(ispsoftc_t *isp) in isp_tmcmd_restart()
711 isp_get_atpd(ispsoftc_t *isp, int chan, uint32_t tag) in isp_get_atpd()
726 isp_find_atpd(ispsoftc_t *isp, int chan, uint32_t tag) in isp_find_atpd()
739 isp_put_atpd(ispsoftc_t *isp, int chan, atio_private_data_t *atp) in isp_put_atpd()
751 isp_dump_atpd(ispsoftc_t *isp, int chan) in isp_dump_atpd()
766 isp_get_ntpd(ispsoftc_t *isp, int chan) in isp_get_ntpd()
778 isp_find_ntpd(ispsoftc_t *isp, int chan, uint32_t tag_id, uint32_t seq_id) in isp_find_ntpd()
791 isp_put_ntpd(ispsoftc_t *isp, int chan, inot_private_data_t *ntp) in isp_put_ntpd()
800 create_lun_state(ispsoftc_t *isp, int bus, struct cam_path *path) in create_lun_state()
820 destroy_lun_state(ispsoftc_t *isp, int bus, tstate_t *tptr) in destroy_lun_state()
846 isp_enable_lun(ispsoftc_t *isp, union ccb *ccb) in isp_enable_lun()
884 isp_disable_lun(ispsoftc_t *isp, union ccb *ccb) in isp_disable_lun()
912 isp_target_start_ctio(ispsoftc_t *isp, union ccb *ccb, enum Start_Ctio_How how) in isp_target_start_ctio()
1253 ispsoftc_t *isp = tp->isp; in isp_refire_notify_ack()
1265 isp_complete_ctio(ispsoftc_t *isp, union ccb *ccb) in isp_complete_ctio()
1274 isp_handle_platform_atio7(ispsoftc_t *isp, at7_entry_t *aep) in isp_handle_platform_atio7()
1455 isp_handle_srr_start(ispsoftc_t *isp, atio_private_data_t *atp) in isp_handle_srr_start()
1553 isp_handle_platform_srr(ispsoftc_t *isp, isp_notify_t *notify) in isp_handle_platform_srr()
1576 isp_handle_platform_ctio(ispsoftc_t *isp, ct7_entry_t *ct) in isp_handle_platform_ctio()
1679 isp_handle_platform_target_notify_ack(ispsoftc_t *isp, isp_notify_t *mp, uint32_t rsp) in isp_handle_platform_target_notify_ack()
1777 isp_handle_platform_target_tmf(ispsoftc_t *isp, isp_notify_t *notify) in isp_handle_platform_target_tmf()
1887 isp_target_mark_aborted_early(ispsoftc_t *isp, int chan, tstate_t *tptr, uint32_t tag_id) in isp_target_mark_aborted_early()
1923 ispsoftc_t *isp = cam_sim_softc(sim); in isp_poll()
1933 ispsoftc_t *isp; in isp_watchdog()
1993 isp_make_here(ispsoftc_t *isp, fcportdb_t *fcp, int chan, int tgt) in isp_make_here()
2016 isp_make_gone(ispsoftc_t *isp, fcportdb_t *fcp, int chan, int tgt) in isp_make_gone()
2048 ispsoftc_t *isp = fc->isp; in isp_gdt_task()
2106 isp_loop_changed(ispsoftc_t *isp, int chan) in isp_loop_changed()
2121 isp_loop_up(ispsoftc_t *isp, int chan) in isp_loop_up()
2132 isp_loop_dead(ispsoftc_t *isp, int chan) in isp_loop_dead()
2211 ispsoftc_t *isp = fc->isp; in isp_kthread()
2280 isp_abort_atio(ispsoftc_t *isp, union ccb *ccb) in isp_abort_atio()
2331 isp_abort_inot(ispsoftc_t *isp, union ccb *ccb) in isp_abort_inot()
2374 ispsoftc_t *isp; in isp_action()
2381 isp = (ispsoftc_t *)cam_sim_softc(sim); in isp_action()
2795 ispsoftc_t *isp = XS_ISP(sccb); in isp_done()
2828 isp_async(ispsoftc_t *isp, ispasync_t cmd, ...) in isp_async()
3164 isp_default_wwn(ispsoftc_t * isp, int chan, int isactive, int iswwnn) in isp_default_wwn()
3214 isp_prt(ispsoftc_t *isp, int level, const char *fmt, ...) in isp_prt()
3232 isp_xs_prt(ispsoftc_t *isp, XS_T *xs, int level, const char *fmt, ...) in isp_xs_prt()
3259 isp_fc_scratch_acquire(ispsoftc_t *isp, int chan) in isp_fc_scratch_acquire()
3272 ispsoftc_t *isp = arg; in isp_platform_intr()
3282 ispsoftc_t *isp = arg; in isp_platform_intr_resp()
3295 ispsoftc_t *isp = arg; in isp_platform_intr_atio()
3308 ispsoftc_t *isp;
3318 ispsoftc_t *isp= mp->isp; in isp_dma2()
3339 isp_dmasetup(ispsoftc_t *isp, struct ccb_scsiio *csio, void *qe) in isp_dmasetup()
3379 isp_dmafree(ispsoftc_t *isp, struct ccb_scsiio *csio) in isp_dmafree()
3401 isp_fcp_reset_crn(ispsoftc_t *isp, int chan, uint32_t tgt, int tgt_set) in isp_fcp_reset_crn()
3423 isp_fcp_next_crn(ispsoftc_t *isp, uint8_t *crnp, XS_T *cmd) in isp_fcp_next_crn()
3470 ispsoftc_t *isp = arg; in isp_timer()
3479 isp_get_ecmd(ispsoftc_t *isp) in isp_get_ecmd()
3489 isp_put_ecmd(ispsoftc_t *isp, isp_ecmd_t *ecmd) in isp_put_ecmd()