Searched refs:phy (Results 1 - 25 of 29) sorted by relevance

12

/osnet-11/usr/src/lib/sun_sas/common/
H A DSun_sasGetSASPhyAttributes.c33 HBA_UINT32 port, HBA_UINT32 phy, SMHBA_SAS_PHY *pAttributes)
76 /* match phy index. */
77 if (phy >= hba_port_ptr->port_attributes.PortSpecificAttribute.
79 log(LOG_DEBUG, ROUTINE, "Invalid phy index %d", phy);
85 if (phy == phy_ptr->index) {
88 (void) memcpy(pAttributes, &phy_ptr->phy,
97 log(LOG_DEBUG, ROUTINE, "Illegal phy index %d", phy);
32 Sun_sasGetSASPhyAttributes(HBA_HANDLE handle, HBA_UINT32 port, HBA_UINT32 phy, SMHBA_SAS_PHY *pAttributes) argument
H A DSun_sasGetPhyStatistics.c31 * Retrieves the statistics for a specified port.phy on an adapter
34 HBA_UINT32 port, HBA_UINT32 phy, SMHBA_PHYSTATISTICS *pStatistics) {
54 "NULL Phy Statistics buffer of phyIndex: %08lx", phy);
60 "NULL SAS Phy Statistics buffer of phyIndex: %08lx", phy);
69 handle, phy);
78 "Verify Adapter failed for phyIndex: %08lx", phy);
93 "Invalid port index of phyIndex: %08lx", phy);
98 if (phy >= hba_port_ptr->port_attributes.PortSpecificAttribute.
100 log(LOG_DEBUG, ROUTINE, "Invalid phy index %08lx", phy);
33 Sun_sasGetPhyStatistics(HBA_HANDLE handle, HBA_UINT32 port, HBA_UINT32 phy, SMHBA_PHYSTATISTICS *pStatistics) argument
[all...]
H A Ddevtree_phy_disco.c46 * Free the phy allocation.
92 count = di_prop_lookup_bytes(DDI_DEV_T_ANY, node, "phy-info",
97 "Property phy-info not found on port %s%s",
101 log(LOG_DEBUG, ROUTINE, "Property phy-info not found.");
118 rval = nvlist_lookup_nvlist_array(nvl, "phy-info-nvl",
123 "nvlist array phy-info-nvl not\
129 "nvlist array phy-info-nvl not\
172 phy_ptr->phy.PhyIdentifier = phyId;
173 phy_ptr->phy.NegotiatedLinkRate = negoRate;
174 phy_ptr->phy
[all...]
H A Devent.c53 log(LOG_DEBUG, ROUTINE, "- phy matching");
71 if (phy_ptr->phy.PhyIdentifier ==
77 phy_ptr->phy.
81 phy_ptr->phy.
112 /* handle phy events */
178 "updating phy for the events failed.");
H A DSun_sasScsiReportLUNs.c150 phy.domainPortWWN.wwn) ==
H A DSun_sasSendSMPPassThru.c170 phy.domainPortWWN.wwn) ==
H A DSun_sasScsiInquiry.c169 phy.domainPortWWN.wwn) ==
H A DSun_sasScsiReadCapacity.c157 phy.domainPortWWN.wwn) ==
H A Dsun_sas.c426 phy.domainPortWWN.wwn) ==
/osnet-11/usr/src/grub/grub-0.97/netboot/
H A Dtlan.c242 u32 phy[2]; member in struct:tlan_private
416 u32 phy; local
425 phy = priv->phy[priv->phyNum];
438 TLan_MiiReadReg(nic, phy, MII_GEN_ID_HI, &tlphy_id1);
439 TLan_MiiReadReg(nic, phy, MII_GEN_ID_LO, &tlphy_id2);
446 TLan_MiiReadReg(nic, phy, MII_GEN_STS, &status);
448 TLan_MiiReadReg(nic, phy, MII_GEN_STS, &status);
452 TLan_MiiReadReg(nic, phy, MII_AN_LPA, &partner);
453 TLan_MiiReadReg(nic, phy, TLAN_TLPHY_PA
1185 TLan_MiiReadReg(struct nic *nic __unused, u16 phy, u16 reg, u16 * val) argument
1345 TLan_MiiWriteReg(struct nic *nic __unused, u16 phy, u16 reg, u16 val) argument
1436 u32 phy; local
1526 u16 phy; local
1557 u16 phy; local
1651 u16 phy; local
1752 u16 phy; local
[all...]
H A Depic100.c103 unsigned int phy, phy_idx; local
184 for (phy = 0, phy_idx = 0; phy < 32 && phy_idx < sizeof(phys); phy++) {
185 int mii_status = mii_read(phy, 0);
188 phys[phy_idx++] = phy;
190 printf("MII transceiver found at address %d.\n", phy);
H A Dw89c840.c675 int phy, phy_idx = 0; local
676 for (phy = 1; phy < 32 && phy_idx < 4; phy++) {
677 int mii_status = mdio_read(ioaddr, phy, 1);
679 w840private.phys[phy_idx++] = phy;
680 w840private.advertising = mdio_read(ioaddr, phy, 4);
684 "%X advertising %hX.\n", phy, mii_status, w840private.advertising);
H A Dpcnet32.c910 int phy, phy_idx = 0; local
913 for (phy = 1; phy < 32 && phy_idx < MII_CNT; phy++) {
914 int mii_status = mdio_read(nic, phy, MII_BMSR);
916 lp->phys[phy_idx++] = phy;
918 mdio_read(nic, phy, MII_ADVERTISE);
920 tmp = phy;
922 "%hX advertising %hX\n", phy, mii_status,
H A Dsundance.c630 int phy, phy_idx = 0; local
633 for (phy = 1; phy < 32 && phy_idx < MII_CNT; phy++) {
634 int mii_status = mdio_read(nic, phy, MII_BMSR);
636 sdc->phys[phy_idx++] = phy;
638 mdio_read(nic, phy, MII_ADVERTISE);
642 (("%s: MII PHY found at address %d, status " "%hX advertising %hX\n", sdc->nic_name, phy, mii_status, sdc->mii_if.advertising));
H A Dtulip.c1435 unsigned int phy, phy_idx; local
1448 for (phy = 0, phy_idx = 0; phy < 32 && phy_idx < sizeof(tp->phys);
1449 phy++) {
1450 int mii_status = mdio_read(nic, phy, 1);
1453 int mii_reg0 = mdio_read(nic, phy, 0);
1454 int mii_advert = mdio_read(nic, phy, 4);
1464 tp->phys[phy_idx++] = phy;
1466 tp->nic_name, phy, mii_reg0, mii_status, mii_advert);
1470 tp->nic_name, to_advert, phy, mii_adver
[all...]
/osnet-11/usr/src/lib/fm/topo/modules/sun4v/sun4vpi/common/
H A Dpi_bay.c270 di_minor_t *minorp, int phy)
285 if (phy == pi_get_phynum(mod, sib)) {
300 if (phy == pi_get_phynum(mod, gsib)) {
384 uint8_t phy)
414 pi_bay_find_nodes(mod, &dnode, &sib, &minor, phy);
417 "PHY %d.\n", phy);
445 uint8_t *phy = NULL; local
452 nphy = pi_get_priphy(mod, mdp, mde_node, phy);
460 phy = topo_mod_alloc(mod, (nphy * sizeof (uint8_t)));
461 if (phy
269 pi_bay_find_nodes(topo_mod_t *mod, di_node_t *nodep, di_node_t *sibp, di_minor_t *minorp, int phy) argument
383 pi_bay_update_node(topo_mod_t *mod, tnode_t *t_node, di_node_t dnode, uint8_t phy) argument
[all...]
/osnet-11/usr/src/lib/fm/topo/modules/common/bay/common/
H A Dbay.h66 #define PHY_NUM "phy-num"
80 int phy; /* HBA PHY */ member in struct:bay_s
H A Dbay_util.c271 * Get the phy from the "attached-port-pm" property which is
272 * stored as a bit mask (1 << phy-num) string.
273 * If there is no phy mask property look for 'phy-num' property which
281 int phy = -1; local
297 phy = (int)(i - 1);
304 /* next look for (SAS) 'phy-num' */
305 phy = get_int_prop(dnode, pnode, PHY_NUM);
306 if (phy == -1 && dnode != DI_NODE_NIL) {
308 phy
[all...]
H A Dbay_subr.c67 rv = find_child(mod, bp->hba_dnode, &cnode, &pnode, bp->phy);
133 * return the child node which matches the phy.
138 int phy)
144 if (get_phy(cnode, DI_PATH_NIL) == phy) {
152 if (get_phy(DI_NODE_NIL, pnode) == phy) {
352 /* find the child matching the phy and grab the devid prop */
354 rv = find_child(mod, bp->hba_dnode, &cnode, &dpath, bp->phy);
368 bp->hba_nm, bp->phy, buf);
374 bp->hba_nm, bp->phy, devid);
603 int phy; local
137 find_child(topo_mod_t *mod, di_node_t dnode, di_node_t *cn, di_path_t *pn, int phy) argument
[all...]
H A Dbay_common.c73 bp->hba_nm, bp->phy, topo_strerror(err));
243 f, bayp->hba_nm, bayp->phy,
253 f, bayp->hba_nm, bayp->phy,
267 f, bayp->hba_nm, bayp->phy,
H A Dbay.c171 rv = find_child(mod, bp->hba_dnode, &cnode, &pnode, bp->phy);
228 /* find the phy matching child node */
229 rv = find_child(mod, bp->hba_dnode, &cnode, &pnode, bp->phy);
289 bp->hba_nm, bp->phy,
308 /* child node matching phy */
309 (void) find_child(mod, bp->hba_dnode, &cnode, &pn, bp->phy);
398 f, bp->hba_nm, bp->phy,
416 f, bp->hba_nm, bp->phy,
426 f, TOPO_STORAGE_TARGET_PORT_L0IDS, bp->hba_nm, bp->phy,
884 bp->phy
[all...]
H A Dbay_fac.c148 led_num = bp->phy;
156 "%s: hba name(%s) phy(%d) devfs_path(%s)\n", f,
157 di_driver_name(dnode), bp->phy, devfs_path);
/osnet-11/usr/src/grub/grub2/util/ieee1275/
H A Dofpath.c289 char phy[16]; local
311 memset (phy, 0, sizeof (phy));
312 read (fd, phy, sizeof (phy));
314 sscanf (phy, "%d", tgt);
/osnet-11/usr/src/lib/fm/topo/modules/i86pc/x86pi/common/
H A Dx86pi_bay.c199 bay_update_tnode(topo_mod_t *mod, tnode_t *tnodep, uint16_t bdf, int phy) argument
226 if (phy == x86pi_phy(mod, sib))
245 if (phy == minor_cnt++) {
248 "%s: phy(%d) minor name(%s)\n",
249 f, phy, minor_name);
H A Dx86pi_subr.c697 * Return PHY from "sata-phy" devinfo proporty.
702 int *phy; local
704 if (di_prop_lookup_ints(DDI_DEV_T_ANY, node, "sata-phy", &phy) < 0) {
705 topo_mod_dprintf(mod, "couldn't get \"sata-phy\" prop: %s.\n",
710 return (*phy);

Completed in 71 milliseconds

12