Home
last modified time | relevance | path

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

/freebsd/sys/dev/isci/scil/
H A Dscic_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 …]
H A Dscic_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()
H A Dscic_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 …]
H A Dscic_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 …]
H A Dscic_sds_port.h332 (phy)->phy_index, \
342 (phy)->phy_index \
346 (((port)->active_phy_mask & (1 << (phy)->phy_index)) != 0)
540 U32 phy_index
H A Dscic_sds_phy.h231 U8 phy_index; member
346 ((phy)->phy_index)
407 U8 phy_index
H A Dscic_sds_controller.h590 ((controller)->invalid_phy_mask |= (1 << (phy)->phy_index))
598 ((controller)->invalid_phy_mask &= ~(1 << (phy)->phy_index))
H A Dscic_controller.h607 U8 phy_index,
H A Dscic_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 …]
/freebsd/sys/dev/isci/
H A Disci_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()
H A Disci_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()
/freebsd/sys/dev/bxe/
H A Dbxe_elink.c2244 uint8_t phy_index; in elink_set_mdio_emac_per_phy() local
2247 for (phy_index = ELINK_INT_PHY; phy_index < params->num_phys; in elink_set_mdio_emac_per_phy()
2248 phy_index++) in elink_set_mdio_emac_per_phy()
2250 params->phy[phy_index].mdio_ctrl); in elink_set_mdio_emac_per_phy()
4012 uint8_t phy_index; in elink_phy_read() local
4016 for (phy_index = 0; phy_index < params->num_phys; phy_index++) { in elink_phy_read()
4017 if (params->phy[phy_index].addr == phy_addr) { in elink_phy_read()
4019 &params->phy[phy_index], devad, in elink_phy_read()
4029 uint8_t phy_index; in elink_phy_write() local
4033 for (phy_index = 0; phy_index < params->num_phys; phy_index++) { in elink_phy_write()
[all …]
/freebsd/contrib/wpa/src/ap/
H A Dbeacon.c1779 u16 phy_index, u8 he_mcs_nss_size) in hostapd_gen_fils_discovery_nss() argument
1786 if (phy_index == FD_CAP_PHY_INDEX_HE) { in hostapd_gen_fils_discovery_nss()
1836 } else if (phy_index == FD_CAP_PHY_INDEX_EHT) { in hostapd_gen_fils_discovery_nss()
1874 u16 cap_info, phy_index; in hostapd_fils_discovery_cap() local
1924 phy_index = hostapd_gen_fils_discovery_phy_index(hapd); in hostapd_fils_discovery_cap()
1925 cap_info |= phy_index << FD_CAP_PHY_INDEX_SHIFT; in hostapd_fils_discovery_cap()
1927 cap_info |= hostapd_gen_fils_discovery_nss(mode, phy_index, in hostapd_fils_discovery_cap()
/freebsd/sys/dev/ice/
H A Dice_adminq_cmd.h1708 u8 phy_index;
1659 u8 phy_index; global() member