Home
last modified time | relevance | path

Searched refs:phy_ptr (Results 1 – 8 of 8) sorted by relevance

/illumos-gate/usr/src/lib/sun_sas/common/
H A Ddevtree_phy_disco.c51 struct phy_info *phy_ptr, *last_phy; in free_phy_info() local
53 phy_ptr = port_ptr->first_phy; in free_phy_info()
54 while (phy_ptr != NULL) { in free_phy_info()
55 last_phy = phy_ptr; in free_phy_info()
56 phy_ptr = phy_ptr->next; in free_phy_info()
76 struct phy_info *phy_ptr; in get_phy_info() local
163 if ((phy_ptr = (struct phy_info *)calloc(1, in get_phy_info()
172 phy_ptr->phy.PhyIdentifier = phyId; in get_phy_info()
173 phy_ptr->phy.NegotiatedLinkRate = negoRate; in get_phy_info()
174 phy_ptr->phy.ProgrammedMinLinkRate = prgmMinRate; in get_phy_info()
[all …]
H A DSun_sasGetSASPhyAttributes.c39 struct phy_info *phy_ptr; in Sun_sasGetSASPhyAttributes() local
83 for (phy_ptr = hba_port_ptr->first_phy; phy_ptr != NULL; in Sun_sasGetSASPhyAttributes()
84 phy_ptr = phy_ptr->next) { in Sun_sasGetSASPhyAttributes()
85 if (phy == phy_ptr->index) { in Sun_sasGetSASPhyAttributes()
88 (void) memcpy(pAttributes, &phy_ptr->phy, in Sun_sasGetSASPhyAttributes()
H A Devent.c87 struct phy_info *phy_ptr; in updateMatchingPhy() local
104 for (phy_ptr = hba_port_ptr->first_phy; in updateMatchingPhy()
105 phy_ptr != NULL; phy_ptr = in updateMatchingPhy()
106 phy_ptr->next) { in updateMatchingPhy()
107 if (phy_ptr->phy.PhyIdentifier == in updateMatchingPhy()
110 phy_ptr->invalid = in updateMatchingPhy()
113 phy_ptr->phy. in updateMatchingPhy()
117 phy_ptr->phy. in updateMatchingPhy()
H A DSun_sasFreeLibrary.c77 struct phy_info *phy_ptr = NULL; in FreeHBA() local
105 phy_ptr = hba_port->first_phy; in FreeHBA()
106 while (phy_ptr != NULL) { in FreeHBA()
107 last_phy = phy_ptr; in FreeHBA()
108 phy_ptr = phy_ptr->next; in FreeHBA()
H A DSun_sasGetPhyStatistics.c43 struct phy_info *phy_ptr; in Sun_sasGetPhyStatistics() local
110 for (phy_ptr = hba_port_ptr->first_phy; in Sun_sasGetPhyStatistics()
111 phy_ptr != NULL; in Sun_sasGetPhyStatistics()
112 phy_ptr = phy_ptr->next) { in Sun_sasGetPhyStatistics()
113 if (phy == phy_ptr->index) in Sun_sasGetPhyStatistics()
117 if (phy_ptr == NULL) { in Sun_sasGetPhyStatistics()
187 driver_name, iport_wwn, instance, phy_ptr->phy.PhyIdentifier); in Sun_sasGetPhyStatistics()
H A Ddevtree_hba_disco.c48 struct phy_info *phy_ptr = NULL; in free_hba_port() local
72 phy_ptr = hba_port->first_phy; in free_hba_port()
73 while (phy_ptr != NULL) { in free_hba_port()
74 last_phy = phy_ptr; in free_hba_port()
75 phy_ptr = phy_ptr->next; in free_hba_port()
H A Ddevtree_device_disco.c121 struct phy_info *phy_ptr; in fillDomainPortWWN() local
197 for (phy_ptr = port_ptr->first_phy; phy_ptr != NULL; in fillDomainPortWWN()
198 phy_ptr = phy_ptr->next) { in fillDomainPortWWN()
199 (void) memcpy(phy_ptr->phy.domainPortWWN.wwn, &domainPort, 8); in fillDomainPortWWN()
/illumos-gate/usr/src/uts/common/io/scsi/adapters/pmcs/
H A Dpmcs_smhba.c172 pmcs_phy_t *phy_ptr; in pmcs_smhba_set_phy_props() local
188 for (phy_ptr = list_head(&iport->phys), i = 0; in pmcs_smhba_set_phy_props()
189 phy_ptr != NULL; in pmcs_smhba_set_phy_props()
190 phy_ptr = list_next(&iport->phys, phy_ptr), i++) { in pmcs_smhba_set_phy_props()
191 pmcs_lock_phy(phy_ptr); in pmcs_smhba_set_phy_props()
196 phy_ptr->phynum); in pmcs_smhba_set_phy_props()
198 phy_ptr->link_rate); in pmcs_smhba_set_phy_props()
200 phy_ptr->state.prog_min_rate); in pmcs_smhba_set_phy_props()
202 phy_ptr->state.hw_min_rate); in pmcs_smhba_set_phy_props()
204 phy_ptr->state.prog_max_rate); in pmcs_smhba_set_phy_props()
[all …]