Home
last modified time | relevance | path

Searched refs:pmcs_xscsi_t (Results 1 – 12 of 12) sorted by relevance

/titanic_41/usr/src/uts/common/sys/scsi/adapters/pmcs/
H A Dpmcs_proto.h62 pmcs_prt_impl(pmcs_hw_t *, pmcs_prt_level_t, pmcs_phy_t *, pmcs_xscsi_t *,
65 boolean_t pmcs_assign_device(pmcs_hw_t *, pmcs_xscsi_t *);
280 void pmcs_clear_xp(pmcs_hw_t *, pmcs_xscsi_t *);
299 void pmcs_flush_target_queues(pmcs_hw_t *, pmcs_xscsi_t *, uint8_t);
305 pmcs_xscsi_t *);
320 void pmcs_destroy_target(pmcs_xscsi_t *);
338 pmcs_xscsi_t *pmcs_get_target(pmcs_iport_t *, char *, boolean_t);
345 void pmcs_start_dev_state_recovery(pmcs_xscsi_t *, pmcs_phy_t *);
H A Dpmcs_scsa.h59 pmcs_xscsi_t *cmd_target; /* Pointer to target */
79 boolean_t pmcs_scsa_wq_run_one(pmcs_hw_t *, pmcs_xscsi_t *);
88 int pmcs_run_sata_special(pmcs_hw_t *, pmcs_xscsi_t *);
H A Dpmcs_def.h128 pmcs_xscsi_t *target; /* back ptr to current target */
129 pmcs_xscsi_t **target_addr; /* address of real target pointer */
233 pmcs_xscsi_t *xp; /* Back pointer to xscsi struct */
248 pmcs_xscsi_t *last_xp;
H A Dpmcs_smhba.h57 void pmcs_smhba_add_tgt_prop(pmcs_xscsi_t *, data_type_t, char *, void *);
H A Dpmcs.h71 typedef struct pmcs_xscsi pmcs_xscsi_t; typedef
159 pmcs_xscsi_t *target;
667 pmcs_xscsi_t **targets;
/titanic_41/usr/src/uts/common/io/scsi/adapters/pmcs/
H A Dpmcs_ds.c34 static void pmcs_ds_operational(pmcs_phy_t *pptr, pmcs_xscsi_t *tgt);
36 pmcs_xscsi_t *tgt, pmcs_hw_t *pwp, const char *func_name,
43 pmcs_get_dev_state(pmcs_hw_t *pwp, pmcs_phy_t *phyp, pmcs_xscsi_t *xp, in pmcs_get_dev_state()
138 pmcs_set_dev_state(pmcs_hw_t *pwp, pmcs_phy_t *phyp, pmcs_xscsi_t *xp, in pmcs_set_dev_state()
224 pmcs_ds_operational(pmcs_phy_t *pptr, pmcs_xscsi_t *tgt) in pmcs_ds_operational()
263 pmcs_xscsi_t *tgt; in pmcs_dev_state_recovery()
499 pmcs_xscsi_t *tgt) in pmcs_send_err_recovery_cmd()
608 pmcs_xscsi_t *tgt = pwrk->xp; in pmcs_start_ssp_event_recovery()
753 pmcs_xscsi_t *tgt = pwrk->xp; in pmcs_tgt_event_recovery()
821 pmcs_xscsi_t *tgt; in pmcs_ssp_event_recovery()
[all …]
H A Dpmcs_scsa.c56 static pmcs_xscsi_t *
157 pmcs_xscsi_t *tgt = NULL; in pmcs_scsa_tran_tgt_init()
416 pmcs_xscsi_t *target; in pmcs_scsa_tran_tgt_free()
506 pmcs_xscsi_t *xp; in pmcs_scsa_start()
627 pmcs_xscsi_t *xp = NULL; in pmcs_scsa_abort()
753 pmcs_xscsi_t *xp; in pmcs_scsa_reset()
848 pmcs_xscsi_t *xp; in pmcs_cap()
932 static pmcs_xscsi_t *
935 pmcs_xscsi_t *xp; in pmcs_addr2xp()
1020 pmcs_xscsi_t *xp; in pmcs_smp_start()
[all …]
H A Dpmcs_sata.c58 pmcs_sata_special_work(pmcs_hw_t *pwp, pmcs_xscsi_t *xp) in pmcs_sata_special_work()
538 pmcs_run_sata_special(pmcs_hw_t *pwp, pmcs_xscsi_t *xp) in pmcs_run_sata_special()
559 pmcs_xscsi_t *xp; in pmcs_sata_work()
H A Dpmcs_attach.c352 sizeof (pmcs_xscsi_t), PMCS_TGT_SSTATE_SZ) != 0) { in pmcs_iport_attach()
938 pwp->targets = (pmcs_xscsi_t **) in pmcs_attach()
939 kmem_zalloc(pwp->max_dev * sizeof (pmcs_xscsi_t *), KM_SLEEP); in pmcs_attach()
1584 sizeof (pmcs_xscsi_t *) * pwp->max_dev); in pmcs_unattach()
1698 pmcs_add_sata_device(pmcs_hw_t *pwp, pmcs_xscsi_t *xp) in pmcs_add_sata_device()
1763 pmcs_add_new_device(pmcs_hw_t *pwp, pmcs_xscsi_t *target) in pmcs_add_new_device()
2019 pmcs_xscsi_t *target; in pmcs_check_commands()
2780 pmcs_assign_device(pmcs_hw_t *pwp, pmcs_xscsi_t *tgt) in pmcs_assign_device()
2825 pmcs_xscsi_t *xp; in pmcs_remove_device()
2857 pmcs_phy_t *phyp, pmcs_xscsi_t *target, const char *fmt, ...) in pmcs_prt_impl()
H A Dpmcs_smhba.c96 pmcs_smhba_add_tgt_prop(pmcs_xscsi_t *tgt, data_type_t dt, in pmcs_smhba_add_tgt_prop()
H A Dpmcs_subr.c52 static void pmcs_flush_nonio_cmds(pmcs_hw_t *pwp, pmcs_xscsi_t *tgt);
1167 pmcs_xscsi_t *tgt; in pmcs_abort_handler()
1740 pmcs_xscsi_t *xp = pwp->targets[i]; in pmcs_soft_reset()
4298 pmcs_xscsi_t *xp = pptr->target; in pmcs_expander_get_nphy()
4875 pmcs_xscsi_t *tgt; in pmcs_abort()
5060 pmcs_xscsi_t *xp; in pmcs_ssp_tmf()
5283 pmcs_xscsi_t *tgt; in pmcs_sata_abort_ncq()
6812 pmcs_clear_xp(pmcs_hw_t *pwp, pmcs_xscsi_t *xp) in pmcs_clear_xp()
6976 pmcs_flush_target_queues(pmcs_hw_t *pwp, pmcs_xscsi_t *tgt, uint8_t queues) in pmcs_flush_target_queues()
7090 pmcs_flush_nonio_cmds(pmcs_hw_t *pwp, pmcs_xscsi_t *tgt) in pmcs_flush_nonio_cmds()
[all …]
/titanic_41/usr/src/cmd/mdb/common/modules/pmcs/
H A Dpmcs.c64 static pmcs_xscsi_t **targets = NULL;
716 pmcs_xscsi_t xs; in display_targets()
746 NOREAD(pmcs_xscsi_t, targets[idx]); in display_targets()
883 pmcs_xscsi_t xs; in display_one_work()
897 NOREAD(pmcs_xscsi_t, wp->xp); in display_one_work()
1122 pmcs_xscsi_t xs; in display_waitqs()
1173 NOREAD(pmcs_xscsi_t, targets[i]); in display_waitqs()
2396 wsp->walk_data = mdb_alloc(sizeof (pmcs_xscsi_t), UM_SLEEP); in targets_walk_i()
2410 if (mdb_vread(wsp->walk_data, sizeof (pmcs_xscsi_t), in targets_walk_s()
2433 mdb_free(wsp->walk_data, sizeof (pmcs_xscsi_t)); in targets_walk_f()