Lines Matching defs: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;
359 struct isci_port *iport,
366 if (!iport)
370 sci_port_link_up(iport, iphy);
371 if ((iport->active_phy_mask & (1 << iphy->phy_index)))
380 * @iport: This is the port object associated with the phy. If the is no
396 struct isci_port *iport,
399 if (iport != NULL) {
425 sci_port_link_down(iport, iphy);
489 struct isci_port *iport;
492 iport = sci_port_configuration_agent_find_port(ihost, iphy);
494 if (iport) {
495 if (sci_port_is_valid_phy_assignment(iport, iphy->phy_index))
510 iport = &ihost->ports[port_index];
513 if (sci_port_is_valid_phy_assignment(iport, iphy->phy_index)) {
518 if (iport->active_phy_mask > (1 << iphy->phy_index)) {
527 if (iport->physical_port_index == iphy->phy_index) {
544 if (iport->active_phy_mask == 0) {
547 } else if (iport->active_phy_mask != 0) {
573 status = sci_port_add_phy(iport, iphy);
597 * @iport: This is the port object associated with the phy. If the is no
607 struct isci_port *iport,
612 if (!iport) {
620 sci_port_link_up(iport, iphy);
629 * @iport: This is the port object associated with the phy. If the is no
641 struct isci_port *iport,
646 if (!iport)
651 status = sci_port_remove_phy(iport, iphy);