Home
last modified time | relevance | path

Searched refs:phy_index (Results 1 – 12 of 12) sorted by relevance

/trueos/sys/dev/isci/scil/
HDscic_sds_port_configuration_agent.c328 U8 phy_index; in scic_sds_mpc_agent_validate_phy_configuration() local
355 for (phy_index = 0; phy_index < SCI_MAX_PHYS; phy_index++) in scic_sds_mpc_agent_validate_phy_configuration()
357 if ((1 << phy_index) & phy_mask) in scic_sds_mpc_agent_validate_phy_configuration()
360 &controller->phy_table[phy_index], &sas_address in scic_sds_mpc_agent_validate_phy_configuration()
366 port_agent->phy_valid_port_range[phy_index].min_index = port_index; in scic_sds_mpc_agent_validate_phy_configuration()
367 port_agent->phy_valid_port_range[phy_index].max_index = phy_index; in scic_sds_mpc_agent_validate_phy_configuration()
369 if (phy_index != port_index) in scic_sds_mpc_agent_validate_phy_configuration()
382 while (phy_index < SCI_MAX_PHYS) in scic_sds_mpc_agent_validate_phy_configuration()
384 if ((1 << phy_index) & phy_mask) in scic_sds_mpc_agent_validate_phy_configuration()
387 &controller->phy_table[phy_index], &phy_assigned_address in scic_sds_mpc_agent_validate_phy_configuration()
[all …]
HDscic_sds_sgpio.c86 U8 phy_index; in scic_sgpio_write_SGODSR_register() local
88 for (phy_index = 0; phy_index < SCI_MAX_PHYS; phy_index++) in scic_sgpio_write_SGODSR_register()
90 if (phy_mask >> phy_index & 1) in scic_sgpio_write_SGODSR_register()
93 controller, output_data_select[phy_index], value in scic_sgpio_write_SGODSR_register()
HDscic_sds_port.c114 U32 phy_index in scic_sds_port_is_valid_phy_assignment() argument
121 if ((this_port->physical_port_index == 1) && (phy_index != 1)) in scic_sds_port_is_valid_phy_assignment()
126 if (this_port->physical_port_index == 3 && phy_index != 3) in scic_sds_port_is_valid_phy_assignment()
133 && ((phy_index == 0) || (phy_index == 1)) in scic_sds_port_is_valid_phy_assignment()
142 && (index != phy_index) ) in scic_sds_port_is_valid_phy_assignment()
153 phy_index].max_speed_generation != in scic_sds_port_is_valid_phy_assignment()
317 (port->phy_table[phy->phy_index] == SCI_INVALID_HANDLE) in scic_sds_port_set_phy()
319 && scic_sds_port_is_valid_phy_assignment(port, phy->phy_index) in scic_sds_port_set_phy()
325 port->phy_table[phy->phy_index] = phy; in scic_sds_port_set_phy()
352 (port->phy_table[phy->phy_index] == phy) in scic_sds_port_clear_phy()
[all …]
HDscic_sds_phy.c172 SCU_SAS_TIDNL_WRITE(this_phy, this_phy->phy_index); in scic_sds_phy_link_layer_initialization()
178 this_phy->phy_index].sas_address.sci_format.high in scic_sds_phy_link_layer_initialization()
183 this_phy->phy_index].sas_address.sci_format.low in scic_sds_phy_link_layer_initialization()
188 SCU_SAS_TIPID_WRITE(this_phy, SCU_SAS_TIPID_GEN_VALUE(ID, this_phy->phy_index)); in scic_sds_phy_link_layer_initialization()
255 scu_afe_xcvr[this_phy->phy_index]. in scic_sds_phy_link_layer_initialization()
260 scu_afe_xcvr[this_phy->phy_index].afe_xcvr_control0, in scic_sds_phy_link_layer_initialization()
265 scu_afe_xcvr[this_phy->phy_index]. in scic_sds_phy_link_layer_initialization()
270 scu_afe_xcvr[this_phy->phy_index].afe_tx_ssc_control, in scic_sds_phy_link_layer_initialization()
281 scu_afe_xcvr[this_phy->phy_index]. in scic_sds_phy_link_layer_initialization()
286 scu_afe_xcvr[this_phy->phy_index].afe_tx_ssc_control, in scic_sds_phy_link_layer_initialization()
[all …]
HDscic_sds_port.h332 (phy)->phy_index, \
342 (phy)->phy_index \
346 (((port)->active_phy_mask & (1 << (phy)->phy_index)) != 0)
540 U32 phy_index
HDscic_sds_phy.h231 U8 phy_index; member
346 ((phy)->phy_index)
407 U8 phy_index
HDscic_sds_controller.h590 ((controller)->invalid_phy_mask |= (1 << (phy)->phy_index))
598 ((controller)->invalid_phy_mask &= ~(1 << (phy)->phy_index))
HDscic_controller.h607 U8 phy_index,
HDscic_sds_controller.c1714 this_controller->phy_table[this_controller->next_phy_to_start].phy_index, in scic_sds_controller_start_next_phy()
1758 this_controller->phy_table[index].phy_index, phy_status in scic_sds_controller_stop_phys()
1992 this_controller->power_control.requesters[the_phy->phy_index] = the_phy; in scic_sds_controller_power_control_queue_insert()
2012 if (this_controller->power_control.requesters[the_phy->phy_index] != NULL) in scic_sds_controller_power_control_queue_remove()
2017 this_controller->power_control.requesters[the_phy->phy_index] = NULL; in scic_sds_controller_power_control_queue_remove()
3241 the_phy->phy_index, in scic_sds_controller_link_up()
3272 the_phy->phy_index, in scic_sds_controller_link_down()
4361 U8 phy_index, in scic_controller_get_phy_handle() argument
4372 controller, phy_index, phy_handle in scic_controller_get_phy_handle()
4375 if (phy_index < ARRAY_SIZE(this_controller->phy_table)) in scic_controller_get_phy_handle()
[all …]
/trueos/sys/dev/isci/
HDisci_sysctl.c150 uint32_t controller_index, phy_index; in isci_sysctl_stop_phy() local
154 phy_index = phy_to_be_stopped % SCI_MAX_PHYS; in isci_sysctl_stop_phy()
159 isci_sysctl_stop(&isci->controllers[controller_index], phy_index); in isci_sysctl_stop_phy()
182 uint32_t controller_index, phy_index; in isci_sysctl_start_phy() local
186 phy_index = phy_to_be_started % SCI_MAX_PHYS; in isci_sysctl_start_phy()
191 isci_sysctl_start(&isci->controllers[controller_index], phy_index); in isci_sysctl_start_phy()
HDisci_remote_device.c221 uint8_t phy_index; in isci_remote_device_get_bitrate() local
232 phy_index = 0; in isci_remote_device_get_bitrate()
236 phy_index++; in isci_remote_device_get_bitrate()
243 phy_index, &phy_handle); in isci_remote_device_get_bitrate()
/trueos/sys/dev/bxe/
HDbxe_elink.c2198 uint8_t phy_index; in elink_set_mdio_emac_per_phy() local
2200 for (phy_index = ELINK_INT_PHY; phy_index < params->num_phys; in elink_set_mdio_emac_per_phy()
2201 phy_index++) in elink_set_mdio_emac_per_phy()
2203 params->phy[phy_index].mdio_ctrl); in elink_set_mdio_emac_per_phy()
3992 uint8_t phy_index; in elink_phy_read() local
3996 for (phy_index = 0; phy_index < params->num_phys; phy_index++) { in elink_phy_read()
3997 if (params->phy[phy_index].addr == phy_addr) { in elink_phy_read()
3999 &params->phy[phy_index], devad, in elink_phy_read()
4009 uint8_t phy_index; in elink_phy_write() local
4013 for (phy_index = 0; phy_index < params->num_phys; phy_index++) { in elink_phy_write()
[all …]