Searched refs:phys_state (Results 1 – 2 of 2) 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()