Searched refs:phys_state (Results 1 – 4 of 4) sorted by relevance
313 static const char *phys_state_to_str(enum ib_port_phys_state phys_state) in phys_state_to_str() argument326 if (phys_state < ARRAY_SIZE(phys_state_str)) in phys_state_to_str()327 return phys_state_str[phys_state]; in phys_state_to_str()342 return sysfs_emit(buf, "%u: %s\n", attr.phys_state, in phys_state_show()343 phys_state_to_str(attr.phys_state)); in phys_state_show()373 static IB_PORT_ATTR_RO(phys_state);
629 props->phys_state = out_mad->data[33] >> 4; in mlx5_query_mad_ifc_port()
872 enum phy_port_state phys_state; member
833 rep->phys_state = MLX5_GET_PR(hca_vport_context, ctx, in mlx5_query_hca_vport_context()