Lines Matching refs:iphy
311 struct isci_phy *iphy;
332 iphy = &ihost->phys[index];
333 result = sci_phy_frame_handler(iphy, frame_index);
344 iphy = &ihost->phys[index];
345 result = sci_phy_frame_handler(iphy, frame_index);
370 struct isci_phy *iphy;
450 iphy = &ihost->phys[index];
451 sci_phy_event_handler(iphy, ent);
836 static bool is_phy_starting(struct isci_phy *iphy)
840 state = iphy->sm.current_state_id;
864 struct isci_phy *iphy = &ihost->phys[i];
865 u32 state = iphy->sm.current_state_id;
873 else if (!phy_get_non_dummy_port(iphy))
882 if ((iphy->is_in_link_training == false && state == SCI_PHY_INITIAL) ||
883 (iphy->is_in_link_training == false && state == SCI_PHY_STOPPED) ||
884 (iphy->is_in_link_training == true && is_phy_starting(iphy)) ||
903 struct isci_phy *iphy;
918 iphy = &ihost->phys[ihost->next_phy_to_start];
921 if (phy_get_non_dummy_port(iphy) == NULL) {
937 status = sci_phy_start(iphy);
1279 struct isci_phy *iphy = &ihost->phys[i];
1280 del_timer_sync(&iphy->sata_timer.timer);
1742 struct isci_phy *iphy;
1763 iphy = ihost->power_control.requesters[i];
1764 if (iphy == NULL)
1773 sci_phy_consume_power_handler(iphy);
1775 if (iphy->protocol == SAS_PROTOCOL_SSP) {
1786 if (requester != NULL && requester != iphy) {
1788 iphy->frame_rcvd.iaf.sas_addr,
1813 struct isci_phy *iphy)
1815 BUG_ON(iphy == NULL);
1819 sci_phy_consume_power_handler(iphy);
1845 iphy->frame_rcvd.iaf.sas_addr,
1851 sci_phy_consume_power_handler(iphy);
1858 ihost->power_control.requesters[iphy->phy_index] = iphy;
1865 struct isci_phy *iphy)
1867 BUG_ON(iphy == NULL);
1869 if (ihost->power_control.requesters[iphy->phy_index])
1872 ihost->power_control.requesters[iphy->phy_index] = NULL;
2380 struct isci_phy *iphy)
2387 iport, iphy);
2392 iport, iphy);
2397 "unexpected state %d\n", __func__, iphy->phy_index,
2403 struct isci_phy *iphy)
2409 iport, iphy);
2416 iphy->phy_index,