/titanic_50/usr/src/uts/common/sys/scsi/adapters/pmcs/ |
H A D | pmcs_proto.h | 62 pmcs_prt_impl(pmcs_hw_t *, pmcs_prt_level_t, pmcs_phy_t *, pmcs_xscsi_t *, 66 void pmcs_remove_device(pmcs_hw_t *, pmcs_phy_t *); 73 pmcwork_t *pmcs_gwork(pmcs_hw_t *, uint32_t, pmcs_phy_t *); 84 int pmcs_abort(pmcs_hw_t *, pmcs_phy_t *, uint32_t, int, int); 89 int pmcs_ssp_tmf(pmcs_hw_t *, pmcs_phy_t *, uint8_t, uint32_t, uint64_t, 95 int pmcs_sata_abort_ncq(pmcs_hw_t *, pmcs_phy_t *); 113 void pmcs_deregister_devices(pmcs_hw_t *, pmcs_phy_t *); 114 int pmcs_register_device(pmcs_hw_t *, pmcs_phy_t *); 115 void pmcs_deregister_device(pmcs_hw_t *, pmcs_phy_t *); 148 void pmcs_phy_name(pmcs_hw_t *, pmcs_phy_t *, char *, size_t); [all …]
|
H A D | pmcs_smhba.h | 59 void pmcs_smhba_set_scsi_device_props(pmcs_hw_t *, pmcs_phy_t *, 66 void pmcs_smhba_log_sysevent(pmcs_hw_t *, char *, char *, pmcs_phy_t *);
|
H A D | pmcs_def.h | 73 pmcs_phy_t *sibling; /* sibling phy */ 74 pmcs_phy_t *parent; /* parent phy */ 75 pmcs_phy_t *children; /* head of list of children */ 76 pmcs_phy_t *dead_next; /* dead PHY list link */ 232 pmcs_phy_t *phy; /* phy who owns this command */ 247 pmcs_phy_t *last_phy;
|
H A D | pmcs.h | 64 typedef struct pmcs_phy pmcs_phy_t; typedef 117 pmcs_phy_t *phy; 244 pmcs_phy_t *pptr; /* pointer to this port's primary phy */ 603 pmcs_phy_t *root_phys; /* HBA PHYs (level 0) */ 604 pmcs_phy_t *ports[PMCS_MAX_PORTS]; 606 pmcs_phy_t *dead_phys; /* PHYs waiting to be freed */
|
/titanic_50/usr/src/uts/common/io/scsi/adapters/pmcs/ |
H A D | pmcs_subr.c | 40 static void pmcs_new_tport(pmcs_hw_t *, pmcs_phy_t *); 41 static void pmcs_configure_expander(pmcs_hw_t *, pmcs_phy_t *, pmcs_iport_t *); 43 static void pmcs_check_expanders(pmcs_hw_t *, pmcs_phy_t *); 44 static void pmcs_check_expander(pmcs_hw_t *, pmcs_phy_t *); 45 static void pmcs_clear_expander(pmcs_hw_t *, pmcs_phy_t *, int); 47 static int pmcs_expander_get_nphy(pmcs_hw_t *, pmcs_phy_t *); 48 static int pmcs_expander_content_discover(pmcs_hw_t *, pmcs_phy_t *, 49 pmcs_phy_t *); 53 static boolean_t pmcs_validate_devid(pmcs_phy_t *, pmcs_phy_t *, uint32_t); 54 static void pmcs_clear_phys(pmcs_hw_t *, pmcs_phy_t *); [all …]
|
H A D | pmcs_ds.c | 34 static void pmcs_ds_operational(pmcs_phy_t *pptr, pmcs_xscsi_t *tgt); 35 static void pmcs_handle_ds_recovery_error(pmcs_phy_t *phyp, 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() 258 pmcs_dev_state_recovery(pmcs_hw_t *pwp, pmcs_phy_t *phyp) in pmcs_dev_state_recovery() 264 pmcs_phy_t *pptr, *pnext, *pchild; in pmcs_dev_state_recovery() 498 pmcs_send_err_recovery_cmd(pmcs_hw_t *pwp, uint8_t dev_state, pmcs_phy_t *phyp, in pmcs_send_err_recovery_cmd() 610 pmcs_phy_t *pptr = pwrk->phy; in pmcs_start_ssp_event_recovery() 750 pmcs_phy_t *pptr = pwrk->phy; in pmcs_tgt_event_recovery() [all …]
|
H A D | pmcs_smhba.c | 125 pmcs_smhba_set_scsi_device_props(pmcs_hw_t *pwp, pmcs_phy_t *pptr, in pmcs_smhba_set_scsi_device_props() 131 pmcs_phy_t *pphy; in pmcs_smhba_set_scsi_device_props() 172 pmcs_phy_t *phy_ptr; in pmcs_smhba_set_phy_props() 235 pmcs_phy_t *phyp) in pmcs_smhba_log_sysevent()
|
H A D | pmcs_attach.c | 323 list_create(&iport->phys, sizeof (pmcs_phy_t), in pmcs_iport_attach() 324 offsetof(pmcs_phy_t, list_node)); in pmcs_iport_attach() 432 pmcs_phy_t *phyp; in pmcs_attach() 805 pwp->phy_cache = kmem_cache_create(buf, sizeof (pmcs_phy_t), 8, in pmcs_attach() 912 pwp->root_phys = kmem_zalloc(pwp->nphy * sizeof (pmcs_phy_t), KM_SLEEP); in pmcs_attach() 1571 pmcs_phy_t *phyp = pwp->root_phys; in pmcs_unattach() 1576 kmem_free(pwp->root_phys, pwp->nphy * sizeof (pmcs_phy_t)); in pmcs_unattach() 1702 pmcs_phy_t *pptr; in pmcs_add_sata_device() 2020 pmcs_phy_t *phyp; in pmcs_check_commands() 2782 pmcs_phy_t *pptr = tgt->phy; in pmcs_assign_device() [all …]
|
H A D | pmcs_intr.c | 257 pmcs_phy_t *pptr = pwp->ports[portid]; in pmcs_kill_port() 298 pmcs_phy_t *pptr, *subphy, *tphyp; in pmcs_process_sas_hw_event() 332 pmcs_phy_t *rp; in pmcs_process_sas_hw_event() 639 tphyp = (pmcs_phy_t *)(pwp->root_phys + phynum); in pmcs_process_sas_hw_event() 1087 pmcs_phy_t *phyp = NULL; in pmcs_process_ssp_event() 1137 pmcs_phy_t *pptr = NULL; in pmcs_process_sata_event() 1208 pmcs_phy_t *pptr; in pmcs_process_abort_completion()
|
H A D | pmcs_sata.c | 64 pmcs_phy_t *pptr; in pmcs_sata_special_work() 605 pmcs_sata_identify(pmcs_hw_t *pwp, pmcs_phy_t *pptr) in pmcs_sata_identify() 621 pmcs_run_sata_cmd(pmcs_hw_t *pwp, pmcs_phy_t *pptr, fis_t fis, uint32_t mode, in pmcs_run_sata_cmd()
|
H A D | pmcs_scsa.c | 160 pmcs_phy_t *phyp = NULL; in pmcs_scsa_tran_tgt_init() 418 pmcs_phy_t *phyp; in pmcs_scsa_tran_tgt_free() 628 pmcs_phy_t *pptr = NULL; in pmcs_scsa_abort() 752 pmcs_phy_t *pptr; in pmcs_scsa_reset() 1019 pmcs_phy_t *pptr; in pmcs_smp_start() 1214 pmcs_phy_t *phy, *pphy; in pmcs_smp_init() 1368 pmcs_phy_t *phyp; in pmcs_smp_free() 1549 pmcs_phy_t *phyp; in pmcs_scsa_wq_run_one() 2009 pmcs_phy_t *pptr = pwrk->phy; in pmcs_SAS_done() 2619 pmcs_phy_t *pptr = pwrk->phy; in pmcs_SATA_done() [all …]
|
/titanic_50/usr/src/cmd/mdb/common/modules/pmcs/ |
H A D | pmcs.c | 69 static pmcs_phy_t *pmcs_next_sibling(pmcs_phy_t *phyp); 73 print_sas_address(pmcs_phy_t *phy) in print_sas_address() 477 pmcs_phy_t phy; in pmcs_utarget_walk_cb() 479 if (mdb_vread(&phy, sizeof (pmcs_phy_t), (uintptr_t)addr) == -1) { in pmcs_utarget_walk_cb() 717 pmcs_phy_t phy; in display_targets() 781 NOREAD(pmcs_phy_t, xs.phy); in display_targets() 884 pmcs_phy_t phy; in display_one_work() 904 NOREAD(pmcs_phy_t, wp->phy); in display_one_work() 1522 pmcs_phy_t *phy; in get_devid_from_ob_iomb() 1538 phy = mdb_alloc(sizeof (pmcs_phy_t), UM_SLEEP); in get_devid_from_ob_iomb() [all …]
|