Lines Matching refs:iport
134 struct isci_port *iport = &ihost->ports[i];
136 sci_port_get_sas_address(iport, &port_sas_address);
137 sci_port_get_attached_sas_address(iport, &port_attached_device_address);
141 return iport;
360 struct isci_port *iport,
367 if (!iport)
371 sci_port_link_up(iport, iphy);
372 if ((iport->active_phy_mask & (1 << iphy->phy_index)))
396 struct isci_port *iport,
399 if (iport != NULL) {
425 sci_port_link_down(iport, iphy);
493 struct isci_port *iport;
496 iport = sci_port_configuration_agent_find_port(ihost, iphy);
498 if (iport) {
499 if (sci_port_is_valid_phy_assignment(iport, iphy->phy_index))
514 iport = &ihost->ports[port_index];
517 if (sci_port_is_valid_phy_assignment(iport, iphy->phy_index)) {
522 if (iport->active_phy_mask > (1 << iphy->phy_index)) {
531 if (iport->physical_port_index == iphy->phy_index) {
548 if (iport->active_phy_mask == 0) {
551 } else if (iport->active_phy_mask != 0) {
577 status = sci_port_add_phy(iport, iphy);
610 struct isci_port *iport,
615 if (!iport) {
622 u32 port_state = iport->sm.current_state_id;
630 sci_port_link_up(iport, iphy);
638 * @iport: This is the port object associated with the phy. If the is no
650 struct isci_port *iport,
655 if (!iport)
660 status = sci_port_remove_phy(iport, iphy);