Lines Matching refs:iphy

313 	struct isci_phy *iphy;
334 iphy = &ihost->phys[index];
335 result = sci_phy_frame_handler(iphy, frame_index);
346 iphy = &ihost->phys[index];
347 result = sci_phy_frame_handler(iphy, frame_index);
372 struct isci_phy *iphy;
452 iphy = &ihost->phys[index];
453 sci_phy_event_handler(iphy, ent);
838 static bool is_phy_starting(struct isci_phy *iphy)
842 state = iphy->sm.current_state_id;
866 struct isci_phy *iphy = &ihost->phys[i];
867 u32 state = iphy->sm.current_state_id;
875 else if (!phy_get_non_dummy_port(iphy))
884 if ((iphy->is_in_link_training == false && state == SCI_PHY_INITIAL) ||
885 (iphy->is_in_link_training == false && state == SCI_PHY_STOPPED) ||
886 (iphy->is_in_link_training == true && is_phy_starting(iphy)) ||
905 struct isci_phy *iphy;
920 iphy = &ihost->phys[ihost->next_phy_to_start];
923 if (phy_get_non_dummy_port(iphy) == NULL) {
939 status = sci_phy_start(iphy);
1281 struct isci_phy *iphy = &ihost->phys[i];
1282 del_timer_sync(&iphy->sata_timer.timer);
1744 struct isci_phy *iphy;
1765 iphy = ihost->power_control.requesters[i];
1766 if (iphy == NULL)
1775 sci_phy_consume_power_handler(iphy);
1777 if (iphy->protocol == SAS_PROTOCOL_SSP) {
1788 if (requester != NULL && requester != iphy) {
1790 iphy->frame_rcvd.iaf.sas_addr,
1815 struct isci_phy *iphy)
1817 BUG_ON(iphy == NULL);
1821 sci_phy_consume_power_handler(iphy);
1847 iphy->frame_rcvd.iaf.sas_addr,
1853 sci_phy_consume_power_handler(iphy);
1860 ihost->power_control.requesters[iphy->phy_index] = iphy;
1867 struct isci_phy *iphy)
1869 BUG_ON(iphy == NULL);
1871 if (ihost->power_control.requesters[iphy->phy_index])
1874 ihost->power_control.requesters[iphy->phy_index] = NULL;
2382 struct isci_phy *iphy)
2389 iport, iphy);
2394 iport, iphy);
2399 "unexpected state %d\n", __func__, iphy->phy_index,
2405 struct isci_phy *iphy)
2411 iport, iphy);
2418 iphy->phy_index,