Lines Matching refs:index

90 	u8 index;  in sci_port_get_protocols()  local
93 for (index = 0; index < SCI_MAX_PHYS; index++) { in sci_port_get_protocols()
94 struct isci_phy *iphy = iport->phy_table[index]; in sci_port_get_protocols()
104 u32 index; in sci_port_get_phys() local
108 for (index = 0; index < SCI_MAX_PHYS; index++) in sci_port_get_phys()
109 if (iport->phy_table[index]) in sci_port_get_phys()
110 mask |= (1 << index); in sci_port_get_phys()
134 prop->index = iport->logical_port_index; in sci_port_get_properties()
369 u32 index; in sci_port_is_valid_phy_assignment() local
381 for (index = 0; index < SCI_MAX_PHYS; index++) in sci_port_is_valid_phy_assignment()
382 if (iport->phy_table[index] && index != phy_index) in sci_port_is_valid_phy_assignment()
383 existing_phy_index = index; in sci_port_is_valid_phy_assignment()
446 u32 index; in sci_port_get_a_connected_phy() local
449 for (index = 0; index < SCI_MAX_PHYS; index++) { in sci_port_get_a_connected_phy()
453 iphy = iport->phy_table[index]; in sci_port_get_a_connected_phy()
501 u32 index; in sci_port_get_sas_address() local
505 for (index = 0; index < SCI_MAX_PHYS; index++) in sci_port_get_sas_address()
506 if (iport->phy_table[index]) in sci_port_get_sas_address()
507 sci_phy_get_sas_address(iport->phy_table[index], sas); in sci_port_get_sas_address()
607 u8 index; in sci_port_setup_transports() local
609 for (index = 0; index < SCI_MAX_PHYS; index++) { in sci_port_setup_transports()
610 if (iport->active_phy_mask & (1 << index)) in sci_port_setup_transports()
611 sci_phy_setup_transport(iport->phy_table[index], device_id); in sci_port_setup_transports()
728 u32 index; in sci_port_is_wide() local
731 for (index = 0; index < SCI_MAX_PHYS; index++) { in sci_port_is_wide()
732 if (iport->phy_table[index] != NULL) { in sci_port_is_wide()
848 u16 index; in sci_port_get_max_allowed_speed() local
855 for (index = 0; index < SCI_MAX_PHYS; index++) { in sci_port_get_max_allowed_speed()
856 iphy = iport->phy_table[index]; in sci_port_get_max_allowed_speed()
964 u32 index; in sci_port_ready_substate_operational_enter() local
971 for (index = 0; index < SCI_MAX_PHYS; index++) { in sci_port_ready_substate_operational_enter()
972 if (iport->phy_table[index]) { in sci_port_ready_substate_operational_enter()
975 iport->phy_table[index]->phy_index]); in sci_port_ready_substate_operational_enter()
976 if (((iport->active_phy_mask^iport->enabled_phy_mask) & (1 << index)) != 0) in sci_port_ready_substate_operational_enter()
977 sci_port_resume_phy(iport, iport->phy_table[index]); in sci_port_ready_substate_operational_enter()
1606 void sci_port_construct(struct isci_port *iport, u8 index, in sci_port_construct() argument
1612 iport->physical_port_index = index; in sci_port_construct()
1631 for (index = 0; index < SCI_MAX_PHYS; index++) in sci_port_construct()
1632 iport->phy_table[index] = NULL; in sci_port_construct()