• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/sys/dev/isci/scil/

Lines Matching refs:phy_index

330    U8 phy_index;
357 for (phy_index = 0; phy_index < SCI_MAX_PHYS; phy_index++)
359 if ((1 << phy_index) & phy_mask)
362 &controller->phy_table[phy_index], &sas_address
365 // The phy_index can be used as the starting point for the
368 port_agent->phy_valid_port_range[phy_index].min_index = port_index;
369 port_agent->phy_valid_port_range[phy_index].max_index = phy_index;
371 if (phy_index != port_index)
381 // Note: We have not moved the current phy_index so we will actually
384 while (phy_index < SCI_MAX_PHYS)
386 if ((1 << phy_index) & phy_mask)
389 &controller->phy_table[phy_index], &phy_assigned_address
399 port_agent->phy_valid_port_range[phy_index].min_index = port_index;
400 port_agent->phy_valid_port_range[phy_index].max_index = phy_index;
404 &controller->phy_table[phy_index]
407 assigned_phy_mask |= (1 << phy_index);
410 phy_index++;
586 U8 phy_index;
598 phy_index = 0;
600 while (phy_index < SCI_MAX_PHYS)
602 port_index = phy_index;
606 &controller->phy_table[phy_index], &sas_address
609 while (++phy_index < SCI_MAX_PHYS)
612 &controller->phy_table[phy_index], &phy_assigned_address
618 port_agent->phy_valid_port_range[phy_index].min_index = port_index;
619 port_agent->phy_valid_port_range[phy_index].max_index = phy_index;
623 port_agent->phy_valid_port_range[phy_index].min_index = phy_index;
624 port_agent->phy_valid_port_range[phy_index].max_index = phy_index;
706 if (scic_sds_port_is_valid_phy_assignment(port, phy->phy_index))
719 port_index = port_agent->phy_valid_port_range[phy->phy_index].min_index;
720 port_index <= port_agent->phy_valid_port_range[phy->phy_index].max_index;
729 if (scic_sds_port_is_valid_phy_assignment(port, phy->phy_index))
734 if (port->active_phy_mask > (1 << phy->phy_index))
743 if (port->physical_port_index == phy->phy_index)
796 port_agent->phy_configured_mask |= (1 << phy->phy_index);
902 if (port_agent->phy_configured_mask & (1 << phy->phy_index))
910 port_agent->phy_configured_mask &= ~(1 << phy->phy_index);