Searched refs:pmcs_phy_t (Results 1 – 12 of 12) sorted by relevance
/illumos-gate/usr/src/uts/common/sys/scsi/adapters/pmcs/ |
H A D | pmcs_proto.h | 66 void pmcs_remove_device(pmcs_hw_t *, pmcs_phy_t *); 159 pmcs_phy_t *, char *); 255 void pmcs_clear_phy(pmcs_hw_t *, pmcs_phy_t *); 256 int pmcs_kill_device(pmcs_hw_t *, pmcs_phy_t *); 311 pmcs_phy_t *pmcs_promote_next_phy(pmcs_phy_t *pptr); 317 void pmcs_lock_phy(pmcs_phy_t *); 318 void pmcs_unlock_phy(pmcs_phy_t *); 326 void pmcs_free_phys(pmcs_hw_t *, pmcs_phy_t *); 331 void pmcs_inc_phy_ref_count(pmcs_phy_t *); 332 void pmcs_dec_phy_ref_count(pmcs_phy_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.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 */
|
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;
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/pmcs/ |
H A D | pmcs_subr.c | 49 pmcs_phy_t *); 60 pmcs_phy_t *); 62 static pmcs_phy_t *pmcs_find_phy_needing_work(pmcs_hw_t *, pmcs_phy_t *); 67 static pmcs_phy_t *pmcs_clone_phy(pmcs_phy_t *); 630 pmcs_phy_t *pptr; in pmcs_start_phy() 2212 pmcs_phy_t * 5838 pmcs_phy_t * 5867 pmcs_phy_t * 7424 pmcs_phy_t * 7471 pmcs_phy_t *phyp = (pmcs_phy_t *)buf; in pmcs_phy_constructor() [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() 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() 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() 824 pmcs_phy_t *pphy; in pmcs_ssp_event_recovery() 901 pmcs_start_dev_state_recovery(pmcs_xscsi_t *xp, pmcs_phy_t *phyp) in pmcs_start_dev_state_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() 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() 2823 pmcs_remove_device(pmcs_hw_t *pwp, pmcs_phy_t *pptr) in pmcs_remove_device() 3103 pmcs_phy_t *phyp; in pmcs_create_all_phy_stats() [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 | 65 pmcs_phy_t *pptr; in pmcs_sata_special_work() 606 pmcs_sata_identify(pmcs_hw_t *pwp, pmcs_phy_t *pptr) in pmcs_sata_identify() 622 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 …]
|
/illumos-gate/usr/src/cmd/mdb/common/modules/pmcs/ |
H A D | pmcs.c | 70 static pmcs_phy_t *pmcs_next_sibling(pmcs_phy_t *phyp); 478 pmcs_phy_t phy; in pmcs_utarget_walk_cb() 718 pmcs_phy_t phy; in display_targets() 888 pmcs_phy_t phy; in display_one_work() 1526 pmcs_phy_t *phy; in get_devid_from_ob_iomb() 2115 pmcs_phy_t phy; in display_phys() 2116 pmcs_phy_t *pphy = parent; in display_phys() 2153 NOREAD(pmcs_phy_t, phy); in display_phys() 2444 static pmcs_phy_t * 2447 pmcs_phy_t parent; in pmcs_next_sibling() [all …]
|