Searched refs:nphy (Results 1 – 10 of 10) sorted by relevance
/titanic_41/usr/src/lib/scsi/plugins/ses/ses2/common/ |
H A D | ses2_element.c | 662 size_t nphy; in elem_parse_aes_device() local 701 nphy = MIN(s0ep->sadsi_n_phy_descriptors, in elem_parse_aes_device() 705 nphy = MIN(s0p->sadsi_n_phy_descriptors, in elem_parse_aes_device() 710 if (nphy == 0) in elem_parse_aes_device() 713 nva = ses_zalloc(nphy * sizeof (nvlist_t *)); in elem_parse_aes_device() 717 for (i = 0; i < nphy; i++) { in elem_parse_aes_device() 760 nva, nphy)) != 0) in elem_parse_aes_device() 763 for (i = 0; i < nphy && nva[i] != NULL; i++) in elem_parse_aes_device() 769 for (i = 0; i < nphy && nva[i] != NULL; i++) in elem_parse_aes_device() 782 size_t nphy; in elem_parse_aes_expander() local [all …]
|
/titanic_41/usr/src/lib/fm/topo/modules/sun4v/sun4vpi/ |
H A D | pi_bay.c | 361 int nphy; in pi_enum_bay() local 368 nphy = pi_get_priphy(mod, mdp, mde_node, phy); in pi_enum_bay() 369 if (nphy <= 0) { in pi_enum_bay() 375 phy = topo_mod_alloc(mod, (nphy * sizeof (uint8_t))); in pi_enum_bay() 384 if (rv != nphy) { in pi_enum_bay() 413 if (num_arcs != nphy) { in pi_enum_bay() 415 _ENUM_NAME, nphy, num_arcs); in pi_enum_bay() 494 topo_mod_free(mod, phy, (nphy * sizeof (uint8_t))); in pi_enum_bay()
|
H A D | pi_subr.c | 740 int nphy; in pi_get_priphy() local 743 &phy_num, &nphy); in pi_get_priphy() 753 bcopy(phy_num, phyp, nphy); in pi_get_priphy() 755 return (nphy); in pi_get_priphy()
|
/titanic_41/usr/src/uts/common/io/scsi/adapters/pmcs/ |
H A D | pmcs_smhba.c | 177 if (iport->nphy == 0) { in pmcs_smhba_set_phy_props() 186 phy_props = kmem_zalloc(sizeof (nvlist_t *) * iport->nphy, KM_SLEEP); in pmcs_smhba_set_phy_props() 212 iport->nphy); in pmcs_smhba_set_phy_props() 222 for (i = 0; i < iport->nphy && phy_props[i] != NULL; i++) { in pmcs_smhba_set_phy_props() 226 kmem_free(phy_props, sizeof (nvlist_t *) * iport->nphy); in pmcs_smhba_set_phy_props()
|
H A D | pmcs_subr.c | 183 pwp->nphy = PMCS_NPHY(pmcs_rd_mpi_tbl(pwp, PMCS_MPI_INFO1)); in pmcs_setup() 196 if (pwp->nphy == 0) { in pmcs_setup() 206 for (i = 0; i < pwp->nphy; i++) { in pmcs_setup() 415 for (phynum = 0; phynum < pwp->nphy; phynum ++) { in pmcs_setup() 704 for (i = 0; i < pwp->nphy; i++) { in pmcs_start_phys() 952 for (i = 0; i < pwp->nphy; i++) { in pmcs_stop_phys() 1144 for (i = 0; i < pwp->nphy; i++) { in pmcs_register_dump() 2374 &iport->nphy); in pmcs_phymap_activate() 3399 int result, i, nphy = 0; in pmcs_configure_expander() local 3534 nphy = pmcs_expander_get_nphy(pwp, pptr); in pmcs_configure_expander() [all …]
|
H A D | pmcs_attach.c | 383 &iport->nphy); in pmcs_iport_attach() 912 pwp->root_phys = kmem_zalloc(pwp->nphy * sizeof (pmcs_phy_t), KM_SLEEP); in pmcs_attach() 913 ASSERT(pwp->nphy < SAS2_PHYNUM_MAX); in pmcs_attach() 915 for (i = 0; i < pwp->nphy; i++) { in pmcs_attach() 916 if (i < pwp->nphy-1) { in pmcs_attach() 1105 num_phys = pwp->nphy; in pmcs_attach() 1572 for (i = 0; i < pwp->nphy; i++) { in pmcs_unattach() 1576 kmem_free(pwp->root_phys, pwp->nphy * sizeof (pmcs_phy_t)); in pmcs_unattach() 1578 pwp->nphy = 0; in pmcs_unattach()
|
H A D | pmcs_fwlog.c | 489 for (uint8_t i = 0; i < pwp->nphy; i++) { in pmcs_dump_mpi_table() 497 for (uint8_t i = 0; i < pwp->nphy; i++) { in pmcs_dump_mpi_table() 505 for (uint8_t i = 0; i < pwp->nphy; i++) { in pmcs_dump_mpi_table() 513 for (uint8_t i = 0; i < pwp->nphy; i++) { in pmcs_dump_mpi_table() 570 for (uint8_t i = 0; i < pwp->nphy; i++) { in pmcs_dump_mpi_table() 574 for (uint8_t i = 0; i < pwp->nphy; i++) { in pmcs_dump_mpi_table()
|
H A D | pmcs_intr.c | 618 ASSERT(iport->nphy == 1); in pmcs_process_sas_hw_event() 619 iport->nphy = 1; in pmcs_process_sas_hw_event()
|
/titanic_41/usr/src/uts/common/sys/scsi/adapters/pmcs/ |
H A D | pmcs.h | 255 int nphy; /* number of phys in this port */ member 528 uint8_t nphy; /* number of phys this card */ member
|
/titanic_41/usr/src/cmd/mdb/common/modules/pmcs/ |
H A D | pmcs.c | 418 ua_state, portid, iport.nphy, iport.dip); in pmcs_iport_walk_cb() 424 ua_state, portid, iport.nphy, iport.dip); in pmcs_iport_walk_cb() 427 if (iport.nphy > 0) { in pmcs_iport_walk_cb() 691 mdb_printf("Number of PHYs: %d\n", m.nphy); in display_hwinfo()
|