Lines Matching refs:iphy

117 	struct isci_phy *iphy)
130 sci_phy_get_sas_address(iphy, &phy_sas_address);
131 sci_phy_get_attached_sas_address(iphy, &phy_attached_device_address);
344 struct isci_phy *iphy = &ihost->phys[index];
348 phy_get_non_dummy_port(iphy),
349 iphy);
360 struct isci_phy *iphy)
369 port_agent->phy_ready_mask |= (1 << iphy->phy_index);
370 sci_port_link_up(iport, iphy);
371 if ((iport->active_phy_mask & (1 << iphy->phy_index)))
372 port_agent->phy_configured_mask |= (1 << iphy->phy_index);
396 struct isci_phy *iphy)
406 port_agent->phy_ready_mask &= ~(1 << iphy->phy_index);
407 port_agent->phy_configured_mask &= ~(1 << iphy->phy_index);
424 sci_port_link_down(iport, iphy);
483 struct isci_phy *iphy,
491 iport = sci_port_configuration_agent_find_port(ihost, iphy);
494 if (sci_port_is_valid_phy_assignment(iport, iphy->phy_index))
505 for (port_index = port_agent->phy_valid_port_range[iphy->phy_index].min_index;
506 port_index <= port_agent->phy_valid_port_range[iphy->phy_index].max_index;
512 if (sci_port_is_valid_phy_assignment(iport, iphy->phy_index)) {
517 if (iport->active_phy_mask > (1 << iphy->phy_index)) {
526 if (iport->physical_port_index == iphy->phy_index) {
572 status = sci_port_add_phy(iport, iphy);
575 port_agent->phy_configured_mask |= (1 << iphy->phy_index);
606 struct isci_phy *iphy)
608 u8 phy_index = iphy->phy_index;
618 sci_port_link_up(iport, iphy);
628 * @iphy: This is the phy object which has gone link down.
639 struct isci_phy *iphy)
641 port_agent->phy_ready_mask &= ~(1 << iphy->phy_index);
645 if (port_agent->phy_configured_mask & (1 << iphy->phy_index)) {
648 status = sci_port_remove_phy(iport, iphy);
651 port_agent->phy_configured_mask &= ~(1 << iphy->phy_index);