Lines Matching refs:ispsoftc_t

53 static void isp_freeze_loopdown(ispsoftc_t *, int);
54 static void isp_loop_changed(ispsoftc_t *isp, int chan);
55 static void isp_rq_check_above(ispsoftc_t *);
56 static void isp_rq_check_below(ispsoftc_t *);
76 ispsoftc_t *isp = (ispsoftc_t *)arg1; in isp_role_sysctl()
108 isp_attach_chan(ispsoftc_t *isp, struct cam_devq *devq, int chan) in isp_attach_chan()
228 isp_detach_chan(ispsoftc_t *isp, int chan) in isp_detach_chan()
243 isp_attach(ispsoftc_t *isp) in isp_attach()
285 isp_detach(ispsoftc_t *isp) in isp_detach()
305 isp_freeze_loopdown(ispsoftc_t *isp, int chan) in isp_freeze_loopdown()
325 isp_unfreeze_loopdown(ispsoftc_t *isp, int chan) in isp_unfreeze_loopdown()
346 isp_rq_check_above(ispsoftc_t *isp) in isp_rq_check_above()
359 isp_rq_check_below(ispsoftc_t *isp) in isp_rq_check_below()
374 ispsoftc_t *isp; in ispioctl()
597 static ISP_INLINE int isp_get_pcmd(ispsoftc_t *, union ccb *);
598 static ISP_INLINE void isp_free_pcmd(ispsoftc_t *, union ccb *);
601 isp_get_pcmd(ispsoftc_t *isp, union ccb *ccb) in isp_get_pcmd()
612 isp_free_pcmd(ispsoftc_t *isp, union ccb *ccb) in isp_free_pcmd()
628 static ISP_INLINE tstate_t *get_lun_statep(ispsoftc_t *, int, lun_id_t);
629 static atio_private_data_t *isp_get_atpd(ispsoftc_t *, int, uint32_t);
630 static atio_private_data_t *isp_find_atpd(ispsoftc_t *, int, uint32_t);
631 static void isp_put_atpd(ispsoftc_t *, int, atio_private_data_t *);
632 static inot_private_data_t *isp_get_ntpd(ispsoftc_t *, int);
633 static inot_private_data_t *isp_find_ntpd(ispsoftc_t *, int, uint32_t, uint32_t);
634 static void isp_put_ntpd(ispsoftc_t *, int, inot_private_data_t *);
635 static tstate_t *create_lun_state(ispsoftc_t *, int, struct cam_path *);
636 static void destroy_lun_state(ispsoftc_t *, int, tstate_t *);
637 static void isp_enable_lun(ispsoftc_t *, union ccb *);
638 static void isp_disable_lun(ispsoftc_t *, union ccb *);
640 static void isp_complete_ctio(ispsoftc_t *isp, union ccb *);
642 static void isp_target_start_ctio(ispsoftc_t *, union ccb *, enum Start_Ctio_How);
643 static void isp_handle_platform_atio7(ispsoftc_t *, at7_entry_t *);
644 static void isp_handle_platform_ctio(ispsoftc_t *, ct7_entry_t *);
645 static int isp_handle_platform_target_notify_ack(ispsoftc_t *, isp_notify_t *, uint32_t rsp);
646 static void isp_handle_platform_target_tmf(ispsoftc_t *, isp_notify_t *);
647 static void isp_target_mark_aborted_early(ispsoftc_t *, int chan, tstate_t *, uint32_t);
650 get_lun_statep(ispsoftc_t *isp, int bus, lun_id_t lun) in get_lun_statep()
663 isp_atio_restart(ispsoftc_t *isp, int bus, tstate_t *tptr) in isp_atio_restart()
690 isp_tmcmd_restart(ispsoftc_t *isp) in isp_tmcmd_restart()
718 isp_get_atpd(ispsoftc_t *isp, int chan, uint32_t tag) in isp_get_atpd()
733 isp_find_atpd(ispsoftc_t *isp, int chan, uint32_t tag) in isp_find_atpd()
746 isp_put_atpd(ispsoftc_t *isp, int chan, atio_private_data_t *atp) in isp_put_atpd()
758 isp_dump_atpd(ispsoftc_t *isp, int chan) in isp_dump_atpd()
773 isp_get_ntpd(ispsoftc_t *isp, int chan) in isp_get_ntpd()
785 isp_find_ntpd(ispsoftc_t *isp, int chan, uint32_t tag_id, uint32_t seq_id) in isp_find_ntpd()
798 isp_put_ntpd(ispsoftc_t *isp, int chan, inot_private_data_t *ntp) in isp_put_ntpd()
807 create_lun_state(ispsoftc_t *isp, int bus, struct cam_path *path) in create_lun_state()
827 destroy_lun_state(ispsoftc_t *isp, int bus, tstate_t *tptr) in destroy_lun_state()
853 isp_enable_lun(ispsoftc_t *isp, union ccb *ccb) in isp_enable_lun()
891 isp_disable_lun(ispsoftc_t *isp, union ccb *ccb) in isp_disable_lun()
919 isp_target_start_ctio(ispsoftc_t *isp, union ccb *ccb, enum Start_Ctio_How how) in isp_target_start_ctio()
1260 ispsoftc_t *isp = tp->isp; in isp_refire_notify_ack()
1272 isp_complete_ctio(ispsoftc_t *isp, union ccb *ccb) in isp_complete_ctio()
1281 isp_handle_platform_atio7(ispsoftc_t *isp, at7_entry_t *aep) in isp_handle_platform_atio7()
1462 isp_handle_srr_start(ispsoftc_t *isp, atio_private_data_t *atp) in isp_handle_srr_start()
1560 isp_handle_platform_srr(ispsoftc_t *isp, isp_notify_t *notify) in isp_handle_platform_srr()
1583 isp_handle_platform_ctio(ispsoftc_t *isp, ct7_entry_t *ct) in isp_handle_platform_ctio()
1686 isp_handle_platform_target_notify_ack(ispsoftc_t *isp, isp_notify_t *mp, uint32_t rsp) in isp_handle_platform_target_notify_ack()
1784 isp_handle_platform_target_tmf(ispsoftc_t *isp, isp_notify_t *notify) in isp_handle_platform_target_tmf()
1894 isp_target_mark_aborted_early(ispsoftc_t *isp, int chan, tstate_t *tptr, uint32_t tag_id) in isp_target_mark_aborted_early()
1930 ispsoftc_t *isp = cam_sim_softc(sim); in isp_poll()
1940 ispsoftc_t *isp; in isp_watchdog()
2000 isp_make_here(ispsoftc_t *isp, fcportdb_t *fcp, int chan, int tgt) in isp_make_here()
2023 isp_make_gone(ispsoftc_t *isp, fcportdb_t *fcp, int chan, int tgt) in isp_make_gone()
2055 ispsoftc_t *isp = fc->isp; in isp_gdt_task()
2113 isp_loop_changed(ispsoftc_t *isp, int chan) in isp_loop_changed()
2128 isp_loop_up(ispsoftc_t *isp, int chan) in isp_loop_up()
2139 isp_loop_dead(ispsoftc_t *isp, int chan) in isp_loop_dead()
2218 ispsoftc_t *isp = fc->isp; in isp_kthread()
2287 isp_abort_atio(ispsoftc_t *isp, union ccb *ccb) in isp_abort_atio()
2338 isp_abort_inot(ispsoftc_t *isp, union ccb *ccb) in isp_abort_inot()
2381 ispsoftc_t *isp; in isp_action()
2388 isp = (ispsoftc_t *)cam_sim_softc(sim); in isp_action()
2802 ispsoftc_t *isp = XS_ISP(sccb); in isp_done()
2835 isp_async(ispsoftc_t *isp, ispasync_t cmd, ...) in isp_async()
3171 isp_default_wwn(ispsoftc_t * isp, int chan, int isactive, int iswwnn) in isp_default_wwn()
3221 isp_prt(ispsoftc_t *isp, int level, const char *fmt, ...) in isp_prt()
3239 isp_xs_prt(ispsoftc_t *isp, XS_T *xs, int level, const char *fmt, ...) in isp_xs_prt()
3266 isp_fc_scratch_acquire(ispsoftc_t *isp, int chan) in isp_fc_scratch_acquire()
3279 ispsoftc_t *isp = arg; in isp_platform_intr()
3289 ispsoftc_t *isp = arg; in isp_platform_intr_resp()
3302 ispsoftc_t *isp = arg; in isp_platform_intr_atio()
3315 ispsoftc_t *isp;
3325 ispsoftc_t *isp= mp->isp; in isp_dma2()
3346 isp_dmasetup(ispsoftc_t *isp, struct ccb_scsiio *csio, void *qe) in isp_dmasetup()
3386 isp_dmafree(ispsoftc_t *isp, struct ccb_scsiio *csio) in isp_dmafree()
3408 isp_fcp_reset_crn(ispsoftc_t *isp, int chan, uint32_t tgt, int tgt_set) in isp_fcp_reset_crn()
3430 isp_fcp_next_crn(ispsoftc_t *isp, uint8_t *crnp, XS_T *cmd) in isp_fcp_next_crn()
3477 ispsoftc_t *isp = arg; in isp_timer()
3486 isp_get_ecmd(ispsoftc_t *isp) in isp_get_ecmd()
3496 isp_put_ecmd(ispsoftc_t *isp, isp_ecmd_t *ecmd) in isp_put_ecmd()