Lines Matching refs:iport

134 		struct isci_port *iport = &ihost->ports[i];  in sci_port_configuration_agent_find_port()  local
136 sci_port_get_sas_address(iport, &port_sas_address); in sci_port_configuration_agent_find_port()
137 sci_port_get_attached_sas_address(iport, &port_attached_device_address); in sci_port_configuration_agent_find_port()
141 return iport; in sci_port_configuration_agent_find_port()
359 struct isci_port *iport, in sci_mpc_agent_link_up() argument
366 if (!iport) in sci_mpc_agent_link_up()
370 sci_port_link_up(iport, iphy); in sci_mpc_agent_link_up()
371 if ((iport->active_phy_mask & (1 << iphy->phy_index))) in sci_mpc_agent_link_up()
396 struct isci_port *iport, in sci_mpc_agent_link_down() argument
399 if (iport != NULL) { in sci_mpc_agent_link_down()
425 sci_port_link_down(iport, iphy); in sci_mpc_agent_link_down()
489 struct isci_port *iport; in sci_apc_agent_configure_ports() local
492 iport = sci_port_configuration_agent_find_port(ihost, iphy); in sci_apc_agent_configure_ports()
494 if (iport) { in sci_apc_agent_configure_ports()
495 if (sci_port_is_valid_phy_assignment(iport, iphy->phy_index)) in sci_apc_agent_configure_ports()
510 iport = &ihost->ports[port_index]; in sci_apc_agent_configure_ports()
513 if (sci_port_is_valid_phy_assignment(iport, iphy->phy_index)) { in sci_apc_agent_configure_ports()
518 if (iport->active_phy_mask > (1 << iphy->phy_index)) { in sci_apc_agent_configure_ports()
527 if (iport->physical_port_index == iphy->phy_index) { in sci_apc_agent_configure_ports()
544 if (iport->active_phy_mask == 0) { in sci_apc_agent_configure_ports()
547 } else if (iport->active_phy_mask != 0) { in sci_apc_agent_configure_ports()
573 status = sci_port_add_phy(iport, iphy); in sci_apc_agent_configure_ports()
607 struct isci_port *iport, in sci_apc_agent_link_up() argument
612 if (!iport) { in sci_apc_agent_link_up()
620 sci_port_link_up(iport, iphy); in sci_apc_agent_link_up()
641 struct isci_port *iport, in sci_apc_agent_link_down() argument
646 if (!iport) in sci_apc_agent_link_down()
651 status = sci_port_remove_phy(iport, iphy); in sci_apc_agent_link_down()