Searched refs:phys_state (Results 1 – 8 of 8) 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);
2092 port_attr->phys_state = IB_PORT_PHYS_STATE_DISABLED; in iw_query_port()2099 port_attr->phys_state = IB_PORT_PHYS_STATE_LINK_UP; in iw_query_port()2102 port_attr->phys_state = in iw_query_port()
629 props->phys_state = out_mad->data[33] >> 4; in mlx5_query_mad_ifc_port()
331 __u8 phys_state; member
149 props->phys_state = out_mad->data[33] >> 4; in mthca_query_port()
793 rep->phys_state = MLX5_GET_PR(hca_vport_context, ctx, in mlx5_query_hca_vport_context()
333 props->phys_state = IB_PORT_PHYS_STATE_LINK_UP; in efa_query_port()
102 props->phys_state = IB_PORT_PHYS_STATE_LINK_UP; in irdma_query_port()105 props->phys_state = IB_PORT_PHYS_STATE_DISABLED; in irdma_query_port()